Form processing method, device, equipment and storage medium

By creating a business project form with multiple hidden elastic fields in the form, automatically matching and storing new business data, the problem of inefficient traditional form processing is solved, and efficient form processing and space utilization is achieved.

CN117171172BActive Publication Date: 2025-08-26YGSOFT INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311168891.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2025-08-26
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

Traditional form processing methods are inefficient and difficult to efficiently respond to new fields in the form, resulting in low form space expansion and utilization.

Method used

Create a business project form, including multiple hidden elastic fields, and store new business data by matching and selecting target elastic fields, so as to automatically increase and efficiently utilize the form space.

Benefits of technology

Improve form processing efficiency and space utilization, automatically add business fields by reserving elastic fields, and enable target elastic fields only when needed, optimizing form processing flow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117171172B_ABST
    Figure CN117171172B_ABST
Patent Text Reader

Abstract

This application belongs to the field of data processing and relates to a form processing method, comprising creating a business project form, wherein the business project form includes multiple hidden elastic fields; receiving a field addition request containing a business field, and adding the business field to the business project form to obtain a newly added business field; selecting a target elastic field that matches the newly added business field from the multiple hidden elastic fields; and storing business data corresponding to the newly added business field in the target elastic field. This application also provides a form processing device, computer equipment, and storage medium. This application can improve form processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a form processing method, apparatus, device and storage medium. Background Art

[0002] Traditional form processing is to add, delete, modify and query forms by using SQL development and language.

[0003] However, this method requires rewriting the programming language every time a form field is changed, which makes form processing inefficient. On the other hand, when new fields need to be added in batches to the form, it is difficult to respond to the new fields in an efficient and real-time manner. In addition, too many new fields will cause the number of columns in the form to expand, which not only occupies a large form space but also has a low utilization rate of the form space, further reducing the efficiency of form processing. Summary of the Invention

[0004] The present invention provides a form processing method, device, equipment and storage medium, the main purpose of which is to improve form processing efficiency.

[0005] In order to solve the above technical problems, the present application provides a form processing method, which adopts the following technical solutions:

[0006] Creating a business project form, wherein the business project form includes a plurality of hidden flexible fields;

[0007] receiving a field adding request carrying a business field, and adding the business field to the business item form to obtain a newly added business field;

[0008] Selecting a target elastic field that matches the newly added business field from the multiple hidden elastic fields;

[0009] The target elastic field is used to store the business data corresponding to the newly added business field.

[0010] Furthermore, selecting a target elastic field that matches the newly added service field from the multiple hidden elastic fields includes:

[0011] Obtaining elastic field prefix names and elastic field attributes corresponding to the multiple hidden elastic fields and newly added field attributes corresponding to the newly added business field;

[0012] Determine whether the newly added field attribute satisfies both the attribute matching accuracy of the elastic field attribute and the elastic field prefix name;

[0013] When the newly added field attribute satisfies both the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, the hidden elastic field corresponding to the elastic field prefix name is used as the target elastic field;

[0014] When the newly added field attribute does not simultaneously satisfy the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, it is determined that the newly added business field does not have a corresponding hidden elastic field, and the newly added business field is updated to obtain an updated business field, until the updated business field simultaneously satisfies the attribute matching accuracy of the elastic field attribute and the elastic field prefix name to obtain the target elastic field.

[0015] Furthermore, the business field is added to the business item form to obtain a newly added business field, including:

[0016] Identifying the field type level to which the business field belongs in the business item form;

[0017] The business field is added to the corresponding business item form based on the field type level to obtain the newly added business field.

[0018] Furthermore, the creation of a business project form includes:

[0019] Receive a project form creation request, and obtain a project form type according to the project form creation request;

[0020] Configure the business fields, data fields and hidden flexible fields of the form based on the project form type;

[0021] The business field attributes corresponding to the business field and the data field attributes corresponding to the data field are configured, and the hidden elastic field, the business field, the data field, the business field attributes and the data field attributes are integrated to obtain the business item form.

