Flexible data transmission method and device

By obtaining field information from the data interaction party and configuring the business system fields in the visual configuration interface, generating mapping tables and interface input parameters, it solves the problems in the existing technology of long cycle times and high labor costs when the system responds to business system updates, and achieves Flexible parameter transfer and efficient adaptation.

CN118502841BActive Publication Date: 2024-10-18ZHONGRUI FESCO OUTSOURCING (BEIJING) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410959101.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-18
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

In the existing technology, the system needs to respond at the code level when dealing with updates to other business systems, resulting in a long cycle and high labor costs.

Method used

By obtaining field information from the interface of the data interaction party, using the visual configuration interface to detect and configure business system fields, and generating mapping tables and interface input parameters, flexible parameter transfer between different systems is achieved, and the cost and cycle of system mutual adaptation are reduced.

Benefits of technology

The visual configuration method effectively responds to changes in the data interaction system, reducing the labor costs and adaptation cycles caused by system mutual adaptation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118502841B_ABST
    Figure CN118502841B_ABST
Patent Text Reader

Abstract

The present invention discloses a flexible data transmission method and device, wherein the method includes obtaining field information from an interface of a data interaction party, wherein the data interaction party is a service end of a third-party individual tax declaration system; presenting a visual configuration interface of the business system on a terminal, and detecting the business system fields configured by the user based on the field information through the visual configuration interface, and obtaining a mapping relationship between the field information and the business system fields; based on a pre-established mapping table, obtaining a corresponding relationship with the field information and the interface parameter field; and generating an interface input parameter based on the mapping relationship and the corresponding relationship. Flexible parameter transmission between different systems is achieved by means of visual configuration, which can efficiently respond to changes in the system of the data interaction party and reduce the labor cost and adaptation cycle generated by the mutual adaptation of the systems. The defects of long cycles and high labor costs in related technologies are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a flexible data transmission method and device. Background Art

[0002] In the related art, systems that rely on the content published by other business systems to achieve their own business purposes usually need to respond to the updated content of other business systems at the code level and then pass parameters. This method requires a long cycle and high labor costs. Summary of the invention

[0003] The present application provides a flexible data transmission method and device to solve the problems existing in the related art.

[0004] In a first aspect, the present invention provides a flexible data transmission method, comprising obtaining field information from an interface of a data interaction party; presenting a visual configuration interface of a business system on a terminal, and detecting business system fields configured by a user based on the field information through the visual configuration interface, and obtaining a mapping relationship between the field information and the business system fields; based on a pre-established mapping table, obtaining a corresponding relationship between the field information and an interface parameter field; and generating interface input parameters based on the mapping relationship and the corresponding relationship.

[0005] Optionally, presenting a visual configuration interface of the business system on the terminal, and detecting the business system fields configured by the user based on the field information through the visual configuration interface includes: after obtaining the field information from the interface of the data interaction party, generating a mapping table, wherein the mapping table includes the correspondence between the field information and the custom interface parameters; after receiving a mapping table input request of the visual configuration interface, providing the field information in the mapping table to the visual configuration interface of the business system to present the fields in the visual configuration interface; after the presented fields and the fields in the business system are configured in a corresponding relationship through visual configuration in the visual configuration interface, a mapping relationship between the presented fields and the fields in the business system is established in the database.

[0006] Optionally, based on the mapping relationship and the corresponding relationship, generating interface input parameters includes: obtaining corresponding business data based on the business system field in the mapping relationship; encapsulating the business data into an entity class based on the mapping relationship and the corresponding relationship; and converting the entity class into json as interface input parameters.

[0007] Optionally, the method further includes: if a reporting request sent by a user terminal is received, reporting the interface input parameter to the data interaction party through a reporting interface.

[0008] Optionally, before generating the interface input parameter, the method further includes: upon receiving a target service request sent by the user terminal, generating a visualization interface file based on the mapping relationship and the corresponding relationship and providing the file to the user terminal for display.

[0009] Optionally, after receiving the target business request sent by the user end, based on the mapping relationship and the corresponding relationship, a visualization interface file is generated and provided to the user end for display, including: after receiving the request to generate an individual tax declaration file sent by the user end, obtaining target data from a preset data table based on the business system field; based on the target data, generating an interface file using the mapping relationship between the business system field and the interface parameters, and the corresponding relationship between the field and the interface parameters; and providing the interface file to the user end for display.

