Configuration-based search help execution system

The configuration-based search help execution system addresses the inefficiencies of manual coding and duplicate code issues by providing flexible data configuration modes, enhancing development speed and reducing costs.

CN119248249APending Publication Date: 2025-01-03QIMING INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411416724.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Existing systems require extensive manual coding for drop-down boxes across multiple tables, increasing development time and costs, and existing API search help does not address the issue of duplicate code generation.

Method used

A configuration-based search help execution system with simple and API modes, comprising various submodules for flexible data configuration, allowing for efficient generation of standard drop-down boxes through back-end modeling and front-end page dragging.

Benefits of technology

Enables fast and efficient function development, reducing time and labor costs by allowing business personnel to focus on core tasks without requiring deep technical knowledge, while minimizing duplicate code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248249A_ABST
    Figure CN119248249A_ABST
Patent Text Reader

Abstract

The invention discloses a configuration-based search help execution system. The system comprises a business data input and storage module, a search mode selection module and a search display module. The invention provides systematic search help in a simple mode and an API (Application Program Interface) mode, which are divided into four data structures, namely a table structure, a timely feedback structure, a left-tree right-table structure and a tree structure, so that business personnel can flexibly configure the required data structure according to own requirements; the function development can be very simple, rapid and efficient, the enterprise is helped to save time and labor cost, and the complexity of the function development is solved; business personnel are enabled to concentrate on core business more, and even if development is not understood, the drop-down box required in the business can be constructed through the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a configuration-based search help execution system. Background Art

[0002] In actual system development, a large number of drop-down boxes are required on the front-end page, and the data in them are often in different tables, which requires back-end personnel to write a large amount of similar code, thereby increasing the workload and extending the development time, resulting in a lack of development and testing time for the real core business. At a time when everyone is pursuing fast and concise development methods, this large amount of similar code undoubtedly increases the time and manpower costs required for development.

[0003] The existing technology can only be configured based on a single table. If the business data requires a joint query of multiple tables, it can only be configured through API search help. However, API search help does not solve the problem of repeated development of similar codes. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a configuration-based search help execution system, including: a business data input and storage module, a search mode selection module, and a search display module; the business data input and storage module is used to input business data information into the system and store it; the search mode selection module is used for users to select which method to use to search for business data, including: a simple mode and an API mode; the search display module is used to display the searched related data information Furthermore, the simple mode includes a simple table / timely response search help submodule, a simple tree search help submodule, and a simple left-tree-right-table search help submodule; the API mode includes an API table / timely response search help submodule, an API tree search help submodule, and an API left-tree-right-table search help submodule.

[0005] Furthermore, the business data information specifically includes: business name, business code, data source, table, parent field, and associated field.

[0006] Furthermore, the search coding format of the simple table / timely response search help submodule is a combination of letters and numbers, specifically including: data source, search table, display field, selection type, value field, paging type, list display field, parameter setting; the simple tree search help submodule specifically includes: parent field, associated field, root node value, default parameter setting, and remaining fields; the simple left tree right table search help submodule specifically includes: data source, search table, display field, selection type, value field, paging type, list display field, parameter setting, parent field, associated field, root node value, default parameter setting, remaining fields, and tree table mapping.

[0007] Furthermore, the remaining fields in the simple tree search help submodule are used to configure other fields except the display fields, and the value of a certain other field is obtained through SearchHelp.selectedRecords.

[0008] Furthermore, the search coding format of the API table / timely response search help submodule is a combination of letters and numbers, specifically including: API type, URL, selection type, value field, paging type, API list display field, API parameter setting; the API tree search help submodule specifically includes: API type, URL, echo parameters, root node value, API parameter setting, and other fields; the API left tree right table search help submodule specifically includes: API type, URL, selection type, value field, paging type, API list display field, API parameter setting, echo parameters, root node value, other fields, and tree table mapping.

[0009] The present invention provides a configuration-based search help execution system, which has the following beneficial effects: The search help of the system provided by the present invention has two modes: simple and API, which are further divided into four data structures: table, instant feedback, left tree and right table, and tree. Business personnel can flexibly configure the required data structure according to their own needs; making function development very simple, fast and efficient, helping enterprises save time and labor costs, and solving the complexity of function development; allowing business personnel to focus more on core business, even if they do not understand development, they can build the drop-down box required in the business through this system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0011] Figure 1 This is a schematic diagram of the system structure provided by the present invention. DETAILED DESCRIPTION

[0012] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0013] The following is a detailed description of the implementation method of the present invention in conjunction with the accompanying drawings. Only some embodiments are described, not all embodiments. For the purpose of clarity, representations and descriptions that are not related to the present invention are omitted in the drawings and descriptions.

[0014] In order to have a clearer understanding of the technical features, purposes and beneficial effects of the present invention, the technical solution of the present invention is now described in detail below. Obviously, the implementation cases described are part of the embodiments of the present invention, not all of the embodiments, and cannot be understood as limiting the scope of the implementation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0015] like Figure 1 As shown, the present invention provides a configuration-based search help execution system, including: a business data input and storage module, a search mode selection module, and a search display module; the business data input and storage module is used to input business data information into the system and store it; the search mode selection module is used for users to select which method to use to search for business data, including: a simple mode and an API mode; the search display module is used to display the searched related data information Among them, the simple mode includes a simple table / timely response search help submodule, a simple tree search help submodule, and a simple left tree and right table search help submodule; the API mode includes an API table / timely response search help submodule, an API tree search help submodule, and an API left tree and right table search help submodule.

[0016] Business data information specifically includes: business name, business code, data source, table, parent field, and related fields.

