CN117171172A - Form processing method, device, equipment and storage medium - Google Patents

Form processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117171172A
CN117171172A CN202311168891.7A CN202311168891A CN117171172A CN 117171172 A CN117171172 A CN 117171172A CN 202311168891 A CN202311168891 A CN 202311168891A CN 117171172 A CN117171172 A CN 117171172A
Authority
CN
China
Prior art keywords
field
service
elastic
fields
newly added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311168891.7A
Other languages
Chinese (zh)
Inventor
向万红
毕伟
郭华
邱钰锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN202311168891.7A priority Critical patent/CN117171172A/en
Publication of CN117171172A publication Critical patent/CN117171172A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application belongs to the field of data processing, and relates to a form processing method, which comprises the steps of creating a business project form, wherein the business project form comprises a plurality of hidden elastic fields; receiving a field adding request carrying a service field, and adding the service field in a service item form to obtain a newly added service field; selecting a target elastic field matched with the newly added service field from a plurality of hidden elastic fields; and storing the service data corresponding to the newly added service field by using the target elastic field. The application also provides a form processing device, a computer device and a storage medium. The application can improve the form processing efficiency.

Description

Form processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of data processing, and in particular, to a form processing method, apparatus, device, and storage medium.
Background
Traditional form processing is through the use of sql development and language form pruning.
However, this approach, on the one hand, requires re-programming the programming language at each change of the form fields, making the form processing inefficient; on the other hand, when the new fields are required to be added in batches in the form, the new fields of the form are difficult to respond efficiently in real time, and the number of columns of the form is expanded due to the fact that the new fields are too many, the larger form space is occupied, the utilization rate of the form space is low, and the form processing efficiency is further reduced.
Disclosure of Invention
The application provides a form processing method, a form processing device, form processing equipment and a storage medium, and aims to improve the form processing efficiency.
In order to solve the above technical problems, the embodiment of the present application provides a form processing method, which adopts the following technical scheme:
creating a business project form, wherein the business project form comprises a plurality of hidden elastic fields;
receiving a field adding request carrying a service field, and adding the service field in the service item form to obtain a newly added service field;
selecting a target elastic field matched with the newly added service field from the plurality of hidden elastic fields;
and storing the service data corresponding to the newly added service field by using the target elastic field.
Further, the selecting, from the plurality of hidden elastic fields, a target elastic field that matches the newly added service field includes:
acquiring the prefix names of the elastic fields, the attribute of the elastic fields and the attribute of the newly-added fields corresponding to the newly-added service fields, wherein the prefix names of the elastic fields and the attribute of the elastic fields correspond to the plurality of hidden elastic fields;
judging whether the newly added field attribute simultaneously meets the attribute matching precision of the elastic field attribute and the elastic field prefix name;
when the newly added field attribute simultaneously meets the attribute matching precision of the elastic field attribute and the elastic field prefix name, taking a hidden elastic field corresponding to the elastic field prefix name as the target elastic field;
and when the attribute of the newly added field does not simultaneously meet the attribute matching precision of the attribute of the elastic field and the prefix name of the elastic field, determining that the newly added service field does not have the hidden elastic field corresponding to the newly added service field, and updating the newly added service field to obtain an updated service field until the updated service field simultaneously meets the attribute matching precision of the attribute of the elastic field and the prefix name of the elastic field, thereby obtaining the target elastic field.
Further, the adding the service field to the service item form to obtain a new service field includes:
identifying a field type grade to which the service field belongs in the service item form;
and adding the service field to a corresponding service item form based on the field type grade to obtain the newly added service field.
Further, the creating a business project form includes:
receiving a project form creation request, and acquiring a project form type according to the project form creation request;
configuring a business field, a data field and a hidden elasticity field of a form based on the item form type;
and configuring service field attributes corresponding to the service fields and data field attributes corresponding to the data fields, and integrating the hidden elastic fields, the service fields, the data fields, the service field attributes and the data field attributes to obtain the service item form.
Further, the configuring the service field, the data field and the hidden elasticity field of the form based on the item form type includes:
configuring a plurality of service identifications according to the item form type, and generating corresponding service fields based on the service identifications;
generating the corresponding data field according to the item form type and the service field;
acquiring an newly added elastic field interface of the business project form according to the project form type, and receiving a plurality of attribute values input by a user on the interface;
and configuring elastic field prefix names corresponding to the attribute values, and generating corresponding hidden elastic fields based on the elastic field prefix names and the attribute values.
Further, after the storing the service data corresponding to the new service field by using the target elastic field, the method further includes:
acquiring a target service field to be queried, and judging whether an associated elastic field of the target service field exists in the service item form;
when the correlation elastic field exists in the target service field, inquiring target data corresponding to the target service field in the service item form by utilizing the correlation elastic field;
and when the association elastic field does not exist in the target service field, inquiring target data corresponding to the target service field in the service item form by utilizing the target service field.
In order to solve the technical problems, the embodiment of the application also provides a form processing device, which adopts the following technical scheme:
the system comprises a creation module, a storage module and a storage module, wherein the creation module is used for creating a business project form, and the business project form comprises a plurality of hidden elastic fields;
the adding module is used for receiving a field adding request carrying a service field and adding the service field into the service item form to obtain a newly added service field;
the matching module is used for selecting a target elastic field matched with the newly added service field from the plurality of hidden elastic fields; a kind of electronic device with high-pressure air-conditioning system
And the storage module is used for storing the service data corresponding to the newly added service field by utilizing the target elastic field.
In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical schemes:
a memory storing at least one computer program; a kind of electronic device with high-pressure air-conditioning system
And a processor executing the computer program stored in the memory to realize the form processing.
In order to solve the above technical problems, an embodiment of the present application further provides a computer readable storage medium, which adopts the following technical schemes:
the computer readable storage medium has stored therein at least one computer program that is executed by a processor in an electronic device to implement the form handling described above.
Compared with the prior art, the application has the following main beneficial effects:
in the embodiment of the application, firstly, the business project form is created, and the business project form comprises a plurality of hidden elastic fields, so that partial elastic fields can be reserved in the business project form for the subsequent business fields to be newly added, and the utilization rate of the form space is improved; secondly, adding service fields in the service item form to obtain newly added service fields, so that the service fields can be automatically added, and the form processing efficiency is improved; finally, the target elastic field matched with the newly added service field is selected from the plurality of hidden elastic fields, and the service data corresponding to the newly added service field is stored by utilizing the target elastic field, so that the target elastic field can be started only when service demands exist, the utilization rate of the expression space is further improved, and the form processing efficiency is further improved. Therefore, the form processing method, the device, the equipment and the storage medium can improve the form processing efficiency.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for the description of the embodiments of the present application, it being apparent that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without the exercise of inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a form processing method according to the present application;
FIG. 3 is a block diagram of one embodiment of a policing side of the form processing system in accordance with the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device in accordance with the present application.
Detailed Description
The method for determining a data format provided in the embodiments of the present application is applied to a data processing system, and unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application pertains; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to make the person skilled in the art better understand the solution of the present application, the technical solution of the embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social networking platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the form processing method provided by the embodiment of the present application is generally executed by a server/terminal device, and accordingly, the form processing system is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow chart of one embodiment of a form processing method in accordance with the present application is shown. The form processing method comprises the following steps:
s210, creating a business project form, wherein the business project form comprises a plurality of hidden elastic fields.
In the embodiment of the application, the service item form may be a form determined based on an actual service item, for example, a worker electricity meter. The service item form is formed by service fields, data fields, hidden elastic fields and attribute values corresponding to the fields.
In the embodiment of the application, the hidden elastic field refers to a reserved empty field in the service item form, and is used for storing service data corresponding to the service field when the field is newly added.
As one embodiment of the present application, the creating a business project form includes:
receiving a project form creation request, and acquiring a project form type according to the project form creation request;
configuring a business field, a data field and a hidden elasticity field of a form based on the item form type;
and configuring service field attributes corresponding to the service fields and data field attributes corresponding to the data fields, and integrating the hidden elastic fields, the service fields, the data fields, the service field attributes and the data field attributes to obtain the service item form.
The project form creation request can be a form creation request instruction initiated by a user and received by the client terminal.
In the embodiment of the application, the project form type is determined based on the project type and comprises an electric power charging project, an energy power application project, a loan project and the like.
In an embodiment of the present application, the service field, the data field and the hidden elasticity field may be determined based on a service item type, where the service field is generally an item name field; the data field is a field for storing data; the hidden elasticity field is a reserved null field.
In the embodiment of the application, the service field attribute and the data field attribute refer to specific information corresponding to the service field and the data field. For example, if the service field is an electric power charging list, the attribute value of the service field may be a month electric power charging list, a february electric power charging list, etc.; if the data field is the electricity charge usage degree in one month, the electricity charge usage reading in two months and the like, the corresponding data field attribute is 158 degrees, 168 degrees and the like.
In the embodiment of the application, the service field, the data field and the hidden elastic field of the form are configured based on the item form type, and the isolation of the service field and the data field can be realized because the naming modes of the service field and the data field are different.
Further, in an embodiment of the present application, the configuring the service field, the data field, and the hidden elastic field of the form based on the item form type includes:
configuring a plurality of service identifications according to the item form type, and generating corresponding service fields based on the service identifications;
generating the corresponding data field according to the item form type and the service field;
acquiring an newly added elastic field interface of the business project form according to the project form type, and receiving a plurality of attribute values input by a user on the interface;
and configuring elastic field prefix names corresponding to the attribute values, and generating corresponding hidden elastic fields based on the elastic field prefix names and the attribute values.
Wherein, the service identifier is a unique identifier of a service field; the prefix name of the elastic field represents the name of the generated hidden elastic field, so that the hidden elastic field can be matched with the newly added service field conveniently.
In an embodiment of the present application, the newly added elastic field interface includes information such as a character length and a numerical value length, and a user may input a corresponding attribute value on the newly added elastic field interface to automatically generate a plurality of elastic field prefix names in batch, where the elastic field prefix names may be custom named based on actual service requirements. For example, a user entering attribute values of 50 characters in length and 18 values in length may generate a corresponding flexible field prefix name RSVTS.
In an embodiment of the present application, the prefix name of the elastic field is a naming name with normalization and regularity, which can be easily identified when the prefix name is subsequently matched with the newly added service field, so as to improve the efficiency of the subsequent matching with the newly added service.
In the embodiment of the application, the corresponding hidden elastic fields are generated based on the elastic field prefix names and the attribute values by configuring the elastic field prefix names corresponding to the attribute values, so that the automatic batch increase of the hidden elastic fields can be realized, the form space is occupied only when the hidden elastic fields are needed, and when the hidden elastic fields are not needed to be started, the elastic fields are empty fields, thereby improving the utilization rate of the form space.
S220, receiving a field adding request carrying a service field, and adding the service field in the service item form to obtain a new service field.
In the embodiment of the application, the field adding request carrying the service field can be an instruction for clicking the added service field on the service item form by the user. The added service field may be a name field, which is an item name field for identifying a service item, and may specifically be determined based on an actual service scenario, for example, the added service field may be "power charging details".
As an embodiment of the present application, the adding the service field in the service item form to obtain a new service field includes:
identifying a field type grade to which the service field belongs in the service item form;
and adding the service field to a corresponding service item form based on the field type grade to obtain the newly added service field.
The field type level includes a peer and a subordinate, and specifically refers to whether a service field to be added and a plurality of service fields in a service item form are peer or subordinate.
Specifically, when a click instruction that the field adding request is to add a peer service field is received, the field type grade of the service field is identified as peer, and when a click instruction that the field adding request is to add a subordinate service field is received, the field type grade of the service field is identified as subordinate.
For example, a business item form includes a main table and a sub-table, and the newly added level of the selected main table item field is the newly added main table item; and selecting the newly added lower level of the main table item field, displaying a sub-table item field, and adding a sub-table item in the sub-table item field.
Further, in the embodiment of the application, because the newly added service field has a field type grade, different newly added service fields can be shared in different databases, for example, a newly added data field has a second-level deployment, a first-level deployment is to a provincial company, a second-level deployment is to a municipal company, the databases corresponding to the first-level and the second-level are different, if a municipal company adopts a database A to newly add an a service field, another municipal company of the same level adopts another database B, an a service field can also be newly added, the same service field can be associated with different databases, and the service fields can be reused, so that the expansion of the forms caused by the added too many fields is avoided, and the space utilization rate and the access performance of the service item forms are improved.
In the embodiment of the application, the service field is added to the corresponding service item form based on the field type level to obtain the newly added service field, and each time the newly added service field is not required to be added through a script, thereby improving the efficiency of service field addition.
S230, selecting a target elastic field matched with the newly added service field from the plurality of hidden elastic fields.
In the embodiment of the application, the target elastic field refers to a field matched with the newly added service field, and the name of the target elastic field can represent the named name of the newly added service field.
As an embodiment of the present application, the selecting, from the plurality of hidden elastic fields, a target elastic field that matches the newly added service field includes:
acquiring the prefix names of the elastic fields, the attribute of the elastic fields and the attribute of the newly-added fields corresponding to the newly-added service fields, wherein the prefix names of the elastic fields and the attribute of the elastic fields correspond to the plurality of hidden elastic fields;
judging whether the newly added field attribute simultaneously meets the attribute matching precision of the elastic field attribute and the elastic field prefix name;
when the newly added field attribute simultaneously meets the attribute matching precision of the elastic field attribute and the elastic field prefix name, taking a hidden elastic field corresponding to the elastic field prefix name as the target elastic field;
and when the attribute of the newly added field does not simultaneously meet the attribute matching precision of the attribute of the elastic field and the prefix name of the elastic field, determining that the newly added service field does not have the hidden elastic field corresponding to the newly added service field, and updating the newly added service field to obtain an updated service field until the updated service field simultaneously meets the attribute matching precision of the attribute of the elastic field and the prefix name of the elastic field, thereby obtaining the target elastic field.
The elastic field attribute is an attribute value preset in advance by a pointer for hiding the elastic field, and comprises character length, character precision and the like; the elastic field prefix name is an elastic field prefix named based on the elastic field attribute.
In an embodiment of the present application, the attribute matching precision refers to a matching precision after matching an attribute of a newly added service field with a character length and a character precision of an elastic field attribute, where the attribute matching precision is greater than a preset threshold, it is determined that the attribute of the newly added field meets the attribute matching precision, and the preset threshold may be 0.7.
Specifically, the attribute matching precision is that a plurality of character attributes are matched, and in the matching process, the elastic character attribute completely consistent with the newly added field attribute is preferentially searched.
For example, the data type of a new service field is a voltage level, the character length corresponding to the voltage level is 4, the character precision is 2, if the character length of the elastic field is also 4, the character precision is 2, the attribute matching precision is determined to be 100%, if the character length of the elastic field is 6, the character precision is 2, and the attribute matching precision is determined to be 80%.
S240, storing the service data corresponding to the newly added service field by utilizing the target elastic field.
In the embodiment of the application, the target elastic field occupies a storage space in the database, and the storage space is used for storing service data corresponding to the newly added service field.
In an embodiment of the present application, the location of the target elastic field in the service item form may be obtained by calling a service item form interface, and service data corresponding to the newly added service field is stored according to the location. Or according to a preset target elastic field input format, inputting the service data corresponding to the newly added service field according to the input format.
In an optional embodiment of the present application, after the storing, by using the target elastic field, service data corresponding to the newly added service field, the method further includes:
acquiring a target service field to be queried, and judging whether an associated elastic field of the target service field exists in the service item form;
when the correlation elastic field exists in the target service field, inquiring target data corresponding to the target service field in the service item form by utilizing the correlation elastic field;
and when the association elastic field does not exist in the target service field, inquiring target data corresponding to the target service field in the service item form by utilizing the target service field.
For example, if there is a target business field yw1 and there is an associated elastic field ct1, then query the business project form for target data corresponding to yw1 with ct1 as ct1= "loan contract"; if the associated elastic field does not exist, inquiring target data corresponding to yw1 in the business project form by yw1 as yw1= "loan contract".
In the embodiment of the application, when judging whether the associated elastic fields of the target service fields exist in the service item form, the target data corresponding to the target service fields stored in the associated elastic fields can be rapidly identified due to the fact that the associated elastic fields are named normally and have regularity, the query efficiency of the target data is improved, and when the associated elastic fields are not available, the corresponding target data can be queried through the target service fields, so that the normal operation of the target data query function is ensured.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
in the embodiment of the application, firstly, the business project form is created, and the business project form comprises a plurality of hidden elastic fields, so that partial elastic fields can be reserved in the business project form for the subsequent business fields to be newly added, and the utilization rate of the form space is improved; secondly, adding service fields in the service item form to obtain newly added service fields, so that the service fields can be automatically added, and the form processing efficiency is improved; finally, the target elastic field matched with the newly added service field is selected from the plurality of hidden elastic fields, and the service data corresponding to the newly added service field is stored by utilizing the target elastic field, so that the target elastic field can be started only when service demands exist, the utilization rate of the expression space is further improved, and the form processing efficiency is further improved. Therefore, the form processing method provided by the embodiment of the application can improve the form processing efficiency.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2 described above, the present application provides an embodiment of a form processing apparatus 310, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
The form processing system provided by the embodiment of the application comprises the following components;
a creating module 311, configured to create a service item form, where the service item form includes a plurality of hidden elastic fields;
an adding module 312, configured to receive a field adding request carrying a service field, and add the service field to the service item form to obtain a newly added service field;
a matching module 313, configured to select a target elastic field that matches the newly added service field from the plurality of hidden elastic fields; a kind of electronic device with high-pressure air-conditioning system
And a storage module 314, configured to store service data corresponding to the new service field by using the target elastic field.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
in the embodiment of the application, firstly, the business project form is created, and the business project form comprises a plurality of hidden elastic fields, so that partial elastic fields can be reserved in the business project form for the subsequent business fields to be newly added, and the utilization rate of the form space is improved; secondly, adding service fields in the service item form to obtain newly added service fields, so that the service fields can be automatically added, and the form processing efficiency is improved; finally, the target elastic field matched with the newly added service field is selected from the plurality of hidden elastic fields, and the service data corresponding to the newly added service field is stored by utilizing the target elastic field, so that the target elastic field can be started only when service demands exist, the utilization rate of the expression space is further improved, and the form processing efficiency is further improved. Therefore, the form processing method and the form processing device can improve the form processing efficiency.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It should be noted that only computer device 4 having components 41-43 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), 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 memory, magnetic disk, optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a 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, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is typically used to store an operating system and various types of application software installed on the computer device 4, such as program codes of a form processing method, and the like. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute the program code stored in the memory 41 or process data, such as the program code for executing the form processing method.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
The present application also provides another embodiment, namely, a computer-readable storage medium storing the form processing method program, where the form processing method program is executable by at least one processor, so that the at least one processor performs the steps of the form processing method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general purpose hardware online platform, and of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It is apparent that the above-described embodiments are only some embodiments of the present application, but not all embodiments, and the preferred embodiments of the present application are shown in the drawings, which do not limit the scope of the patent claims. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a thorough and complete understanding of the present disclosure. Although the application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing description, or equivalents may be substituted for elements thereof. All equivalent structures made by the content of the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the scope of the application.

