A rapid application building system suitable for multiple terminals

Through the combination of requirement acquisition, framework adaptation and code-configuration matching modules, the problem of poor compatibility of applications built on low-code development platforms is solved, and efficient compatibility and adaptability to multiple terminal devices are achieved.

CN118394306BActive Publication Date: 2024-09-03HUANENG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410866335.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-03
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

Applications built on existing low-code development platforms have poor compatibility and are difficult to meet the needs of multiple terminals.

Method used

Obtain terminal demand information through the demand acquisition module, the framework adaptation module matches the front-end framework, the code-configuration matching module selects code files and configuration files with high adaptability, and the debugging module performs compatibility testing and debugging optimization to improve the compatibility of applications.

Benefits of technology

It improves the compatibility and adaptability of applications to multi-terminal devices and meets the growing needs of multi-terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118394306B
    Figure CN118394306B
Patent Text Reader

Abstract

The present invention provides a system for rapidly building applications applicable to multiple terminals, and relates to the technical field of program building, including: a demand acquisition module: used to obtain the type data and characteristic data of the terminal to be adapted corresponding to the application to be built, and generate terminal demand information; a framework adaptation module: used to screen and obtain the program front-end framework in a preset framework database, and construct a front-end framework adaptation library; a code-configuration matching module: used to select the code file corresponding to each terminal device and the corresponding configuration file in the code-configuration database, and generate terminal configuration information; a debugging module: used to construct a target application based on the terminal demand information and the terminal configuration information, and perform compatibility testing on the target application with all terminal devices, and debug the target application based on the test results. The present invention can improve the compatibility of applications built by a low-code platform to meet the terminal requirements of multiple terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of program construction, and in particular to a system for rapidly constructing application programs applicable to multiple terminals. Background Art

[0002] As my country's digital economy enters a stage of rapid development, digital transformation has also ushered in a development boom. Among them, low-code development platforms have quickly become an important support tool for the digital transformation of large, medium and small enterprises with their advantages of high development efficiency, flexible development methods, and reliable application deployment.

[0003] At present, low-code development platforms are rising rapidly at home and abroad, and a large number of related products have emerged, but their quality is uneven. Applications built through visual pages and predefined components have poor compatibility and are difficult to meet the multi-terminal requirements of applications.

[0004] Therefore, the present invention provides a system for rapidly constructing applications applicable to multiple terminals. Summary of the invention

[0005] The present invention provides a system for quickly building applications suitable for multiple terminals, which is used to improve the compatibility of applications built through a low-code platform to meet the ever-increasing needs of multiple terminals.

[0006] The present invention provides a system for rapidly building an application program applicable to multiple terminals, comprising:

[0007] Demand acquisition module: used to obtain the type data and characteristic data of the terminal to be adapted corresponding to the application to be built, and generate terminal demand information;

[0008] Framework adaptation module: used for screening out program front-end frameworks with a degree of adaptation greater than a preset degree from a preset framework database based on the terminal demand information, and constructing a front-end framework adaptation library;

[0009] Code-configuration matching module: used to select the code file and the corresponding configuration file corresponding to each terminal device in the code-configuration database based on the terminal demand information and the front-end framework adaptation library, and generate terminal configuration information under each terminal device;

[0010] Debugging module: used to construct a target application based on the terminal demand information and the terminal configuration information, perform compatibility test on the target application with all terminal devices, and debug the target application based on the test results.

[0011] Preferably, the invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that the demand acquisition module comprises:

[0012] A program information acquisition submodule is used to acquire the functional characteristics, performance characteristics and type characteristics of the application to be built and generate program information;

[0013] The terminal information acquisition submodule is used to acquire the type data and characteristic data of the terminal to be adapted corresponding to the program information, and generate terminal information;

[0014] The terminal requirement acquisition submodule is used to generate terminal requirement information based on the program information and the corresponding terminal information.

[0015] Preferably, the present invention provides a system for rapidly building applications applicable to multiple terminals, characterized in that the framework adaptation module comprises:

[0016] A demand feature extraction submodule, used to extract features from the terminal demand information and generate a demand feature set;

[0017] A framework matching submodule, configured to screen a program front-end framework having a degree of adaptability greater than a first preset degree from a preset framework database based on the required feature set;

[0018] The adaptation library construction submodule is used to construct a front-end framework adaptation library based on the program front-end framework.

[0019] Preferably, the present invention provides a system for rapidly building an application suitable for multiple terminals, characterized in that the code-configuration matching module comprises:

[0020] A framework determination submodule, configured to select a target front-end framework from the front-end framework adaptation library based on the obtained framework selection instruction and the required feature set, and generate framework determination information;

[0021] A code-configuration matching submodule, configured to select, based on the framework determination information, a code file having a degree of fit greater than a second preset degree and a configuration file having a degree of fit greater than a third preset degree from a code-configuration database;

[0022] The configuration information generation submodule is used to construct the terminal configuration information of each terminal device corresponding to the target front-end framework based on the framework determination information and the corresponding code files and configuration files.

[0023] Preferably, the present invention provides a system for rapidly building applications for multiple terminals, characterized in that it also includes:

[0024] A standby framework determination module, configured to select at least one standby front-end framework from the front-end framework adaptation library based on the target front-end framework and the framework selection instruction, and generate standby framework information;

[0025] A standby code-configuration acquisition module, used to select and obtain corresponding standby code files and standby configuration files in a code-configuration database based on the standby framework information;

[0026] The standby data pool construction module is used to construct a standby data pool based on the standby framework information and the corresponding standby code files and standby configuration files.