[0010] Optionally, the business system fields configured based on the field information through the visual configuration interface include:

[0011] The first-level fields corresponding to the field information are configured based on the field information through a visual configuration interface; and / or, the second-level fields are configured for the first-level fields.

[0012] Optionally, if the field information obtained from the interface of the data interaction party includes updated field information;

[0013] Re-acquire the updated mapping table based on the updated field information; upon receiving a mapping table input request of the visual configuration interface, provide the updated field information in the updated mapping table to the visual configuration interface of the business system to present the updated fields in the visual configuration interface; after the presented updated fields and the fields in the business system are configured with a corresponding relationship through visual configuration in the visual configuration interface, establish a new mapping relationship between the presented updated fields and the fields in the business system in the database.

[0014] In a second aspect, the present invention provides a flexible data transmission device, comprising: a visual mapping relationship configuration unit, configured to obtain field information from an interface of a data interaction party; presenting a visual configuration interface of a business system on a terminal, and detecting business system fields configured by a user based on the field information through the visual configuration interface, and obtaining a mapping relationship between the field information and the business system fields; a corresponding relationship configuration unit, configured to obtain a corresponding relationship between the field information and an interface parameter field based on a pre-established mapping table; and an interface input parameter generation unit, configured to generate an interface input parameter based on the mapping relationship and the corresponding relationship.

[0015] In a third aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0016] The present invention discloses a flexible data transmission method and device, wherein the method includes obtaining field information from an interface of a data interaction party, wherein the data interaction party is a service end of a third-party individual tax declaration system; presenting a visual configuration interface of the business system on a terminal, and detecting the business system fields configured by the user based on the field information through the visual configuration interface, and obtaining a mapping relationship between the field information and the business system fields; based on a pre-established mapping table, obtaining a corresponding relationship with the field information and the interface parameter field; and generating an interface input parameter based on the mapping relationship and the corresponding relationship. Flexible parameter transmission between different systems is achieved by means of visual configuration, which can efficiently respond to changes in the system of the data interaction party and reduce the labor cost and adaptation cycle generated by the mutual adaptation of the systems. The defects of long cycles and high labor costs in related technologies are solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 A flexible data transmission method according to an embodiment of the present application;

[0019] Figure 2 A schematic diagram of importing a mapping table into an interface in an embodiment of the present application;

[0020] Figure 3 This is a schematic diagram of field visualization configuration in an embodiment of the present application;

[0021] Figure 4 A method corresponding to the present application Figure 1 Schematic diagram of an electronic device. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0023] The system architecture applicable to this embodiment may include a management platform (referred to as a business system in this embodiment) and a user system (including a user end and a server end), and the management platform pushes data to the user system. This embodiment can be configured visually through the management platform, and interface input parameters and visualization files can be generated in the user system.

[0024] The following is combined with Figure 1 The flexible data transmission method is exemplarily described. The method comprises the following steps:

[0025] Step 101: Obtain field information from the interface of the data interaction party.

[0026] In this embodiment, taking a third-party individual tax declaration system as an example, the data interaction party may be the server of the third-party individual tax declaration system, and the fields in the individual tax declaration system are updated irregularly. When the individual tax declaration system is updated, a template file containing the fields may be obtained from the interface of the data interaction party. The field information obtained from the data interaction party is included in the form template, and the header field in the template is the field information of this embodiment.

[0027] After obtaining the table template containing the field information, the table template can be edited, and a mapping table to be used can be obtained after editing. The function of the mapping table will be explained in detail later.

[0028] Step 102: presenting a visual configuration interface of the business system on the terminal, detecting the business system fields configured by the user based on the field information through the visual configuration interface, and obtaining a mapping relationship between the field information and the business system fields.

[0029] In this embodiment, the correspondence between fields is achieved through visual configuration to obtain a mapping relationship between the fields.

[0030] Exemplarily, different business purposes can adopt different business architectures. Taking the payroll and tax management system as an example, in order to reduce the input of non-professional payroll and tax personnel and get rid of professional dependence, the aforementioned system architecture can be adopted. Professional administrators can log in to the visual configuration interface of the management platform through the terminal, and enable users to perform visual configuration between fields in the visual configuration interface.

