Voucher integration method and device simultaneously oriented to multiple accounting systems
By defining the connection and interface information of the accounting system, configuring the credential generation service and monitoring logs, the configurability of credential integration is realized, solving the problem of differential management between accounting systems, reducing costs and speeding up project delivery.
Patent Information
- Application Number
- CN202510658895.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-08-19
AI Technical Summary
The existing accounting system credential integration solution requires personalized customization, resulting in low code reuse rate and high project development cost, which increases project operation and maintenance difficulty and delivery time.
By defining the connection information of each accounting system, obtaining interface information, configuring credential generation services and monitoring logs, using preset credential push components to obtain and push credential data, and monitoring the monitoring logs to achieve configurability of credential integration.
It realizes unified management of different accounting systems, reduces service differences between systems, meets the personalized needs of projects, reduces development and operation and maintenance costs, and accelerates project delivery efficiency.
Smart Images

Figure CN120508288A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of voucher data processing, and in particular relates to a voucher integration method and device for simultaneously facing multiple accounting systems. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] During the project delivery process, especially for large-scale projects involving multiple sub-units, the accounting system construction of the group and different sub-units is undertaken by different manufacturers. Even the accounting systems undertaken by the same manufacturer have inconsistent versions. Since the content and structure required by different accounting system services are different, there are differences in the services of each accounting system, and it is impossible to monitor the service calls in real time, which increases the difficulty of project operation and maintenance.
[0004] To centrally manage the services of various accounting systems, it's necessary to integrate the credentials of these different systems. However, existing solutions for integrating credentials across different accounting systems are customized for each project, resulting in low code reuse, high project development costs, and reduced project delivery efficiency. Summary of the Invention
[0005] In order to solve the above technical problems, the present invention provides a voucher integration method and device for multiple accounting systems at the same time, which can realize configurable voucher integration, meet the personalized needs of projects, reduce service differences between systems, reduce development and operation and maintenance costs, and accelerate project delivery efficiency.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions: A first aspect of the present invention provides a voucher integration method for multiple accounting systems at the same time.
[0007] In one or more embodiments, a voucher integration method for multiple accounting systems is provided, including: Define the connection information of each accounting system to achieve interconnection between the various accounting systems; Obtain the interface information of each interconnected accounting system, define the voucher generation service, and then configure the monitoring log information corresponding to the voucher generation service; Configure the voucher generation service, voucher data conversion extension, voucher generation status parsing extension, and information about the organization to which the voucher belongs based on the connection information of each accounting system and the voucher generation service. Based on the preset voucher push component and the configured voucher generation service information, the pre-pushed voucher data is obtained. Then, based on the organization to which the voucher belongs, the voucher data conversion extension, voucher generation service, and voucher generation status parsing extension of the corresponding accounting system are called to complete the push of the pre-made voucher. Monitor the monitoring log information corresponding to the credential generation service, parse the status and call time of the credential generation service, and obtain information related to the credential generation service request and its response.
[0008] As an implementation method, the execution process of the preset credential push component is: Extract all pre-pushed voucher data from interconnected accounting system databases and convert the voucher data into entities; Loop through all pre-pushed credential data and query the corresponding credential push configuration information based on the organization number of the credential entity, which includes the corresponding full class names of the credential generation service, credential data conversion extension, and credential generation status resolution extension; According to the full class name corresponding to the voucher data conversion extension, the corresponding data conversion method is called to convert the voucher data into the voucher structured data required by the accounting system; According to the full class name corresponding to the voucher generation service, call the corresponding voucher generation service and convert the voucher generation result returned by the accounting system into a voucher generation result entity; According to the credential generation status, the corresponding full class name of the extension is parsed and the corresponding data parsing method is called to complete the parsing of the credential generation result and the form write-back processing.
[0009] As an implementation method, converting the voucher generation result returned by the accounting system into a voucher generation result entity also includes: calling the built-in external service log generation service to store the request message and response message of the voucher generation service in the external service call log table of the database.
[0010] As an implementation method, the process of defining the connection information of each accounting system is as follows: Using the drag-and-drop command, drag out the basic information group container from the built-in tool library, and add the required text input boxes for the number, name, system type, service address, and port, the optional text input box for the connection description, and the enable HTTPS switch component to the basic information group container; Based on the drag-and-drop instruction, drag out the authentication information group container from the built-in tool library, and add the required user name text input box and the required password password input box components to the authentication information group container.
[0011] As an implementation manner, a cancel button component and an confirm button component are further provided at a set position away from the authentication information group container to implement a cancel button click event and an confirm button click event.
[0012] As an implementation method, the connection information includes server IP, port number, user name and password information; As an embodiment, the credential generation service request and its response related information include the time of the credential generation service request, the time of the response, the request message, the response message and the status information of the request; As an implementation method, the interface information includes an interface address, a request type, request parameters, and a return value type; As an implementation manner, the monitoring log related information includes a monitoring log table, a call failure limit, an associated business data source, and a business display field.
[0013] The second aspect of the present invention provides a voucher integration device that is simultaneously oriented to multiple accounting systems.
[0014] In one or more embodiments, a voucher integration device for multiple accounting systems simultaneously includes System connection module, which is used to define the connection information of each accounting system to achieve interconnection between the various accounting systems; The external service module is used to obtain the interface information of each interconnected accounting system, define the voucher generation service, and then configure the monitoring log information corresponding to the voucher generation service; The voucher push configuration module is used to configure the voucher generation service, voucher data conversion extension, voucher generation status parsing extension, and information related to the organization to which the voucher belongs based on the connection information of each accounting system and the voucher generation service; The prefabricated voucher push module is used to obtain pre-pushed voucher data based on the preset voucher push component and the configured voucher generation service information. It then calls the voucher data conversion extension, voucher generation service, and voucher generation status parsing extension of the corresponding accounting system based on the organization to which the voucher belongs to complete the push of prefabricated vouchers. The external service monitoring module is used to monitor the monitoring log information corresponding to the credential generation service, parse the status and call time of the credential generation service, and obtain information related to the credential generation service request and its response.
[0015] A third aspect of the present invention provides a computer-readable storage medium.
[0016] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the voucher integration method for multiple accounting systems as described above.
[0017] A fourth aspect of the present invention provides a computer program product.
[0018] A computer program product includes a computer program / instruction, which, when executed by a processor, implements the steps in the voucher integration method for multiple accounting systems as described above.
[0019] A fifth aspect of the present invention provides an electronic device.
[0020] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the voucher integration method for multiple accounting systems as described above are implemented.
[0021] Compared with the prior art, the present invention has the following beneficial effects: The present invention defines the connection information of each accounting system so that each accounting system is interconnected. Then, based on the interface information of each interconnected accounting system, the voucher generation service is defined, the monitoring log related information corresponding to the voucher generation service is configured, the voucher generation service, the voucher data conversion extension, the voucher generation status parsing extension and the related information of the organization to which the voucher belongs are configured. This solves the problem of lack of unified management of integrated systems and services in projects due to inconsistent accounting system versions, reduces the service differences between systems, and realizes the configurability of voucher integration.
[0022] The present invention also obtains pre-pushed voucher data based on the preset voucher push component and the configured voucher generation service related information, and calls the voucher data conversion extension, voucher generation service and voucher generation status parsing extension of the corresponding accounting system according to the organization to which the voucher belongs to complete the push of pre-made vouchers; monitors the monitoring log related information corresponding to the voucher generation service, parses the status and call time of the voucher generation service, monitors the voucher generation service, meets the personalized needs of the project, reduces development and operation and maintenance costs, and accelerates project delivery efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0024] Figure 1 This is a flowchart of a voucher integration method for multiple accounting systems according to an embodiment of the present invention; Figure 2 This is the execution process of the preset credential push component of the embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of a voucher integration device for multiple accounting systems according to an embodiment of the present invention; Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0026] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention belongs.
[0027] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.
[0028] Figure 1 This is a flow chart of a voucher integration method for multiple accounting systems in an embodiment of the present invention. Figure 1 The voucher integration method for multiple accounting systems in the embodiment shown may include the following steps S101 to S105.
[0029] S101: Define the connection information of each accounting system to achieve interconnection between the various accounting systems.
[0030] In this embodiment, the connection information here includes but is not limited to server IP, port number, user name and password information.
[0031] In step S101, the process of defining the connection information of each accounting system is as follows: Step S1011: Based on the drag command, a basic information group container is dragged out from the built-in tool library, and mandatory text input boxes for number, name, system type, service address, and port, a non-mandatory text input box for connection description, and an enable HTTPS switch component are added to the basic information group container; Step S1012: Based on the drag instruction, an authentication information group container is dragged out from the built-in tool library, and a required user name text input box and a required password input box component are added to the authentication information group container.
[0032] In one or more embodiments, a cancel button component and an confirm button component are further provided at a set position away from the authentication information group container to implement a cancel button click event and an confirm button click event.
[0033] The Cancel button click event cancels the edited basic information and authentication information without saving them. The OK button click event saves the basic information and authentication information edits to the database. At the same time, the system connection number is not allowed to be repeated.
[0034] When defining the accounting system connection information, you also set the system type drop-down box enumeration value, including HTTPServer, SAP R / 3, etc. At the same time, the system connection number cannot be repeated.
[0035] Through the interconnection of various accounting systems, the system connection management page is obtained; The design process of the system connection management page is as follows: Drag a header layout container from the built-in tool library and add the page title, add button, edit button, view button, and delete button components. The name attribute of the page title is defined as system connection management. Drag the filter area layout container from the built-in tool library, add the number, name, service address text input boxes, system type drop-down box, and filter button components, and layout them according to the preset requirements; Set the enumeration value in the system type drop-down box, including HTTP Server, SAP R / 3, etc. Drag a list component from the built-in tool library, add the number, name, system type, server address, last modified person, and last modified time text input box column components to the list component, and set the read-only property of the column to true; Build a page load event, complete page rendering, and load the system connection data stored in the database; build a filter button click event, query the system connection data stored in the database according to the filter area conditions, and load the data into the list; build a new button click event, jump the page to the system connection definition page, complete page rendering, and enter the editing state; build an edit button click event, jump the page to the system connection definition page, complete page rendering, load the selected row data, and enter the editing state; Build a view button click event to jump the page to the system connection definition page, complete page rendering, load the selected row data, and do not allow editing on the page; build a delete button click event to delete the selected row data in the list.
[0036] Through the above-mentioned system connection configuration and management, the present invention realizes the information interconnection and configurable voucher integration of different versions of accounting systems, meets the personalized needs of projects, reduces service differences between systems, reduces development and operation and maintenance costs, and accelerates project delivery efficiency.
[0037] S102: Obtain interface information of each interconnected accounting system, define a voucher generation service, and then configure monitoring log related information corresponding to the voucher generation service.
[0038] In this embodiment, the interface information includes but is not limited to the interface address, request type, request parameters and return value type; the monitoring log related information includes but is not limited to the monitoring log table, the limit on the number of call failures, the associated business data source and the business display field.
[0039] Define the page for credential generation service. The process is as follows: Drag a group container from the built-in tool library and define the group container's name attribute as Basic Information. Add required text input boxes for the service ID and URL, optional text input boxes for the function name and service description, enable logging, and add the required help selector and request type drop-down selector components to the Basic Information group container. Arrange the components according to the preset requirements. Set the data source of the system connection help selector and bind the defined system connection information; Drag a group container from the built-in tool library and define the name property of the group container as a parameter list. Add add and delete text buttons and a list component to the parameter category group container. Add a number, a name text input box, a data type drop-down box, and a must-switch column to the list component. Drag a group container from the built-in tool library and define the name attribute of the group container as the return value. Add add and delete text buttons and a list component to the return value group container; add a number, a name text input box column, a data type drop-down box column, and a must-switch column to the list component; Set the enumeration value of the data type drop-down box column, including String, Integer, Boolean and other enumeration values; Build a new button click event for the parameter list to add row data to the parameter list; build a delete button click event for the parameter list to delete the selected row data of the parameter list; build a new button click event for the return value to add row data of the return value; build a delete button click event for the return value to delete the selected row data of the return value; build a cancel button click event to cancel the edited content of the basic information, parameter list and return value without saving; build an OK button click event to save the edited content of the basic information, parameter list and return value to the database; at the same time, the numbers of external services are not allowed to be repeated, and the numbers in the parameter list and return value list under the same service are not allowed to be repeated.
[0040] The page for configuring the monitoring log information corresponding to the credential generation service is designed as follows: Drag a group container from the built-in tool library and define the name attribute of the group container as basic information. In the basic information group container, add a required text input box for the monitoring log table name, optional text input boxes for the business data source object and business data source primary key, and input boxes for the log monitoring visibility, service call fuse switch, and call failure limit. Arrange the components according to the preset requirements. Drag a group container from the built-in tool library and define the name attribute of the group container as a business display field. Add a list component and add and delete text button components to the business display field group container; add a number, a name text input box column, a data type drop-down box column, a search support switch column, and a column width numeric input box column to the list component; Set the enumeration value of the data type drop-down box column, including String, Integer, Boolean and other enumeration values; Construct a new button click event for the business display field list to add row data to the business display field list; construct a delete button click event for the business display field list to delete the selected row data in the business display field list; construct a cancel button click event to cancel the edited content of the basic information and business display fields without saving them; construct an OK button click event to save the edited content of the basic information and business display fields to the database; at the same time, the monitoring log table name of the external service is not allowed to be repeated; construct a delete configuration click event to delete the monitoring log configuration information saved in the database and close the monitoring log configuration page.
[0041] Through step S102, external service management is formed. The design process of the external service management page is as follows: Drag a header layout container from the built-in tool library and add the page title, add button, edit button, view button, and delete button components. The name attribute of the page title is defined as external service management. Drag and drop the filter area layout container from the built-in tool library, add the number and name text input boxes, the service type drop-down box, the system connection help selector, and the filter button components, and layout them according to the preset requirements; Set the enumeration value of the service type drop-down box, including Web service, SAP RFC and other enumeration values; Set the data source of the system connection help selector and bind the defined system connection information; Drag a list component from the built-in tool library, add text input columns for number, name, service type, system connection, last modified person, and last modified time, and an operation text button column to the list component, and set the read-only property of the text input column to true; Build a page load event, complete page rendering, and load the external service data stored in the database; build a filter button click event, query the external service data stored in the database according to the filter area conditions, and load the data into the list; build a new button click event, jump the page to the external service definition page, complete page rendering, and enter the editing state; build an edit button click event, jump the page to the external service definition page, complete page rendering, load the selected row data in the list, and enter the editing state; build a view button click event, jump the page to the external service definition page, complete page rendering, load the selected row data in the list, and do not allow editing on the page; build a delete button click event to delete the selected row data in the list; build a text button click event in the operation column of the list component, jump the page to the monitoring log configuration page, and complete page rendering.
[0042] S103: Based on the connection information of each accounting system and the voucher generation service, configure the voucher generation service, voucher data conversion extension, voucher generation status parsing extension and information related to the organization to which the voucher belongs.
[0043] Specifically, step S103 is the credential push configuration process. Specifically, the credential push configuration page is designed as follows: Drag a group container from the built-in tool library and define the group container's name attribute as Basic Information. Add the required help selectors for System Connection and Credential Generation Service, required text input boxes for Credential Data Conversion Full Class Name and Credential Generation Status Parsing Full Class Name, and optional text input boxes for Credential Generation Result Entity Full Class Name and Push Configuration Description to the Basic Information group container. Layout the components according to the preset requirements. Set the data source of the system connection help selector and bind the defined system connection information. ; Set the data source of the credential generation service help selector and bind the defined external service information; The class entered in the Voucher Data Conversion Full Class Name text input box needs to implement the data conversion method (data transfer) of the voucher push interface (Push VoucherService); The class entered in the Voucher Generation Status Parsing Full Class Name text input box needs to implement the data analysis method (data analysis) of the Voucher Push Interface (PushVoucher Service); The class filled in the Voucher Generation Result Entity Full Class Name text input box needs to be organized and defined based on the result returned by the Voucher Generation Service. Drag a group container from the built-in tool library and define the name attribute of the group container as "Online Unit Information." Add a list component and add and delete text button components to the Online Unit Information group container. Add a mandatory help selector column for the unit number, a text input box column for the unit name, an enabled date selector column, a text input box column for the last modified person, and a text input box column for the last modified time. Set the read-only properties of the unit name, last modified person, and last modified time columns to true. Set the data source of the unit number help selector and bind it to the accounting organization basic data; Construct a new button click event for the online unit information list to add row data to the online unit information list; construct a delete button click event for the online unit information list to delete the selected row data in the online unit information list; construct a cancel button click event to cancel the edited content of the basic information and online unit information without saving it; construct an OK button click event to save the edited content of the basic information and online unit information to the database; at the same time, the configuration information corresponding to the system connection and voucher generation service is not allowed to be repeated.
[0044] The design process of the credential push configuration management page is as follows: Drag a header layout container from the built-in tool library and add the page title, add button, edit button, view button, and delete button components. The name attribute of the page title is defined as the credential push configuration management. Drag and drop the filter area layout container from the built-in tool library, add the system connection and credential generation service help selectors, the credential push configuration description text input box, and the filter button components, and layout them according to the preset requirements; Set the data source of the system connection help selector and bind the defined system connection information; Set the data source of the credential generation service help selector and bind the defined external service information; Drag a list component from the built-in tool library, add system connection, voucher generation service, voucher data conversion full class name, voucher generation status parsing full class name, last modified person, and last modified time text input box column components to the list component, and set the read-only property of all text input box columns to true; Build a page load event, complete page rendering, and load the credential push configuration data stored in the database; Build a filter button click event to query the configuration push configuration data stored in the database based on the filter area conditions and load the data into the list; build a new button click event to jump to the credential push configuration page, complete the page rendering, and enter the editing state; Build an edit button click event to redirect the page to the credential push configuration page, complete page rendering, load the selected row data in the list, and enter the edit state; Build a View button click event to redirect the page to the credential push configuration page, complete page rendering, load the data of the selected row in the list, and do not allow editing on the page; build a Delete button click event to delete the data of the selected row in the list.
[0045] S104: Based on the preset voucher push component and the configured voucher generation service related information, the pre-pushed voucher data is obtained, and the voucher data conversion extension, voucher generation service and voucher generation status parsing extension of the corresponding accounting system are called according to the organization to which the voucher belongs to complete the push of the pre-made voucher.
[0046] Among them, Figure 2 As shown, the execution process of the preset credential push component is: Extract all pre-pushed voucher data from interconnected accounting system databases and convert the voucher data into entities; Loop through all pre-pushed credential data and query the corresponding credential push configuration information based on the organization number of the credential entity, which includes the corresponding full class names of the credential generation service, credential data conversion extension, and credential generation status resolution extension; According to the full class name corresponding to the voucher data conversion extension, the corresponding data conversion method is called to convert the voucher data into the voucher structured data required by the accounting system; According to the full class name corresponding to the voucher generation service, call the corresponding voucher generation service and convert the voucher generation result returned by the accounting system into a voucher generation result entity; According to the credential generation status, the corresponding full class name of the extension is parsed and the corresponding data parsing method is called to complete the parsing of the credential generation result and the form write-back processing.
[0047] Specifically, converting the voucher generation result returned by the accounting system into a voucher generation result entity also includes: calling a built-in external service log generation service to store the request message and response message of the voucher generation service in the external service call log table of the database.
[0048] S105: Monitor the monitoring log information corresponding to the credential generation service, parse the status and call time of the credential generation service, and obtain the credential generation service request and response information.
[0049] The information related to the credential generation service request and its response here includes but is not limited to the time of the credential generation service request, the time of the response, the request message, the response message and the status information of the request.
[0050] Step S105 implements external service monitoring, and its corresponding page design process is as follows: Drag a header layout container from the built-in tool library and add the page title, mark success button, mark failure button, and set failure count button components. Define the name attribute of the page title as external service monitoring. Drag the filter area layout container from the built-in tool library, add the required help selector for the service name, the drop-down box for the service status, and the occurrence time selector components, and lay them out according to the diagram; Set the data source of the service name help selector and bind the defined external service information; Set the enumeration value of the service status drop-down box, including check passed, check failed, call service, call successful, call failed, push successful, and push failed. Drag a list component from the built-in tool library and add text input box columns for the last call time, service status, number of failures, exception information, business data summary, input parameters, and return value. Set the read-only property of all text input box columns to true. Build a page load event to complete page rendering; build a service name help event to render the page according to the business display fields configured in the external service configuration, add business fields that support retrieval in the filter area, and add business display fields to the list; Build a filter button click event to query the external service log data stored in the database based on the filter area conditions and load the data into a list. Build a mark success button click event to set the service status of the selected row to push success and refresh the page. Build a Mark Failed button click event, set the service status of the selected row to Push Failed, and refresh the page; build a Set Failure Count button click event, change the failure count of the selected row, and refresh the page.
[0051] like Figure 3 As shown, the voucher integration device for multiple accounting systems provided by an embodiment of the present invention can be implemented in a software manner. The voucher integration device 300 for multiple accounting systems includes the following software modules: system connection module 301, external service module 302, voucher push configuration module 303, pre-made voucher push module 304 and external service monitoring module 305.
[0052] The following describes the functions of the various software modules in the voucher integration device 300 for multiple accounting systems: System connection module 301, which is used to define the connection information of each accounting system to achieve interconnection between the various accounting systems; The external service module 302 is used to obtain the interface information of each interconnected accounting system, define the voucher generation service, and then configure the monitoring log related information corresponding to the voucher generation service; The voucher push configuration module 303 is used to configure the voucher generation service, voucher data conversion extension, voucher generation status parsing extension, and information related to the organization to which the voucher belongs based on the connection information of each accounting system and the voucher generation service; The prefabricated voucher push module 304 is used to obtain pre-pushed voucher data based on the preset voucher push component and the configured voucher generation service related information, and call the voucher data conversion extension, voucher generation service, and voucher generation status parsing extension of the corresponding accounting system according to the organization to which the voucher belongs to complete the push of prefabricated vouchers; The external service monitoring module 305 is used to monitor the monitoring log information corresponding to the credential generation service, parse the status and call time of the credential generation service, and obtain the credential generation service request and response information.
[0053] It should be noted here that, Figure 3 Each module in the voucher integration device for multiple accounting systems at the same time Figure 1 The various steps in the voucher integration method for multiple accounting systems correspond one to one, and the specific implementation process is the same, so it will not be repeated here.
[0054] The structure of the electronic device according to the embodiment of the present invention is described in detail below. Figure 4 The schematic diagram of the structure of the electronic device provided in the embodiment of the present invention can be understood as follows: Figure 4 Only exemplary structures of the electronic device are shown, not all structures. Part or all of the shown structures may be implemented as needed.
[0055] The electronic device provided in the embodiment of the present invention includes: at least one processor 401, a memory 402, a user interface 403 and at least one network interface 404. The various components in the credential integration device for multiple accounting systems are coupled together through a bus system 405. It can be understood that the bus system 405 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 405 is not described in detail. Figure 4 Various buses are labeled as bus system 405 .
[0056] The user interface 403 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.
[0057] It will be appreciated that memory 402 may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Memory 402 in embodiments of the present invention can store data to support terminal operations. Examples of such data include any computer program used to operate on the terminal, such as an operating system and application programs. The operating system includes various system programs, such as a framework layer, a core library layer, and a driver layer, which are used to implement various basic services and handle hardware-based tasks. Application programs may include various application programs.
[0058] In some embodiments, the credential integration device 300 for multiple accounting systems provided in an embodiment of the present invention can be implemented using a combination of software and hardware. As an example, the credential integration device 300 for multiple accounting systems provided in an embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the credential integration method for multiple accounting systems provided in an embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0059] As an example, the processor 401 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0060] As an example of hardware implementation of the voucher integration device 300 provided in an embodiment of the present invention and oriented towards multiple accounting systems at the same time, the device provided in an embodiment of the present invention can be directly executed by a processor 401 in the form of a hardware decoding processor, for example, by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs) or other electronic components to implement the voucher integration method provided in an embodiment of the present invention and oriented towards multiple accounting systems at the same time.
[0061] The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the voucher integration device 300 for multiple accounting systems at the same time, or to store data for executing Figure 1 Examples of such data include any executable instructions for operating on a voucher integration device for simultaneously serving multiple accounting systems, such as executable instructions. A program implementing the voucher integration method for simultaneously serving multiple accounting systems according to an embodiment of the present invention may be included in the executable instructions.
[0062] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, the computer program including a computer program for executing Figure 1 In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion and / or installed from a removable medium. When the computer program is executed by the central processing unit, the various functions defined in the apparatus of the present application are performed.
[0063] in, Figure 1 The computer program instructions corresponding to the method shown can also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0064] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A voucher integration method for multiple accounting systems at the same time, characterized in that: include: Define the connection information of each accounting system to achieve interconnection between the various accounting systems; Obtain the interface information of each interconnected accounting system, define the voucher generation service, and then configure the monitoring log information corresponding to the voucher generation service; Configure the voucher generation service, voucher data conversion extension, voucher generation status parsing extension, and information about the organization to which the voucher belongs based on the connection information of each accounting system and the voucher generation service. Based on the preset voucher push component and the configured voucher generation service information, the pre-pushed voucher data is obtained. Then, based on the organization to which the voucher belongs, the voucher data conversion extension, voucher generation service, and voucher generation status parsing extension of the corresponding accounting system are called to complete the push of the pre-made voucher. Monitor the monitoring log information corresponding to the credential generation service, parse the status and call time of the credential generation service, and obtain information related to the credential generation service request and its response.
2. The voucher integration method for multiple accounting systems as claimed in claim 1, characterized in that: The execution process of the preset credential push component is: Extract all pre-pushed voucher data from interconnected accounting system databases and convert the voucher data into entities; Loop through all pre-pushed credential data and query the corresponding credential push configuration information based on the organization number of the credential entity, which includes the corresponding full class names of the credential generation service, credential data conversion extension, and credential generation status resolution extension; According to the full class name corresponding to the voucher data conversion extension, the corresponding data conversion method is called to convert the voucher data into the voucher structured data required by the accounting system; According to the full class name corresponding to the voucher generation service, call the corresponding voucher generation service and convert the voucher generation result returned by the accounting system into a voucher generation result entity; According to the credential generation status, the corresponding full class name of the extension is parsed and the corresponding data parsing method is called to complete the parsing of the credential generation result and the form write-back processing.
3. The voucher integration method for multiple accounting systems as claimed in claim 2, characterized in that: Converting the voucher generation result returned by the accounting system into a voucher generation result entity also includes: calling the built-in external service log generation service to store the request message and response message of the voucher generation service in the external service call log table of the database.
4. The voucher integration method for multiple accounting systems as claimed in claim 1, characterized in that: The process of defining the connection information for each accounting system is as follows: Using the drag-and-drop command, drag out the basic information group container from the built-in tool library, and add the required text input boxes for the number, name, system type, service address, and port, the optional text input box for the connection description, and the enable HTTPS switch component to the basic information group container; Based on the drag-and-drop instruction, drag out the authentication information group container from the built-in tool library, and add the required user name text input box and the required password password input box components to the authentication information group container.
5. The voucher integration method for multiple accounting systems as claimed in claim 4, characterized in that: A cancel button component and an confirm button component are also provided at a set position away from the authentication information group container to implement a cancel button click event and an confirm button click event.
6. The voucher integration method for multiple accounting systems as claimed in claim 1, characterized in that: The connection information includes server IP, port number, user name and password information; or / and the credential generation service request and its response related information including the time of the credential generation service request, the time of the response, the request message, the response message and the status information of the request; or / and the interface information includes interface address, request type, request parameters and return value type; Or / and the monitoring log related information includes a monitoring log table, a call failure limit, an associated business data source, and a business display field.
7. A voucher integration device for multiple accounting systems at the same time, characterized in that: include: System connection module, which is used to define the connection information of each accounting system to achieve interconnection between the various accounting systems; The external service module is used to obtain the interface information of each interconnected accounting system, define the voucher generation service, and then configure the monitoring log information corresponding to the voucher generation service; The voucher push configuration module is used to configure the voucher generation service, voucher data conversion extension, voucher generation status parsing extension, and information related to the organization to which the voucher belongs based on the connection information of each accounting system and the voucher generation service; The prefabricated voucher push module is used to obtain pre-pushed voucher data based on the preset voucher push component and the configured voucher generation service information. It then calls the voucher data conversion extension, voucher generation service, and voucher generation status parsing extension of the corresponding accounting system based on the organization to which the voucher belongs to complete the push of prefabricated vouchers. The external service monitoring module is used to monitor the monitoring log information corresponding to the credential generation service, parse the status and call time of the credential generation service, and obtain information related to the credential generation service request and its response.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the voucher integration method for multiple accounting systems at the same time as described in any one of claims 1 to 6 are implemented.
9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the voucher integration method for multiple accounting systems at the same time as described in any one of claims 1 to 6 are implemented.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the voucher integration method for multiple accounting systems at the same time are implemented as described in any one of claims 1 to 6.