Form data processing method and device, equipment, storage medium and program product

By dynamically integrating and disassembling form data during business changes, the problem of business changes in the existing technology requires modification of business code, and the effect of rapid response and shortening the change cycle is achieved.

CN119398012AInactive Publication Date: 2025-02-07CHINA MOBILE INFORMATION SYST INTEGRATION CO LTD +3
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510008103.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-02-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology requires modification of business code and re-release during business changes, resulting in an extended business change cycle and a reduced response speed.

Method used

By pre-setting the fusion identifier and associated with the form element, multiple form data of the target business are obtained, common and unique form elements are determined, the third form element corresponding to the fusion identifier is generated, and the unique elements of each form data are merged. , generate the second form data to realize the dynamic fusion of form data and the disassembly and distribution of filled-in data.

Benefits of technology

Without modifying the original form data and business code, shorten the business change cycle, improve the response speed of business changes, and enhance the scalability and maintainability of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119398012A_ABST
    Figure CN119398012A_ABST
Patent Text Reader

Abstract

The invention discloses a form data processing method and device, equipment, a storage medium and a program product, and aims to adapt to business change and realize dynamic fusion of form data. The method comprises the steps that multiple pieces of first form data of a target service and fusion identifiers associated with form elements in the first form data are obtained, each piece of first form data is used for processing one target item of the target service, and the fusion identifiers and fields corresponding to the associated form elements have the same meaning; first form elements and second form elements in each piece of first form data are determined, the first form elements are the form elements with the same associated fusion identification in different pieces of first form data, and the second form elements are the form elements except the first form elements in the first form data; based on the first form element, generating a third form element corresponding to the fusion identifier; and merging the third form element and the second form element in each piece of first form data to obtain second form data of the target business.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In order to improve the efficiency of business processing, the business processes of multiple departments are merged to integrate the steps of filling out forms and applying for multiple matters into one operation. Currently, the one-time realization of multiple matters of a business mainly relies on setting up specially customized forms in the online business system for users to fill in the relevant information required to process the matters.

[0003] However, any change in the business may cause the modification of the form or require docking with other third-party systems. This means that every business change requires modifying the business code and re-publishing it, which increases the business change cycle and reduces the response speed of business changes. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a form data processing method, device, equipment, storage medium and program product, which are used to adapt to business changes, realize dynamic fusion of form data and disassembly and distribution of reported data, thereby shortening the business change cycle and improving the response speed of business changes.

[0005] In order to achieve the above objectives, the present application embodiment adopts the following technical solutions: In a first aspect, an embodiment of the present application provides a form data processing method, comprising: Acquire multiple first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data is used to process a target item of the target business, and the fusion identifier has the same meaning as a field corresponding to the associated form element; Determine a first form element and a second form element in each first form data, wherein the first form element is a form element with the same associated fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; Based on the first form element, generating a third form element corresponding to the fusion logo; The third form element is merged with the second form element in each first form data to obtain the second form data of the target business.

[0006] In a second aspect, an embodiment of the present application provides a form data processing device, including: An acquisition module, used for acquiring a plurality of first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data being used for processing a target item of the target business, and the fusion identifier having the same meaning as a field corresponding to the associated form element; a determination module, configured to determine a first form element and a second form element in each first form data, wherein the first form element is a form element associated with the same fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; A generating module, used for generating a third form element corresponding to the fusion mark based on the first form element; The merging module is used to merge the third form element with the second form element in each first form data to obtain the second form data of the target business.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, including: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the form data processing method provided in the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the form data processing method provided in the first aspect.

[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps in the form data processing method provided in the first aspect.

[0010] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: A corresponding fusion identifier is set in advance according to the target business change and is associated with the form element in the form data of the matters involved in the target business, and the fusion identifier and the field corresponding to the form element associated with it have the same meaning; on this basis, when it is necessary to process the target business, the first form data corresponding to each target matter involved in the target business and the fusion identifier associated with the form element in the first form data are obtained, and the form elements with the same associated fusion identifier in all the first form data are taken as the first form element, and the form elements other than the first form element in each first form data are taken as the second form element, thereby, the first form element is the form element common to each first form data, and the second form element in each first form data is unique to the first form data. form element; further, based on the first form element, a third form element corresponding to the fusion identifier is generated, which integrates the functions of each first form element and is used to uniformly collect the field values ​​of fields with the same meaning in all first form data; finally, the third form element and the second form element in each first form data are merged to obtain the second form data of the target business. In this way, the functions of all the first form data are integrated through the second form data. With the help of the second form data, the information required for all target items of the target business can be obtained at one time. Even if the target business changes, it is possible to respond quickly to the business change without modifying the original first form data of each target item, modifying the business code and re-publishing it, thereby shortening the business change cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A schematic diagram of a system architecture involved in an embodiment of the present application; Figure 2 A flowchart of a form data processing method provided for one embodiment of the present application; Figure 3 A schematic diagram of an association relationship between a form element and a fusion identifier provided for an embodiment of the present application; Figure 4 A flowchart of a form data processing method provided for another embodiment of the present application; Figure 5A A flowchart of a form data processing method provided for another embodiment of the present application; Figure 5B A flowchart of a form data processing method provided for yet another embodiment of the present application; Figure 6A schematic diagram of the structure of a form data processing device provided for one embodiment of the present application; Figure 7 A schematic diagram of the structure of an electronic device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0012] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0013] The terms "first", "second", etc. in this specification and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein. In addition, "and / or" in this specification and claims means at least one of the connected objects, and the character " / " generally means that the objects associated with each other are in an "or" relationship.

[0014] In order to shorten the business change cycle and improve the response speed of business changes, an embodiment of the present application proposes a form data processing method, which sets a corresponding fusion identifier in advance according to the target business change and associates it with the form element in the form data of the matter involved in the target business, and the fusion identifier and the field corresponding to the form element associated with it have the same meaning; on this basis, when it is necessary to process the target business, the first form data corresponding to each target matter involved in the target business and the fusion identifier associated with the form element in the first form data are obtained, and the form elements with the same associated fusion identifier in all the first form data are taken as the first form elements, and the form elements other than the first form elements in each first form data are taken as the second form elements, thereby, the first form element is the form element common to each first form data, and each first form data The second form element in the data is a form element unique to the first form data; further, based on the first form element, a third form element corresponding to the fusion identifier is generated, which integrates the functions of each first form element and is used to uniformly collect the field values ​​of fields with the same meaning in all first form data; finally, the third form element and the second form element in each first form data are merged to obtain the second form data of the target business. In this way, the functions of all the first form data are integrated through the second form data. With the help of the second form data, the information required for all target items of the target business can be obtained at one time. Even if the target business changes, it is possible to respond quickly to the business change without modifying the original first form data of each target item and without modifying the business code and republishing it, thereby shortening the business change cycle.

[0015] Before describing in detail the form data processing method provided in the embodiment of the present application, a brief introduction to the system architecture involved in the embodiment of the present application is first given. Figure 1 , is a schematic diagram of a system architecture shown in an embodiment of the present application, the system mainly includes a client and a server. The client is connected to the server in communication. The server can be a server, such as a cloud server, a physical server, etc., or it can be a server cluster or distributed system composed of multiple servers.

[0016] The client provides a service access function. The user can select the target service to be processed through the operation interface displayed by the client. In response to the user's selection operation, the client sends a processing request for the target service to the server.

[0017] In response to the processing request, the server determines the multiple to-do items involved in the target business, and determines the common form elements and unique form elements in the form data corresponding to each to-do item according to the fusion identifier associated with the form element in the form data corresponding to each to-do item; by merging the unique form elements of all form data, and adding the form elements corresponding to the fusion identifier on this basis, the functions of the common form elements of all form data are integrated, and the fusion form data generated thereby integrates the functions of the form data corresponding to all to-do items. The server sends the fusion form data to the client for form rendering, so that the user can fill in the data required for all to-do items in the form without having to fill in the form data corresponding to each to-do item repeatedly.

[0018] Afterwards, the client will also split the data filled in by the user and distribute it to the form data corresponding to each to-do item for filling in, and then send the filled-in form data corresponding to each to-do item to the corresponding processor for processing. In this way, efficient joint processing of all to-do items is achieved, improving business processing efficiency.

[0019] Based on the system architecture introduced above, the form data processing method provided in the embodiment of the present application is described in detail with reference to the accompanying drawings.

