Rapid construction method and system for data processing document interface

Through modular design and automated generation technology, dynamically generate code and automatically configure data verification rules, the problem of rapid construction and flexible configuration of data processing document interfaces in the existing technology is solved, efficient development and maintenance is achieved, and user experience and system response capabilities are improved.

CN119556930AInactive Publication Date: 2025-03-04SHENZHEN TEWEI KECHUANG INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510098286.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-03-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art has problems such as long development cycle, high error rate, high maintenance cost, slow response speed and poor user experience when rapidly building and flexibly configuring the data processing document interface.

Method used

Through modular design and automated generation technology, dynamically generate code and automatically configure data verification rules, simplifying the creation and configuration process of document data processing services, and achieving rapid generation and deployment of document data processing services.

Benefits of technology

Reduces development and maintenance workload, improves system maintainability and flexibility, simplifies operational processes, improves data quality and user experience, and can quickly respond to changing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556930A_ABST
    Figure CN119556930A_ABST
Patent Text Reader

Abstract

The invention discloses a rapid construction method and system for a data processing receipt interface, and belongs to the technical field of data processing. The rapid construction method of the data processing document interface comprises the steps of receiving a design instruction provided by a user, generating a corresponding code, and automatically configuring a data verification rule; complex document information is decomposed into a plurality of independent sub-components which are easy to manage; the creation and configuration process of the receipt data processing service is simplified; and a deployable service package is automatically generated, compiled, packaged and published. According to the invention, the problems of high development and maintenance cost, low response speed and poor user experience in the existing data processing document interface are solved. According to the method, the workload of development and maintenance is reduced, the maintainability of the system is improved, it is ensured that the system can quickly respond to change requirements, the flexibility is enhanced, and the data quality and the user experience are improved through visual configuration and a real-time preview function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for quickly constructing a data processing document interface. Background Art

[0002] The data processing document interface is a key link for data interaction between internal and external systems of an enterprise. Its design and configuration directly affect the efficiency of business processes and user experience. However, existing technologies have many shortcomings in the rapid construction and flexible configuration of data processing document interfaces. Traditional methods rely on manual code writing, resulting in a long development cycle and high error rate. In addition, the document processing service is tightly coupled with the database table structure, and the configuration is complex and difficult to maintain, which increases the cost of long-term maintenance; the traditional document processing service publishing method is single and cannot quickly adapt to changing needs. In the large form design, all information fields and verification rules are placed in a large form interface, resulting in non-robustness and slow response speed of the front-end system, and the interface construction process is relatively complex and cumbersome; the complex document interface design and configuration process makes it inconvenient for users to operate, affecting the user experience. Users need to spend a lot of time to understand and use these interfaces, reducing work efficiency. Summary of the invention

[0003] The purpose of the present invention is to provide a method and system for quickly building a data processing document interface. Through modular design and automated generation technology, the workload of development and maintenance is reduced, the maintainability of the system is improved, multi-protocol support and an efficient generation and deployment mechanism ensure that the system can quickly respond to changing needs and enhance flexibility. Through visual configuration and real-time preview functions, the operation process is simplified, the data quality and user experience are improved, and the problems raised in the above-mentioned background technology are solved.

[0004] To achieve the above object, the present invention provides the following technical solutions: The method for quickly constructing a data processing document interface includes the following steps: Receive design instructions provided by users, dynamically generate corresponding codes according to the design instructions, and automatically configure data validation rules for each input item; Through modularization and componentization, complex document information is broken down into multiple independent and easy-to-manage subcomponents; Simplify the creation and configuration process of document data processing services through visual configuration and automated generation technology; Automatically generate, compile and package the configured document data processing service, and publish it as a deployable service package.