[0022] Furthermore, configuring the business fields, data fields, and hidden flexible fields of the form based on the project form type includes:

[0023] Configuring multiple business identifiers according to the project form type, and generating corresponding business fields based on the multiple business identifiers;

[0024] Generate the corresponding data field according to the project form type and the business field;

[0025] Acquire a new flexible field interface of the business project form according to the project form type, and receive multiple attribute values ​​input by the user on the interface;

[0026] Configure elastic field prefix names corresponding to the multiple attribute values, and generate corresponding hidden elastic fields based on the elastic field prefix names and the multiple attribute values.

[0027] Furthermore, after using the target elastic field to store the business data corresponding to the newly added business field, the method further includes:

[0028] Obtaining a target business field to be queried, and determining whether there is a related flexible field of the target business field in the business item form;

[0029] When the associated elastic field exists in the target business field, the associated elastic field is used to query the target data corresponding to the target business field in the business item form;

[0030] When the associated flexible field does not exist in the target business field, the target data corresponding to the target business field is searched in the business item form using the target business field.

[0031] In order to solve the above technical problems, the present application also provides a form processing device, which adopts the following technical solutions:

[0032] A creation module, configured to create a business item form, wherein the business item form includes a plurality of hidden flexible fields;

[0033] An adding module is used to receive a field adding request carrying a business field, and add the business field to the business item form to obtain a newly added business field;

[0034] a matching module, configured to select a target elastic field that matches the newly added service field from the plurality of hidden elastic fields; and

[0035] The storage module is configured to use the target elastic field to store the business data corresponding to the newly added business field.

[0036] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0037] a memory storing at least one computer program; and

[0038] The processor executes the computer program stored in the memory to implement the above-mentioned form processing.

[0039] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0040] The computer-readable storage medium stores at least one computer program, and the at least one computer program is executed by a processor in the electronic device to implement the above-mentioned form processing.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] In the embodiment of the present application, firstly, by creating a business project form, and the business project form includes multiple hidden elastic fields, it is possible to reserve some elastic fields in the business project form for subsequent business fields to be added, thereby improving the utilization rate of the form space; secondly, by adding business fields to the business project form to obtain newly added business fields, it is possible to automatically add business fields and improve the efficiency of form processing; finally, by selecting a target elastic field that matches the newly added business field from multiple hidden elastic fields, and using the target elastic field to store the business data corresponding to the newly added business field, it is possible to enable the target elastic field only when there is a business demand, further improving the utilization rate of the expression space, thereby improving the efficiency of form processing. Therefore, the form processing method, device, equipment and storage medium proposed by the present invention can improve the efficiency of form processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the solutions in this application, a brief introduction will be given below to the drawings required for use in the description of the embodiments of this application. Obviously, the drawings described below are some embodiments of this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0044] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0045] Figure 2 is a flowchart of an embodiment of the form processing method according to the present application;

[0046] Figure 3 This is a structural diagram of an embodiment of the control terminal in the form processing system according to the present application;

[0047] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0048] The method for determining a data format provided by an embodiment of the present invention is applied to a data processing system. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application. The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0049] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0050] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0051] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is a medium for providing communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0052] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social online platform software, etc.

[0053] Terminal devices 101, 102, and 103 can be various electronic devices with display screens and support web browsing, including but not limited to smartphones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV), laptop computers, desktop computers, etc.

[0054] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0055] It should be noted that the form processing method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the form processing system is generally set in the server / terminal device.

[0056] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0057] Continue to refer Figure 2 , shows a flow chart of an embodiment of the form processing method proposed in this application. The form processing method includes the following steps:

[0058] S210: Create a business project form, wherein the business project form includes multiple hidden flexible fields.

[0059] In an embodiment of the present application, the business item form may be a form determined based on an actual business item, such as an employee electricity usage form, wherein the business item form is composed of business fields, data fields, hidden flexible fields, and attribute values ​​corresponding to the fields.

[0060] In the embodiment of the present application, the hidden flexible field refers to a reserved empty field in the business item form, which is used to store business data corresponding to the business field when a new field is added.