[0020] Please refer to Figure 2 , is a flow chart of a form data processing method provided by an embodiment of the present application, the method can be applied to the server, and the method includes the following steps: S202: Acquire multiple first form data of a target business and fusion identifiers associated with form elements in the first form data.

[0021] Each first form data is used to process a target item of the target business. For example, the target items of the target business include item A, item B and item C, and these three items all have corresponding first form data.

[0022] Each first form data includes at least one form element. The types of form elements may include, but are not limited to: text boxes, check boxes, radio buttons, drop-down lists, list boxes, etc. Each form element has a corresponding field, and the form element is used to collect the field value of the corresponding field.

[0023] A fusion tag has the same meaning as the field of the associated form element. A fusion tag has a corresponding tag name and field name. For example, Figure 3As shown, the fusion identifier has a corresponding identifier name "Name" and a field name "NAME". In the first form data corresponding to matter A, the field "UserName" corresponding to the form element named "Applicant's Name" is associated with the fusion identifier; in the first form data corresponding to matter B, the field "ApprName" corresponding to the form element named "Applicant" is associated with the fusion identifier; in the first form data corresponding to matter C, the field "AppName" corresponding to the form element named "Applicant" is associated with the fusion identifier.

[0024] S204: Determine the first form element and the second form element in each first form data.

[0025] The first form element is a form element with the same fusion identifier associated with different first form data. It can be seen that the first form element is a form element common to each first form data.

[0026] The second form element is a form element in the first form data other than the first form element. It can be seen that the second form element is a unique form element in the first form data.

[0027] For example, Figure 4 As shown, the first form data corresponding to item A includes form elements "applicant name" (corresponding field "UserName") and "number" (corresponding field code), the first form data corresponding to item B includes form elements "applicant" (corresponding field "AppName") and "contact number" (corresponding field "phone"), and the first form data corresponding to item C includes form elements "applicant" (corresponding field "ApprName") and "contact person" (corresponding field link).

[0028] Since the form element "Applicant's name" in the first form data corresponding to item A, the form element "Applicant" in the first form data corresponding to item B, and the form element "Applicant" in the first form data corresponding to item C are associated with the same fusion identifier (identifier name is "NAME", field name is "NAME"), these three form elements are determined as the first form elements, and these three form elements are all used to collect field values ​​of fields with the same meaning, that is, they are all used to collect the name of the applicant. Further, the second form elements "Number", "Contact Number" and "Contact Person" are obtained.

[0029] S206: Generate a third form element corresponding to the fusion identifier based on the first form element.

[0030] The third form element integrates the functions of each first form element, and is used to uniformly collect field values ​​of fields with the same meaning in all first form data, thereby ensuring consistency and accuracy of data collection.

[0031] In one embodiment, the identification name of the fusion identification can be used as the name of the third form element, and the field name of the fusion identification can be determined as the field name of the field corresponding to the third form element. Figure 4 As shown, the name of the third form element is "Name", corresponding to the field "NAME", and the third form element is used to uniformly collect the names of applicants of the target business.

[0032] In another embodiment, considering that the first form elements in each first form data may have different attribute information, in order to ensure that the third form element has the functions of all the first form elements, the attribute information of all the first form elements is also merged.

[0033] Specifically, each first form data also includes attribute information of a form element. The above S206 includes the following steps: using the name of the fusion identifier as the name of the form element to be generated; obtaining the union of the attribute information of the first form element in each first form data to obtain the attribute information of the form element to be generated; and generating a third form element corresponding to the fusion identifier based on the name and attribute information of the form element to be generated.

[0034] For example, Figure 4 Taking the first form element in as an example, the maximum number of characters allowed to be entered in the first form element "Applicant Name" is 20, and the maximum number of characters allowed to be entered in the first form element "Applicant" is 30. Therefore, the maximum number of characters allowed to be entered in the form element to be generated is 30.

[0035] The above describes some implementation methods of the above S206. Of course, it should be understood that the above S206 can also be implemented in other ways, which are not limited in the present embodiment.

[0036] S208: Merge the third form element with the second form element in each first form data to obtain second form data of the target business.

[0037] The second form data includes the third form element and all the second form elements in the first form data, which integrates the functions of all the first form data. With the help of the second form data, the information required for all target items of the target business can be obtained at one time. Even if the target business changes, it is possible to quickly respond to the business changes without modifying the original first form data of each target item, modifying the business code and republishing it, thereby shortening the business change cycle.