Claims (10)

1. A form processing method, comprising the steps of:
creating a business project form, wherein the business project form comprises a plurality of hidden elastic fields;
receiving a field adding request carrying a service field, and adding the service field in the service item form to obtain a newly added service field;
selecting a target elastic field matched with the newly added service field from the plurality of hidden elastic fields;
and storing the service data corresponding to the newly added service field by using the target elastic field.
2. The form processing method according to claim 1, wherein selecting a target elasticity field from the plurality of hidden elasticity fields that matches the newly added service field comprises:
acquiring the prefix names of the elastic fields, the attribute of the elastic fields and the attribute of the newly-added fields corresponding to the newly-added service fields, wherein the prefix names of the elastic fields and the attribute of the elastic fields correspond to the plurality of hidden elastic fields;
judging whether the newly added field attribute simultaneously meets the attribute matching precision of the elastic field attribute and the elastic field prefix name;
when the newly added field attribute simultaneously meets the attribute matching precision of the elastic field attribute and the elastic field prefix name, taking a hidden elastic field corresponding to the elastic field prefix name as the target elastic field;
and when the attribute of the newly added field does not simultaneously meet the attribute matching precision of the attribute of the elastic field and the prefix name of the elastic field, determining that the newly added service field does not have the hidden elastic field corresponding to the newly added service field, and updating the newly added service field to obtain an updated service field until the updated service field simultaneously meets the attribute matching precision of the attribute of the elastic field and the prefix name of the elastic field, thereby obtaining the target elastic field.
3. The form processing method according to claim 1, wherein adding the service field to the service item form to obtain a new service field includes:
identifying a field type grade to which the service field belongs in the service item form;
and adding the service field to a corresponding service item form based on the field type grade to obtain the newly added service field.
4. The form processing method of claim 1, wherein the creating a business project form comprises:
receiving a project form creation request, and acquiring a project form type according to the project form creation request;
configuring a business field, a data field and a hidden elasticity field of a form based on the item form type;
and configuring service field attributes corresponding to the service fields and data field attributes corresponding to the data fields, and integrating the hidden elastic fields, the service fields, the data fields, the service field attributes and the data field attributes to obtain the service item form.
5. The form processing method according to claim 4, wherein the configuring the service field, the data field, and the hidden elasticity field of the form based on the item form type includes:
configuring a plurality of service identifications according to the item form type, and generating corresponding service fields based on the service identifications;
generating the corresponding data field according to the item form type and the service field;
acquiring an newly added elastic field interface of the business project form according to the project form type, and receiving a plurality of attribute values input by a user on the interface;
and configuring elastic field prefix names corresponding to the attribute values, and generating corresponding hidden elastic fields based on the elastic field prefix names and the attribute values.
6. The form processing method according to any one of claims 1 to 4, wherein after storing the service data corresponding to the new service field using the target elasticity field, the method further comprises:
acquiring a target service field to be queried, and judging whether an associated elastic field of the target service field exists in the service item form;
when the correlation elastic field exists in the target service field, inquiring target data corresponding to the target service field in the service item form by utilizing the correlation elastic field;
and when the association elastic field does not exist in the target service field, inquiring target data corresponding to the target service field in the service item form by utilizing the target service field.
7. A form handling device, comprising:
the system comprises a creation module, a storage module and a storage module, wherein the creation module is used for creating a business project form, and the business project form comprises a plurality of hidden elastic fields;
the adding module is used for receiving a field adding request carrying a service field and adding the service field into the service item form to obtain a newly added service field;
the matching module is used for selecting a target elastic field matched with the newly added service field from the plurality of hidden elastic fields; a kind of electronic device with high-pressure air-conditioning system
And the storage module is used for storing the service data corresponding to the newly added service field by utilizing the target elastic field.
8. The form handling device of claim 7, wherein the adding module comprises:
the identification sub-module is used for identifying the field type grade of the service field in the service item form;
and the adding sub-module is used for adding the service field to a corresponding service item form based on the field type grade to obtain the newly added service field.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the form processing method of any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the form handling method according to any of claims 1 to 6.
CN202311168891.7A 2023-09-11 2023-09-11 Form processing method, device, equipment and storage medium Pending CN117171172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311168891.7A CN117171172A (en) 2023-09-11 2023-09-11 Form processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311168891.7A CN117171172A (en) 2023-09-11 2023-09-11 Form processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117171172A true CN117171172A (en) 2023-12-05