[0005] Preferably, receiving a design instruction provided by a user includes: Real-time monitoring of the number of design instructions received by the current application program interface per unit time, wherein the unit time is 1 second; Real-time monitoring of the number of design instructions received by the user in each unit time period of the current application program interface, wherein the value range of the unit time period is 8s-20s; Obtaining an instruction reception coefficient by using the number of design instructions received from the user per unit time and the number of design instructions received from the user per unit time period of the current application program interface; The instruction receiving coefficient is obtained by the following formula: Wherein, H represents the instruction receiving coefficient; n represents the number of unit time experienced; m represents the number of unit time periods experienced; Y i represents the number of design instructions received from users in the i-th unit period; Y c Indicates the preset reference value of the number of instructions per unit time period; Y b represents the standard deviation of the number of design instructions received from users in m unit periods; X i represents the number of design instructions received from the user in the i-th unit time; X c Indicates the preset reference value of the number of instructions per unit time; X b represents the standard deviation of the number of design instructions received from users in n unit time; comparing the instruction reception coefficient with a preset instruction reception coefficient threshold; When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the number of newly added application program interfaces is determined by the instruction reception coefficient.

[0006] Preferably, when the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the number of newly added application program interfaces is determined by the instruction reception coefficient, including: When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the instruction reception response time, instruction reception failure rate and network bandwidth utilization rate of the application program interface are retrieved; The command receiving response time, the command receiving failure rate and the network bandwidth utilization rate are combined with the command receiving coefficient to obtain the newly added adjustment coefficient of the interface; The newly added adjustment coefficient of the interface is obtained by the following formula: Where K represents the newly added adjustment coefficient of the interface; n represents the number of unit time experienced; P yi It represents the delay rate of command receiving response time corresponding to the i-th unit time; P bi It represents the network bandwidth utilization rate corresponding to the i-th unit time; Psi represents the command reception failure rate corresponding to the i-th unit time; X i represents the number of design instructions received from the user in the i-th unit time; X c Indicates the preset reference value of the number of instructions per unit time; X b represents the standard deviation of the number of design instructions received from users in n unit time; Y b represents the standard deviation of the number of design instructions received from users in m unit time periods; H represents the instruction reception coefficient; H0 represents the preset instruction reception coefficient threshold; Determine the number of newly added application program interfaces using the interface addition adjustment coefficient; The number of newly added application program interfaces is obtained by the following formula: Wherein, M represents the number of newly added application program interfaces, and M is rounded up; M0 represents the preset interface number reference value; K represents the interface addition adjustment coefficient; Increase the number of application program interfaces according to the number of newly added application program interfaces.

[0007] Preferably, the complex document information is decomposed into multiple independent and easy-to-manage subcomponents through modularization and componentization, specifically: Divide the information fields of all documents according to the meaning and characteristics of the fields to obtain multiple field sets; Encapsulate the document information corresponding to multiple field sets to obtain multiple subcomponents; Multiple sub-assemblies pass document information to the main assembly; Among them, multiple sub-components are independent of each other.

[0008] Preferably, the creation and configuration process of the document data processing service is simplified by using visual configuration and automated generation technology, specifically: Parse the document template file and create a document application to dynamically generate each type of configuration operation and visual configuration interface; Receive configuration parameters of document attributes and generate configuration information of each type of document attributes; Receive input and output configuration commands, integrate document attributes in each type of document attribute configuration information, and generate input and output configuration information according to preset output attributes; Receive the parameters configured in the document application and create the corresponding service configuration information; Support for complex business logic allows users to customize script logic.

[0009] Preferably, the configured document data processing service is automatically generated, compiled and packaged, and released as a deployable service package, specifically: Receive instructions for document application and generate source code; Execute the compilation and packaging instructions to generate a service package; Publicize data processing services by service type and service identifier; Generate a deployment package based on the deployment package type in the service configuration information.

[0010] The rapid construction system of the data processing document interface is used to implement the rapid construction method of the data processing document interface, including: The design and configuration interface module is used to provide a graphical interface that allows users to design document templates by dragging and dropping components; automatically generate code based on the user's design instructions; and automatically configure appropriate data validation rules for each input item; The field division and packaging module is used to classify all customer information fields according to the meaning and characteristics of the fields, obtain multiple field sets, package the customer information corresponding to each field set into independent sub-components, and transfer the document information to the main component and display it on the form interface; The data processing service configuration module is used to parse the document template file, extract the document attributes and classification identifiers, dynamically generate the corresponding configuration operations and visual configuration interface according to the classification identifiers, generate the attribute configuration information and input and output configuration information of each type of document, and create service configuration information; The generation and deployment module is used to generate the source code and document data processing service package of the document data processing service, publish the data processing service, and generate different types of deployment packages according to the operating environment.