[0061] As an embodiment of the present application, the step of creating a business item form includes:

[0062] Receive a project form creation request, and obtain a project form type according to the project form creation request;

[0063] Configure the business fields, data fields and hidden flexible fields of the form based on the project form type;

[0064] The business field attributes corresponding to the business field and the data field attributes corresponding to the data field are configured, and the hidden elastic field, the business field, the data field, the business field attributes and the data field attributes are integrated to obtain the business item form.

[0065] The project form creation request may be a form creation request instruction initiated by a user and received by a client terminal.

[0066] In an embodiment of the present application, the project form type is determined based on the project type, including electricity charging projects, energy and power application projects, and loan projects.

[0067] In one embodiment of the present application, the business field, data field and hidden elastic field can be determined based on the business project type, wherein the business field is generally the project name field; the data field is the field for storing data; and the hidden elastic field is a reserved empty field.

[0068] In this embodiment of the present application, the business field attributes and data field attributes refer to the specific information corresponding to the business field and data field. For example, if the business field is electricity charge details, the business field attribute values ​​can be January electricity charge details, February electricity charge details, etc.; if the data field is January electricity usage, February electricity usage, etc., the corresponding data field attributes can be 158 degrees, 168 degrees, etc.

[0069] In an embodiment of the present application, the business fields, data fields and hidden elastic fields of the form are configured based on the project form type. Since the business fields and data fields are named differently, the business fields and data fields can be isolated.

[0070] Furthermore, in an embodiment of the present application, configuring the business fields, data fields, and hidden elastic fields of the form based on the project form type includes:

[0071] Configuring multiple business identifiers according to the project form type, and generating corresponding business fields based on the multiple business identifiers;

[0072] Generate the corresponding data field according to the project form type and the business field;

[0073] Acquire a new flexible field interface of the business project form according to the project form type, and receive multiple attribute values ​​input by the user on the interface;

[0074] Configure elastic field prefix names corresponding to the multiple attribute values, and generate corresponding hidden elastic fields based on the elastic field prefix names and the multiple attribute values.

[0075] The business identifier is a unique identifier of the business field; the elastic field prefix name represents the name of the generated hidden elastic field, which facilitates the subsequent matching of the hidden elastic field with the newly added business field.

[0076] In one embodiment of the present application, the Add Flexible Field interface includes information such as character length and numeric length. Users can enter corresponding attribute values ​​on the Add Flexible Field interface to automatically generate multiple flexible field prefixes in batches. These flexible field prefixes can be customized based on actual business needs. For example, if a user enters an attribute value of 50 characters and a numeric length of 18, the corresponding flexible field prefix name RSVTS will be generated.

[0077] In one embodiment of the present application, the elastic field prefix name is a standardized and regular name, which can be easily identified when subsequently matched with a newly added business field, thereby improving the efficiency of subsequent matching with the newly added business.

[0078] In an embodiment of the present application, by configuring the elastic field prefix name corresponding to the multiple attribute values, corresponding hidden elastic fields are generated based on the elastic field prefix name and the multiple attribute values, so that automatic batch addition of hidden elastic fields can be achieved, and form space is occupied only when needed. When the hidden elastic field does not need to be enabled, the elastic field is an empty field, thereby improving the utilization rate of the form space.

[0079] S220: Receive a field adding request carrying a business field, and add the business field to the business item form to obtain a newly added business field.

[0080] In an embodiment of the present application, the field addition request carrying the business field can be a user clicking instruction to add a business field on a business item form. The newly added business field can be a project name field that identifies the business item, i.e., a name field. The specific field can be determined based on the actual business scenario. For example, the newly added business field can be "Electricity Charge Details."

[0081] As an embodiment of the present application, the business field is added to the business item form to obtain the newly added business field, including:

[0082] Identifying the field type level to which the business field belongs in the business item form;

[0083] The business field is added to the corresponding business item form based on the field type level to obtain the newly added business field.

[0084] The field type level includes the same level and the lower level, specifically referring to whether the business field to be added and the multiple business fields in the business item form are at the same level or lower level.

