A laboratory inspection task intelligent scheduling management system and method

CN122988966APending Publication Date: 2026-10-27NANJING NOVIAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610932856.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-26
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

1、依赖人工经验,效率低下:现有技术需要人工编制年度、季度、月度计划,缺乏系统化的计划管理工具,巡检计划与巡检任务脱节,无法实现转换;巡检任务执行需逐一手动配置,无法查看人员空闲状态和工作负荷,多人协作时容易出现分配冲突,效率低下;

Benefits of technology

本方法通过巡检计划管理模块接收并校验巡检计划配置信息存入数据表,巡检任务管理模块依据巡检计划自动创建巡检任务,通过计划ID建立二者关联实现数据互通;支持动态调整巡检人员标识并自动去重,清除变更后原有任务确认数据,减少人工手动配置操作,提升调度效率;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122988966A_ABST
    Figure CN122988966A_ABST
Patent Text Reader

Abstract

The application provides a laboratory inspection task intelligent scheduling management system and method, the method comprises the following sub-steps: S1: receiving inspection plan configuration information and filling into the corresponding storage field of the data table; S2: creating the corresponding inspection task based on the inspection plan configuration information; S3: receiving the adjustment instruction of the newly added inspection personnel and dynamically adjusting the inspection personnel; S4: task state flow management; S5: task renewal processing; S6: entering the inspection result and submitting; S7: auditing the inspection result; S8: inspection task timing warning and message pushing; S9: generating the inspection task report; the method relies on the linkage of the plan and task management module, automatically generates the task, dynamically adjusts the personnel, reduces the manual operation; the standardization renewal retains the change record, synchronously updates the plan time to ensure the data unification; the hierarchical warning of the timing task module, the multi-channel pushing reminder through the message service, effectively improves the scheduling efficiency, avoids the missed inspection overdue.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of computer application and intelligent scheduling technology, and in particular to an intelligent scheduling management system and method for laboratory inspection tasks. Background Technology

[0002] Laboratory inspections are a crucial daily task to ensure the stable operation of laboratory equipment, environmental compliance, and the elimination of safety hazards. They encompass multiple aspects, including equipment inspection, environmental monitoring, and safety hazard investigation. Daily inspection work requires the development of standardized inspection plans on an annual, quarterly, and monthly basis. Based on these plans, individual inspection tasks are generated, corresponding inspection points are associated, inspection personnel are assigned to conduct on-site verification, and inspection reports are issued after the results are completed, reviewed, and archived, thus forming a complete closed loop for inspection management. The existing laboratory inspection management system only has basic data entry, information storage and simple query functions, and cannot realize automated linkage control of the entire inspection process. It can only meet the basic ledger retention needs, and the overall automation and intelligent control capabilities are obviously insufficient. The existing technology has the following main drawbacks: 1. Reliance on manual experience leads to low efficiency: Existing technology requires manual preparation of annual, quarterly, and monthly plans, lacking systematic planning management tools. Inspection plans are disconnected from inspection tasks and cannot be converted. Inspection tasks need to be manually configured one by one, making it impossible to check personnel idle status and workload. When multiple people collaborate, allocation conflicts are likely to occur, resulting in low efficiency. 2. The task delay handling mechanism is rigid and lacks linkage and synchronization capabilities: Task delays can only be achieved by manually modifying the time directly. There is no unified means of storing and archiving various delay change records, and historical adjustment information is difficult to trace. Moreover, after a task is delayed, the time of the corresponding associated inspection plan cannot be automatically synchronized and updated, which can easily lead to inconsistencies between the plan and task time information. 3. Lack of a systematic reminder mechanism, resulting in a high risk of missed or overdue tasks: The system is not configured with an automatic reminder function for task expiration, and cannot proactively push warnings for tasks that are about to be executed or have not been completed by the due date. It is difficult to quickly identify overdue tasks, resulting in a high risk of missed tasks. Summary of the Invention

[0003] The purpose of this invention is to address the shortcomings of existing technologies by proposing an intelligent scheduling and management system and method for laboratory inspection tasks.

[0004] To achieve the above objectives, the present invention adopts the following technical solution: A laboratory inspection task intelligent scheduling and management system, the system includes an inspection plan management module, an inspection task management module, an inspection result management module, a timed task module, a message service module, and a file processing module; The inspection plan management module is used to receive inspection plan configuration information, verify the legality of the configuration information, and save the various business parameters in the inspection plan configuration information to the inspection plan data table. The inspection task management module is used to create and adjust inspection tasks, control the flow and renewal of task status, receive inspection results and push status change notifications. The inspection result management module is used to store the inspection result data submitted by the inspectors, and supports managers to retrieve the review results online or offline and archive the review records in a unified manner. The scheduled task module is used to periodically retrieve inspection task data to carry out graded early warnings, encapsulate message push requests, and support manual triggering of reminder pushes. The messaging service module is used to receive push requests and send various task notifications to relevant personnel via SMS and WeChat template messages. The file processing module is used to generate Word and PDF inspection reports based on inspection business data, and provides report preview, single and batch download functions.

[0005] This invention also proposes an intelligent scheduling and management method for laboratory inspection tasks, comprising the following steps: S1: Receive the inspection plan configuration information and populate it into the corresponding storage field of the data table; The inspection plan management module receives inspection plan configuration information provided by the administrator through the built-in new interface and performs a validity check on the inspection plan configuration information. The inspection plan configuration information includes business parameters such as plan ID, cycle type, customer information, plan start time, plan end time, inspection point number, and preset inspection personnel identifier; the plan ID is unique. The legality verification includes field integrity verification, time validity verification, and data format compliance verification. If the validity check fails, a failure message will be displayed and the process will be terminated. Conversely, if the validity check passes, the inspection plan management module will call the preset field mapping function. Based on the preset one-to-one mapping relationship between the business parameters and the storage fields in the inspection plan data table, the module will fill the specific values ​​of each business parameter in the received inspection plan configuration information into the corresponding storage fields in the inspection plan data table.

[0006] S2: Create corresponding inspection tasks based on the inspection plan configuration information; The inspection task management module receives the inspection task creation instruction, initializes and generates a blank inspection task in its built-in inspection task data table, and assigns a globally unique task ID as a unique identifier to the blank inspection task. The administrator enters the task name, task start time, and task end time on the front-end editing page corresponding to the blank inspection task; The inspection task management module reads the inspection plan configuration information stored in the inspection plan data table, obtains the plan start time and plan end time, and performs time validity verification on the entered task start time and task end time. If the task start time is earlier than the plan start time, or the task end time is later than the plan end time, the verification is deemed to have failed and the current inspection task creation process is terminated; otherwise, the verification is successful. Associate the inspection point numbers contained therein with the current blank inspection task; select the corresponding inspection personnel based on the preset inspection personnel identifier in the inspection plan configuration information, and obtain the corresponding selected inspection personnel identifier; The pre-configured task status of inspection tasks includes not started, pending inspection, in progress, submitted, and completed. The default initial task status after the inspection task is created is not started. The inspection task management module calls a preset field mapping function. Based on the one-to-one correspondence between the various data of the inspection task and the various stored fields in the inspection task data table, it writes the task ID, task name, task start time, task end time, inspection point number, selected inspection personnel identifier, and task status into the corresponding fields of the current blank inspection task in the inspection task data table. It also stores the plan ID in the inspection plan configuration information into the corresponding data table field. The association between the inspection task and the inspection plan is established through the plan ID, thus completing the creation of the inspection task.

[0007] S3: Receive instructions for adjusting newly added inspection personnel and dynamically adjust the inspection personnel; The inspection task management module receives an instruction to adjust the selection of new inspection personnel for an inspection task. The instruction to adjust the selection of new inspection personnel includes the task ID of the target inspection task and the identifier of the newly selected inspection personnel. Based on the task ID, the original list of selected inspection personnel identifiers corresponding to the target inspection task is read from the inspection task data table. The newly added selected inspection personnel identifiers are saved to the original list of selected inspection personnel identifiers and deduplication is performed to obtain the updated list of selected inspection personnel identifiers. The preset field mapping function is then called to overwrite the selected inspection personnel identifier field corresponding to the target inspection task with the updated list of selected inspection personnel identifiers. Compare the updated list of selected inspection personnel identifiers with the original list of selected inspection personnel identifiers. If the contents of the two lists are inconsistent, it is determined that the task assignment personnel have changed. The task confirmation data that has been retained under the target inspection task is cleared, and the staff corresponding to the updated selected inspection personnel reconfirm the inspection task. Otherwise, proceed to step S4.

[0008] S4: Task status transition management; The inspection task management module calls the system's built-in time reading interface to obtain the current system time in real time. It compares the current system time with the task start time of the inspection task. If the current system time reaches the task start time of the inspection task, it calls the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "to be inspected". When the inspection task management module receives the task execution instruction initiated by the selected inspection personnel bound to the inspection task, it calls the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "in inspection". When the inspection task management module receives an instruction from the selected inspection personnel bound to the inspection task to upload and submit the inspection results, it calls the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "submitted". Whenever the status of any inspection task changes, the latest task status information is pushed to the corresponding staff member based on the selected inspection personnel ID bound to the inspection task.

[0009] S5: Perform task renewal processing; When it is necessary to extend the inspection task, the selected inspection personnel or administrator submits the inspection task extension application instruction through the front end. The instruction includes the new start time, the new end time and the reason for extension. The inspection task management module calls a preset field mapping function to set the historical renewal record corresponding to the inspection task in the data table used to store the renewal information related to the inspection task to an unavailable state; and writes the task ID, new start time, new end time and renewal reason corresponding to the inspection task into the data table to generate a new renewal record. The system calls a preset field mapping function to update the task end time of the inspection task in the inspection task data table to the new end time; and retrieves the planned end time from the inspection plan configuration information associated with the inspection task based on the plan ID, compares the new end time with the planned end time, and if the new end time exceeds the planned end time, updates the planned end time of the inspection plan in the inspection plan data table to the new end time; otherwise, it does not modify the planned end time. Call the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "to be executed".

[0010] S6: Enter and submit the inspection results; The selected inspectors bound to the inspection task enter the inspection results of this inspection task through the front end. The inspection results include on-site inspection photos, the inspection status of each inspection item, the problem description and handling suggestions for abnormalities. The inspection status includes normal and abnormal; After the inspection results are entered, an inspection result submission instruction is issued. After receiving the instruction, the inspection task management module writes the relevant content of the inspection results into the data table in the inspection result management module used to store inspection result information, and triggers the inspection result review. S7: Review and approve inspection results; Managers retrieve submitted inspection results from the inspection result management module via the front end, compare the on-site inspection photos, inspection status of each inspection item, descriptions of problems and handling suggestions corresponding to anomalies in the inspection results with the pre-configured inspection item standards of the inspection tasks, and select whether to approve or disapprove based on the comparison results; The inspection standards for the inspection tasks include the normal operating parameters, allowable deviation range, and anomaly judgment rules for each inspection point; If the review is approved, the inspection task management module calls the preset field mapping function to update the task status of the inspection task in the inspection task data table to "completed". If the review is rejected, the inspection task management module calls the preset field mapping function to roll back the task status of the inspection task from "submitted" to "in inspection". The inspection personnel modify and improve the entered on-site inspection photos, the inspection status of each inspection item, the problem description and handling suggestions, and then resubmit for review. S8: Timely early warnings and message pushes for inspection tasks; The scheduled task module retrieves the planned start time of each inspection task from the inspection task data table based on a preset execution cycle. It calculates the difference between the current system time and the planned start time of each task. If the difference is within a set time interval, the inspection task is determined to be a task that needs to be reminded and is about to start. The time interval includes a first reminder period and a second reminder period, wherein the time interval of the first reminder period is longer than that of the second reminder period. When the inspection task is determined to be in the first reminder period, the recipient information corresponding to the inspection task is obtained through the noticeCreater component, and the recipient is the task creator; when the inspection task is determined to be in the second reminder period, the recipient information corresponding to the inspection task is obtained through the noticeCreaterAndWorker component, and the recipient is the task creator and the relevant task execution personnel. The scheduled task module encapsulates the received personnel information, reminder text content, and task ID to generate a message push request; it remotely calls the message service module through the MessageServerFeign component; the message service module receives the message push request, calls the built-in message push interface, and sends task reminder notifications to the recipients through channels such as SMS and WeChat template messages; S9: Generate inspection task report; The user selects the completed inspection task on the front end and sends a report-related operation request; the file processing module retrieves the business data of the corresponding inspection task, including the task ID, inspection results, etc.; the file processing module calls the built-in poi-tl template rendering component to fill the business data into the preset inspection report Word template and generate the corresponding task's Word format inspection report. The generated inspection reports are associated with and stored with the corresponding task IDs. When the front end sends a report query or download request, the corresponding inspection report is retrieved based on the task ID carried in the request and fed back to the front end.

[0011] Compared with the prior art, the beneficial effects of the present invention are as follows: This method receives and verifies the inspection plan configuration information through the inspection plan management module and stores it in the data table. The inspection task management module automatically creates inspection tasks based on the inspection plan. The two are linked by the plan ID to achieve data communication. It supports dynamic adjustment of the inspection personnel identification and automatic deduplication, clearing the original task confirmation data after the change, reducing manual configuration operations and improving scheduling efficiency. This method uses the inspection task management module to process task renewals, generating new renewal records and setting historical renewal records as unusable to retain change information for easy traceability, thus solving the problems of no archived records and inability to verify the adjustment process. After updating the task end time, it automatically compares it with the associated inspection plan end time. If the new end time exceeds the planned time limit, it synchronously updates the inspection plan data table, realizing the linkage and synchronization between task and inspection plan times, avoiding inconsistencies between plan and task time data, and ensuring data consistency. It replaces simply manually changing the time, with standardized operation and reduced data corruption caused by manual modifications. This invention achieves two-level early warning by periodically comparing the system time with the inspection task time through a timed task module, and calls the message service module to push notifications via SMS and WeChat template messages. It also supports manual triggering of push notifications, proactively reminding relevant personnel and reducing the risk of missed inspections and overdue inspections. Attached Figure Description

[0012] Figure 1 This is a flowchart illustrating the steps of an intelligent scheduling and management method for laboratory inspection tasks according to the present invention. Detailed Implementation

[0013] To provide a further understanding of the purpose, structure, features, and functions of the present invention, detailed descriptions are provided below with reference to specific embodiments.

[0014] A laboratory inspection task intelligent scheduling and management system, the system includes an inspection plan management module, an inspection task management module, an inspection result management module, a timed task module, a message service module, and a file processing module; The inspection plan management module is used to receive inspection plan configuration information, verify the legality of the configuration information, and save the various business parameters in the inspection plan configuration information to the inspection plan data table. The inspection task management module is used to create and adjust inspection tasks, control the flow and renewal of task status, receive inspection results and push status change notifications. The inspection result management module is used to store the inspection result data submitted by the inspectors, and supports managers to retrieve the review results online or offline and archive the review records in a unified manner. The scheduled task module is used to periodically retrieve inspection task data to carry out graded early warnings, encapsulate message push requests, and support manual triggering of reminder pushes. The messaging service module is used to receive push requests and send various task notifications to relevant personnel via SMS and WeChat template messages. The file processing module is used to generate Word and PDF inspection reports based on inspection business data, and provides report preview, single and batch download functions.

[0015] Please refer to the reference. Figure 1 The present invention also proposes an intelligent scheduling and management method for laboratory inspection tasks, comprising the following steps: S1: Receive the inspection plan configuration information and populate it into the corresponding storage field of the data table; The inspection plan management module receives inspection plan configuration information provided by the administrator through the built-in new interface and performs a validity check on the inspection plan configuration information. The inspection plan configuration information includes business parameters such as plan ID, cycle type, customer information, plan start time, plan end time, inspection point number, and preset inspection personnel identifier; the plan ID is unique. The legality verification includes field integrity verification, time validity verification, and data format compliance verification. Specifically, field integrity verification: The parameter null value verification function built into the inspection plan management module is used to sequentially determine whether there are null values, blank characters, or other missing information in each field of the inspection plan configuration information; if any field is found to be missing, the verification fails and the process is terminated; otherwise, the time validity is verified. Time validity verification: The time verification function built into the inspection plan management module is used to verify the planned start time and planned end time in the inspection plan configuration information. Only if the text strings corresponding to the planned start time and planned end time conform to the preset standard time format and the planned start time is earlier than the planned end time, the time validity verification is deemed to be qualified, and data format compliance verification is performed; otherwise, a verification failure message is displayed and the process is terminated. Data format compliance verification: The built-in format verification function of the inspection plan management module is used to check whether each field in the inspection plan configuration information conforms to the preset specifications. If any field length exceeds the limit, contains illegal characters, or has an incorrect number format, the verification will fail and the process will be terminated; otherwise, the verification will pass. If the validity check fails, a failure message will be displayed and the process will be terminated. Conversely, if the validity check passes, the inspection plan management module will call the preset field mapping function. Based on the preset one-to-one mapping relationship between the business parameters and the storage fields in the inspection plan data table, the module will fill the specific values ​​of each business parameter in the received inspection plan configuration information into the corresponding storage fields in the inspection plan data table.

[0016] S2: Create corresponding inspection tasks based on the inspection plan configuration information; The inspection task management module receives the inspection task creation instruction, initializes and generates a blank inspection task in its built-in inspection task data table, and assigns a globally unique task ID as a unique identifier to the blank inspection task. The administrator enters the task name, task start time, and task end time on the front-end editing page corresponding to the blank inspection task; The inspection task management module reads the inspection plan configuration information stored in the inspection plan data table, obtains the plan start time and plan end time, and performs time validity verification on the entered task start time and task end time. If the task start time is earlier than the plan start time, or the task end time is later than the plan end time, the verification is deemed to have failed and the current inspection task creation process is terminated; otherwise, the verification is successful. Associate the inspection point numbers contained therein with the current blank inspection task; select the corresponding inspection personnel based on the preset inspection personnel identifier in the inspection plan configuration information (the administrator can also re-specify the inspection personnel according to the actual inspection needs) to obtain the corresponding selected inspection personnel identifier. The pre-configured task status of inspection tasks includes not started, pending inspection, in progress, submitted, and completed. The default initial task status after the inspection task is created is not started. The inspection task management module calls a preset field mapping function. Based on the one-to-one correspondence between the various data of the inspection task and the various stored fields in the inspection task data table, it writes the task ID, task name, task start time, task end time, inspection point number, selected inspection personnel identifier, and task status into the corresponding fields of the current blank inspection task in the inspection task data table. It also stores the plan ID in the inspection plan configuration information into the corresponding data table field. The association between the inspection task and the inspection plan is established through the plan ID, thus completing the creation of the inspection task.

[0017] S3: Receive instructions for adjusting newly added inspection personnel and dynamically adjust the inspection personnel; The inspection task management module receives an instruction to adjust the selection of new inspection personnel for an inspection task. The instruction to adjust the selection of new inspection personnel includes the task ID of the target inspection task and the identifier of the newly selected inspection personnel. Based on the task ID, the original list of selected inspection personnel identifiers corresponding to the target inspection task is read from the inspection task data table. The newly added selected inspection personnel identifiers are saved to the original list of selected inspection personnel identifiers and deduplication is performed to obtain the updated list of selected inspection personnel identifiers. The preset field mapping function is then called to overwrite the selected inspection personnel identifier field corresponding to the target inspection task with the updated list of selected inspection personnel identifiers. Compare the updated list of selected inspection personnel identifiers with the original list of selected inspection personnel identifiers. If the contents of the two lists are inconsistent, it is determined that the task assignment personnel have changed. The task confirmation data that has been retained under the target inspection task is cleared, and the staff corresponding to the updated selected inspection personnel reconfirm the inspection task. Otherwise, proceed to step S4.

[0018] S4: Task status transition management; The inspection task management module calls the system's built-in time reading interface to obtain the current system time in real time. It compares the current system time with the task start time of the inspection task. If the current system time reaches the task start time of the inspection task, it calls the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "to be inspected". When the inspection task management module receives the task execution instruction initiated by the selected inspection personnel bound to the inspection task, it calls the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "in inspection". When the inspection task management module receives an instruction from the selected inspection personnel bound to the inspection task to upload and submit the inspection results, it calls the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "submitted". Furthermore, the administrator can issue a manual modification command for the task status. After receiving the command, the inspection task management module calls the preset field mapping function to reassign the task status of the corresponding inspection task in the inspection task data table, thereby realizing the manual update of the task status. Whenever the status of any inspection task changes, the latest task status information is pushed to the corresponding staff member based on the selected inspection personnel ID bound to the inspection task.

[0019] S5: Perform task renewal processing; When it is necessary to extend the inspection task, the selected inspection personnel or administrator submits the inspection task extension application instruction through the front end. The instruction includes the new start time, the new end time and the reason for extension. The inspection task management module calls a preset field mapping function to set the historical renewal record corresponding to the inspection task in the data table used to store the renewal information related to the inspection task to an unavailable state; and writes the task ID, new start time, new end time and renewal reason corresponding to the inspection task into the data table to generate a new renewal record. The system calls a preset field mapping function to update the task end time of the inspection task in the inspection task data table to the new end time; and retrieves the planned end time from the inspection plan configuration information associated with the inspection task based on the plan ID, compares the new end time with the planned end time, and if the new end time exceeds the planned end time, updates the planned end time of the inspection plan in the inspection plan data table to the new end time; otherwise, it does not modify the planned end time. Call the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "to be executed".

[0020] S6: Enter and submit the inspection results; The selected inspectors bound to the inspection task enter the inspection results of this inspection task through the front end. The inspection results include on-site inspection photos, the inspection status of each inspection item, the problem description and handling suggestions for abnormalities. The inspection status includes normal and abnormal; After the inspection results are entered, an inspection result submission instruction is issued. After receiving the instruction, the inspection task management module writes the relevant content of the inspection results into the data table in the inspection result management module used to store inspection result information, and triggers the inspection result review. S7: Review and approve inspection results; Managers retrieve submitted inspection results from the inspection result management module via the front end, compare the on-site inspection photos, inspection status of each inspection item, descriptions of problems and handling suggestions corresponding to anomalies in the inspection results with the pre-configured inspection item standards of the inspection tasks, and select whether to approve or disapprove based on the comparison results; The inspection standards for the inspection tasks include the normal operating parameters, allowable deviation range, and anomaly judgment rules for each inspection point; If the review is approved, the inspection task management module calls the preset field mapping function to update the task status of the inspection task in the inspection task data table to "completed". If the review is rejected, the inspection task management module calls the preset field mapping function to roll back the task status of the inspection task from "submitted" to "in inspection". The inspection personnel modify and improve the entered on-site inspection photos, the inspection status of each inspection item, the problem description and handling suggestions, and then resubmit for review. Furthermore, this step configures an offline review mechanism, enabling administrators to complete the review of inspection results in offline scenarios where the network is disconnected, and temporarily store the review data on the local terminal. When the terminal re-establishes the network connection, all locally cached review data is synchronously uploaded to the server-side data table corresponding to the inspection result management module for unified archiving and storage.

[0021] S8: Timely early warnings and message pushes for inspection tasks; The scheduled task module retrieves the planned start time of each inspection task from the inspection task data table based on a preset execution cycle. It calculates the difference between the current system time and the planned start time of each task. If the difference is within a set time interval, the inspection task is determined to be a task that needs to be reminded and is about to start. The time interval includes a first reminder period and a second reminder period, wherein the time interval of the first reminder period is longer than that of the second reminder period (e.g., the first reminder period is three days and the second reminder period is one day). When the inspection task is determined to be in the first reminder period, the recipient information corresponding to the inspection task is obtained through the noticeCreater component, and the recipient is the task creator; when the inspection task is determined to be in the second reminder period, the recipient information corresponding to the inspection task is obtained through the noticeCreaterAndWorker component, and the recipient is the task creator and the relevant task execution personnel. The scheduled task module encapsulates the received personnel information, reminder text content, and task ID to generate a message push request; it remotely calls the message service module through the MessageServerFeign component; the message service module receives the message push request, calls the built-in message push interface, and sends task reminder notifications to the recipients through channels such as SMS and WeChat template messages; Furthermore, administrators can issue operation commands through the front end to manually trigger the scheduled task module to instantly execute the acquisition of inspection-related data, time difference determination, and message push.

[0022] S9: Generate inspection task report; The user selects the completed inspection task on the front end and sends a report-related operation request; the file processing module retrieves the business data of the corresponding inspection task, including the task ID, inspection results, etc.; the file processing module calls the built-in poi-tl template rendering component to fill the business data into the preset inspection report Word template and generate the corresponding task's Word format inspection report. Furthermore, the generated Word format inspection report is converted into a PDF format inspection report using the jodconverter tool; The generated inspection report is associated with the corresponding task ID and stored. When the front end sends a report query or download request, the corresponding inspection report is retrieved based on the task ID carried in the request and fed back to the front end. Furthermore, for online preview requests: the inspectionTask / preview interface is called to read the converted PDF inspection report stream and return it to the front end, enabling direct online viewing of the report; For single-task download requests: Call the download interface and return a single inspection report in Word or PDF format to the front end based on the task ID; For multi-task batch download requests: Generate a Word / PDF format inspection report for each task, integrate and compress the inspection reports into a ZIP archive, call the downloadZip interface to output the archive, and realize the one-time batch download of multi-task reports.

[0023] The present invention has been described in the above-described embodiments; however, these embodiments are merely examples for implementing the present invention. It must be noted that the disclosed embodiments do not limit the scope of the present invention. Conversely, any modifications and refinements made without departing from the spirit and scope of the present invention are within the scope of patent protection of the present invention.

Claims

1. A method for intelligent scheduling and management of laboratory inspection tasks, characterized in that: Includes the following steps: S1: Receive the inspection plan configuration information and populate it into the corresponding storage field of the data table; The inspection plan management module receives inspection plan configuration information provided by the administrator through the built-in new interface and performs a validity check on the inspection plan configuration information. After successful verification, the various business parameters in the received inspection plan configuration information will be filled into the corresponding storage fields of the inspection plan data table; S2: Create corresponding inspection tasks based on the inspection plan configuration information; The inspection task management module receives the inspection task creation instruction and executes it within its built-in inspection task... A blank inspection task is generated in the data table and a globally unique task ID is assigned to the blank inspection task as a unique identifier. Store the plan ID from the inspection plan configuration information into the corresponding data table field. Establish the association between the inspection task and the inspection plan using the plan ID, and complete the creation of the inspection task; S3: Receive instructions for adjusting newly added inspection personnel and dynamically adjust the inspection personnel; The inspection task management module receives information on adding new inspection tasks and adjusting selected inspection personnel. The instruction updates the list of originally selected patrol personnel identifiers in the patrol task data table. S4: Task status transition management; By comparing system time, receiving task execution and inspection result submission instructions, and through pre- Set up a field mapping function to automatically update the task status to pending inspection, in inspection, and submitted, respectively. S5: Perform task renewal processing; S6: Enter and submit the inspection results; The selected inspectors, whose inspection tasks are linked to the front end, enter the inspection information for this task. The inspection results are recorded in the data table in the inspection result management module, which stores the inspection result information, and the inspection result review is triggered. S7: Review and approve inspection results; S8: Timely early warnings and message pushes for inspection tasks; S9: Generate inspection task report.

2. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S1, the inspection plan configuration information includes plan ID, cycle type, customer information, plan start time, plan end time, inspection point number, and preset inspection personnel identifier; the plan ID is unique. If the validity check fails, a verification failure message will be displayed and the process will be terminated. Conversely, if the validity check passes, the inspection plan management module calls the preset field mapping function. Based on the preset one-to-one mapping relationship between the business parameters and each storage field in the inspection plan data table, the module fills the specific values ​​of each business parameter in the received inspection plan configuration information into the corresponding storage fields of the inspection plan data table.

3. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S2, the administrator enters the task name, task start time, and task end time on the front-end editing page corresponding to the blank inspection task; The inspection task management module reads the inspection plan configuration information stored in the inspection plan data table, obtains the plan start time and plan end time, and performs time validity verification on the entered task start time and task end time. If the task start time is earlier than the plan start time, or the task end time is later than the plan end time, the verification is deemed to have failed, and the current inspection task creation process is terminated. Conversely, the verification passes. Associate the inspection point numbers contained therein with the current blank inspection task; Select the corresponding inspector based on the preset inspector identifier in the inspection plan configuration information, and obtain the corresponding selected inspector identifier. The pre-configured task status of inspection tasks includes not started, pending inspection, in progress, submitted, and completed. The default initial task status after the inspection task is created is not started. The inspection task management module calls a preset field mapping function, based on various data of the inspection task. Based on the pre-defined one-to-one correspondence between each storage field in the inspection task data table, the task ID, task name, task start time, task end time, inspection point number, selected inspection personnel identifier, and task status are written into the corresponding fields of the current blank inspection task in the inspection task data table.

4. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S3, the newly added inspection personnel adjustment instruction includes the target inspection task. Service ID and newly added selected inspection personnel identifier; Based on the task ID, the original list of selected inspection personnel identifiers corresponding to the target inspection task is read from the inspection task data table. The newly added selected inspection personnel identifiers are saved to the original list of selected inspection personnel identifiers and deduplication is performed to obtain the updated list of selected inspection personnel identifiers. The preset field mapping function is then called to overwrite the selected inspection personnel identifier field corresponding to the target inspection task with the updated list of selected inspection personnel identifiers. Compare the updated list of selected inspection personnel identifiers with the original list of selected inspection personnel identifiers. If the contents of the two lists are inconsistent, it is determined that the task assignment personnel have changed. The task confirmation data that has been retained under the target inspection task is cleared, and the staff corresponding to the updated selected inspection personnel reconfirm the inspection task. Otherwise, proceed to step S4.

5. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S5, when it is necessary to renew the inspection task, the selected inspection personnel or administrator submits the inspection task renewal application instruction through the front end. The instruction includes the new start time, the new end time and the reason for renewal. The inspection task management module calls a preset field mapping function to set the historical renewal record corresponding to the inspection task in the data table used to store the renewal information related to the inspection task to an unavailable state; and writes the task ID, new start time, new end time and renewal reason corresponding to the inspection task into the data table to generate a new renewal record. The system calls a preset field mapping function to update the task end time of the inspection task in the inspection task data table to the new end time; and retrieves the planned end time from the inspection plan configuration information associated with the inspection task based on the plan ID, compares the new end time with the planned end time, and if the new end time exceeds the planned end time, updates the planned end time of the inspection plan in the inspection plan data table to the new end time; otherwise, it does not modify the planned end time. Call the preset field mapping function to reassign the task status corresponding to the inspection task in the inspection task data table to "to be executed".

6. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S7, the inspection results include on-site inspection photos, the inspection status of each inspection item, the problem description and handling suggestions for any abnormalities; Managers retrieve submitted inspection results from the inspection result management module via the front end, compare the on-site inspection photos, inspection status of each inspection item, descriptions of problems and handling suggestions corresponding to anomalies in the inspection results with the pre-configured inspection item standards of the inspection tasks, and select whether to approve or disapprove based on the comparison results; If the review is approved, the inspection task management module calls the preset field mapping function to update the task status of the inspection task in the inspection task data table to "completed". If the review is rejected, the inspection task management module calls the preset field mapping function to roll back the task status of the inspection task from "submitted" to "in inspection". The inspection personnel then modify and improve the entered on-site inspection photos, the inspection status of each inspection item, the problem description and handling suggestions, and resubmit for review.

7. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S8, the scheduled task module retrieves the planned start time of each inspection task from the inspection task data table based on a preset execution cycle, calculates the difference between the current system time and the planned start time of the task, and determines that the inspection task is a task to be reminded and about to start when the difference is within the set time interval; the time interval includes a first reminder period and a second reminder period, wherein the time interval of the first reminder period is longer than that of the second reminder period; When the inspection task is determined to be in the first reminder period, the recipient information corresponding to the inspection task is obtained through the noticeCreater component, and the recipient is the task creator; when the inspection task is determined to be in the second reminder period, the recipient information corresponding to the inspection task is obtained through the noticeCreaterAndWorker component, and the recipient is the task creator and the relevant task execution personnel. The scheduled task module encapsulates the received personnel information, reminder text content, and task ID into a message push request; it remotely calls the message service module through the MessageServerFeign component; the message service module receives the message push request, calls the built-in message push interface, and sends task reminder notifications to the recipients through SMS and WeChat template messages.

8. The intelligent scheduling and management method for laboratory inspection tasks as described in claim 1, characterized in that: In step S9, the user checks the box indicating that the inspection task has been completed on the front end and sends a report-related operation request. The file processing module retrieves the business data for the corresponding inspection task. The file processing module calls the built-in poi-tl template rendering component to fill the business data into the preset inspection report Word template and generate the corresponding task's Word format inspection report. The generated inspection reports are associated with and stored with the corresponding task IDs. When the front end sends a report query or download request, the corresponding inspection report is retrieved based on the task ID carried in the request and fed back to the front end.