[0031] The management platform may include platforms at multiple levels, which may include a general management platform and an operation console. The general management platform may be configured by a professional administrator through visual configuration for field mapping relationships. After the configuration is completed, the general management platform may push the field mapping relationships to the operation console. The administrator who logs in to the operation console may choose to accept or reject the request. After receiving the request, the mapping relationship may be configured to be disabled or enabled. When configured to be enabled, the field mapping relationship takes effect in the user system below the operation console. In the user system, the operator of the user system may directly use the pushed field mapping relationship, or may adjust the configuration as needed, and store the new mapping relationship after the configuration adjustment.

[0032] As an optional implementation method of this embodiment, a visual configuration interface of the business system is presented on the terminal, and the business system fields configured by the user based on the field information through the visual configuration interface are detected, including: after obtaining the field information from the interface of the data interaction party, a mapping table is generated, wherein the mapping table includes the correspondence between the field information and the custom interface parameters; after receiving a mapping table input request of the visual configuration interface, the field information in the mapping table is provided to the visual configuration interface of the business system to present the fields in the visual configuration interface; after the presented fields and the fields in the business system are configured in a corresponding relationship through visual configuration in the visual configuration interface, a mapping relationship between the presented fields and the fields in the business system is established in the database.

[0033] In this optional implementation, the aforementioned table template can be edited, and a mapping table to be used is obtained after editing. Specifically, after the table template containing fields is obtained in step 101, interface parameters are configured for all fields contained in the table template, such as the "accumulated personal pension" field corresponding to the interface parameter "ljgrylj", etc. After this correspondence, a mapping table can be obtained.

[0034] refer to Figure 2 , which illustrates a schematic diagram of importing a mapping table into an interface. After obtaining the mapping table, if an import request is received from a terminal of the business system on the visual configuration interface, the mapping table can be imported into the business system.

[0035] It should be understood that the mapping table can be imported into the main management platform or the operation console. As mentioned above, if it is imported into the main management platform and the configuration is completed, it can be pushed to the operation console; the mapping table cannot be imported into the user system. The user system operator can only use the effective field mapping relationship, including the ability to configure and adjust the field mapping relationship or directly use the effective field mapping relationship.

[0036] refer to Figure 3 The configuration diagram given can present the field information in the table template in the configuration area of ​​the terminal's visual configuration interface after importing, such as Figure 3 The fields such as "Name", "Certificate Type", "Certificate Number", "Annual One-time Bonus Amount", etc., can present corresponding sub-configuration areas after presenting each field information. In each sub-configuration area, users are supported to select preset fields of the business system (pre-set by the business system) in an optional manner to achieve field correspondence, such as "employee information" and "employee name", "classification item" and "total year-end bonus income", "total year-end bonus adjustment before tax (not issued after taxation)", etc., and then obtain the mapping relationship between fields through visual configuration, and store the mapping relationship in the database.

[0037] As an optional implementation method of this embodiment, configuring the business system field based on the field information through a visual configuration interface includes: configuring the corresponding first-level field based on the field information through a visual configuration interface; and / or configuring the second-level field for the first-level field.

[0038] In this optional implementation, when configuring the mapping relationship between fields, the mapping between fields can be achieved through a multi-level correspondence method. For example, when configuring in the visual configuration interface, first select the first-level field, that is, the category field, and then select the second-level field, thereby obtaining the mapping relationship of the business system field--first-level field--second-level field. In this way, no matter how complex the relationship between the fields is, the mapping relationship can be established efficiently and accurately.

[0039] refer to Figure 3 The first-level field is the category field, which can include employee information, classification items, etc. You can select the second-level field under the first-level field, such as "Total year-end bonus income" under "Classification items", "Total year-end bonus adjustment before tax (not paid after tax calculation)" and so on.

[0040] Step 103: Based on the pre-established mapping table, obtain the corresponding relationship between the field information and the interface parameter field.

[0041] In this implementation, the mapping table is provided to the business system, and after visual configuration, the mapping relationship between the business system fields and the fields in the table template can be obtained. Based on the mapping relationship, the corresponding relationship between the business system fields and the interface parameter fields can be obtained, and the corresponding relationship is stored in the database.

[0042] Step 104: Generate interface input parameters based on the mapping relationship and the corresponding relationship.

[0043] In this embodiment, if a reporting operation is triggered in the user system, the server of the user system responds to the reporting operation and executes an interface input parameter generation operation, and then the interface input parameters can be generated based on the mapping relationship and the corresponding relationship to realize the reporting.

[0044] Taking individual tax declaration as an example, you can generate multiple sets of individual tax declaration documents before submitting them. For detailed explanation, please refer to the description of individual tax declaration document generation below.

[0045] As an optional implementation method of this embodiment, based on the mapping relationship and the corresponding relationship, generating interface input parameters includes: obtaining corresponding business data based on the configured business system fields; encapsulating the business data into an entity class based on the mapping relationship and the corresponding relationship; and converting the entity class into json as the interface input parameter.

[0046] In this optional implementation, when generating interface input parameters, the corresponding business data can be captured from the user system based on the business system fields. Taking individual tax declaration as an example, the source of the business data can be the associated tax calculation history data. Then, based on the configured mapping relationship and corresponding relationship, the captured business data is encapsulated into the entity class, and then the entity class is converted into json as the interface input parameter.

[0047] As an optional implementation manner of this embodiment, the method further includes: if a reporting request sent by the user terminal is received, reporting the interface input parameter to the data interaction party through a reporting interface.

[0048] In this optional implementation, before generating the interface input parameter, the user can trigger a reporting request through the user-side page, and then generate the interface input parameter in the above manner, and then report it to the data interaction party.

[0049] As an optional implementation of this embodiment, before generating the interface input parameters, the method also includes: after receiving the target service request sent by the user end, based on the mapping relationship and the corresponding relationship, generating a visualization interface file and providing it to the user end for display.

[0050] As an optional implementation method of this embodiment, after receiving the target business request sent by the user end, based on the mapping relationship and the corresponding relationship, a visualization interface file is generated and provided to the user end for display, including: after receiving the request for generating an individual tax declaration file sent by the user end, obtaining target data from a preset data table based on the business system field; based on the target data, generating an interface file by utilizing the mapping relationship between the business system field and the interface parameters, and the corresponding relationship between the field and the interface parameters; and providing the interface file to the user end for display.

[0051] In the above optional implementation method, the target business request can be a request to generate multiple sets of personal tax declaration documents. The operator can trigger the above target business request on the user side of the user system, and then after receiving the request, call the configured mapping relationship and corresponding relationship, and then obtain business data based on the business system fields in the mapping relationship, generate visualization table data based on the business data and the configured content, and send the data to the user side page for visualization table presentation.

[0052] For example, in the process of generating multiple sets of individual tax declaration documents, if the relationship between the configured fields cannot meet the needs, the fields can be configured and adjusted, and as mentioned above, the adjusted mapping relationship can be saved as a new field mapping relationship. After generating multiple sets of individual tax declaration documents, you can continue to submit them.

[0053] Furthermore, operators can check the visualization table to see if there are errors, for example, required fields such as the resignation date are empty, or values ​​that need to be updated are not modified, such as a customer requesting that an employee's mobile phone number be changed but not actually changed.

[0054] Taking individual tax declaration as an example, based on the field mapping relationship of the above-mentioned visualization configuration, the individual tax declaration data of the employees corresponding to the business fields can be obtained from the user system, and then the individual tax declaration file can be generated based on the data. The operator can check the individual tax declaration file for errors in the user system page. If there is no error, it can be submitted through the aforementioned submission method, that is, the operator can trigger the submission request through the user-side page, and then generate the interface input parameter according to the above method. Then submit it to the data interaction party.

[0055] As an optional implementation method of this embodiment, if the field information obtained from the interface of one party of the data interaction includes updated field information; re-obtain the updated mapping table based on the updated field information; after receiving the mapping table input request of the visualization configuration interface, provide the updated field information in the updated mapping table to the visualization configuration interface of the business system to present the updated fields in the visualization configuration interface; after the presented updated fields and the fields in the business system are configured with a corresponding relationship through a visualization configuration method in the visualization configuration interface, a new mapping relationship between the presented updated fields and the fields in the business system is established in the database.

[0056] In this optional implementation method, one party of data interaction may update the content from time to time. After the data interaction is updated, the updated field information can be obtained, and then the mapping table can be updated based on the updated field information to obtain a new mapping table. For example, after adding a new field, the corresponding interface parameters can be added, and if the field is changed, the field parameters can be changed.

[0057] Furthermore, after the mapping table is changed to obtain a new mapping table, the presentation fields presented in the visual configuration interface will also change, so the corresponding relationship can be reconfigured through visual configuration to obtain an updated corresponding relationship. Based on the updated corresponding relationship and the new mapping relationship of the new mapping table, a new interface input parameter can be generated. When generating the interface input parameter, the new interface input parameter can be generated based on the newly configured content and the captured new data.

[0058] For example, if a new field is added to the table template of one party of the data interaction, such as the "accumulated personal pension" field, when the import request triggered by the terminal of the business system in the visual configuration interface is received, the new mapping table can be imported into the business system. After the import, the field information in the table template can be presented in the configuration area in the visual configuration interface of the terminal. The field information includes the newly added field information, and the newly added field information can be visually configured to correspond to the existing fields in the business system; if there is no field corresponding to the newly added field information in the current business system, then a new field can be created in the business system first, and then the newly added field can be configured to correspond to the newly added field, and then the configured mapping relationship can be stored in the database.

[0059] For example, if a field is deleted from a table template of a data interaction party, the mapping relationship of the previously established field can be deleted from the database during the visualization configuration;

[0060] For example, if the table template of one party in data interaction changes the field information, it can be visually configured to correspond to the existing fields in the business system during the visual configuration; if there is no field corresponding to the newly added field information in the current business system, then a new field can be created in the business system first, and then the newly added field can be configured to correspond to the newly created field, and then the configured mapping relationship can be stored in the database.

[0061] Through this optional implementation method, changes in the personal tax declaration system can be responded to in a flexible, code-free, or light-coding manner.

[0062] The above is a method provided for one or more embodiments of the present application. Based on the same idea, the present application also provides a corresponding flexible data transmission system, including: a visual mapping relationship configuration unit, which obtains field information from the interface of a data interaction party; presents a visual configuration interface of the business system on the terminal, and detects the business system fields configured by the user based on the field information through the visual configuration interface, and obtains the mapping relationship between the field information and the business system fields; a corresponding relationship configuration unit, which is configured to obtain the corresponding relationship between the field information and the interface parameter field based on a pre-established mapping table; and an interface input parameter generation unit, which is configured to generate interface input parameters based on the mapping relationship and the corresponding relationship.

[0063] As an optional implementation method of this embodiment, the visualization mapping relationship configuration unit is configured to: after obtaining field information from the interface of a data interaction party, generate a mapping table, wherein the mapping table includes a correspondence between field information and custom interface parameters; after receiving a mapping table input request of the visualization configuration interface, provide the field information in the mapping table to the visualization configuration interface of the business system to present the fields in the visualization configuration interface; after the presented fields and the fields in the business system are configured to correspond in the visualization configuration interface through the visualization configuration method, establish a mapping relationship between the presented fields and the fields in the business system in the database.

[0064] As an optional implementation method of this embodiment, the interface input parameter generation unit is configured to: obtain corresponding business data based on the business system field in the mapping relationship; encapsulate the business data into an entity class based on the mapping relationship and the corresponding relationship; and convert the entity class into json as the interface input parameter.

[0065] As an optional implementation method of this embodiment, if a reporting request sent by the user end is received, the interface input parameter is reported to the data interaction party through a reporting interface.

[0066] Optionally, before generating the interface input parameters, the device also includes a visualization interface file generation unit configured to: after receiving a target service request sent by the user terminal, generate a visualization interface file based on the mapping relationship and the corresponding relationship and provide it to the user terminal for display.

[0067] As an optional implementation method of this embodiment, after receiving a request for generating an individual tax declaration file sent by the user terminal, the target data is obtained from the preset data table based on the business system field; based on the target data, an interface file is generated using the mapping relationship between the business system field and the interface parameters, and the corresponding relationship between the field and the interface parameters; and the interface file is provided to the user terminal for display.

[0068] As an optional implementation method of this embodiment, configuring the business system field based on the field information through a visual configuration interface includes: configuring the corresponding first-level field based on the field information through a visual configuration interface; and / or configuring the second-level field for the first-level field.

[0069] As an optional implementation method of this embodiment, if the field information obtained from the interface of one party of the data interaction includes updated field information; re-obtain the updated mapping table based on the updated field information; after receiving the mapping table input request of the visualization configuration interface, provide the updated field information in the updated mapping table to the visualization configuration interface of the business system to present the updated fields in the visualization configuration interface; after the presented updated fields and the fields in the business system are configured with a corresponding relationship through a visualization configuration method in the visualization configuration interface, a new mapping relationship between the presented updated fields and the fields in the business system is established in the database.

[0070] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention, such as Figure 4 As shown, the electronic device 50 includes: a processor 501 (processor), a memory 502 (memory) and a bus 503;

[0071] The processor 501 and the memory 502 communicate with each other via the bus 503 ; the processor 501 is used to call program instructions in the memory 502 to execute the methods provided by the above-mentioned method embodiments.

[0072] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions enable a computer to execute the methods provided by the above method embodiments.

[0073] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps including the above method embodiment.

[0074] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0075] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on this understanding, the above technical solution, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0076] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.

Claims

1. A flexible data transmission method, characterized in that: The system applicable to this method includes a business system and a user system. The business system pushes data to the user system, and the visual configuration is performed through the business system. The interface input is generated through the user system. The method includes: The field information is obtained from the interface of the data interaction party, where the data interaction party is the server of the third-party individual tax declaration system, and the field information in the individual tax declaration system is updated irregularly; the field information obtained from the data interaction party is included in the form template, and the header field in the template is the field information; After obtaining the table template containing the fields, the custom interface parameters are configured for all the fields contained in the table template, and the mapping table is obtained through the correspondence; Presenting a visual configuration interface of the business system on the terminal, and detecting the business system fields configured by the user through the visual configuration interface based on the field information, and obtaining a mapping relationship between the field information and the business system fields, including providing the field information in the mapping table to the visual configuration interface of the business system after receiving a mapping table input request of the visual configuration interface, so as to present the fields in the visual configuration interface; when the presented fields and the fields in the business system are configured to correspond to each other through the visual configuration method in the visual configuration interface, establishing a mapping relationship between the presented fields and the fields in the business system in the database; Based on the pre-established mapping table, obtain the field information and the corresponding relationship with the interface parameter fields; When a reporting operation is triggered in the user system, the server of the user system generates interface input parameters based on the mapping relationship and the corresponding relationship to implement reporting. Among them, the user system operator can only use the effective field mapping relationship, including the ability to configure and adjust the field mapping relationship or directly use the effective field mapping relationship.

2. The flexible data transmission method according to claim 1, characterized in that: Based on the mapping relationship and the corresponding relationship, generating interface input parameters includes: Acquire corresponding business data based on the business system field in the mapping relationship; Based on the mapping relationship and the corresponding relationship, encapsulating the business data into an entity class; Convert the entity class into json as the interface input parameter.

3. The flexible data transmission method according to claim 2, characterized in that: The method further comprises: If a reporting request sent by the user end is received, the interface input parameter is reported to the data interaction party through the reporting interface.

4. The flexible data transmission method according to claim 3, characterized in that: Before generating the interface input parameter, the method further includes: After receiving the target service request sent by the user terminal, a visualization interface file is generated based on the mapping relationship and the corresponding relationship and provided to the user terminal for display.

5. The flexible data transmission method according to claim 4, characterized in that: After receiving the target business request sent by the user terminal, based on the mapping relationship and the corresponding relationship, generating a visualization interface file and providing it to the user terminal for display includes: after receiving the request for generating an individual tax declaration file sent by the user terminal, obtaining target data from a preset data table based on a business system field; Based on the target data, an interface file is generated by using a mapping relationship between business system fields and interface parameters, and a corresponding relationship between fields and interface parameters; Provide the interface file to the user end for display.

6. The flexible data transmission method according to claim 1, characterized in that: The business system fields configured based on the field information through the visual configuration interface include: Configure the corresponding primary fields based on the field information through a visual configuration interface; and / or, A secondary field is configured for the primary field.

7. The flexible data transmission method according to claim 1, characterized in that: If the field information obtained from the data interaction party's interface contains updated field information; Re-obtain the updated mapping table based on the updated field information; After receiving a mapping table input request from the visualization configuration interface, providing updated field information in the updated mapping table to the visualization configuration interface of the business system so as to present the updated fields in the visualization configuration interface; After the updated fields presented and the fields in the business system are configured to correspond to each other in a visual configuration interface through a visual configuration method, a new mapping relationship between the updated fields presented and the fields in the business system is established in the database.

8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Interface data model conversion method, device, equipment and storage medium

    CN112667720A

  • Two-level data management interface visual development configuration method based on dynamic loading

    CN113010154A

  • Method and device for generating dynamic interface based on servlet

    CN115408053A

  • Data tandem method and related device

    CN117171136A

  • Systems, methods and apparatus for enhanced navigation in preparation of an electronic tax return

    US20180174243A1