[0027] Preferably, the present invention provides a system for rapidly building applications for multiple terminals, characterized in that it also includes:

[0028] A program requirement analysis module analyzes each historical terminal requirement to obtain program requirement information, wherein the program requirement information includes: interface requirements, function requirements, data requirements and integration requirements;

[0029] A requirement-matching factor determination module, based on the program requirement information, respectively obtains a first matching factor of the program corresponding to the functional requirement, a second matching factor corresponding to the interface requirement, a third matching factor corresponding to the data requirement, and a fourth matching factor corresponding to the integration requirement;

[0030] A code platform selection module, configured to select a matching low-code platform from a code database based on the first matching factor, the second matching factor, the third matching factor, and the fourth matching factor, and in combination with a manual selection instruction;

[0031] An interface determination module, based on the interface requirements and manual selection instructions, selects a program construction page and a corresponding layout framework from an interface database to generate a program interface;

[0032] A function model determination module, used to select and obtain the function model under the program interface through the low-code platform based on the function requirements and manual selection instructions;

[0033] A data model establishment module is used to perform a secondary analysis on the data requirements, determine the data objects corresponding to each of the functional models and the data attributes and data validation rules corresponding to each of the data objects, establish the relationship between the data based on the data objects and the corresponding data attributes and data validation rules, and construct a data model;

[0034] The code matching module is used to determine the code file of the program to be built based on the program interface, function model and data model under the low-code platform;

[0035] A logic configuration determination module, used to obtain a logic file matching the code file in combination with the logic relationship of each functional model during operation;

[0036] An integration configuration determination module, used to obtain an integration file matching the code file based on the integration requirement;

[0037] A comprehensive configuration module, used to generate a configuration file corresponding to the historical device based on the logic file and the integration file;

[0038] The database construction module is used to generate a code-configuration database based on all historical terminal requirements and code files and configuration files of corresponding historical devices.

[0039] Preferably, the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that the debugging module comprises:

[0040] The instruction log generation submodule is used to obtain the input instructions and input time of the program during the construction process, and build the instruction log;

[0041] A call log generation submodule is used to obtain the code file call information and configuration file call information corresponding to each input instruction during the program construction process based on the instruction log, and to construct a code-configuration file call log in combination with the timing characteristics generated during the call process;

[0042] A process file generation submodule, used to generate a program construction process file based on the instruction log and the code-configuration file call log;

[0043] A program building submodule, for building a target application based on the terminal requirement information and the terminal configuration information and in combination with the process file;

[0044] A functional testing submodule, used to perform a functional test on the target application to obtain a first test result;

[0045] A performance test submodule, configured to perform a performance test on the target application based on the first test result and in combination with the terminal demand information to obtain a second test result;

[0046] A compatibility test submodule, based on the first test result and the second test result, performs a compatibility test on each terminal device corresponding to the target application and the terminal requirement information, and generates a third test result in combination with the target environment under the corresponding terminal device;

[0047] A result analysis submodule, used to analyze the first test result, the second test result and the third test result with the terminal demand information respectively to generate a program test analysis result;

[0048] A debugging submodule, for generating debugging instructions based on the terminal demand information and the acquired terminal demand change information and in combination with the program test analysis result, and debugging the target application based on the debugging instructions;

[0049] The effect analysis submodule is used to analyze the effect of the debugged target application, generate a debugging effect analysis table based on the analysis results, and continuously perform debugging optimization.

[0050] Preferably, the present invention provides a system for rapidly building an application suitable for multiple terminals, characterized in that the compatibility test submodule includes:

[0051] A terminal list acquisition unit, used to acquire all terminal devices corresponding to the target program based on the terminal demand information, and construct an adapted terminal list;

[0052] The test item acquisition unit is used to acquire the test items corresponding to the compatibility test, and construct a test item set B=(p1, p2, p3, p4), where p1 represents the operating system adaptation compatibility test item; p2 represents the browser adaptation compatibility test item; p3 represents the resolution compatibility test item; and p4 represents the network compatibility test item;

[0053] The requirement matching unit is used to obtain the test standard of the i-th terminal device under the corresponding test item and generate a terminal test standard set;

[0054] A compatibility test data acquisition unit, used to acquire a compatibility test data set corresponding to the i-th terminal device;

[0055] A compatibility effect evaluation unit, configured to calculate a compatibility effect coefficient Ei of each terminal device for the target application based on the terminal test standard set and the compatibility test data set corresponding to each terminal device;

[0056] ;in, represents the environmental impact factor corresponding to the i-th terminal device; n represents the total number of compatibility tests performed on the i-th terminal device; n1 represents the number of invalid compatibility tests performed on the i-th terminal device; Represents the test data of the i-th terminal device under the j-th test item; Indicates the test standard of the i-th terminal device under the j-th test item; represents the effect evaluation factor of the i-th terminal device under the j-th test item, where j=1 means it is related to p1; j=2 means it is related to p2; j=3 means it is related to p3; j=4 means it is related to p4; Indicates based on The number of intersection data; express The amount of data; It indicates the test frequency of the i-th terminal device under the j-th test item; represents the frequency variance of the other test frequencies of the i-th terminal device except for the j-th test item; represents the standard frequency under the jth test item; ln represents the logarithmic function symbol; Indicates based on right The actual evaluation function of Indicates based on right The standard evaluation function of ; Indicates based on The evaluation constant of is greater than 1;

[0057] A conflict statistics unit, used to count the types and quantities of terminal devices whose compatibility effect coefficients do not meet the preset compatibility conditions, and generate a list of terminals to be adjusted in combination with corresponding incompatible item categories;

[0058] A comprehensive evaluation unit, used to normalize the compatibility effects corresponding to each terminal, and obtain a comprehensive evaluation result of the compatibility of the target application with each terminal;

[0059] The test result generating unit is used to generate a third test result based on the terminal list to be adjusted and the comprehensive evaluation result.

[0060] The present invention firstly obtains the demand information of each terminal device accurately through the demand acquisition module, so as to facilitate the subsequent construction of the application program, and then obtains the front-end framework adapted to the terminal demand information through the framework adaptation module, and obtains the front-end framework adaptation library based on the obtained multiple front-end frameworks, thereby improving the adaptability of the application program to be constructed to the front-end framework, and then selects the code file and the corresponding configuration file that match the demand information of each terminal device through the code-configuration matching module, and finally constructs the application program through the debugging module and continuously debugs and optimizes it, so as to continuously improve the compatibility of the application program with the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0062] Figure 1 It is a schematic diagram of the framework of a system for rapidly building an application program applicable to multiple terminals provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0064] Combine the following Figure 1 The invention describes a system for rapidly constructing application programs applicable to multiple terminals.

[0065] like Figure 1 As shown, an embodiment of the present invention provides a system for rapidly building an application suitable for multiple terminals, which is characterized by comprising:

[0066] Demand acquisition module: used to obtain the type data and characteristic data of the terminal to be adapted corresponding to the application to be built, and generate terminal demand information;

[0067] Framework adaptation module: used to screen out program front-end frameworks with a greater adaptability than a preset degree from a preset framework database based on terminal demand information, and construct a front-end framework adaptation library;

[0068] Code-configuration matching module: used to select the code file and the corresponding configuration file corresponding to each terminal device in the code-configuration database based on the terminal demand information and the front-end framework adaptation library, and generate the terminal configuration information under each terminal device;

[0069] Debug module: used to build the target application based on the terminal demand information and terminal configuration information, perform compatibility test on the target application with all terminal devices, and debug the target application based on the test results.

[0070] In this embodiment, the terminal to be adapted is a terminal to which the application to be constructed needs to be adapted when used;

[0071] In this embodiment, the type data: that is, the type of the terminal to be adapted, for example, a web browser, a mobile device, a PC, etc.;

[0072] In this embodiment, characteristic data: data including characteristic information of the terminal to be adapted, for example, characteristics such as mobility, touch requirements, and interactivity of the mobile device;

[0073] In this embodiment, the terminal demand information includes information on various demand data of the terminal device for building an application program;

[0074] In this embodiment, the preset framework database: a database storing a large number of program front-end frameworks, which is preset and used to match the corresponding program front-end framework according to the input terminal demand information;

[0075] In this embodiment, the preset degree: a threshold value for screening out program front-end frameworks that meet preset conditions in a preset framework database;

[0076] In this embodiment, the program front-end framework is a collection of tools for building user interfaces and processing user interactions, which enables developers to build applications more efficiently, such as the react framework, the vue framework, etc.

[0077] In this embodiment, the front-end framework adaptation library: a database constructed based on the screened program front-end framework;

[0078] In this embodiment, the code-configuration database: a database containing code files, configuration files and their mapping relationships, used to filter and obtain code files and configuration files corresponding to the terminal device according to the input terminal demand information and the corresponding front-end framework adaptation library;

[0079] In this embodiment, code file: a file composed of running codes used to build an application;

[0080] In this embodiment, configuration file: a file used to store application configuration information, usually including various settings, options and parameters of the application, so as to be read and used at runtime;

[0081] In this embodiment, terminal configuration information: information generated according to a code file and a configuration file corresponding to each terminal device;

[0082] In this embodiment, target application: an application constructed based on terminal demand information and terminal configuration information;

[0083] In this embodiment, compatibility testing: that is, testing the compatibility of the target application with the terminal to be adapted to ensure that the application can run normally on the terminal device;

[0084] In this embodiment, debugging: adjusting and optimizing the target application according to the compatibility test result to continuously improve the compatibility of the application.

[0085] The implementation principle and beneficial effects of the embodiments of the present invention are as follows: the present invention firstly accurately obtains the demand information of each terminal device through the demand acquisition module, so as to facilitate the subsequent construction of the application program, and then obtains the front-end framework adapted to the terminal demand information through the matching module, and obtains the front-end framework adaptation library based on the obtained multiple front-end frameworks, thereby improving the adaptability of the application program to be constructed to the front-end framework, and then selects the code file and the corresponding configuration file that match the demand information of each terminal device through the code-configuration matching module, and finally constructs the application program through the debugging module and continuously debugs and optimizes it, thereby continuously improving the compatibility of the application program with the terminal device.

[0086] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that a demand acquisition module includes:

[0087] A program information acquisition submodule is used to acquire the functional characteristics, performance characteristics and type characteristics of the application to be built and generate program information;

[0088] The terminal information acquisition submodule is used to acquire the type data and characteristic data of the terminal to be adapted corresponding to the program information, and generate terminal information;

[0089] The terminal requirement acquisition submodule is used to generate terminal requirement information based on program information and corresponding terminal information.

[0090] In this embodiment, functional features: include features such as the main functions, operations and interaction methods of the application;

[0091] In this embodiment, the performance characteristics are the characteristics of various performances of the application, such as startup time, response time, resource utilization, etc.;

[0092] In this embodiment, the category feature refers to the application type or category to which the application belongs, for example, a social application, an entertainment application, a production tool application, etc.;

[0093] In this embodiment, program information: information generated based on the functional characteristics, performance characteristics, and category characteristics of the application to be constructed;

[0094] In this embodiment, terminal information: information generated based on the type data and characteristic data of the terminal to be adapted.

[0095] The implementation principles and beneficial effects of the embodiments of the present invention: The present invention can accurately obtain the functional characteristics, performance characteristics and type characteristics of the application to be built, and generate program information through the program information acquisition submodule; at the same time, the terminal information acquisition submodule can accurately obtain the type data and characteristic data of the terminal to be adapted, and generate terminal data, so as to comprehensively obtain the program and terminal demand information from two aspects of the application to be built and the corresponding terminal to be adapted, thereby providing accurate demand information for subsequent program construction and improving the accuracy and comprehensiveness of the demand information.

[0096] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that the framework adaptation module includes:

[0097] The demand feature extraction submodule is used to extract features from terminal demand information and generate a demand feature set;

[0098] A framework matching submodule, for screening a program front-end framework having a degree of adaptability greater than a first preset degree in a preset framework database based on a set of required features;

[0099] The adaptation library construction submodule is used to construct a front-end framework adaptation library based on the program front-end framework.

[0100] In this embodiment, the demand feature set is a set consisting of data features obtained by extracting features from the terminal demand information.

[0101] Implementation principles and beneficial effects of the embodiments of the present invention: The present invention extracts data features in terminal demand information through a demand feature extraction submodule, and generates a demand feature set based on the extraction results, thereby reducing the amount of computational complexity of subsequent information processing on the demand information. At the same time, through the framework matching submodule, a front-end framework that meets the terminal requirements can be selected from a preset framework database, providing a variety of framework options for the construction of applications and improving the compatibility of applications.

[0102] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that a code-configuration matching module includes:

[0103] The framework determination submodule is used to select a target front-end framework from the front-end framework adaptation library based on the obtained framework selection instruction and the required feature set, and generate framework determination information;

[0104] A code-configuration matching submodule, for selecting, based on the framework determination information, a code file having a degree of fit greater than a second preset degree and a configuration file having a degree of fit greater than a third preset degree from a code-configuration database;

[0105] The configuration information generation submodule is used to construct the terminal configuration information of each terminal device corresponding to the target front-end framework based on the framework determination information and the corresponding code files and configuration files.

[0106] In this embodiment, the framework selection instruction is an instruction input by a program developer or sent by the system and used to select a corresponding program front-end framework from the front-end framework adaptation library;

[0107] In this embodiment, the target front-end framework: a program front-end framework selected from a front-end framework adaptation library based on a framework selection instruction;

[0108] In this embodiment, the framework confirmation information is: confirmation information generated based on the selected target front-end framework, which is used for subsequent selection of corresponding code files and configuration files;

[0109] In this embodiment, the second preset degree: a threshold used to screen the code files satisfying the preset condition in the code-configuration database is preset;

[0110] In this embodiment, the third preset level: a threshold used to filter out configuration files satisfying preset conditions in the code-configuration database is preset.

[0111] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention obtains the framework selection instruction, and selects the target front-end framework from the front-end framework adaptation library in combination with the demand feature set. At the same time, based on the generated framework determination information, the code file and the corresponding configuration file are selected from the code-configuration database. Finally, the terminal configuration information corresponding to each terminal device is generated through the configuration information generation sub-module. When the application is run on different terminals, the code file and configuration file corresponding to the terminal will be called, thereby improving the adaptation effect of the application to different terminal devices.

[0112] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that it also includes:

[0113] A standby framework determination module is used to select at least one standby front-end framework from the front-end framework adaptation library based on the target front-end framework and the framework selection instruction, and generate standby framework information;

[0114] A standby code-configuration acquisition module is used to select and obtain corresponding standby code files and standby configuration files in a code-configuration database based on the standby framework information;

[0115] The backup data pool construction module is used to construct a backup data pool based on the backup framework information and the corresponding backup code files and backup configuration files.

[0116] In this embodiment, the standby front-end framework is used to continue to build the application program when the target front-end framework selected based on the framework selection instruction is in an abnormal state and cannot continue to build the program;

[0117] In this embodiment, the standby framework information: information generated based on all selected standby front-end frameworks;

[0118] In this embodiment, the standby code file: a code file selected from a code-configuration database based on the standby framework information;

[0119] In this embodiment, the standby configuration file: a configuration file selected from a code-configuration database based on the standby framework information;

[0120] In this embodiment, the standby data pool: a data pool constructed according to the standby framework information and the corresponding standby code files and standby configuration files;

[0121] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention obtains at least one backup front-end framework other than the target front-end framework through the backup framework determination module, and generates backup framework information. At the same time, the backup code-configuration acquisition module selects code files and configuration files that match the backup framework information. Therefore, when the program construction page is in abnormal conditions such as the crash or unresponsiveness of the target front-end framework, the program can continue to be built through the backup front-end framework, thereby improving the stability and reliability of the application during the construction process.

[0122] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that it also includes:

[0123] The program requirement analysis module analyzes each historical terminal requirement once to obtain program requirement information, wherein the program requirement information includes: interface requirements, functional requirements, data requirements and integration requirements;

[0124] A requirement-matching factor determination module, based on the program requirement information, obtains a first matching factor of the program corresponding to the functional requirement, a second matching factor corresponding to the interface requirement, a third matching factor corresponding to the data requirement, and a fourth matching factor corresponding to the integration requirement;

[0125] A code platform selection module, for selecting a matching low-code platform in a code database based on a first matching factor, a second matching factor, a third matching factor, and a fourth matching factor, and in combination with a manual selection instruction;

[0126] The interface determination module selects the program construction page and the corresponding layout framework from the interface database based on the interface requirements and manual selection instructions to generate the program interface;

[0127] The function model determination module is used to select the function model under the program interface through the low-code platform based on the function requirements and manual selection instructions;

[0128] The data model establishment module is used to perform secondary analysis on data requirements, determine the data objects corresponding to each functional model and the data attributes and data validation rules corresponding to each data object, establish the relationship between data and construct the data model based on the data objects and the corresponding data attributes and data validation rules;

[0129] The code matching module is used to determine the code file of the program to be built based on the program interface, function model and data model under the low-code platform;

[0130] A logic configuration determination module is used to obtain a logic file that matches the code file by combining the logical relationship of each functional model during operation;

[0131] An integration configuration determination module is used to obtain an integration file that matches the code file based on integration requirements;

[0132] Comprehensive configuration module, used to generate configuration files for corresponding historical devices based on logic files and integration files;

[0133] The database construction module is used to generate a code-configuration database based on all historical terminal requirements and code files and configuration files of corresponding historical devices.

[0134] In this embodiment, historical terminal demand: that is, historical demand of terminal devices;

[0135] In this embodiment, one-time analysis: the process of performing content analysis on historical terminal demands;

[0136] In this embodiment, program demand information: demand information obtained by parsing historical terminal demands;

[0137] In this embodiment, the interface requirements are the requirements of the application's user interface, such as user-friendliness, responsive interface, interface consistency, and multi-language support;

[0138] In this embodiment, functional requirements: refers to the functions and features that the application needs to have, such as data processing and analysis, social interaction, search, data management and storage, etc.;

[0139] In this embodiment, data demand refers to the type and amount of data that the application needs to process, store, and manage during operation, such as user data, content data, transaction data, log data, etc.;

[0140] In this embodiment, integration requirements refer to requirements for integrating the application with other systems, services or components to achieve specific functions or enhance user experience, such as third-party service requirements, internal system integration requirements, database integration requirements, and shared integration requirements;

[0141] In this embodiment, the first matching factor: the matching factor corresponding to the functional requirement obtained by the requirement-matching factor determination module is used for subsequent screening of code platforms;

[0142] In this embodiment, the second matching factor: the matching factor corresponding to the interface requirement obtained by the requirement-matching factor determination module is used for subsequent screening of code platforms;

[0143] In this embodiment, the third matching factor: the matching factor corresponding to the data requirement obtained by the requirement-matching factor determination module is used for subsequent screening of code platforms;

[0144] In this embodiment, the fourth matching factor: the matching factor corresponding to the integration requirement obtained by the requirement-matching factor determination module is used for subsequent screening of code platforms;

[0145] In this embodiment, the manual selection instruction is an instruction for manually selecting a code platform in a code database;

[0146] In this embodiment, the low-code platform is a platform for quickly building programs through a visual interface and drag-and-drop components, which enables developers to build applications with little or no coding, thereby speeding up the development of applications;

[0147] In this embodiment, the interface database: a database storing various pre-set program construction interfaces and corresponding layout frameworks;

[0148] In this embodiment, the program interface: a program construction interface generated according to a construction page selected from an interface database and a corresponding layout framework;

[0149] In this embodiment, the functional model: a functional component selected in the low-code platform based on functional requirements and manual selection instructions;

[0150] In this embodiment, secondary analysis: the process of performing content analysis on the data demand information;

[0151] In this embodiment, data object refers to target data that the application needs to process;

[0152] In this embodiment, data attributes: that is, attributes corresponding to the data object, such as name, type, etc.;

[0153] In this embodiment, data validation rules: rules used to verify the integrity and correctness of data;

[0154] In this embodiment, data model: a model obtained by establishing the relationship between various data objects;

[0155] In this embodiment, logic file: a data file generated according to the operation logic relationship between each functional model;

[0156] In this embodiment, the integrated file is a file obtained by the integrated configuration determination module and composed of integrated data matching the corresponding code file;

[0157] In this embodiment, the configuration file: a configuration file corresponding to each historical device generated according to the logic file and the integration file;

[0158] In this embodiment, the code-configuration database is a database constructed based on historical terminal requirements and all code files and configuration files under corresponding historical devices.

[0159] The implementation principles and beneficial effects of the embodiments of the present invention: The present invention performs in-depth analysis of each historical terminal demand, obtains the historical demand information of all terminals for the program, and selects a low-code platform suitable for building the current program through a code platform selection module, thereby improving the accuracy of the low-code platform selection result and the compatibility with the terminal. At the same time, the code files and configuration files required for program construction are selected according to the selected low-code platform, and a code-configuration database is generated, which facilitates subsequent program construction and improves the efficiency of program construction and the compatibility with the terminal.

[0160] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that the debugging module includes:

[0161] The instruction log generation submodule is used to obtain the input instructions and input time of the program during the construction process, and build the instruction log;

[0162] The call log generation submodule is used to obtain the code file call information and configuration file call information corresponding to each input instruction during the program construction process based on the instruction log, and to construct a code-configuration file call log in combination with the timing characteristics generated during the call process;

[0163] The process file generation submodule is used to generate the program build process file based on the instruction log and the code-configuration file call log;

[0164] The program building submodule is used to build the target application based on the terminal demand information and terminal configuration information and in combination with the process file;

[0165] A functional testing submodule, used to perform a functional test on the target application to obtain a first test result;

[0166] The performance test submodule is used to perform a performance test on the target application based on the first test result and in combination with the terminal demand information to obtain a second test result;

[0167] The compatibility test submodule performs a compatibility test on each terminal device corresponding to the target application and the terminal requirement information based on the first test result and the second test result, and generates a third test result in combination with the target environment under the corresponding terminal device;

[0168] A result analysis submodule, used to analyze the first test result, the second test result and the third test result with the terminal demand information respectively, and generate a program test analysis result;

[0169] The debugging submodule is used to generate debugging instructions based on the terminal demand information and the acquired terminal demand change information and in combination with the program test analysis results, and debug the target application based on the debugging instructions;

[0170] The effect analysis submodule is used to analyze the effect of the debugged target application, generate a debugging effect analysis table based on the analysis results, and continuously perform debugging optimization.

[0171] In this embodiment, input instructions refer to instructions received by the program during the construction process, including system input instructions and manual input instructions;

[0172] In this embodiment, input time: that is, the time corresponding to each instruction when it is input;

[0173] In this embodiment, the instruction log: a log generated according to the input instruction and the corresponding time;

[0174] In this embodiment, the code file calling information: that is, the calling information of the code file during the program building process;

[0175] In this embodiment, the configuration file calling information: that is, the calling information of the configuration file during the program building process;

[0176] In this embodiment, the timing feature refers to the time sequence feature corresponding to the code file calling information and the configuration file calling information;

[0177] In this embodiment, the code-configuration file call log: a log generated based on the code file call information, configuration file call information and corresponding timing characteristics corresponding to each input instruction, which facilitates subsequent optimization and adjustment of the application program;

[0178] In this embodiment, process file: a file generated based on the instruction log and the code-configuration file call log, used to store the log records of the application during the construction process;

[0179] In this embodiment, the first test result: a test result obtained by performing a functional test on the target application;

[0180] In this embodiment, the second test result: a test result obtained by performing a performance test on the target application;

[0181] In this embodiment, the target environment refers to the environment corresponding to when the application is running on the terminal device, including the hardware environment and the software environment;

[0182] In this embodiment, the third test result: a test result obtained by performing a compatibility test on the target application;

[0183] In this embodiment, the program test analysis result: the analysis result obtained by processing and analyzing the first test result, the second test result and the third test result through the result analysis submodule;

[0184] In this embodiment, the terminal demand change information: that is, the terminal demand change information during the program construction process and the subsequent use process, can be used as a basis for optimizing and adjusting the application program;

[0185] In this embodiment, the debugging instruction is an instruction obtained by analyzing and processing the terminal demand information and the terminal demand change information by the debugging submodule, and is used to debug and optimize the target application;

[0186] In this embodiment, the debugging effect analysis table is a data analysis table obtained after effect analysis of the debugged target application program, and is used to evaluate the debugging effect.

[0187] The implementation principle and beneficial effects of the embodiments of the present invention: The present invention obtains the instruction log of the application during the construction process and the corresponding code-configuration file call log through the instruction log generation submodule and the call log generation submodule respectively, and then generates the process file of the program construction through the process file generation submodule, records the construction process of the program, and provides a basis for subsequent developers to debug and optimize the program; at the same time, by performing functional testing, performance testing and compatibility testing on the application, the construction effect of the application is comprehensively evaluated, and the accuracy of the effect evaluation is improved; the present invention also evaluates the effect of the debugged application through the effect analysis submodule, continuously debugs and optimizes the application, and continuously optimizes according to changes in terminal requirements, thereby improving the compatibility and adaptability of the application to the terminal.

[0188] An embodiment of the present invention provides a system for rapidly building an application program applicable to multiple terminals, characterized in that the compatibility test submodule includes:

[0189] The terminal list acquisition unit is used to acquire all terminal devices corresponding to the target program based on the terminal demand information and construct an adapted terminal list;

[0190] The test item acquisition unit is used to acquire the test items corresponding to the compatibility test, and construct a test item set B=(p1, p2, p3, p4), where p1 represents the operating system adaptation compatibility test item; p2 represents the browser adaptation compatibility test item; p3 represents the resolution compatibility test item; and p4 represents the network compatibility test item;

[0191] The requirement matching unit is used to obtain the test standard of the i-th terminal device under the corresponding test item and generate a terminal test standard set;

[0192] A compatibility test data acquisition unit, used to acquire a compatibility test data set corresponding to the i-th terminal device;

[0193] A compatibility effect evaluation unit, used to calculate the compatibility effect coefficient Ei of each terminal device for the target application based on the terminal test standard set and the compatibility test data set corresponding to each terminal device;

[0194] ;in, represents the environmental impact factor corresponding to the i-th terminal device; n represents the total number of compatibility tests performed on the i-th terminal device; n1 represents the number of invalid compatibility tests performed on the i-th terminal device; Represents the test data of the i-th terminal device under the j-th test item; Indicates the test standard of the i-th terminal device under the j-th test item; represents the effect evaluation factor of the i-th terminal device under the j-th test item, where j=1 means it is related to p1; j=2 means it is related to p2; j=3 means it is related to p3; j=4 means it is related to p4; Indicates based on The number of intersection data; express The amount of data; It indicates the test frequency of the i-th terminal device under the j-th test item; represents the frequency variance of the other test frequencies of the i-th terminal device except for the j-th test item; represents the standard frequency under the jth test item; ln represents the logarithmic function symbol; Indicates based on right The actual evaluation function of Indicates based on right The standard evaluation function of ; Indicates based on The evaluation constant of is greater than 1;

[0195] A conflict statistics unit, used to count the types and quantities of terminal devices whose compatibility effect coefficients do not meet the preset compatibility conditions, and generate a list of terminals to be adjusted in combination with corresponding incompatible item categories;

[0196] A comprehensive evaluation unit, used to normalize the compatibility effects corresponding to each terminal, and obtain a comprehensive evaluation result of the compatibility of the target application with each terminal;

[0197] The test result generating unit is used to generate a third test result based on the terminal list to be adjusted and the comprehensive evaluation result.

[0198] In this embodiment, the adaptation terminal list is a list consisting of all terminal devices corresponding to the target program;

[0199] In this embodiment, the test items: that is, the items to be tested for compatibility, include: operating system, browser, resolution, and network compatibility test items;

[0200] In this embodiment, the operating system adaptation compatibility test project: a project for performing compatibility tests between the application program and each operating system corresponding to the terminal device, for example, operating systems such as Linux, Android, IOS, and Windows;

[0201] In this embodiment, the browser adaptation compatibility test project: a project for testing the compatibility of the application program with the browser corresponding to the terminal device, for example, IE, Edge, Firefox and other browsers;

[0202] In this embodiment, the resolution compatibility test item: an item for performing compatibility test on the application program under terminals with different resolutions;

[0203] In this embodiment, the network compatibility test project: a project for performing compatibility tests on the application under different network conditions, such as optical fiber connection, cellular network connection, WIFI connection, etc.;

[0204] In this embodiment, the test standard refers to the standard data under the test item;

[0205] In this embodiment, the terminal test standard set is a data set formed according to the test standard of each terminal device under each test item;

[0206] In this embodiment, the compatibility test data set: a data set formed according to the compatibility test results;

[0207] In this embodiment, the compatibility effect coefficient is a coefficient used to evaluate the compatibility effect of the application program on each terminal;

[0208] In this embodiment, the preset compatibility condition: a threshold used to determine whether an application meets the terminal compatibility condition is preset;

[0209] In this embodiment, the incompatible item category: that is, the test items whose compatibility test results do not meet the standards;

[0210] In this embodiment, the terminal list to be adjusted is a list of terminal devices that need to be adjusted and optimized for compatibility to meet preset compatibility conditions and corresponding incompatible item categories;

[0211] In this embodiment, normalization: a data preprocessing technique used to eliminate the dimensional differences between different features to facilitate comparative analysis of data;

[0212] In this embodiment, the comprehensive evaluation result is an evaluation result obtained by comprehensively analyzing the compatibility effects corresponding to each terminal through the comprehensive evaluation unit.

[0213] The implementation principles and beneficial effects of the embodiments of the present invention: The present invention comprehensively tests the compatibility of terminal devices with application programs by performing operating system, browser, resolution and network compatibility tests on all terminal devices corresponding to the target program, thereby improving the accuracy of the compatibility test results and providing accurate data support for subsequent compatibility optimization of the application program; at the same time, statistics are collected on incompatible terminal devices and corresponding incompatible projects through a conflict statistics unit, and incompatible terminal devices and project categories are accurately located, making it convenient for subsequent developers to locate and debug and optimize incompatible devices and incompatible projects.

[0214] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A system for rapidly building applications suitable for multiple terminals, characterized in that: include: Demand acquisition module: used to obtain the type data and characteristic data of the terminal to be adapted corresponding to the application to be built, and generate terminal demand information; Framework adaptation module: used for screening out program front-end frameworks with a degree of adaptation greater than a preset degree from a preset framework database based on the terminal demand information, and constructing a front-end framework adaptation library; Code-configuration matching module: used to select the code file and the corresponding configuration file corresponding to each terminal device in the code-configuration database based on the terminal demand information and the front-end framework adaptation library, and generate terminal configuration information under each terminal device; Debugging module: used to construct a target application based on the terminal demand information and the terminal configuration information, perform compatibility test on the target application with all terminal devices, and debug the target application based on the test results; A program requirement analysis module analyzes each historical terminal requirement to obtain program requirement information, wherein the program requirement information includes: interface requirements, function requirements, data requirements and integration requirements; A requirement-matching factor determination module, based on the program requirement information, respectively obtains a first matching factor of the program corresponding to the functional requirement, a second matching factor corresponding to the interface requirement, a third matching factor corresponding to the data requirement, and a fourth matching factor corresponding to the integration requirement; A code platform selection module, configured to select a matching low-code platform from a code database based on the first matching factor, the second matching factor, the third matching factor, and the fourth matching factor, and in combination with a manual selection instruction; An interface determination module, based on the interface requirements and manual selection instructions, selects a program construction page and a corresponding layout framework from an interface database to generate a program interface; A function model determination module, used to select and obtain the function model under the program interface through the low-code platform based on the function requirements and manual selection instructions; A data model establishment module is used to analyze the data requirements, determine the data objects corresponding to each of the functional models and the data attributes and data validation rules corresponding to each of the data objects, establish the relationship between the data and construct the data model based on the data objects and the corresponding data attributes and data validation rules; The code matching module is used to determine the code file of the program to be built based on the program interface, function model and data model under the low-code platform; A logic configuration determination module, used to obtain a logic file matching the code file in combination with the logic relationship of each functional model during operation; An integration configuration determination module, used to obtain an integration file matching the code file based on the integration requirement; A comprehensive configuration module, used to generate a configuration file corresponding to the historical device based on the logic file and the integration file; A database construction module is used to generate a code-configuration database based on all historical terminal requirements and code files and configuration files of corresponding historical devices; Wherein, the debugging module includes: The instruction log generation submodule is used to obtain the input instructions and input time of the program during the construction process, and build the instruction log; A call log generation submodule is used to obtain the code file call information and configuration file call information corresponding to each input instruction during the program construction process based on the instruction log, and to construct a code-configuration file call log in combination with the timing characteristics generated during the call process; A process file generation submodule, used to generate a program construction process file based on the instruction log and the code-configuration file call log; A program building submodule, for building a target application based on the terminal requirement information and the terminal configuration information and in combination with the process file; A functional testing submodule, used to perform a functional test on the target application to obtain a first test result; A performance test submodule, configured to perform a performance test on the target application based on the first test result and in combination with the terminal demand information to obtain a second test result; A compatibility test submodule, based on the first test result and the second test result, performs a compatibility test on each terminal device corresponding to the target application and the terminal requirement information, and generates a third test result in combination with the target environment under the corresponding terminal device; A result analysis submodule, used to analyze the first test result, the second test result and the third test result with the terminal demand information respectively to generate a program test analysis result; A debugging submodule, for generating debugging instructions based on the terminal demand information and the acquired terminal demand change information and in combination with the program test analysis result, and debugging the target application based on the debugging instructions; The effect analysis submodule is used to analyze the effect of the debugged target application, generate a debugging effect analysis table based on the analysis results, and continuously perform debugging optimization.

2. A system for rapidly building applications for multiple terminals according to claim 1, characterized in that: The demand acquisition module includes: A program information acquisition submodule is used to acquire the functional characteristics, performance characteristics and type characteristics of the application to be built and generate program information; The terminal information acquisition submodule is used to acquire the type data and characteristic data of the terminal to be adapted corresponding to the program information, and generate terminal information; The terminal requirement acquisition submodule is used to generate terminal requirement information based on the program information and the corresponding terminal information.

3. The system for rapidly building applications for multiple terminals according to claim 1, characterized in that: The framework adaptation module includes: A demand feature extraction submodule, used to extract features from the terminal demand information and generate a demand feature set; A framework matching submodule, configured to screen a program front-end framework having a degree of adaptability greater than a first preset degree from a preset framework database based on the required feature set; The adaptation library construction submodule is used to construct a front-end framework adaptation library based on the program front-end framework.

4. A system for rapidly building applications for multiple terminals according to claim 3, characterized in that: The code-configuration matching module includes: A framework determination submodule, configured to select a target front-end framework from the front-end framework adaptation library based on the obtained framework selection instruction and the required feature set, and generate framework determination information; A code-configuration matching submodule, configured to select, based on the framework determination information, a code file having a degree of fit greater than a second preset degree and a configuration file having a degree of fit greater than a third preset degree from a code-configuration database; The configuration information generation submodule is used to construct the terminal configuration information of each terminal device corresponding to the target front-end framework based on the framework determination information and the corresponding code files and configuration files.

5. A system for rapidly building applications for multiple terminals according to claim 4, characterized in that: Also includes: A standby framework determination module, configured to select at least one standby front-end framework from the front-end framework adaptation library based on the target front-end framework and the framework selection instruction, and generate standby framework information; A standby code-configuration acquisition module, used to select and obtain corresponding standby code files and standby configuration files in a code-configuration database based on the standby framework information; The standby data pool construction module is used to construct a standby data pool based on the standby framework information and the corresponding standby code files and standby configuration files.

6. The system for rapidly building applications for multiple terminals according to claim 1, characterized in that: The compatibility test submodule includes: A terminal list acquisition unit, used to acquire all terminal devices corresponding to the target program based on the terminal demand information, and construct an adapted terminal list; The test item acquisition unit is used to acquire the test items corresponding to the compatibility test, and construct a test item set B=(p1, p2, p3, p4), where p1 represents the operating system adaptation compatibility test item; p2 represents the browser adaptation compatibility test item; p3 represents the resolution compatibility test item; and p4 represents the network compatibility test item; The requirement matching unit is used to obtain the test standard of the i-th terminal device under the corresponding test item and generate a terminal test standard set; A compatibility test data acquisition unit, used to acquire a compatibility test data set corresponding to the i-th terminal device; A compatibility effect evaluation unit, configured to calculate a compatibility effect coefficient Ei of each terminal device for the target application based on the terminal test standard set and the compatibility test data set corresponding to each terminal device; ;in, represents the environmental impact factor corresponding to the i-th terminal device; n represents the total number of compatibility tests performed on the i-th terminal device; n1 represents the number of invalid compatibility tests performed on the i-th terminal device; Represents the test data of the i-th terminal device under the j-th test item; Indicates the test standard of the i-th terminal device under the j-th test item; represents the effect evaluation factor of the i-th terminal device under the j-th test item, where j=1 means it is related to p1; j=2 means it is related to p2; j=3 means it is related to p3; j=4 means it is related to p4; Indicates based on The number of intersection data; express The amount of data; It indicates the test frequency of the i-th terminal device under the j-th test item; represents the frequency variance of the other test frequencies of the i-th terminal device except for the j-th test item; represents the standard frequency under the jth test item; ln represents the logarithmic function symbol; Indicates based on right The actual evaluation function of Indicates based on right The standard evaluation function of ; Indicates based on The evaluation constant of is greater than 1; A conflict statistics unit, used to count the types and quantities of terminal devices whose compatibility effect coefficients do not meet the preset compatibility conditions, and generate a list of terminals to be adjusted in combination with corresponding incompatible item categories; A comprehensive evaluation unit, used to normalize the compatibility effects corresponding to each terminal, and obtain a comprehensive evaluation result of the compatibility of the target application with each terminal; The test result generating unit is used to generate a third test result based on the terminal list to be adjusted and the comprehensive evaluation result.