[0017] The search coding format of the Simple Form / Timely Response Search Help submodule is a combination of letters and numbers, including: data source, search table, display field, selection type, value field, paging type, list display field, and parameter settings. You must select the data source before you can select the table, and you can dynamically identify all the columns of the table. The display field generates different options based on the selection type. When the selection type is single selection, you can select multiple display fields, and when the selection type is multiple selection, you can only select one display field. The value field needs to select a unique field in the table, usually the primary key ID. The paging type can select front-end paging and back-end paging according to user needs. The list display field is used to display the data columns of the table. It is a required option, and each row can be dragged and sorted. Parameter settings are used to filter and query table data. It is a required option, and different query methods and query field types can be selected according to user needs.

[0018] The simple tree search help submodule specifically includes: parent fields, associated fields, root node values, default parameter settings, and other fields. Parent fields are fields for calculating tree levels; associated fields are fields for filtering subordinate elements connected to the root node; the root node value is mainly used to find the top of the tree; the default parameter setting is used to filter out all selected fields; other fields can be configured with fields other than the displayed fields, and the value of a certain other field can be obtained through SearchHelp.selectedRecords, so that users can obtain other data besides the displayed fields.

[0019] The simple left-tree-right-table search help submodule specifically includes: data source, search table, display field, selection type, value field, paging type, list display field, parameter setting, parent field, associated field, root node value, default parameter setting, other fields, and tree-table mapping. Among them, the tree-table mapping is the field in the table that can be associated with the tree.

[0020] The search encoding format of the API table / timely response search help submodule is a combination of letters and numbers, including: API type, URL, selection type, value field, paging type, API list display field, API parameter setting. The data source should be of API type; currently, the API search help only supports filling in the API call address at the interface URL of the POST method. The API list display fields and parameters need to be written manually to ensure that the filled fields are returned in the calling interface; if the selection type is single selection, the display field can be separated into multiple parameters in the form of commas, if only one parameter can be filled in when multiple selections are selected, even with, it will be considered as a whole; the value field needs to select a unique field in the table, usually the primary key ID; the data key is the specified value range for the data structure returned by the platform, usually a layer of data:{xxxx}, the default is records; the echo parameter is used for query, and the parameter will be automatically wrapped in [] format. The paging type can select front-end paging and back-end paging according to user needs; the API list display field is used to display the data column of the table, which is a required item, and each row can be dragged and sorted; the API parameter setting is used for parameter transmission.

[0021] The API tree search help submodule specifically includes: API type, URL, echo parameters, root node value, API parameter settings, and other fields.

[0022] The API left-tree right-table search help submodule specifically includes: API type, URL, selection type, value field, paging type, API list display field, API parameter setting, echo parameter, root node value, other fields, and tree-table mapping. Among them, the tree-table mapping field refers to the field in the table that is associated with the tree.

[0023] The back-end structure and the front-end structure can be used to quickly generate standard drop-down box components and query interfaces to reduce duplicate code development. The back-end structure refers to a set of JSON structures that are automatically generated after the search help is configured, and the configuration content is dynamically converted into standard back-end query code with the corresponding parsing method; the front-end structure refers to the dynamic acquisition of the back-end JSON structure and the extraction of necessary content to generate a front-end standard drop-down box component by dragging the search help component and selecting the target search help.

[0024] The present invention realizes the organic combination of business data and low-code engine, and can generate standard front-end and back-end codes through back-end modeling and front-end page dragging. The present invention provides system search help with two modes: simple and API, which are further divided into table, instant feedback, left tree and right table, and tree. These four data structures allow business personnel to flexibly configure the required data structure according to their needs; making function development very simple, fast and efficient, helping enterprises save time and labor costs, and solving the complexity of function development; allowing business personnel to focus more on core business, even if they do not understand development, they can use this system to build the drop-down box required for the business.

[0025] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.

Claims

1. A configuration-based search help execution system, characterized in that: include: Business data input and storage module, search mode selection module, search display module; The business data input and storage module is used to input business data information into the system and store it; The search mode selection module is used for users to select the mode to search for business data, including: simple mode and API mode; The search display module is used to display the searched related data information.

2. The configuration-based search help execution system according to claim 1, characterized in that: The simple mode includes a simple table / timely response search help submodule, a simple tree search help submodule, and a simple left-tree-right-table search help submodule; The API mode includes an API table / timely response search help submodule, an API tree search help submodule, and an API left tree right table search help submodule.

3. The configuration-based search help execution system according to claim 1, characterized in that: The business data information specifically includes: business name, business code, data source, table, parent field, and associated field.

4. The configuration-based search help execution system according to claim 1, characterized in that: The search code format of the simple form / timely response search help submodule is a combination of letters and numbers, specifically including: data source, search table, display field, selection type, value field, paging type, list display field, parameter setting; The simple tree search help submodule specifically includes: parent fields, associated fields, root node values, default parameter settings, and other fields; The simple left-tree-right-table search help submodule specifically includes: data source, search table, display field, selection type, value field, paging type, list display field, parameter setting, parent field, associated field, root node value, default parameter setting, other fields, and tree-table mapping.

5. The configuration-based search help execution system according to claim 4, characterized in that: The remaining fields in the simple tree search help submodule are used to configure other fields except the display fields, and the value of other fields is obtained through SearchHelp.selectedRecords.

6. The configuration-based search help execution system according to claim 1, characterized in that: The search encoding format of the API table / timely response search help submodule is a combination of letters and numbers, specifically including: API type, URL, selection type, value field, paging type, API list display field, API parameter setting; The API tree search help submodule specifically includes: API type, URL, echo parameter, root node value, API parameter setting, and other fields; The API left-tree-right-table search help submodule specifically includes: API type, URL, selection type, value field, paging type, API list display field, API parameter setting, echo parameter, root node value, other fields, and tree-table mapping.