[0011] Preferably, the design and configuration interface module includes an online preview function submodule for providing a real-time preview function.

[0012] Preferably, the system further comprises: Security module, used to ensure data encryption transmission security, ensure system security and data privacy; The intelligent recommendation and optimization module uses machine learning and data analysis technology to provide intelligent suggestions, automatically optimize configuration parameters, and assist users in improving the efficiency and quality of document design.

[0013] Preferably, the system further comprises: Cross-platform adaptability module, used to ensure that the generated interface adapts to different devices and screen sizes; At least one processor; used to perform data processing and logical operations, execute program instructions, and control and coordinate the work of each module; At least one memory is used to store data, codes and program instructions, which when executed by the processor enable the system to perform the above-mentioned construction method.

[0014] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention decomposes complex document information into multiple independent and easy-to-manage subcomponents, each of which is responsible for entering and verifying a specific type of information. This design makes the system more modular and reduces the overall complexity. It automatically generates code according to the user's design instructions and automatically configures data verification rules for each input item, which reduces the need for manual coding, improves development and construction efficiency, and reduces the possibility of errors. Based on the classification identifier in the document template file, the configuration operation and visual configuration interface are dynamically generated, which simplifies the configuration process and reduces human intervention.

[0015] 2. The present invention uses automated generation and compilation packaging technology to quickly generate and deploy document data processing services, reducing the time from development to launch. Protocol support and efficient generation and deployment mechanisms ensure that the system can quickly respond to changing needs.

[0016] 3. The present invention provides an intuitive graphical interface, allowing users to design document templates by dragging components and automatically generating corresponding codes. This method makes the configuration process more intuitive and simple, and users can preview the effects in real time during the design process to ensure that the final results meet expectations, ensuring a good user experience and improving work efficiency.

[0017] 4. By adding an intelligent recommendation and optimization module, the present invention can not only provide intelligent configuration suggestions, but also automatically optimize configuration parameters, assist users in improving the efficiency and quality of document interface design, make full use of machine learning and data analysis technology, combine users' historical data and industry best practices, and provide users with a more personalized and efficient document design experience. At the same time, the seamless integration between modules and the open API interface facilitate the system to have greater flexibility and scalability to meet ever-changing business needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a flow chart of the rapid construction method of the present invention; Figure 2 This is a module structure diagram of the rapid construction system of the present invention. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] In order to solve the existing problems of high development and maintenance costs, slow response speed, and poor user experience in the rapid construction and flexible configuration of data processing document interfaces, please refer to Figure 1 and Figure 2 , this embodiment provides the following technical solutions: The method for quickly constructing a data processing document interface includes the following steps: Step 1. Receive design instructions provided by the user through the graphical user interface (GUI). These design instructions include but are not limited to field name, field type, default value, mandatory item check, and format validation. Users can design document templates by dragging components, selecting fields, etc.; dynamically generate corresponding HTML / CSS / JavaScript codes according to the design instructions. These codes define the layout, style, and interactive behavior of the document interface. The system automatically configures appropriate data validation rules for each input item, such as mandatory item check, character length limit, regular expression validation, and format validation; automatically generating code reduces the workload of manual code writing and speeds up development. Automatic configuration of validation rules can reduce data quality problems caused by manual configuration errors, ensure the accuracy and completeness of input data, and avoid invalid or non-compliant data from entering the system.