Family

ID=88940942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311168891.7A Pending CN117171172A (en) 2023-09-11 2023-09-11 Form processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117171172A (en)

Similar Documents

Publication Publication Date Title
CN111666490A (en) Information pushing method, device, equipment and storage medium based on kafka
CN113220734A (en) Course recommendation method and device, computer equipment and storage medium
CN113010542B (en) Service data processing method, device, computer equipment and storage medium
CN112860662B (en) Automatic production data blood relationship establishment method, device, computer equipment and storage medium
CN114490756A (en) Generation method and device of association checking model, computer equipment and storage medium
CN112685115A (en) International cue language generating method, system, computer equipment and storage medium
CN112559866A (en) College book reading recommendation method, device, equipment and storage medium
CN117033249A (en) Test case generation method and device, computer equipment and storage medium
CN111143568A (en) Method, device and equipment for buffering during paper classification and storage medium
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN112182107B (en) List data acquisition method, device, computer equipment and storage medium
CN113283759B (en) Account risk portrait updating method, device, equipment and storage medium
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN117171172A (en) Form processing method, device, equipment and storage medium
CN115543428A (en) Simulated data generation method and device based on strategy template
CN114912003A (en) Document searching method and device, computer equipment and storage medium
CN114625372A (en) Automatic component compiling method and device, computer equipment and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN112002352A (en) Random music playing method and device, computer equipment and storage medium
CN111221917A (en) Intelligent partition storage method and device and computer readable storage medium
CN117931910A (en) Data storage method, device, equipment and storage medium
CN116206032A (en) Task verification method, device, computer equipment and medium thereof
CN116821210A (en) Blacklist query method, blacklist query device, computer equipment and storage medium
CN116028135A (en) Project view management method, server, equipment and storage medium
CN112632102A (en) Data query method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination