A data management method based on dynamic form
Through the data management method based on dynamic forms, the problem of lack of real-time monitoring of personnel information management in the existing technology is solved, real-time update and accurate acquisition of personnel information is achieved, and the timeliness of corporate decision-making is improved.
Patent Information
- Application Number
- CN202411806480.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-12-10
AI Technical Summary
The existing personnel information management mechanism is difficult to achieve real-time monitoring of personnel changes, resulting in companies not being able to obtain accurate human resource information in a timely manner, affecting the timeliness of decision-making.
The data management method based on dynamic forms is adopted, by receiving personnel information processing requests, determining the operation type and approval table fields, generating dynamic form windows, obtaining and synchronizing data, and ensuring real-time update of information.
Real-time monitoring and update of personnel information is realized, ensuring that enterprises can obtain accurate human resource information in a timely manner and improve the timeliness of decision-making.
Smart Images

Figure CN119293058B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a data management method based on dynamic forms. Background Art
[0002] In the enterprise resource planning system, personnel management is an important part of the organizational structure. Faced with the increase in personnel mobility, especially job vacancies caused by resignation, retirement and other factors, the existing personnel information management mechanism seems to be unable to cope with it. At present, most companies still rely on manual methods to update and adjust personnel information, but this method is difficult to achieve real-time monitoring of personnel changes. Therefore, when key positions become vacant, companies often cannot obtain accurate human resource information in a timely manner, resulting in an inability to respond in time when personnel changes occur, thus affecting the timeliness of decision-making. Summary of the invention
[0003] The main purpose of this application is to provide a data management method based on dynamic forms, aiming to solve the technical problem of lack of real-time monitoring of personnel information management.
[0004] To achieve the above objectives, an embodiment of the present application provides a data management method based on a dynamic form, and the data management method based on a dynamic form includes:
[0005] receiving a personnel information processing request, and determining an operation type of the personnel information processing request and an approval table field corresponding to the operation type;
[0006] Generate a dynamic form window according to the operation type and the approval form fields;
[0007] Acquire data corresponding to the approval form field, and fill the data into the approval form field corresponding to the data in the dynamic form window;
[0008] A modification instruction submitted based on the dynamic form window is received, modification data of the approval form field is acquired according to the modification instruction, and the modification data is synchronized to the personnel information table.
[0009] In one embodiment, the step of receiving a personnel information processing request and determining an operation type of the personnel information processing request and a field of the approval table corresponding to the operation type includes:
[0010] Identify the personnel information processing request, and determine the operation type corresponding to the personnel information processing request;
[0011] assigning at least one label to the operation type, each label representing an attribute or classification;
[0012] According to the tag, the approval table field matching the tag is queried and obtained.
[0013] In one embodiment, the step of querying and acquiring the approval table field matching the tag according to the tag further includes:
[0014] According to a preset tag matching rule library, evaluating the relevance of each field of the approval table to the operation type corresponding to the tag;
[0015] Based on a preset relevance threshold, a field of the approval table matching the tag is determined.
[0016] In one embodiment, the step of generating a dynamic form window according to the operation type and the approval form field includes:
[0017] Determining the layout and structure of the dynamic form window according to the operation type;
[0018] Generate a corresponding input control for the approval form field, and set the type and validation rule of the input control according to the attributes of the approval form field;
[0019] The input controls are placed in the dynamic form window according to the logical order and layout requirements of the approval form fields.
[0020] In one embodiment, after the step of placing the input controls in the dynamic form window according to the logical order and layout requirements of the approval form fields, the method further includes:
[0021] According to the operation type, adjusting the editing state of each approval form field in the dynamic form window;
[0022] If the editing state is editable, setting the input control corresponding to the approval form field to be interactive;
[0023] If the editing state is restricted editing, the input control corresponding to the approval form field is locked.
[0024] In one embodiment, the step of obtaining data corresponding to the approval form field and filling the data into the approval form field corresponding to the data in the dynamic form window includes:
[0025] Obtaining data values corresponding to the fields of the approval table;
[0026] Creating a data filling map to match the data values corresponding to the approval form fields with the input controls in the dynamic form window;
[0027] The matched data values are filled into the corresponding input controls in the dynamic form window.
[0028] In one embodiment, the steps of receiving a modification instruction submitted based on the dynamic form window, obtaining modification data of the approval form field according to the modification instruction, and synchronizing the modification data into the personnel information table include:
[0029] receiving a modification instruction submitted after modifying the approval form field in the dynamic form window;
[0030] Based on the modification instruction, determine the approval table field involved in the modification, and extract the modification data of the approval table field, wherein the modification data includes the result corresponding to the newly added data, the modified data or the deleted data;
[0031] Verify whether the modified data complies with preset data verification rules, and if not, provide feedback and require re-entry;
[0032] If the verification is successful, the modification data is confirmed to be a valid modification input.
[0033] In one embodiment, after the step of confirming that the modification data is a valid modification input if the verification is successful, the following steps are performed:
[0034] According to the modification instruction, a modification confirmation record including the modification data is generated, wherein the modification confirmation record includes a modification timestamp, a modifier, and a comparison of data before and after the modification;
[0035] Pushing the modification confirmation record to the corresponding review process;
[0036] The audit result is received, and if the audit result is passed, the data in the approval table field is synchronized to the personnel information table.
[0037] The embodiment of the present application discloses a data management method based on a dynamic form, which receives a personnel information processing request, determines the operation type of the personnel information processing request and the approval form field corresponding to the operation type; generates a dynamic form window according to the operation type and the approval form field; obtains the data corresponding to the approval form field, and fills the data into the approval form field corresponding to the data in the dynamic form window; receives a modification instruction submitted based on the dynamic form window, obtains the modification data of the approval form field according to the modification instruction, and synchronizes the modification data into the personnel information table. The present application dynamically generates a form window by receiving a personnel information processing request, so that the user can enter or modify data in the corresponding approval form field according to the operation type, and finally synchronizes it to the personnel information table, thereby ensuring real-time update of information. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1It is a flowchart of a first embodiment of a data management method based on a dynamic form involved in an embodiment of the present application;
[0039] Figure 2 This is a flow chart of a second embodiment of a data management method based on a dynamic form according to an embodiment of the present application;
[0040] Figure 3 This is a flow chart of a third embodiment of a data management method based on a dynamic form according to an embodiment of the present application;
[0041] Figure 4 This is a structural diagram of a data management device based on a dynamic form in this application.
[0042] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] In the enterprise resource planning system, personnel management is an important part of the organizational structure. Faced with the increase in personnel mobility, especially job vacancies caused by resignation, retirement and other factors, the existing personnel information management mechanism seems to be unable to cope with it. At present, most companies still rely on manual methods to update and adjust personnel information, but this method is difficult to achieve real-time monitoring of personnel changes. Therefore, when key positions become vacant, companies often cannot obtain accurate human resource information in a timely manner, resulting in an inability to respond in time when personnel changes occur, thus affecting the timeliness of decision-making.
[0045] In order to solve the above-mentioned defects existing in the related art, the embodiment of the present application proposes a data management method based on a dynamic form, which receives a personnel information processing request, and determines the operation type of the personnel information processing request and the approval form field corresponding to the operation type; generates a dynamic form window according to the operation type and the approval form field; obtains the data corresponding to the approval form field, and fills the data into the approval form field corresponding to the data in the dynamic form window; receives a modification instruction submitted based on the dynamic form window, obtains the modification data of the approval form field according to the modification instruction, and synchronizes the modification data to the personnel information table. The present application receives a personnel information processing request, dynamically generates a form window, enables the user to enter or modify data in the corresponding approval form field according to the operation type, and finally synchronizes it to the personnel information table, thereby ensuring the real-time update of information.
[0046] It should be noted that the execution subject of this embodiment can be a data management system based on a dynamic form, or a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a data management device based on a dynamic form that can realize the above functions, etc. The following takes a data management system based on a dynamic form as an example (hereinafter referred to as the "system") to illustrate this embodiment and the following embodiments.
[0047] The data management method based on dynamic form of the first embodiment proposed in this application, please refer to Figure 1 The method comprises steps S10 to S40:
[0048] Step S10: receiving a personnel information processing request, and determining an operation type of the personnel information processing request and a field in an approval table corresponding to the operation type.
[0049] In this embodiment, the system first receives a personnel information processing request from a user. The request can be any personnel information-related operation initiated by the user through the user interface (UI), such as adding, modifying, deleting, or querying personnel information. The operation type specifies the nature of the request, which determines the direction of the subsequent processing flow and the content of the required approval form fields, such as updating existing employee information, deleting employee records, recommending personnel for positions, and managing pre-retirement personnel. Approval form fields refer to fields in the personnel information database used to store specific information, such as name, position, ID number, contact information, etc.
[0050] It should be noted that, considering the existence of private data in personnel information, the system has a privacy protection mechanism. When obtaining corresponding private data, such as ID card number, or when displaying private data, the system will verify user permissions. Only when the user has the corresponding viewing authorization can they access and operate these private data, thereby ensuring the security and confidentiality of personnel information during processing, preventing the risk of private data leakage, and creating a safe and reliable environment for personnel information management.
[0051] For example, if it is an operation for the management of pre-retiree personnel, the approval form fields may include employee name, date of birth, length of service, retirement age, expected retirement date, etc.; if it is an operation recommended by post personnel, the approval form fields may include employee name, position, length of service, date of employment, job title, employee skills, work experience, educational background, performance evaluation results, etc.
[0052] Optionally, before receiving the user's selection operation, the system continuously scans the personnel information database through a scheduled task or event-driven method to detect any key events that may lead to job vacancies or personnel changes. These key events may include employee resignation applications, retirement notices, job adjustment requests, etc. When potential personnel changes or job changes are detected, such as employees submitting resignation applications or reaching the scheduled retirement age, or employees transferring positions resulting in job vacancies, the system will automatically trigger the early warning process.
[0053] The early warning process will first determine the fields that need to be approved according to the preset rules, such as the employee's name, position, length of service, date of employment, expected date of resignation / retirement, job status, etc. Then, the system generates an early warning report, which contains the list of personnel or job vacancies that are about to change, as well as the relevant approval form field information. Then, the system will send this early warning report to the relevant person in charge in a timely manner through email, SMS or internal system notification. After receiving the early warning report, the person in charge can conduct further review and decision-making based on the content of the report, such as starting the job personnel supplement process, arranging the handover of resigned / retired employees, etc.
[0054] For example, the system can set a timer to automatically perform a full scan every preset time (such as every day or every week). In addition, the system can also adopt an event-driven approach, that is, whenever the personnel information database changes, the scanning process is triggered through the event notification mechanism of the database (such as a database trigger or a message queue).
[0055] Optionally, the system receives user selection operations through the front-end user interface. These operations may include, but are not limited to, interactive actions such as selecting forms or function options and clicking buttons, which are intended to initiate requests to add, modify, delete or query personnel information. The operations performed by users on the front-end user interface will be encapsulated into HTTP requests, which follow the RESTful API or other communication protocols and are transmitted to the back-end server through the network.
[0056] The logic processing module on the server side is responsible for receiving these HTTP requests and parsing them. The module first verifies the validity of the request, and then identifies the specific operation type based on the operation instructions in the request content. In order to determine the approval form field corresponding to the operation type, the logic processing module queries the preset configuration files or database tables. These configuration files or database tables store the mapping relationship between the operation type and the approval form fields, ensuring that the system can dynamically adapt to the needs of different operation types.
[0057] In a feasible implementation, step S10 may include steps S11 to S13:
[0058] Step S11: identifying the personnel information processing request and determining the operation type corresponding to the personnel information processing request.
[0059] In this embodiment, the system monitors and receives HTTP requests from the front-end user interface, which are triggered by user interaction actions, such as clicking a button or submitting a form. These requests usually contain data in JSON or XML format, which encapsulates the user's operation intention, related parameters or request body content, etc. For example, the request may contain a field named "action" with values such as "add", "update", "delete", etc., which directly indicates the operation type corresponding to the request. The system determines whether the operation type is add, update, or delete by checking the corresponding parameter value.
[0060] Optionally, the parameters in the request may be matched with predefined operation types through string matching, regular expression matching, hash search, or other techniques, thereby determining the operation type corresponding to the personnel information processing request.
[0061] Step S12: assign at least one label to the operation type, each label representing an attribute or classification.
[0062] In this embodiment, a tag is metadata used to identify a specific attribute or classification of an operation type, and is used to indicate the relevant characteristics of the operation type. These tags can be predefined, and each tag represents a specific business rule, permission requirement, or data processing logic. For example, if the operation type is "add", the system may assign it tags such as "new record" and "need approval"; if the operation type is "recommendation", it may assign it tags such as "recommendation for position A".
[0063] Optionally, after determining the operation type, the system uses natural language processing (NLP) technology to parse the text content in the request. NLP technology can identify key words and contextual information in the request, such as a specific job title or description. By analyzing this information, the system can understand the specific intent of the operation type. For example, when the operation type is "recommendation" or "query", through the context information of the request, it is found that the request points to a specific vacant position, then the system will predict that the request is for a personnel recommendation or personnel information query for the vacant position, and the generated label is "personnel recommendation for the corresponding position".
[0064] Optionally, an operation type-label mapping table is created, which contains mapping relationships between all possible operation types and corresponding labels. As shown in Table 1, the structure of the label mapping table includes but is not limited to the following fields: operation type ID, operation type description, label ID, label description.
[0065] Table 1 Operation type-label mapping table
[0066]
[0067] When the system receives a personnel information processing request, it first identifies the operation type of the personnel information processing request, such as "recommendation" or "query". Then, the system queries the preset operation type-label mapping table according to the operation type, and extracts all possible labels that match the operation type. In the case where the operation type corresponds to multiple labels, the system will further analyze the context information of the personnel information processing request or follow other business rules to select the most matching label. After the labels are selected, the system attaches these labels to the current personnel information processing request to ensure that the subsequent processing flow can execute the corresponding business logic according to the corresponding labels.
[0068] It should be noted that an operation type can be assigned multiple tags. When an operation type corresponds to multiple tags, the system will retrieve potential tags from the operation type-tag mapping table and calculate the relevance score of each tag by analyzing the context information of the personnel information processing request. The relevance score is based on the degree of match between the tag and the context. The system will select the tag with the highest score according to the preset rules, or a combination of tags with scores within the preset range, to ensure that the selected tag can fully describe the request content and the corresponding operation type, and guide the execution of subsequent business logic.
[0069] Step S13: According to the tag, query and obtain the approval table field that matches the tag.
[0070] In this embodiment, according to the specific attributes or classifications of the operation types (ie, the labels corresponding to the operation types), the relevant data fields are screened out from the personnel information database. The process includes constructing a query statement based on the labels, which can retrieve the field information corresponding to the labels.
[0071] When the label is a pre-built operation type-label mapping table, the label-field mapping table corresponding to the label can also be pre-built. The operation type-label mapping table and the label-field mapping table can be pre-defined and stored in the database or configuration file according to business logic requirements. The label-field mapping table clearly indicates the approval form field that needs to be queried for the corresponding label, so that when the system receives a personnel information processing request, by identifying the label of the operation type corresponding to the request, the label-field mapping table can be directly queried to quickly find the approval form field that needs to be displayed.
[0072] In this embodiment, by predetermining the operation type-label mapping table and the label-field mapping table, the system only needs to simply search and return the relevant fields, which greatly reduces the system processing time and improves the system processing capacity. When a personnel information processing request arrives, the system determines the approval form field that needs to be operated by searching the corresponding mapping table, and finally directly performs the corresponding query or update operation in the database, ensuring the accuracy and timeliness of the operation.
[0073] It should be noted that the method based on the static mapping table is suitable for business scenarios where the mapping relationship is relatively stable. If the mapping relationship between operation types, tags, and fields changes frequently, a dynamic mapping strategy can be considered.
[0074] Optionally, after determining the label of the operation type, the system begins to analyze the label content to determine the approval form fields related to the corresponding label. When a personnel information processing request is received by the system, and the system identifies and determines the label corresponding to the operation type of the request, the system first uses natural language processing technology, such as semantic role labeling or entity recognition, to parse the text in the label and understand its semantics. This enables the system to identify key entities and attributes in the label. For example, in the label "Recommendation of personnel for position A", the system can identify "position" as the key entity and "recommendation" as the attribute.
[0075] Next, the system uses a machine learning model to generate a predicted list of relevant approval form fields for each corresponding tag. The machine learning model is able to predict the approval form fields related to the corresponding tag based on the key entities and attributes identified in the tag. The system will construct one or more database queries based on the model's predictions. These queries will retrieve the approval form fields that are most relevant to the tag against the personnel information database.
[0076] Specifically, during the model training phase, by providing a large number of labels and corresponding approval form fields as training data, the model learns how to predict the relevant approval form fields based on the semantic content of the labels. For example, if historical data shows that the label "A position personnel recommendation" is always associated with fields such as "employee skills", "work experience", "A position" and "length of service", then the model will also learn these associations.
[0077] For example, for the label "pre-retirement personnel query", the model will identify "pre-retirement" as a key entity, indicating the specific group of people being queried; and "query" as an attribute of the operation, indicating the action to be performed. Based on this analysis, the model will identify the approval form fields that are most relevant to the "pre-retirement" entity and build a prediction list, such as employee name, age, date of birth, date of employment, expected retirement date, etc. The system will build a query based on the prediction list of approval form fields and retrieve the information of people who are about to retire from the personnel information database.
[0078] In a feasible implementation manner, step S13 may further include steps S131-S132:
[0079] Step S131: According to a preset tag matching rule library, the relevance of each field in the approval table in the operation type corresponding to the tag is evaluated.
[0080] Step S132: Based on a preset relevance threshold, determine the approval table field that matches the tag.
[0081] In this embodiment, the label matching rule library contains a set of predefined rules for evaluating the correlation between the approval form fields and the labels corresponding to the operation types. These rules may be formulated based on factors such as business logic, the frequency of use of the field, the importance of the field in historical operations, and the semantic connection between the field and the label corresponding to the operation type. For example, if the label is "Recommendation of Personnel for Position A", the label matching rule library will contain fields that clearly indicate that they are highly correlated with the label "Recommendation of Personnel for Position A", such as "Position Name", "Employee Skills", and "Work Experience". The system will use these rules to filter out the approval form fields that match the labels of the current operation request.
[0082] The relevance threshold is a predefined criterion for measuring the degree of match between the approval form field and the label corresponding to the operation type. The system uses the preset relevance threshold as a screening criterion to ensure that only those approval form fields whose relevance to the label corresponding to the operation type meets or exceeds the relevance threshold are selected. The threshold setting can be adjusted according to the strictness of business requirements.
[0083] It should be noted that the tag matching rule base can be a structured database table or a set of configuration files, which stores the association between tags and approval form fields. Each rule in the tag matching rule base is based on in-depth business analysis and data access patterns, and clarifies which fields are most important for a specific type of operation in a specific business scenario or under a specific tag.
[0084] Specifically, according to the preset tag matching rule library, the steps of evaluating the relevance of each approval table field in the operation type corresponding to the tag can be roughly divided into the following four steps:
[0085] (1) Extracting label information: The system extracts the corresponding label from the operation type, which will be used to match the rules in the label matching rule base.
[0086] (2) Rule matching: The system matches the extracted tags with each rule in the tag matching rule base. The matching process includes:
[0087] Keyword matching: Checks whether the tag contains the keywords defined in the tag matching rule base.
[0088] Semantic analysis: Use natural language processing technology to analyze the semantics of tags and compare them with the semantic descriptions in the tag matching rule library.
[0089] Pattern recognition: Identify specific patterns in labels, such as date formats, numbering rules, job titles, specific groups of people, etc., and match them with patterns in the rule base.
[0090] (3) Calculate the relevance score: For each matching rule, calculate the relevance score of the approval form field according to the relevance weight defined in the rule. The relevance score can be a simple weight value.
[0091] (4) Filter high-relevance fields: Based on the calculated relevance score, filter out approval form fields whose scores reach or exceed the preset relevance threshold. These approval form fields will be considered highly relevant to the tag.
[0092] Step S20: Generate a dynamic form window according to the operation type and the approval form fields.
[0093] In this embodiment, the system automatically creates an interactive interface for the user to input or modify information based on the operation type and the approval form fields required for the determined operation type. The dynamic form window is a relatively flexible user interface component that can dynamically adjust its content and layout according to different business scenarios and user needs.
[0094] Specifically, the system first analyzes the requirements of the operation type, including the required approval form fields and the mode of user interaction. Then, the system uses this information to design the structure of the form, ensuring that each approval form field has a corresponding input control, such as a text box, selection box, or date picker. The design of these controls takes into account the data type and business rules of the field. In addition, the system will embed client-side or server-side logic to achieve instant validation and data processing functions of the form. Once the form design is completed, the system will dynamically build and render the form window, making it visible and interactive on the user interface. Through the dynamic form window, users can fill in, query, or update information, and the system can collect operation instructions for the approval form fields in the dynamic form window in the background for subsequent processing.
[0095] Step S30: Acquire data corresponding to the approval form field, and fill the data into the approval form field corresponding to the data in the dynamic form window.
[0096] In this embodiment, the system retrieves the corresponding data records from the personnel information database or other relevant data sources based on the approval form fields displayed in the dynamic form window. These data may include employees' personal information, job information, performance records, etc. The system accurately matches the data items corresponding to each approval form field by constructing a database query statement. Once the data is successfully retrieved, the system will perform data mapping to match the data fields in the database with the input controls in the dynamic form window one by one. Then, the system uses data binding technology to automatically fill the retrieved data into the corresponding position of the form, and the user can see the complete information without manual input. This data filling process not only improves the convenience of user operation, but also reduces the possibility of data input errors.
[0097] In a feasible implementation, step S30 may include steps S31 to S33:
[0098] Step S31, obtaining the data value corresponding to the field of the approval table.
[0099] Step S32, creating a data filling mapping, matching the data values corresponding to the approval form fields with the input controls in the dynamic form window.
[0100] Step S33: Fill the matched data value into the corresponding input control in the dynamic form window.
[0101] In this embodiment, the system extracts data values corresponding to the approval form fields from the personnel information database or other relevant data sources. These data values may include personal information of employees, such as name, position, time of joining the company, length of service, etc., or necessary information related to a specific business process. The system ensures that the corresponding data item of each approval form field in the personnel information database can be accurately located by executing predefined query statements.
[0102] Next, the system creates a data filling mapping to match the data values corresponding to the extracted approval form fields with the input controls in the dynamic form window. The purpose of the data filling mapping is to establish the association between the database fields and the form controls, thereby guiding the system which data values should be filled into which form controls. This mapping can be achieved through direct association or through configuration files and mapping rules. For example, if there is a text box in the dynamic form window for displaying "employee name", the system will ensure that the "name" field value retrieved from the personnel information database can be filled into the text box.
[0103] Finally, the system uses this mapping to automatically fill the matching data values into the corresponding input controls in the dynamic form window. This process can be done by pushing data to the specified location of the form through automation scripts or application programming interfaces (APIs).
[0104] Step S40: receiving a modification instruction submitted based on the dynamic form window, obtaining modification data of the approval form field according to the modification instruction, and synchronizing the modification data into the personnel information table.
[0105] In this embodiment, the system first monitors the user's operations in the dynamic form window. When the user completes the modification of the information and submits the form, the system will capture these modification instructions. The modification instructions usually include addition, deletion, and modification operations on specific approval form fields. These operations may be updates to employee personal information, such as address changes, position adjustments, and job status modifications.
[0106] Based on these modification instructions, the system extracts the specific modification data, which includes new values entered by the user in the dynamic form window or modifications to existing values. The extraction process usually involves parsing the data submitted by the form and converting it into a format that the system can understand and process. Once the modification data is successfully extracted, the system will then synchronize this data to the personnel information table.
[0107] The synchronization process involves performing database update operations to write new data values to the corresponding database fields to ensure that the data in the personnel information table is consistent with the changes made by the user in the dynamic form window.
[0108] To ensure the accuracy of data synchronization and the integrity of transactions, the system usually adopts a transaction processing mechanism to ensure that the writing of modified data is either completely successful or completely rolled back when an error occurs, avoiding data from being in an inconsistent state.
[0109] This embodiment not only realizes the interactivity of the user interface, but also ensures the real-time update of the background database, thereby maintaining the data integrity and business continuity of the personnel information system.
[0110] Please refer to Figure 2 In the data management method based on dynamic forms of the second embodiment proposed in this application, step S20 includes steps S21 to S23:
[0111] Step S21: Determine the layout and structure of the dynamic form window according to the operation type.
[0112] In this embodiment, the system will select a suitable form template based on the characteristics of the operation type, such as employee onboarding, information update or position adjustment, and define the form's arrangement, column layout and necessary interactive elements, thereby providing users with a clear and intuitive data input interface.
[0113] Specifically, the system analyzes the operation type, such as add, update, or query, to determine what parts the form should contain, such as title, field arrangement, buttons, etc. For example, if it is an update operation, the form may need to contain submit and cancel buttons, while a query operation may only need a search button.
[0114] Step S22: Generate a corresponding input control for the approval form field, and set the type and validation rules of the input control according to the attributes of the approval form field.
[0115] It should be noted that input controls are interface elements for users to enter or modify information in dynamic form windows, such as text boxes, drop-down menus, radio buttons, etc. The system will set the type and validation rules of input controls based on the properties of the approval form fields, such as data type, length limit, and whether it is required. For example, for a date field, the system may generate a date picker control and set validation rules to ensure that the user enters a valid date format. Such a configuration not only improves the accuracy of data input, but also reduces errors in subsequent data processing through front-end validation.
[0116] Step S23: placing the input controls in the dynamic form window according to the logical order and layout requirements of the approval form fields.
[0117] In this embodiment, the generated input controls are placed in the dynamic form window according to the logical order and layout requirements of the approval form fields, ensuring the usability and logic of the form, so that users can complete information input according to a reasonable process. The system will consider the visual flow of the form and the user's operating habits, and place the input controls in a certain order and grouping, thereby creating a dynamic form window that is both in line with business logic and easy to operate.
[0118] In a feasible implementation manner, step S23 may further include steps S231 to S233:
[0119] Step S231: adjusting the editing status of each approval form field in the dynamic form window according to the operation type.
[0120] In this embodiment, the system adjusts the edit status of each approval form field in the dynamic form window according to the operation type. The operation type here refers to the specific operation performed by the user in the business process, such as creating a new record, editing an existing record, or viewing details. The edit status defines whether the user can modify a specific approval form field. It can be editable, read-only, or restricted. Through this step, the system provides flexible field-level permission control for different business scenarios.
[0121] For example, if it is an edit operation, the approval form field related to the request will be set to be editable; and if it is a view operation, the approval form field will be set to be read-only.
[0122] Step S232: If the editing state is editable, the input control corresponding to the approval form field is set to be interactive.
[0123] In this embodiment, for the approval form fields set to editable status, the system sets the corresponding input controls to be interactive. This means that users can interact with these input controls, such as entering text, selecting options, or modifying data. By enabling the input function of the input controls, the system allows users to update information according to actual needs.
[0124] For input controls in the editable state, the system removes the disabled attribute of these controls or programmatically enables them to respond to user input events.
[0125] This embodiment prevents improper data modification and maintains strict execution of business rules by locking the input controls.
[0126] Step S233: If the editing state is restricted editing, the input control corresponding to the approval table field is locked.
[0127] In this embodiment, for approval form fields that are set to restricted editing, the system will lock the corresponding input controls. This can be done by setting the properties of the control to prohibit editing, such as setting the readonly property of a text box to true, or setting the options of a drop-down list to unselectable. Locked controls do not accept user input, but may still be viewable. This setting is suitable for data or sensitive information that should not be modified by users, such as system-generated identifiers, calculated fields, employee IDs, or historical records.
[0128] In this implementation, by adjusting the edit state of the field and setting the interactivity of the input control accordingly, the problem of how to flexibly control the editability of the form field according to different business operation requirements is solved. This not only improves the security and accuracy of the data, but also protects other important or sensitive data because users can only edit the fields they are authorized to edit.
[0129] Please refer to Figure 3 In the data management method based on dynamic forms in the third embodiment of the present application, step S40 may include steps S41 to S44:
[0130] Step S41: receiving a modification instruction submitted after modifying the approval form fields in the dynamic form window.
[0131] In this embodiment, the system receives the modification instruction submitted by the user after modifying the approval form field in the dynamic form window. This step is the key point of interaction between the user and the system, which allows the user to send the modified data to the system for processing. The modification instruction can be the action of the user clicking the submit button, which triggers the subsequent data processing flow.
[0132] Step S42: Based on the modification instruction, determine the approval table field involved in the modification, and extract the modification data of the approval table field, wherein the modification data includes the result corresponding to the newly added data, modified data or deleted data.
[0133] In this embodiment, the system determines the approval form fields involved in the modification based on the received modification instruction and extracts the corresponding modification data. These modification data may include the user's newly added information, the modification of existing data, or the deletion of data in certain fields. By comparing the data differences before and after submission, the system accurately identifies which fields have been modified and the specific modification content.
[0134] Step S43: Verify whether the modified data complies with preset data verification rules. If not, provide feedback and require re-entry.
[0135] In this embodiment, the system verifies the extracted modified data to ensure that they comply with preset data validation rules. These rules may include data type checks, format validation, range restrictions, etc., which are intended to ensure the accuracy and consistency of the data. If the modified data does not comply with the validation rules, the system will provide feedback, point out the specific non-compliance items, and require the user to re-enter the correct data. This step is an important part of data quality control, which helps prevent erroneous or non-compliant data from entering the system.
[0136] Step S44: If the verification is successful, confirm that the modification data is a valid modification input.
[0137] In this embodiment, if the modification data passes the verification, the system will confirm that the data is a valid modification input.
[0138] In a feasible implementation manner, step S44 may include steps S441 to S443:
[0139] Step S441: Generate a modification confirmation record containing the modification data according to the modification instruction, wherein the modification confirmation record includes a modification timestamp, a modifier, and a comparison of data before and after the modification.
[0140] When the data has passed effective verification, the user can submit modification instructions to the system. The system generates a modification confirmation record containing the modified data based on the modification instructions submitted by the user. The modification confirmation record is a log that records the details of the modification, including the modification timestamp, the user who performed the modification operation (modifier), and the comparison of the data before and after the modification. Such records are essential for tracking data change history and compliance checks. The timestamp is used to mark the exact time of the modification, the modifier information is used to track responsibility, and the data comparison provides the difference before and after the modification for easy review and review.
[0141] Step S442: Push the modification confirmation record to the corresponding review process.
[0142] The system pushes the generated modification confirmation record to the corresponding review process. This step ensures that all data modifications go through the appropriate review and approval process, thereby maintaining the accuracy of the data and the standardization of the business process.
[0143] It should be noted that the push operation involves sending the modification confirmation record to the reviewer's email, workflow system or any other review platform.
[0144] Step S443, receiving the audit result, if the audit result is passed, synchronizing the data in the approval table field to the personnel information table.
[0145] The system receives the audit results returned by the audit process. If the audit result is passed, the system will synchronize the data in the approval form field to the personnel information table (i.e., the personnel information database) to complete the final update of the data. This step is the closed loop of the entire personnel information processing request process, which ensures that only data changes that have been reviewed and approved will be officially applied to the system. If the audit fails, the system will take corresponding measures based on the feedback, such as rejecting the personnel information processing request.
[0146] The fourth embodiment of the data management method based on dynamic forms proposed in this application can also achieve efficient response to job changes and intelligent recommendation of talent promotion. Specifically:
[0147] The system background will monitor the changes in job information in real time so that it can respond quickly when a job vacancy occurs. Once a job vacancy is found, the system will analyze the information of personnel who meet the job requirements based on the approval form fields related to the job recommendation. The system will screen out candidate employees who meet the promotion conditions or job requirements based on key fields such as employee performance evaluation results, work experience, educational background, and employee skills, and automatically mark these employees with the label of "promotion candidate". At the same time, the corresponding label will be displayed on the corresponding interface to assist managers in providing promotion references.
[0148] Optionally, the system conducts an in-depth assessment of employees marked as "promotion candidates", considering their historical performance and potential capabilities. This assessment may involve a machine learning model that can predict their suitability for promotion in future positions based on their historical data and job performance. The system will comprehensively consider multiple dimensions of employees, including work performance, teamwork ability, leadership potential, and career development path, to ensure the comprehensiveness and accuracy of the assessment results.
[0149] After the promotion suitability analysis is completed, the system will display a detailed promotion recommendation list on the corresponding interface. The promotion recommendation list will display the key information of each candidate employee, the promotion suitability score, and the promotion recommendation made by the system based on data analysis. Managers can refer to this information and make the final promotion decision based on their own judgment and the actual needs of the organization.
[0150] Furthermore, the system also provides the function of filtering and sorting the promotion recommendation list, allowing managers to operate according to criteria such as promotion suitability, years of service or performance rating. Through filtering or sorting operations, managers can quickly identify the best candidates, thereby efficiently advancing the promotion process and filling job vacancies in a timely manner.
[0151] The entire process is designed to assist managers in efficiently identifying and selecting suitable promotion candidates, reducing human bias, and improving the objectivity and accuracy of decision-making. Through automated data analysis and recommendation systems, managers can focus more on strategic decisions while ensuring that the talent flow and promotion mechanism within the organization is more fair and effective.
[0152] The present application provides a data management device based on a dynamic form, and the data management device based on a dynamic form includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data management method based on the dynamic form in the above-mentioned embodiment 1.
[0153] Reference below Figure 4 , which shows a schematic diagram of a structure of a data management device based on a dynamic form suitable for implementing an embodiment of the present application. The data management device based on a dynamic form in the embodiment of the present application may include various hardware and software components for implementing a data management method based on a dynamic form. Figure 4 The dynamic form-based data management device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0154] like Figure 4As shown, the data management device based on the dynamic form may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the data management device based on the dynamic form are also stored. The processing device 1001, the ROM 1002 and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the data management device based on the dynamic form to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a data management device based on the dynamic form with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0155] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0156] The data management device based on dynamic forms provided by the present application adopts the data management device method based on dynamic forms in the above embodiment, which can solve the technical problem of lack of real-time monitoring of personnel information management. Compared with the prior art, the beneficial effects of the data management device based on dynamic forms provided by the present application are the same as the beneficial effects of the data management method based on dynamic forms provided by the above embodiment, and other technical features in the data management device based on dynamic forms are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0157] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0158] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0159] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the data management method based on the dynamic form in the above-mentioned embodiment.
[0160] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0161] The computer-readable storage medium may be included in the data management device based on the dynamic form; or may exist independently without being assembled into the data management device based on the dynamic form.
[0162] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by a data management device based on a dynamic form, the data management device based on the dynamic form: receives a personnel information processing request, and determines the operation type of the personnel information processing request and the approval form field corresponding to the operation type; generates a dynamic form window according to the operation type and the approval form field; obtains data corresponding to the approval form field, and fills the data into the approval form field corresponding to the data in the dynamic form window; receives a modification instruction submitted based on the dynamic form window, obtains the modification data of the approval form field according to the modification instruction, and synchronizes the modification data to the personnel information table.
[0163] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0164] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0165] The modules involved in the embodiments described in the present application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0166] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned data management method based on dynamic forms, and can solve the technical problem of lack of real-time monitoring of personnel information management. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the data management method based on dynamic forms provided by the above-mentioned embodiments, and will not be elaborated here.
[0167] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the above-mentioned dynamic form-based data management method when executed by a processor.
[0168] The computer program product provided by the present application can solve the technical problem of lack of real-time monitoring of data management based on dynamic forms. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the data management method based on dynamic forms provided by the above embodiment, which will not be repeated here.
[0169] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
[0170] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0171] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0172] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A data management method based on dynamic forms, characterized in that: The data management method based on dynamic forms includes: receiving a personnel information processing request, and determining an operation type of the personnel information processing request and an approval table field corresponding to the operation type; Generate a dynamic form window according to the operation type and the approval form fields; Acquire data corresponding to the approval form field, and fill the data into the approval form field corresponding to the data in the dynamic form window; Receiving a modification instruction submitted based on the dynamic form window, acquiring modification data of the approval form field according to the modification instruction, and synchronizing the modification data into the personnel information table; The step of receiving a personnel information processing request and determining an operation type of the personnel information processing request and a field of the approval table corresponding to the operation type includes: Identify the personnel information processing request, and determine the operation type corresponding to the personnel information processing request; Based on the operation type, using natural language processing technology to identify key words and context information of the personnel information processing request, and predicting a label of the personnel information processing request according to the key words and the context information; Based on the personnel information processing request, calculating a relevance score for each of the tags, and assigning the tag with the highest relevance score to the operation type; Based on the tag, predict the approval form field corresponding to the tag, and generate a prediction list of the approval form fields matching the tag; Before receiving the personnel information processing request, when a potential personnel change or position change is detected, the early warning process is automatically triggered, and the generated early warning report is sent to the corresponding person in charge, and the early warning report includes a list of expected personnel changes or expected vacant positions; When a job vacancy is detected, the approval form field corresponding to the vacant job is determined according to the job requirements of the vacant job, and candidate employees who meet the job requirements are screened according to the approval form field corresponding to the vacant job; Using a machine learning model, the suitability of the candidate employee for the vacant position is predicted based on the candidate employee's historical data and job performance, and a recommendation list is generated and displayed based on the suitability score. The person in charge initiates the personnel information processing request based on the recommendation list.
2. The data management method based on dynamic forms according to claim 1, characterized in that: The step of querying and acquiring the approval table field matching the tag according to the tag further includes: According to a preset tag matching rule library, evaluating the relevance of each field of the approval table to the operation type corresponding to the tag; Based on a preset relevance threshold, a field of the approval table matching the tag is determined.
3. The data management method based on dynamic forms according to claim 1, characterized in that: The step of generating a dynamic form window according to the operation type and the approval form field comprises: Determining the layout and structure of the dynamic form window according to the operation type; Generate a corresponding input control for the approval form field, and set the type and validation rule of the input control according to the attributes of the approval form field; The input controls are placed in the dynamic form window according to the logical order and layout requirements of the approval form fields.
4. The data management method based on dynamic forms according to claim 3, characterized in that: After the step of placing the input controls in the dynamic form window according to the logical order and layout requirements of the approval form fields, the method further includes: According to the operation type, adjusting the editing state of each approval form field in the dynamic form window; If the editing state is editable, setting the input control corresponding to the approval form field to be interactive; If the editing state is restricted editing, the input control corresponding to the approval form field is locked.
5. The data management method based on dynamic forms according to claim 1, characterized in that: The step of acquiring data corresponding to the approval form field and filling the data into the approval form field corresponding to the data in the dynamic form window comprises: Obtaining data values corresponding to the fields of the approval table; Creating a data filling map to match the data values corresponding to the approval form fields with the input controls in the dynamic form window; The matched data values are filled into the corresponding input controls in the dynamic form window.
6. The data management method based on dynamic forms according to claim 1, characterized in that: The step of receiving a modification instruction submitted based on the dynamic form window, acquiring modification data of the approval form field according to the modification instruction, and synchronizing the modification data into the personnel information table includes: receiving a modification instruction submitted after modifying the approval form field in the dynamic form window; Based on the modification instruction, determine the approval table field involved in the modification, and extract the modification data of the approval table field, wherein the modification data includes the result corresponding to the newly added data, the modified data or the deleted data; Verify whether the modified data complies with preset data verification rules, and if not, provide feedback and require re-entry; If the verification is successful, the modification data is confirmed to be a valid modification input.
7. The data management method based on dynamic forms according to claim 6, characterized in that: After the step of confirming that the modification data is a valid modification input if the verification is successful, the following steps are included: Generate a modification confirmation record containing the modification data according to the modification instruction, wherein the modification confirmation record includes a modification timestamp, a modifier, and a comparison of data before and after the modification; Pushing the modification confirmation record to the corresponding review process; The audit result is received, and if the audit result is passed, the data in the approval table field is synchronized to the personnel information table.
Citation Information
Patent Citations
Dynamic configuration method and device of database, computer equipment and storage medium
CN113254455A