[0021] Specifically, receiving design instructions provided by users includes: Real-time monitoring of the number of design instructions received by the current application program interface per unit time, wherein the unit time is 1 second; Real-time monitoring of the number of design instructions received by the user in each unit time period of the current application program interface, wherein the value range of the unit time period is 8s-20s; Obtaining an instruction reception coefficient by using the number of design instructions received from the user per unit time and the number of design instructions received from the user per unit time period of the current application program interface; The instruction receiving coefficient is obtained by the following formula: Wherein, H represents the instruction receiving coefficient; n represents the number of unit time experienced; m represents the number of unit time periods experienced; Y i represents the number of design instructions received from users in the i-th unit period; Y cIndicates the preset reference value of the number of instructions per unit time period; Y b represents the standard deviation of the number of design instructions received from users in m unit periods; X i represents the number of design instructions received from the user in the i-th unit time; X c Indicates the preset reference value of the number of instructions per unit time; X b represents the standard deviation of the number of design instructions received from users in n unit time; comparing the instruction reception coefficient with a preset instruction reception coefficient threshold; When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the number of newly added application program interfaces is determined by the instruction reception coefficient.

[0022] The technical effect of the above technical solution is: by real-time monitoring the number of user-designed instructions received by the current application program interface (API) within 1 second (unit time) and 8-20 seconds (unit time period), the solution can provide detailed and immediate data feedback. This real-time monitoring helps to quickly identify the usage of the API and user behavior patterns. Through the above mathematical formula, the solution combines the number of instructions received per unit time and per unit time period, the preset reference value of the number of instructions, and the standard deviation of these numbers to calculate the instruction reception coefficient (H). This calculation method comprehensively considers the instruction reception situation in the time dimension and the fluctuation of the number of instructions received, thereby providing a comprehensive performance indicator. By comparing the calculated instruction reception coefficient with the preset instruction reception coefficient threshold, it is possible to evaluate whether the performance of the current API meets the preset standard. If the instruction reception coefficient exceeds the threshold, it indicates that the API may be facing overload or requires more processing power to respond to the user's design instructions. On this basis, the solution proposes a strategy for determining the number of new application program interfaces through the instruction reception coefficient. This helps to dynamically adjust system resources, ensure that the API can continuously and efficiently process user requests, and improve the scalability and stability of the system. By real-time monitoring and dynamic adjustment of API resources, the solution can reduce the inconvenience users encounter due to slow API response or processing failure. This helps improve user experience and enhance user trust and satisfaction with the system. By accurately calculating the instruction reception coefficient and adjusting API resources accordingly, the solution can avoid waste and over-allocation of resources. This helps improve the overall efficiency of the system and reduce operating costs.

[0023] In summary, this technical solution achieves accurate management and optimization of API performance through real-time monitoring, data analysis, performance evaluation, and dynamic adjustment. This not only helps to improve user experience and system efficiency, but also provides a strong guarantee for the long-term stable operation of the system.

[0024] Specifically, when the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the number of newly added application program interfaces is determined by the instruction reception coefficient, including: When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the instruction reception response time, instruction reception failure rate and network bandwidth utilization rate of the application program interface are retrieved; The command receiving response time, the command receiving failure rate and the network bandwidth utilization rate are combined with the command receiving coefficient to obtain the newly added adjustment coefficient of the interface; The newly added adjustment coefficient of the interface is obtained by the following formula: Where K represents the newly added adjustment coefficient of the interface; n represents the number of unit time experienced; P yi It represents the delay rate of command receiving response time corresponding to the i-th unit time; P bi It represents the network bandwidth utilization rate corresponding to the i-th unit time; P si represents the command reception failure rate corresponding to the i-th unit time; X i represents the number of design instructions received from the user in the i-th unit time; X c Indicates the preset reference value of the number of instructions per unit time; X b represents the standard deviation of the number of design instructions received from users in n unit time; Y b represents the standard deviation of the number of design instructions received from users in m unit time periods; H represents the instruction reception coefficient; H0 represents the preset instruction reception coefficient threshold; Determine the number of newly added application program interfaces using the interface addition adjustment coefficient; The number of newly added application program interfaces is obtained by the following formula: Wherein, M represents the number of newly added application program interfaces, and M is rounded up; M0 represents the preset interface number reference value; K represents the interface addition adjustment coefficient; Increase the number of application program interfaces according to the number of newly added application program interfaces.

[0025] The technical effect of the above technical solution is: when the instruction reception coefficient exceeds the preset threshold, the solution not only considers the instruction reception coefficient itself, but also combines multiple key performance indicators such as instruction reception response time, instruction reception failure rate and network bandwidth utilization. This comprehensive evaluation method can more comprehensively reflect the current performance and potential bottlenecks of the API, so as to make more accurate decisions. By calculating the interface addition adjustment coefficient (K), the solution can dynamically adjust the number of new application program interfaces according to the actual performance of the API. This dynamic adjustment mechanism helps to ensure that the API can maintain stable performance when facing high loads, while avoiding excessive allocation and waste of resources. Determining the number of new application program interfaces according to the interface addition adjustment coefficient and increasing the number of APIs accordingly can effectively improve the scalability and stability of the system. This helps the system to respond quickly when facing an increase in the number of users or sudden traffic, ensuring the continuity and availability of services. By reducing the response time of the API, reducing the failure rate and improving the network bandwidth utilization, the solution can significantly improve the user experience. Users will be able to get responses more quickly, reduce the waiting time caused by the busy system, and thus improve their satisfaction and trust in the system. By accurately calculating and adjusting API resources, the solution can avoid unnecessary waste of resources. This helps reduce the operating costs of the system and improve resource utilization efficiency. The solution uses mathematical formulas and algorithms to automatically monitor and adjust API performance. This automated and intelligent management method can reduce manual intervention, improve management efficiency, and reduce risks caused by human errors.

[0026] In summary, this technical solution achieves accurate management and optimization of API performance by comprehensively evaluating API performance, dynamically adjusting resources, and optimizing user experience. This not only helps to improve the scalability and stability of the system, but also reduces operating costs and improves resource utilization efficiency, thereby providing users with more stable, efficient and reliable services.

[0027] Step 2: Through modularization and componentization, complex document information can be broken down into multiple independent and easy-to-manage subcomponents, thereby simplifying the form design, development and maintenance process.

[0028] Specifically: divide all document information fields according to the meaning and characteristics of the fields to obtain multiple field sets, including but not limited to document number, date, document type, document status, customer information, product or service information, financial information, additional terms and remarks, approval and signature, and other related information; Encapsulate each field set into an independent subcomponent, each of which is responsible for processing a specific type of document information; Multiple subcomponents pass document information to the main component so that the main component can uniformly display the document information on the form interface. Among them, multiple subcomponents are independent of each other. Complex document information is decomposed into multiple small parts through modularization and componentization, which reduces the complexity of the system. Each subcomponent is managed independently, which is convenient for individual modification and maintenance without affecting other parts. It can also be independently expanded and updated, which enhances the flexibility and scalability of the system. At the same time, it can quickly pass information to the main component to improve the efficiency of form interface construction.

[0029] Step 3: Simplify the creation and configuration process of document data processing services through visual configuration and automated generation technology.

[0030] Specifically: the system receives document template files uploaded by users, such as JSON, XML or Excel formats, which define the structure and required fields of the document; The system automatically selects the corresponding parser according to the format of the uploaded file. For JSON files, the JSON parser is used to convert the JSON string into an object in the form of key-value pairs for easy subsequent processing. For XML files, the XML parser is used to extract tag and attribute information. For Excel files, the Excel parser supports multi-worksheet parsing. Depending on the file format and size, you can choose to read the file content line by line or in batches. For large files, batch reading can improve efficiency and reduce memory usage. Use the corresponding parser to read and parse the content of the document template file. This step ensures that the system can understand the data structure in the file and extract the attributes and classification identifiers of the document. The attributes include but are not limited to field name, description, and type. The classification identifiers include but are not limited to basic information, address information, and contact information. The classification identifiers are used to distinguish different types of document information for subsequent modular processing; Based on the parsing results, the system creates a new document application to provide a basis for subsequent configuration and store and manage all configuration information associated with the document.

[0031] Dynamically generate each type of configuration operation and visual configuration interface. Each configuration interface is dedicated to a certain type of document information, such as the basic information configuration interface and the address information configuration interface, so that users can configure intuitively. Through the graphical interface, users can easily complete complex configuration tasks by clicking, selecting and inputting, reducing the need for manual code writing and improving configuration efficiency. Receive configuration parameters of document attributes. Users configure each type of document attribute on the visual interface. Configuration parameters include but are not limited to field name, mandatory or not, default value, validation rules, and generate configuration information for each type of document attribute. This information will be stored in a structured manner for subsequent processing and use; Receive input and output configuration commands, the user specifies which document attributes need to be used as input attributes and output attributes, clarifies the flow and range of data, integrates the document attributes in each type of document attribute configuration information, forms a complete input attribute list and output attribute list, and generates the final input and output configuration information based on the preset output attributes to ensure that the required data can be correctly received and returned; Receive the service configuration parameters of the document application and create service configuration information; Support for complex business logic allows users to customize script logic, enhancing the flexibility of the system.

[0032] Through the visual configuration interface, users can configure intuitively, reducing the complexity of configuration. The automated generation technology reduces the workload of manual configuration and improves the accuracy and consistency of configuration.

[0033] Step 4: Automatically generate, compile and package the configured document data processing service, and publish it as a deployable service package.

[0034] Specifically: receiving commands issued by the document application and generating source code for the document data processing service; Execute the compile and package command to generate a document data processing service package; According to the service type and service identifier in the service configuration information of the document application, publish data processing services, including at least webservice, http, and jms; Generate a deployment package according to the deployment package type in the service configuration information of the document application, including at least jar, zip, and war; The system provides a download function for document data processing service packages, which is convenient for users to deploy in different environments. It also supports multiple service types and deployment package types to meet the needs of different environments, thus improving the ease of use of the system.

[0035] The rapid construction system of the data processing document interface is used to implement the rapid construction method of the data processing document interface, including: The design and configuration interface module is used to provide a graphical interface, allowing users to design document templates by dragging and dropping components; automatically generate code according to the user's design instructions; and automatically configure appropriate data validation rules for each input item; wherein the design and configuration interface module includes an online preview function submodule, which is used to provide a real-time preview function; The field division and packaging module is used to classify all customer information fields according to the meaning and characteristics of the fields, obtain multiple field sets, package the customer information corresponding to each field set into independent sub-components, and transfer the document information to the main component and display it on the form interface; The data processing service configuration module is used to parse the document template file, extract the document attributes and classification identifiers, dynamically generate the corresponding configuration operations and visual configuration interface according to the classification identifiers, generate the attribute configuration information and input and output configuration information of each type of document, and create service configuration information; The generation and deployment module is used to generate the source code and document data processing service package of the document data processing service, publish the data processing service, and generate different types of deployment packages according to the operating environment; Security module, used to ensure data encryption transmission security, ensure system security and data privacy; Cross-platform adaptability module, used to ensure that the generated interface adapts to different devices and screen sizes; At least one processor; used to perform data processing and logical operations, execute program instructions, and control and coordinate the work of each module; at least one memory for storing data, codes and program instructions, which, when executed by the processor, cause the system to perform the above-mentioned construction method; The intelligent recommendation and optimization module uses machine learning and data analysis technology to provide intelligent suggestions, automatically optimize configuration parameters, and assist users in improving the efficiency and quality of document design; Specifically, the intelligent recommendation and optimization module intelligently recommends required fields and their attributes based on the user's past design records and commonly used fields; recommends fields and formats that meet industry standards based on the standards and practices of different industries; recommends reasonable page layouts and component arrangements based on UI / UX best practices to ensure the beauty and practicality of the document interface; recommends responsive layout solutions suitable for different devices to ensure that documents can be displayed on various screens; recommends commonly used validation rules or specific validation rules; The intelligent recommendation and optimization module can automatically compress and optimize, reduce file usage and increase loading speed; if the document involves database operations, the system automatically optimizes SQL query statements to reduce query time and improve data processing efficiency; by analyzing user behavior data, optimize interactive elements on the document interface to enhance user operation experience; intelligently adjust the location and content of error prompts to ensure that users can quickly understand and correct errors; automatically adjust configuration parameters based on the user's historical configuration and system operation status to achieve optimal performance and results; identify and eliminate redundant parts in the configuration, simplify the configuration process, and improve the maintainability of the system; The intelligent recommendation and optimization module monitors the status of document configuration in real time, evaluates its health, and gives suggestions for improvement; monitors the operating performance of document applications, promptly discovers and resolves performance bottlenecks; regularly collects user feedback on the document interface and configuration process, understands user needs and pain points, and provides a basis for subsequent improvements; establishes a problem tracking mechanism to record problems encountered by users and logs automatically generated by the system, making it easier for developers to debug and optimize; The intelligent recommendation and optimization module can be seamlessly integrated into the existing design and configuration interface module, field division and encapsulation module, data processing service configuration module and generation and deployment module to ensure the collaborative work between the modules; it provides an open API interface to allow third-party systems or tools to access and achieve a wider range of application scenarios and functional expansion.