[0038] In one implementation, the above S208 includes the following steps: merging the second form data in each first form data to obtain third form data; merging the third form data and the third form element to obtain second form data of the target business.

[0039] For example, Figure 4 As shown, the second form element "number" in the first form data corresponding to item A, the second form element "contact phone number" in the first form data corresponding to item B, and the second form element "contact person" in the first form data corresponding to item C are merged to obtain the third form data containing these three second form elements; further, the third form element is added to the third form data to obtain the second form data. Among them, the second form data includes a fused part and a unique part of each first form data. Among them, the fused part includes the third form element "name", and the unique part of each first form data includes the second form element in each first form data, and the unique part has the name of the target item to which it belongs.

[0040] The above implementation helps to accurately distinguish the unique parts and common parts of each first form data, and provides reliable data support for the subsequent splitting of the filled-in data collected through the second form data.

[0041] The above describes some implementation methods of the above S208. Of course, it should be understood that the above S208 can also be implemented in other ways, which are not limited in the present embodiment of the application.

[0042] The form data processing method provided in the embodiment of the present application sets a corresponding fusion identifier in advance according to the target business change and associates it with the form element in the form data of the matter involved in the target business, and the fusion identifier and the field corresponding to the form element associated with it have the same meaning; on this basis, when it is necessary to process the target business, the first form data corresponding to each target matter involved in the target business and the fusion identifier associated with the form element in the first form data are obtained, and the form elements with the same associated fusion identifier in all the first form data are taken as the first form elements, and the form elements other than the first form elements in each first form data are taken as the second form elements, thereby, the first form element is the form element common to each first form data, and the second form element in each first form data is the second form element of the first form data. The first form data has a unique form element; further, based on the first form element, a third form element corresponding to the fusion identifier is generated, which integrates the functions of each first form element and is used to uniformly collect the field values ​​of fields with the same meaning in all first form data; finally, the third form element and the second form element in each first form data are merged to obtain the second form data of the target business. In this way, the functions of all first form data are integrated through the second form data, and the information required for all target items of the target business can be obtained at one time with the help of the second form data. Even if the target business changes, it can also achieve rapid response to business changes without modifying the original first form data of each target item, without modifying the business code and re-publishing, thus shortening the business change cycle. In addition, by simply configuring the fusion identifier and its association with the corresponding form element, the access of new businesses and the adjustment of old businesses can be realized, which enhances the scalability and maintainability of the server, and significantly reduces the maintenance cost and technical threshold compared to the large amount of coding and development work in related technologies.

[0043] Please refer to Figure 5A , is a flow chart of a form data processing method provided by another embodiment of the present application, the method comprising the following steps: S502: Receive a processing request for a target service sent by a client.

[0044] As an example, the user can select the service to be processed through the operation interface of the client; in response to the user's selection operation, the client takes the service selected by the user as the target service and sends a processing request for the target service to the server.

[0045] S504: Determine multiple target items of the target business according to the processing request.

[0046] As an example, the server may determine all matters included in the target business as target matters.

[0047] As another example, a processing request carries multiple target items, and the server parses the processing request to obtain multiple target items. For example, the user can select the business to be processed through the client's operation interface; the client responds to the user's selection operation, takes the business selected by the user as the target business, and displays a question text to the user to ask the user which items the target business needs to handle, and through the intent recognition of the response text entered by the user, determines the multiple target items requested by the user from the items included in the target business; then, the client carries the item information of the multiple target items (such as the name and identifier of the item) in the processing request and sends the processing request to the server.

[0048] S506: Acquire multiple first form data of the target business and fusion identifiers associated with form elements in the first form data.

[0049] Among them, the specific implementation of S506 is the same as above Figure 2 The specific implementation of S202 in the illustrated embodiment is similar and will not be described in detail.

[0050] S508: Determine the first form element and the second form element in each first form data.

[0051] The first form element is a form element with the same fusion identifier associated with different first form data. It can be seen that the first form element is a form element common to each first form data.

[0052] Among them, the specific implementation of S508 is the same as above Figure 2 The specific implementation of S204 in the illustrated embodiment is similar and will not be described in detail.