[0085] Specifically, when the field adding request received is a click instruction to add a same-level business field, the field type level of the business field is identified as the same level; when the field adding request received is a click instruction to add a lower-level business field, the field type level of the business field is identified as the lower level.

[0086] For example, a business project form includes a main table and sub-tables. Selecting Add Same Level in the Main Table Item field adds a main table item. Selecting Add Subordinate in the Main Table Item field displays the Sub-Table Item field, and adds a sub-table item in the sub-table item field.

[0087] Furthermore, in an embodiment of the present application, since there is a field type level for the newly added business fields, different newly added business fields can also be shared in different databases. For example, there is a new data field with a first-level and second-level deployment, the first-level is deployed to the provincial company, and the second-level is deployed to the municipal company. The databases corresponding to the first and second levels are different. If a municipal company uses database A to add a new business field a, another municipal company at the same level uses another database B and can also add a new business field a. This enables different databases to be associated with the same business field, and the business fields can be reused, thereby avoiding the expansion of the form due to too many added fields, and improving the space utilization and access performance of the business project form.

[0088] In an embodiment of the present application, the business field is added to the corresponding business item form based on the field type level to obtain the newly added business field. There is no need to add the new business field through a script each time, which improves the efficiency of adding business fields.

[0089] S230: Select a target elastic field that matches the newly added service field from the multiple hidden elastic fields.

[0090] In the embodiment of the present application, the target elastic field refers to a field that matches the newly added business field, and the name of the target elastic field may represent the name of the newly added business field.

[0091] As an embodiment of the present application, selecting a target elastic field that matches the newly added service field from the multiple hidden elastic fields includes:

[0092] Obtaining elastic field prefix names and elastic field attributes corresponding to the multiple hidden elastic fields and newly added field attributes corresponding to the newly added business field;

[0093] Determine whether the newly added field attribute satisfies both the attribute matching accuracy of the elastic field attribute and the elastic field prefix name;

[0094] When the newly added field attribute satisfies both the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, the hidden elastic field corresponding to the elastic field prefix name is used as the target elastic field;

[0095] When the newly added field attribute does not simultaneously satisfy the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, it is determined that the newly added business field does not have a corresponding hidden elastic field, and the newly added business field is updated to obtain an updated business field, until the updated business field simultaneously satisfies the attribute matching accuracy of the elastic field attribute and the elastic field prefix name to obtain the target elastic field.

[0096] The elastic field attributes refer to attribute values ​​preset in advance for the hidden elastic field, including character length and character precision, etc.; the elastic field prefix name is an elastic field prefix named based on the elastic field attributes.

[0097] In one embodiment of the present application, the attribute matching accuracy refers to the matching accuracy after matching the attributes of the newly added business field with the character length and character precision of the elastic field attributes. If the attribute matching accuracy is greater than a preset threshold, it is determined that the newly added field attributes meet the attribute matching accuracy, and the preset threshold can be 0.7.

[0098] Specifically, the attribute matching accuracy is high because there are multiple character attributes to match. During the matching process, priority is given to searching for flexible character attributes that are completely consistent with the newly added field attributes.

[0099] For example, the data type of a newly added business field is voltage level. The character length corresponding to the voltage level is 4, and the character precision is 2. If the character length of the elastic field is also 4, and the character precision is 2, the attribute matching accuracy is determined to be 100%. If the character length of the elastic field is 6, and the character precision is 2, the attribute matching accuracy is determined to be 80%.

[0100] S240: Use the target elastic field to store business data corresponding to the newly added business field.

[0101] In the embodiment of the present application, the target elastic field occupies storage space in the database, and the storage space is used to store business data corresponding to the newly added business field.

[0102] In one embodiment of the present application, the position of the target flexible field in the business item form can be obtained by calling the business item form interface, and the business data corresponding to the newly added business field can be stored based on the position. Alternatively, the business data corresponding to the newly added business field can be entered according to a preset target flexible field entry format.

[0103] In an optional embodiment of the present application, after using the target elastic field to store the business data corresponding to the newly added business field, the method further includes:

[0104] Obtaining a target business field to be queried, and determining whether there is a related flexible field of the target business field in the business item form;

[0105] When the associated elastic field exists in the target business field, the associated elastic field is used to query the target data corresponding to the target business field in the business item form;

[0106] When the associated flexible field does not exist in the target business field, the target data corresponding to the target business field is searched in the business item form using the target business field.

[0107] For example, if there is a target business field named yw1 and an associated flexible field named ct1, then the target data corresponding to yw1 in the business item form when ct1 is queried is ct1 = "Loan Contract". If there is no associated flexible field named yw1, then the target data corresponding to yw1 in the business item form when yw1 is queried is yw1 = "Loan Contract".

[0108] In an embodiment of the present application, when determining whether there is an associated elastic field for the target business field in the business item form, since the associated elastic fields are all named in a standardized manner and have regularity, the target data corresponding to the target business field stored in the associated elastic field can be quickly identified, thereby improving the query efficiency of the target data. In addition, when there is no associated elastic field, the corresponding target data can still be queried through the target business field, thereby ensuring the normal operation of the target data query function.

[0109] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0110] In the embodiment of the present application, firstly, by creating a business project form, and the business project form includes multiple hidden elastic fields, it is possible to reserve some elastic fields in the business project form for subsequent business fields to be added, thereby improving the utilization rate of the form space; secondly, by adding business fields to the business project form to obtain newly added business fields, it is possible to automatically add business fields and improve the efficiency of form processing; finally, by selecting a target elastic field that matches the newly added business field from multiple hidden elastic fields, and using the target elastic field to store the business data corresponding to the newly added business field, it is possible to enable the target elastic field only when there is a business demand, further improving the utilization rate of the expression space, thereby improving the efficiency of form processing. Therefore, the form processing method proposed in the embodiment of the present invention can improve the efficiency of form processing.

[0111] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0112] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0113] Further references Figure 3 , as a response to the above Figure 2 In order to realize the method shown in FIG. 3 , the present application provides an embodiment of a form processing device 310. The embodiment of the device is similar to the embodiment of FIG. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0114] An embodiment of the present invention provides a form processing system, the form processing system comprising:

[0115] A creation module 311 is used to create a business project form, wherein the business project form includes multiple hidden flexible fields;

[0116] An adding module 312 is configured to receive a field adding request carrying a business field, and add the business field to the business item form to obtain a newly added business field;

[0117] A matching module 313 is configured to select a target elastic field that matches the newly added service field from the multiple hidden elastic fields; and

[0118] The storage module 314 is configured to use the target elastic field to store the business data corresponding to the newly added business field.

[0119] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0120] In the embodiment of the present application, firstly, by creating a business project form, and the business project form includes multiple hidden elastic fields, it is possible to reserve some elastic fields in the business project form for subsequent business fields to be added, thereby improving the utilization rate of the form space; secondly, by adding business fields to the business project form to obtain newly added business fields, it is possible to automatically add business fields and improve the efficiency of form processing; finally, by selecting a target elastic field that matches the newly added business field from the multiple hidden elastic fields, and using the target elastic field to store the business data corresponding to the newly added business field, it is possible to enable the target elastic field only when there is a business demand, further improving the utilization rate of the expression space, thereby improving the efficiency of form processing. Therefore, the form processing device proposed in the embodiment of the present invention can improve the efficiency of form processing.

[0121] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0122] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0123] The computer device may be a desktop computer, notebook computer, PDA, cloud server, etc. The computer device may interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.

[0124] The memory 41 includes at least one type of readable storage medium, including flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, a magnetic disk, an optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart media card (SMC), a secure digital (SD) card, a flash memory card, etc. Of course, the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as the program code of the form processing method. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0125] In some embodiments, the processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to execute program code stored in the memory 41 or process data, such as executing the program code of the form processing method.

[0126] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0127] The present application also provides another embodiment, namely, providing a computer-readable storage medium, which stores the form processing method program, and the form processing method program can be executed by at least one processor to enable the at least one processor to perform the steps of the form processing method as described above.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware online platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0129] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.

[0130] Obviously, the embodiments described above are only some of the embodiments of the present application, rather than all of the embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions described in the aforementioned specific embodiments, or to make equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the present application specification and the accompanying drawings, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present application.

Claims

1. A form processing method, characterized in that: The steps include: Creating a business project form, wherein the business project form includes a plurality of hidden flexible fields; receiving a field adding request carrying a business field, and adding the business field to the business item form to obtain a newly added business field; Selecting a target elastic field that matches the newly added business field from the multiple hidden elastic fields; Using the target elastic field to store the business data corresponding to the newly added business field; The step of selecting a target elastic field that matches the newly added service field from the plurality of hidden elastic fields includes: Obtaining elastic field prefix names and elastic field attributes corresponding to the multiple hidden elastic fields and newly added field attributes corresponding to the newly added business field; Determine whether the newly added field attribute satisfies both the attribute matching accuracy of the elastic field attribute and the elastic field prefix name; When the newly added field attribute satisfies both the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, the hidden elastic field corresponding to the elastic field prefix name is used as the target elastic field; When the newly added field attribute does not simultaneously satisfy the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, it is determined that the newly added business field does not have a corresponding hidden elastic field, and the newly added business field is updated to obtain an updated business field, until the updated business field simultaneously satisfies the attribute matching accuracy of the elastic field attribute and the elastic field prefix name, thereby obtaining the target elastic field; The business item creation form includes: Receive a project form creation request, and obtain a project form type according to the project form creation request; Configure the business fields, data fields and hidden flexible fields of the form based on the project form type; Configuring the business field attributes corresponding to the business field and the data field attributes corresponding to the data field, and integrating the hidden elastic field, the business field, the data field, the business field attributes and the data field attributes to obtain the business item form; The business fields, data fields and hidden flexible fields of the configuration form based on the project form type include: Configuring multiple business identifiers according to the project form type, and generating corresponding business fields based on the multiple business identifiers; Generate the corresponding data field according to the project form type and the business field; Acquire a new flexible field interface of the business project form according to the project form type, and receive multiple attribute values ​​input by the user on the interface; Configure elastic field prefix names corresponding to the multiple attribute values, and generate corresponding hidden elastic fields based on the elastic field prefix names and the multiple attribute values.

2. The form processing method according to claim 1, wherein: Adding the business field to the business item form to obtain the newly added business field includes: Identifying the field type level to which the business field belongs in the business item form; The business field is added to the corresponding business item form based on the field type level to obtain the newly added business field.

3. The form processing method according to claim 1 or 2, characterized in that: After using the target elastic field to store the business data corresponding to the newly added business field, the method further includes: Obtaining a target business field to be queried, and determining whether there is a related flexible field of the target business field in the business item form; When the associated elastic field exists in the target business field, the associated elastic field is used to query the target data corresponding to the target business field in the business item form; When the associated flexible field does not exist in the target business field, the target data corresponding to the target business field is searched in the business item form using the target business field.

4. A form processing device, characterized in that: The form processing device implements the steps of the form processing method according to any one of claims 1 to 3, and the form processing device includes: A creation module, configured to create a business item form, wherein the business item form includes a plurality of hidden flexible fields; An adding module is used to receive a field adding request carrying a business field, and add the business field to the business item form to obtain a newly added business field; a matching module, configured to select a target elastic field that matches the newly added service field from the plurality of hidden elastic fields; and The storage module is configured to use the target elastic field to store the business data corresponding to the newly added business field.

5. The form processing device according to claim 4, characterized in that: Add-on modules include: An identification submodule, configured to identify the field type level to which the business field belongs in the business item form; The adding submodule is used to add the business field to the corresponding business item form based on the field type level to obtain the newly added business field.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the form processing method according to any one of claims 1 to 3 when executing the computer program.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the form processing method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Form extension method and device, computer equipment and storage medium

    CN114297552A

  • Business form generation method and system, electronic equipment and readable storage medium

    CN115357587A