[0036] Working principle: The system receives the document template file uploaded by the user, and uses the corresponding parser to read and parse the file content, extracting the document attributes and their classification identifiers. Based on this information, the system creates a document application instance and dynamically generates a visual configuration interface to simplify the user's configuration operations. The configuration parameters of the document attributes, such as field name, mandatory or not, default value, and validation rules, are entered through the graphical interface. The system automatically generates configuration information for each type of document attribute based on these parameters to ensure the consistency and accuracy of the configuration. The user specifies which document attributes are used as input and output attributes. The system integrates this attribute information and generates complete input and output configuration information based on the preset output attributes to clarify the data flow and ensure the accuracy and efficiency of data processing. The user configures the service information and service extension parameters of the document application. The system generates service configuration information based on these configurations, automatically generates source code, executes the compilation and packaging command, and generates a deployable service package. The system publishes data processing services based on the service type and service identifier in the service configuration information, and generates different types of deployment packages based on the operating environment for users to download and deploy.

[0037] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0038] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.

Claims

1. A method for quickly constructing a data processing document interface, characterized in that: The following steps are involved: Receive design instructions provided by users, dynamically generate corresponding codes according to the design instructions, and automatically configure data validation rules for each input item; Through modularization and componentization, complex document information is broken down into multiple independent and easy-to-manage subcomponents; Simplify the creation and configuration process of document data processing services through visual configuration and automated generation technology; Automatically generate, compile and package the configured document data processing service, and publish it as a deployable service package.

2. The method for quickly constructing a data processing document interface according to claim 1, characterized in that: Receive design instructions from users, including: Real-time monitoring of the number of design instructions received by the current application program interface per unit time, wherein the unit time is 1 second; Real-time monitoring of the number of design instructions received by the user in each unit time period of the current application program interface, wherein the value range of the unit time period is 8s-20s; Obtaining an instruction reception coefficient by using the number of design instructions received from the user per unit time and the number of design instructions received from the user per unit time period of the current application program interface; The instruction receiving coefficient is obtained by the following formula: Wherein, H represents the instruction receiving coefficient; n represents the number of unit time experienced; m represents the number of unit time periods experienced; Y i represents the number of design instructions received from users in the i-th unit period; Y c Indicates the preset reference value of the number of instructions per unit time period; Y b represents the standard deviation of the number of design instructions received from users in m unit periods; X i represents the number of design instructions received from the user in the i-th unit time; X c Indicates the preset reference value of the number of instructions per unit time; X b represents the standard deviation of the number of design instructions received from users in n unit time; comparing the instruction reception coefficient with a preset instruction reception coefficient threshold; When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the number of newly added application program interfaces is determined by the instruction reception coefficient.

3. The method for quickly constructing a data processing document interface according to claim 2, characterized in that: When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the number of newly added application program interfaces is determined by the instruction reception coefficient, including: When the instruction reception coefficient exceeds a preset instruction reception coefficient threshold, the instruction reception response time, instruction reception failure rate and network bandwidth utilization rate of the application program interface are retrieved; The command receiving response time, the command receiving failure rate and the network bandwidth utilization rate are combined with the command receiving coefficient to obtain the newly added adjustment coefficient of the interface; The newly added adjustment coefficient of the interface is obtained by the following formula: Where K represents the newly added adjustment coefficient of the interface; n represents the number of unit time experienced; P yi It represents the delay rate of command receiving response time corresponding to the i-th unit time; P bi It represents the network bandwidth utilization rate corresponding to the i-th unit time; P si represents the command reception failure rate corresponding to the i-th unit time; X i represents the number of design instructions received from the user in the i-th unit time; X c Indicates the preset reference value of the number of instructions per unit time; X b represents the standard deviation of the number of design instructions received from users in n unit time; Y b represents the standard deviation of the number of design instructions received from users in m unit time periods; H represents the instruction reception coefficient; H0 represents the preset instruction reception coefficient threshold; Determine the number of newly added application program interfaces using the interface addition adjustment coefficient; The number of newly added application program interfaces is obtained by the following formula: Wherein, M represents the number of newly added application program interfaces, and M is rounded up; M0 represents the preset interface number reference value; K represents the interface addition adjustment coefficient; Increase the number of application program interfaces according to the number of newly added application program interfaces.

4. The method for quickly constructing a data processing document interface according to claim 1, characterized in that: The modularization and componentization method is used to decompose complex document information into multiple independent and easy-to-manage subcomponents, specifically: Divide the information fields of all documents according to the meaning and characteristics of the fields to obtain multiple field sets; Encapsulate the document information corresponding to multiple field sets to obtain multiple subcomponents; Multiple sub-assemblies pass document information to the main assembly; Among them, multiple sub-components are independent of each other.

5. The method for quickly constructing a data processing document interface according to claim 4, characterized in that: The creation and configuration process of document data processing services is simplified through visual configuration and automated generation technology, specifically: Parse the document template file and create a document application to dynamically generate each type of configuration operation and visual configuration interface; Receive configuration parameters of document attributes and generate configuration information of each type of document attributes; Receive input and output configuration commands, integrate document attributes in each type of document attribute configuration information, and generate input and output configuration information according to preset output attributes; Receive the parameters configured in the document application and create the corresponding service configuration information; Support for complex business logic allows users to customize script logic.

6. The method for quickly constructing a data processing document interface according to claim 5, characterized in that: The configured document data processing service is automatically generated, compiled and packaged, and released as a deployable service package, specifically: Receive instructions for document application and generate source code; Execute the compilation and packaging instructions to generate a service package; Publicize data processing services by service type and service identifier; Generate a deployment package based on the deployment package type in the service configuration information.

7. A system for rapidly constructing a data processing document interface, used to implement the method for rapidly constructing a data processing document interface according to any one of claims 1 to 6, characterized in that: include: The design and configuration interface module is used to provide a graphical interface, allowing users to design document templates by dragging and dropping components; automatically generate code according to the user's design instructions; Automatically configure appropriate data validation rules for each input item; The field division and packaging module is used to classify all customer information fields according to the meaning and characteristics of the fields, obtain multiple field sets, package the customer information corresponding to each field set into independent sub-components, and transfer the document information to the main component and display it on the form interface; The data processing service configuration module is used to parse the document template file, extract the document attributes and classification identifiers, dynamically generate the corresponding configuration operations and visual configuration interface according to the classification identifiers, generate the attribute configuration information and input and output configuration information of each type of document, and create service configuration information; The generation and deployment module is used to generate the source code and document data processing service package of the document data processing service, publish the data processing service, and generate different types of deployment packages according to the operating environment.

8. The rapid construction system of data processing document interface according to claim 7, characterized in that: The design and configuration interface module includes an online preview function submodule for providing a real-time preview function.

9. The rapid construction system of data processing document interface according to claim 7, characterized in that: Also includes: Security module, used to ensure data encryption transmission security; The intelligent recommendation and optimization module uses machine learning and data analysis technology to provide intelligent suggestions, automatically optimize configuration parameters, and assist users in improving the efficiency and quality of document design.

10. The rapid construction system of data processing document interface according to claim 7, characterized in that: Also includes: A cross-platform adaptability module to ensure that the generated interface is adapted to different devices and screen sizes; at least one processor; Used to perform data processing and logical operations, execute program instructions, and control and coordinate the work of each module; At least one memory for storing data, codes and program instructions.

Citation Information

Patent Citations

  • Control method for application programming interface (API) gateway cluster, and API gateway cluster

    CN111386676A

  • Visual configuration method and system for document data processing service

    CN115344318A

  • Power cable on-line monitoring fault positioning system

    CN118884134A