[0053] S510: Generate a third form element corresponding to the fusion identifier based on the first form element.

[0054] Among them, the specific implementation of S510 is the same as above Figure 2 The specific implementation of S206 in the illustrated embodiment is similar and will not be described in detail.

[0055] S512: Merge the third form element with the second form element in each first form data to obtain second form data of the target business.

[0056] Among them, the specific implementation of S512 is the same as above Figure 2 The specific implementation of S208 in the illustrated embodiment is similar and will not be described in detail.

[0057] S514: Send the second form data to the client.

[0058] The second form data is used to render and generate the form on the client side. Thus, all data related to the target items can be collected through the form, avoiding the repetitive work caused by users filling out the forms corresponding to each target item separately, improving the efficiency of joint processing of multiple items, reducing the complexity and error rate of manual operations, and improving the business performance of the server.

[0059] In another embodiment, Figure 5B As shown, after the above S514, it also includes: S516, receiving the business data collected by the client through the form.

[0060] The business data includes the field value of the field corresponding to the form element in the second form data.

[0061] S518: Based on the business data, assign values ​​to fields corresponding to each form element in the first form data.

[0062] Specifically, the field value of the field corresponding to the third form element in the business data is assigned to the field value of the field corresponding to the first form element in each first form data; the field value of the field corresponding to the second form element in the business data is assigned to the field value of the field corresponding to the second form element in each first form data.

[0063] For example, Figure 4 Taking the field "NAME" corresponding to the third form element as an example, the field value of the field "NAME" corresponding to the third form element is assigned to the field "UserName" corresponding to the form element "Applicant's name" in the first form data corresponding to matter A, the field "AppName" corresponding to the form element "Applicant" in the first form data corresponding to matter B, and the field "ApprName" corresponding to the form element "Applicant" in the first form data corresponding to matter C.

[0064] In addition, the field value of the field "code" corresponding to the form element "number" in the second form data is assigned to the field value of the field "code" corresponding to the form element "number" in the first form data corresponding to matter A; the field value of the field "phone" corresponding to the form element "contact number" in the second form data is assigned to the field value of the field "phone" corresponding to the form element "contact number" in the first form data corresponding to matter B; the field value of the field "link" corresponding to the form element "contact" in the second form data is assigned to the field value of the field "link" corresponding to the form element "contact" in the first form data corresponding to matter C.

[0065] S520: For each first form data, the first form data and the field value of the field corresponding to the form element in the first form data are sent to a processor of the target item corresponding to the first form element for processing.

[0066] For example, Figure 4 For example, the first form data corresponding to item A and the field values ​​of the fields corresponding to the form elements therein are sent to the processing party 1 of item A for processing, the first form data corresponding to item B and the field values ​​of the fields corresponding to the form elements therein are sent to the processing party 2 of item B for processing, and the first form data corresponding to item C and the field values ​​of the fields corresponding to the form elements therein are sent to the processing party 3 of item C for processing.

[0067] For another example, based on the field value of the field corresponding to the form element in the first form data corresponding to item A, form A corresponding to item A is generated and form A is sent to processor 1 for processing; based on the field value of the field corresponding to the form element in the first form data corresponding to item B, form B corresponding to item B is generated and form B is sent to processor 2 for processing; based on the field value of the field corresponding to the form element in the first form data corresponding to item C, form C corresponding to item C is generated and form C is sent to processor 3 for processing.

[0068] Through the form data processing method provided in this embodiment, the data collected through the form can be automatically disassembled and distributed to the first form data corresponding to each matter, which not only ensures the integrity and reliability of data processing, but also facilitates processing by the processing party of each matter. It is better than the method of filling out and processing the form of each matter separately in the related art.

[0069] The form data processing method provided in the embodiment of the present application can be applied to various business scenarios, and the embodiment of the present application does not limit this. Taking the business scenario of handling retirement business as an example, the matters involved in the business include: filling in retirement materials, submitting for approval, applying for retirement certificates and pension collection cards, etc.

[0070] In the related technology, applicants are usually required to manually fill out the form corresponding to each item and submit the filled form to the handling agency of the corresponding item for handling. Once the individual links of the business change, it may cause the modification of the form corresponding to each item. This requires modifying the business code of the business on the server side and re-publishing it before the applicant can continue to handle the business.

[0071] In view of this, the form data processing method provided in the embodiment of the present application determines the changed fields in advance based on the change information of the business, sets a corresponding fusion identifier for the field, and associates the fusion identifier with the form element corresponding to the field with the same meaning as the field in the form corresponding to each matter.

[0072] Afterwards, when the user applies for retirement services through the client, the first form data corresponding to matters such as filling in retirement materials, submitting for approval, applying for retirement certificates and pension collection cards, and the fusion identifier associated with the form elements in the first form data are obtained, and all the first form data and the form elements with the same fusion identifier associated in all the first form data are taken as the first form element, and the form elements other than the first form element in each first form data are taken as the second form element. Thus, the first form element is the form element common to each first form data, and the second form element in each first form data is the form element unique to the first form data; further, based on the first form element, a third form element corresponding to the fusion identifier is generated, which integrates the functions of each first form element and is used to uniformly collect the field values ​​of fields with the same meaning in all the first form data; further, the third form element and the second form element in each first form data are merged to obtain the second form data of the target business and send it to the client.

[0073] The client generates a form based on the second form data for the user to fill in. The client sends the business data collected through the form to the server, and the business data includes the field values ​​of the fields corresponding to all the form elements in the second form data.

[0074] Based on the business data, the server assigns values ​​to the fields corresponding to the form elements in the first form data for filling in retirement materials, submitting for approval, applying for retirement certificates and pension collection cards, and then sends the assigned first form data to the handling agency to which the corresponding matter belongs for processing, thereby realizing the joint handling of matters such as filling in retirement materials, submitting for approval, applying for retirement certificates and pension collection cards, and improving the handling efficiency of retirement business.

[0075] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0076] Based on the same inventive concept, the present application also provides a form data processing device. Figure 6 , is a structural diagram of a form data processing device 600 provided in an embodiment of the present application. The device 600 can be applied to a server, and the device 600 includes: The acquisition module 610 is used to acquire a plurality of first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data is used to process a target item of the target business, and the fusion identifier has the same meaning as a field corresponding to the associated form element; A determination module 620 is configured to determine a first form element and a second form element in each first form data, wherein the first form element is a form element associated with the same fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; A generating module 630, configured to generate a third form element corresponding to the fusion mark based on the first form element; The merging module 640 is used to merge the third form element with the second form element in each first form data to obtain the second form data of the target business.

[0077] In another embodiment, each first form data further includes attribute information of the form element; The generation module is used for: Using the name of the fusion identifier as the name of the form element to be generated; Acquire the union of the attribute information of the first form element in each first form data to obtain the attribute information of the form element to be generated; Based on the name and attribute information of the form element to be generated, a third form element corresponding to the fusion identifier is generated.

[0078] In another embodiment, the merging module is used to: Merging the second form elements in each first form data to obtain third form data; The third form data and the third form element are merged to obtain second form data of the target business.

[0079] In another embodiment, the form data processing device further includes a receiving module and a sending module: The receiving module is used to receive a processing request for a target service sent by a client; The determination module is further used to determine multiple target items of the target business according to the processing request; The sending module is used to send the second form data to the client, and the second form data is used by the client to render and generate a form.

[0080] In another embodiment, the receiving module is further used to receive business data collected by the client through the form, and the business data includes field values ​​of fields corresponding to form elements in the second form data; The sending module is also used to assign values ​​to fields corresponding to form elements in each first form data based on the business data, and for each first form data, send the first form data and the field values ​​of the fields corresponding to the form elements in the first form data to the processor of the target matter corresponding to the first form element for processing.

[0081] In another embodiment, when assigning a value to a field corresponding to a form element in each first form data based on the business data, the sending module performs the following steps: Assigning the field value of the field corresponding to the third form element in the business data to the field value of the field corresponding to the first form element in each first form data; The field value of the field corresponding to the second form element in the business data is assigned to the field value of the field corresponding to the second form element in each first form data.

[0082] Obviously, the form data processing device 600 provided in the embodiment of the present application can be used as the above Figure 2 The execution body of the form data processing method shown in FIG. Figure 2 Since the principle is the same, the functions realized are not described again here.

[0083] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 7 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0084] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0085] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0086] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a form data processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations: Acquire multiple first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data is used to process a target item of the target business, and the fusion identifier has the same meaning as a field corresponding to the associated form element; Determine a first form element and a second form element in each first form data, wherein the first form element is a form element with the same associated fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; Based on the first form element, generating a third form element corresponding to the fusion logo; The third form element is merged with the second form element in each first form data to obtain the second form data of the target business.

[0087] The above application Figure 2The method performed by the form data processing device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0088] The electronic device may also perform Figure 2 The method and the form data processing device are implemented in Figure 2 The functions of the embodiment shown in FIG5 will not be described in detail in the embodiment of the present application.

[0089] Of course, in addition to software implementation, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0090] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 2 The method of the embodiment shown is specifically used to perform the following operations: Acquire multiple first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data is used to process a target item of the target business, and the fusion identifier has the same meaning as a field corresponding to the associated form element; Determine a first form element and a second form element in each first form data, wherein the first form element is a form element with the same associated fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; Based on the first form element, generating a third form element corresponding to the fusion logo; The third form element is merged with the second form element in each first form data to obtain the second form data of the target business.

[0091] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps in the form data processing method provided in the embodiment of the present application.

[0092] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0093] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0096] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A form data processing method, characterized in that: include: Acquire multiple first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data is used to process a target item of the target business, and the fusion identifier has the same meaning as a field corresponding to the associated form element; Determine a first form element and a second form element in each first form data, wherein the first form element is a form element with the same associated fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; Based on the first form element, generating a third form element corresponding to the fusion logo; The third form element is merged with the second form element in each first form data to obtain the second form data of the target business.

2. The method according to claim 1, characterized in that Each first form data also includes attribute information of the form element; The step of generating a third form element corresponding to the fusion identifier based on the first form element includes: Using the name of the fusion identifier as the name of the form element to be generated; Acquire the union of the attribute information of the first form element in each first form data to obtain the attribute information of the form element to be generated; Based on the name and attribute information of the form element to be generated, a third form element corresponding to the fusion identifier is generated.

3. The method according to claim 1, characterized in that: The step of merging the third form element with the second form element in each first form data to obtain the second form data of the target business includes: Merging the second form elements in each first form data to obtain third form data; The third form data and the third form element are merged to obtain second form data of the target business.

4. The method according to claim 1, characterized in that Before acquiring a plurality of first form data of the target business and a fusion identifier associated with the form elements in the first form data, the method further includes: Receive a processing request for a target service sent by a client; Determining multiple target items of the target business according to the processing request; After merging the third form element with the second form element in each first form data to obtain the second form data of the target business, the method further includes: The second form data is sent to the client, and the second form data is used by the client to render and generate a form.

5. The method according to claim 4, characterized in that After sending the second form data to the client, the method further includes: Receiving business data collected by the client through the form, the business data including field values ​​of fields corresponding to form elements in the second form data; Based on the business data, assigning values ​​to fields corresponding to form elements in each first form data; For each first form data, the first form data and the field value of the field corresponding to the form element in the first form data are sent to the processor of the target item corresponding to the first form element for processing.

6. The method according to claim 5, characterized in that The assigning a value to a field corresponding to a form element in each first form data based on the business data includes: Assigning the field value of the field corresponding to the third form element in the business data to the field value of the field corresponding to the first form element in each first form data; The field value of the field corresponding to the second form element in the business data is assigned to the field value of the field corresponding to the second form element in each first form data.

7. A form data processing device, characterized in that: include: An acquisition module, used for acquiring a plurality of first form data of a target business and fusion identifiers associated with form elements in the first form data, each first form data being used for processing a target item of the target business, and the fusion identifier having the same meaning as a field corresponding to the associated form element; a determination module, configured to determine a first form element and a second form element in each first form data, wherein the first form element is a form element associated with the same fusion identifier in different first form data, and the second form element is a form element in the first form data other than the first form element; A generating module, used for generating a third form element corresponding to the fusion mark based on the first form element; The merging module is used to merge the third form element with the second form element in each first form data to obtain the second form data of the target business.

8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the form data processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the form data processing method as claimed in any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to execute part or all of the steps in the form data processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Configurable form data distribution method and device

    CN116663514A

  • Method, device and medium for a business function page

    US20220284371A1