Business function interaction method, device, equipment and product of financial and taxation system
By using the front-end page in the fiscal and taxation system to interact with the browser data interface, the problems of complex updates of traditional fiscal and taxation management systems are solved and the security of insufficient updates is achieved, achieving higher security and flexibility.
Patent Information
- Application Number
- CN202411854179.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-04-01
AI Technical Summary
The traditional fiscal and tax management system adopts a closed architecture design, and new or modified functions require in-depth code operation, resulting in high development costs and reduced system stability, making it difficult to meet the rapid changes in market demand and security requirements.
By introducing front-end pages into the fiscal and taxation system, the browser's data interface is used to establish connections and data interaction with the fiscal and taxation system, and the business function interaction is achieved. When updating business functions, modify the front-end page and reload it into the browser to avoid modifying the back-end code.
It improves the security of data reading in the fiscal and taxation system, simplifies the business function update process, reduces operational complexity and potential risks, and is suitable for the rapid changes in user needs.
Smart Images

Figure CN119741139A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer software technology, and in particular, relates to a business function interaction method, device, equipment and product of a financial and taxation system. Background Art
[0002] Under existing technical conditions, traditional financial and tax management systems often adopt a closed architecture design. Adding or modifying functions usually requires in-depth operation at the system code level, which not only increases development costs, but may also lead to a decrease in system stability. With the frequent changes in financial and tax policies and the continuous changes in corporate needs, this business function update method that relies on code modification has the problem of difficulty in meeting the rapid changes in market demand, complex operations and poor security. Summary of the invention
[0003] In view of this, the present invention aims to overcome the defects in the prior art and proposes a business function interaction method, device, equipment and product of a financial and taxation system.
[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0005] In a first aspect, the present invention discloses a business function interaction method of a financial and taxation system, comprising:
[0006] The front-end page is loaded into the browser. The front-end page uses the browser's data interface to establish a connection with the finance and taxation system and perform data interaction. The front-end page is used to realize the business function interaction of the finance and taxation system.
[0007] When updating the business functions of the financial and taxation system, modify the front-end page and reload it into the browser.
[0008] In one embodiment of the present invention, the front-end page is loaded into the browser. Before the front-end page uses the data interface of the browser to establish a connection with the financial and taxation system and conduct data interaction, it also includes: the browser and the front-end page are integrated into the financial and taxation system, and after the financial and taxation system is started, an instance of loading the front-end page into the browser is established.
[0009] In one embodiment of the present invention, when the business functions of the financial and taxation system are updated, the front-end page is modified and reloaded into the browser, including: the modified front-end page is stored in a specified location, and when the financial and taxation system detects the existence of the modified front-end page, the modified front-end page is reloaded into the browser.
[0010] In one embodiment of the present invention, the data interface is an API interface.
[0011] In one embodiment of the present invention, the browser is a CEF browser.
[0012] In one embodiment of the present invention, the browser and the front-end page are integrated into the financial and taxation system, including: configuring a directory and a library directory for the browser and the front-end page.
[0013] In one embodiment of the present invention, the front-end page includes: a web page or a web application.
[0014] In a second aspect, the present invention discloses a business function interaction device for a financial and taxation system, the device comprising:
[0015] The business function interaction module is used to load the front-end page into the browser. The front-end page uses the browser's data interface to establish a connection with the finance and taxation system and perform data interaction. The front-end page is used to realize the business function interaction of the finance and taxation system;
[0016] The business function update module is used to modify the front-end page and reload it into the browser when updating the business functions of the financial and taxation system.
[0017] In a third aspect, the present invention discloses an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.
[0018] According to a fourth aspect, a computer program product comprises a computer program, wherein the computer program implements the above method when executed by a processor.
[0019] Compared with the prior art, the present invention has the following advantages:
[0020] The present invention discloses a method, device, equipment and product for business function interaction of a financial and taxation system, including: a front-end page is loaded into a browser, the front-end page uses the data interface of the browser to establish a connection with the financial and taxation system and perform data interaction, and the front-end page is used to realize the business function interaction of the financial and taxation system; when the business function of the financial and taxation system is updated, the front-end page is modified and reloaded into the browser. The present invention discloses a method, device, equipment and product for business function interaction of a financial and taxation system, the front-end page uses the data interface of the browser to establish a connection with the financial and taxation system and perform data interaction, and uses the browser as an intermediate layer, which improves the security of reading financial and taxation system data, and when the business function of the financial and taxation system is updated, there is no need to modify the code of the back-end of the financial and taxation system, and it has the characteristics of simple operation, high security and very suitable for rapid changes in user needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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.
[0022] In the attached picture:
[0023] Figure 1 A schematic diagram of an application scenario of a business function interaction method of a finance and taxation system according to an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of the principles of a business function interaction method of a financial and taxation system according to an embodiment of the present invention;
[0025] Figure 3 A schematic diagram of a business function interaction method of a finance and taxation system according to an embodiment of the present invention;
[0026] Figure 4 A schematic diagram of business function update of a business function interaction method of a finance and taxation system according to an embodiment of the present invention;
[0027] Figure 5 This is a schematic diagram of a business function interaction device of a finance and taxation system according to an embodiment of the present invention;
[0028] Figure 6 A schematic diagram of an electronic device for business function interaction of a financial and taxation system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0030] In the description of the present invention, it should be further explained that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0031] Application scenarios of the present invention are as follows Figure 1 As shown in the figure, under existing technical conditions, traditional financial and tax management systems often adopt a closed architecture design. Adding or modifying functions usually requires in-depth operation at the system code level, which not only increases development costs but also may lead to a decrease in system stability. Figure 2 and 3As shown, the present invention discloses a method, device, equipment and product for business function interaction of a financial and taxation system, including: a front-end page is loaded into a browser, the front-end page uses the data interface of the browser to establish a connection with the financial and taxation system and perform data interaction, and the front-end page is used to realize the business function interaction of the financial and taxation system; when the business function of the financial and taxation system is updated, the front-end page is modified and reloaded into the browser. The front-end page of the present invention uses the data interface of the browser to establish a connection with the financial and taxation system and perform data interaction, and uses the browser as the middle layer, which improves the security of reading the financial and taxation system data, and when the business function of the financial and taxation system is updated, there is no need to modify the back-end code of the financial and taxation system, which has the characteristics of simple operation, high security and very suitable for the rapid changes of user needs.
[0032] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0033] In one embodiment of the invention, Figure 3 As shown, a business function interaction method of a financial and taxation system includes:
[0034] Step S301: The front-end page is loaded into the browser. The front-end page uses the data interface of the browser to establish a connection with the finance and taxation system and perform data interaction. The front-end page is used to realize the business function interaction of the finance and taxation system;
[0035] In this embodiment, the data interface is an API interface, the browser is a CEF browser; the front-end page includes: a web page or a web application;
[0036] In this embodiment, by utilizing the cross-platform nature of the CEF browser and its support for modern web technologies, the front-end page for implementing the interaction of the business functions of the tax system is loaded into the CEF browser in the form of a web page or a web application and displayed to the user;
[0037] In this embodiment, the finance and taxation system is a cloud finance and taxation system, including a finance and taxation system backend for storing data; illustratively, the finance and taxation system can be a 365 cloud finance and taxation platform.
[0038] In this embodiment, the CEF browser is used to load the front-end page containing the financial and taxation business logic, so as to achieve complete separation of the business logic from the native code of the financial and taxation system backend. The front-end page is built using HTML, CSS, JavaScript and other technologies, which is easy to develop and maintain.
[0039] In this embodiment, an API interface is used to implement data interaction between the front-end page and the financial and taxation system back-end. The API interface follows the RESTful principle to ensure the efficiency and security of data communication.
[0040] In this embodiment, the dynamic loading capabilities of the CEF browser, such as efficient rendering, are utilized to achieve instant updates of front-end pages and functions without restarting the financial and taxation system or modifying the financial and taxation system back-end code, which greatly improves the scalability and response speed of the system.
[0041] Step S302, when the business functions of the financial and taxation system are updated, the front-end page is modified and reloaded into the browser.
[0042] In this embodiment, this method avoids directly modifying the source code of the financial and taxation system, but instead implements functional expansion by configuring the web page or web application loaded by the CEF browser. Developers can introduce new business functions by adding new web pages or web applications without changing the original logic and structure of the financial and taxation system.
[0043] For example, developers can add or modify the content of web pages at any time according to business needs to achieve rapid iteration and update of business functions. Since the CEF browser supports modern web technologies such as HTML5, CSS3 and JavaScript, developers can use these technologies to build beautiful and powerful user interfaces. The CEF browser supports modern web standards and rich APIs and can run complex web applications.
[0044] This method provides an independent sandbox environment to run the front-end page, effectively reducing potential conflicts and security risks with the operating system or other applications; in the front-end page, the API interface is called through JavaScript to achieve data interaction with the financial and taxation system back-end. After receiving the data request, the financial and taxation system back-end processes the request and returns the corresponding data.
[0045] In another embodiment of the present invention, the front-end page is loaded into the browser. Before the front-end page uses the data interface of the browser to establish a connection with the financial and taxation system and conduct data interaction, it also includes: the browser and the front-end page are integrated into the financial and taxation system, and after the financial and taxation system is started, an instance of loading the front-end page into the browser is established.
[0046] In this embodiment, establishing an instance of loading the front-end page into the browser includes: the user installs the front-end page and loads it into the client encapsulated in the browser to access the financial and taxation system, ensuring that the user can obtain a consistent user experience on different devices or operating systems, while achieving complete separation of business logic and the native code of the financial and taxation system, improving the security of data transmission, and when changing business functions according to user needs, only the front-end page needs to be modified, without modifying the native code of the financial and taxation system backend.
[0047] In this embodiment, the client uses C# to redevelop the CEF browser kernel. The CEF browser supports modern web standards and rich APIs and can run complex web applications.
[0048] In this embodiment, the browser and the front-end page are integrated into the financial and taxation system, including: configuring the directory and library directory for the browser and the front-end page to achieve correct linking and compilation of the CEF browser.
[0049] In this embodiment, the directory includes an include directory and a resource directory; the library directory includes a lib directory; the include directory stores the core header files and auxiliary header files of the CEF browser; the resource directory stores localization files, configuration files, font files, template files, etc.; the lib directory stores library files, including static library files, dynamic library files, and framework library files.
[0050] In another embodiment of the present invention, Figure 4 As shown, when the business functions of the financial and taxation system are updated, the front-end page is modified and reloaded into the browser, including: the modified front-end page is stored in a specified location, and when the financial and taxation system detects the existence of the modified front-end page, the modified front-end page is reloaded into the browser.
[0051] In this embodiment, when the business function needs to be changed, the dynamic loading capability of the CEF browser is used to load and update the modified front-end page. When updating, there is no need to restart the financial and taxation system or modify the back-end code of the financial and taxation system. Only the front-end page file needs to be replaced and updated. The zero-code intrusion method reduces the system's dependence on a specific code base and reduces the potential risks that may be caused by code modifications.
[0052] like Figure 5 As shown, the present invention also discloses a business function interaction device of a financial and taxation system, comprising:
[0053] Business function interaction module 501, used to load the front-end page into the browser, the front-end page uses the data interface of the browser to establish a connection with the finance and taxation system and perform data interaction, and the front-end page is used to realize the business function interaction of the finance and taxation system;
[0054] The business function update module 502 is used to modify the front-end page and reload it into the browser when the business function of the financial and taxation system is updated.
[0055] like Figure 6 As shown, the present invention also discloses an electronic device and an embodiment, which is a block diagram of an electronic device suitable for business function interaction of the above-mentioned financial and taxation system.
[0056] The electronic device 60 of this embodiment includes a processor 601, which can perform various appropriate actions and processes according to the program stored in the ROM 602 or the program loaded from the storage part 608 to the RAM 603. The processor 601 may include, for example, a general-purpose microprocessor, an instruction set processor and / or a related chipset and / or a dedicated microprocessor, etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.
[0057] In RAM603, various programs and data required for the operation of electronic device 60 are stored. Processor 601, ROM602 and RAM603 are connected to each other through bus 604, and processor 601 performs various operations of the method flow according to the embodiment of the present invention by executing the program in ROM602 and / or RAM603. It should be noted that the program can also be stored in one or more memories other than ROM602 and RAM603, and processor 601 can also perform various operations of the method flow according to the embodiment of the present invention by executing the program stored in one or more memories.
[0058] According to an embodiment of the present invention, the electronic device 60 may further include an I / O interface 605, which is also connected to the bus 604. The electronic device 60 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube, a liquid crystal display, and a speaker; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 6010 is also connected to the I / O interface 605 as needed. A removable medium 6011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 6010 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.
[0059] The present invention also provides a computer-readable storage medium.
[0060] The computer-readable storage medium may be included in the electronic device / device system described in the above embodiment; or it may exist independently without being assembled into the electronic device / device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.
[0061] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory RAM, a read-only memory ROM, an erasable programmable read-only memory EPROM or a flash memory, a portable compact disk read-only memory CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0062] Embodiments of the present invention also include a computer program product.
[0063] The computer program product includes a computer program, which contains program codes for executing the method provided by the embodiment of the present invention. When the computer program product runs on an electronic device, the program codes are used to enable the electronic device to implement the method provided by the embodiment of the present invention.
[0064] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium. The program code included in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0065] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written by any combination of one or more programming languages, and specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages. Programming languages include but are not limited to programming languages such as Java, C++, python, C language or similar. The program code can be executed completely on the user computing device, partially on the user device, partially on the remote computing device, or completely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network or a wide area network, or can be connected to an external computing device.
[0066] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present invention can be combined and / or combined in various ways, even if such a combination or combination is not explicitly recorded in the present invention. In particular, without departing from the spirit and teaching of the present invention, the features described in the various embodiments and / or claims of the present invention may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present invention.
[0067] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination. The scope of the present invention is limited by the attached claims and their equivalents. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
Claims
1. A business function interaction method of a financial and taxation system, characterized in that: include: The front-end page is loaded into the browser, and the front-end page uses the data interface of the browser to establish a connection with the finance and taxation system and perform data interaction, and the front-end page is used to realize the business function interaction of the finance and taxation system; When the business functions of the financial and taxation system are updated, the front-end page is modified and reloaded into the browser.
2. A business function interaction method of a financial and taxation system according to claim 1, characterized in that: The front-end page is loaded into the browser. Before the front-end page uses the data interface of the browser to establish a connection with the financial and taxation system and conduct data interaction, it also includes: the browser and the front-end page are integrated into the financial and taxation system, and after the financial and taxation system is started, an instance of the front-end page being loaded into the browser is established.
3. The business function interaction method of a financial and taxation system according to claim 1 is characterized in that: When the business function of the financial and taxation system is updated, the front-end page is modified and reloaded into the browser, including: the modified front-end page is stored in a specified location, and when the financial and taxation system detects the existence of the modified front-end page, the modified front-end page is reloaded into the browser.
4. A business function interaction method of a financial and taxation system according to claim 1, characterized in that: The data interface is an API interface.
5. The business function interaction method of a financial and taxation system according to claim 1 is characterized in that: The browser is a CEF browser.
6. A business function interaction method of a financial and taxation system according to claim 2, characterized in that: The browser and the front-end page are integrated into the financial and taxation system, including: configuring a directory and a library directory for the browser and the front-end page.
7. A business function interaction method of a financial and taxation system according to claim 1, characterized in that: The front-end page includes: a web page or a web application.
8. A business function interaction device for a finance and taxation system, characterized in that: The device comprises: A business function interaction module is used to load a front-end page into a browser. The front-end page uses the data interface of the browser to establish a connection with the finance and taxation system and perform data interaction. The front-end page is used to implement business function interaction of the finance and taxation system; The business function update module is used to modify the front-end page and reload it into the browser when the business function of the financial and taxation system is updated.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method according to any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.