Map entry task processing method and device, and electronic equipment

By combining proactive triggering and a buffer task pool, map entry tasks are dynamically scheduled, solving the problem of unreasonable resource scheduling in existing technologies and achieving efficient processing of map entry tasks.

CN123157478APending Publication Date: 2026-11-24NAVINFO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611342141.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, the triggering and scheduling of map entry tasks adopts a passive triggering + static concurrency mode, which leads to unreasonable resource scheduling and affects processing efficiency.

Method used

By obtaining the difference between the number of pending tasks and the desired number of tasks, tasks are proactively triggered and placed into the buffer task pool. Combined with a timed triggering strategy, tasks are dynamically scheduled for execution to avoid task pool depletion or backlog, thus achieving on-demand replenishment and stable consumption.

Benefits of technology

It significantly improves the processing efficiency of map data entry tasks, avoids resource waste and concurrent impacts, and ensures the stability and efficiency of task processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157478A_ABST
    Figure CN123157478A_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, and electronic device for processing map entry tasks. The method involves obtaining the difference between the real-time number of tasks in the pending task pool and the desired number of tasks. The pending task pool is an area in the Map Management System (PMS) used to store successfully entered map element entry tasks awaiting application by operators. Tasks corresponding to the task quantity difference are identified from the task source and placed into a buffer task pool. The task source contains multiple map element entry tasks that have not yet been entered. The pending tasks in the buffer task pool are executed according to a preset timed triggering strategy. Applying this technical solution can improve the processing efficiency of map entry tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of map processing technology, and in particular to a method, apparatus and electronic device for processing map input tasks. Background Technology

[0002] In map data production, the entry of map features is a core task. To improve entry efficiency, automated entry services are typically introduced to automatically enter map features in batches, and the entry tasks are uniformly managed and allocated by the Project Management System (PMS).

[0003] In existing technologies, the triggering and scheduling of automatic data entry tasks generally adopt a passive triggering + static concurrency mode, that is, the automatic data entry service passively waits for the upstream to send out tasks, and the number of concurrency is usually statically configured with a fixed threshold.

[0004] However, the passive triggering of map entry tasks under the above method can easily lead to unreasonable resource scheduling for entry tasks, affecting the processing efficiency of map entry tasks. Summary of the Invention

[0005] This application provides a method, apparatus, and electronic device for processing map entry tasks, in order to achieve the technical effect of improving the processing efficiency of map entry tasks.

[0006] In a first aspect, embodiments of this application provide a method for processing map input tasks, including:

[0007] Get the difference between the real-time number of tasks in the pending task pool and the expected number of tasks. The pending task pool is the area in PMS used to store map element entry tasks that have been successfully entered and are waiting for operators to apply for them.

[0008] The task to be supplemented corresponding to the difference in the number of tasks is determined from the task source and placed into the buffer task pool. The task source contains multiple map element input tasks that have not yet been entered.

[0009] According to the preset timed triggering strategy, the tasks to be executed in the buffer task pool are executed.

[0010] In one or more embodiments, the timed triggering strategy includes: determining the corresponding maximum number of concurrent connections based on a preset time period to which the current time belongs;

[0011] Accordingly, executing the tasks to be executed in the buffer task pool according to the preset timed triggering strategy includes:

[0012] Locking is applied to the current scheduling process using a scheduler-level distributed lock to prevent re-entry of the scheduler.

[0013] Get the first number of data entry tasks that are in the Job creation and / or execution start state;

[0014] The number of requests that can be replenished in this round is determined based on the maximum concurrent number and the first number; if the number of requests that can be replenished in this round is less than 1, then this round of scheduling is skipped.

[0015] Based on the quantity that can be replenished this time, the task to be executed is determined in the buffer task pool and then executed.

[0016] In one or more embodiments, executing the task to be executed includes:

[0017] A Job is created for the task to be executed using a work order-level distributed lock, and the task to be executed is marked as a Job creation state;

[0018] Upon successful creation of the Job and its commencement, the task to be executed is marked as having commenced execution, and the task to be executed is entered based on the Job.

[0019] If the entry is successful, the task to be executed is marked as successfully entered and placed in the task pool to be applied for; if the entry fails, the task to be executed is marked as failed and an error message is attached.

[0020] Release the work order-level distributed lock.

[0021] In one or more embodiments, the step of entering the task to be executed based on the Job includes:

[0022] Perform the following operations on the task to be executed: prioritize the element types in the task to be executed, query the elements to be processed, filter and skip duplicate elements based on the entered records, perform parameter validation, call the corresponding process to perform entry and persistence, and update the element status.

[0023] In one or more embodiments, determining the task to be supplemented corresponding to the task quantity difference from the task source and placing it into the buffer task pool includes:

[0024] Filter out the number of tasks to be supplemented from the task source, as indicated by the task quantity difference;

[0025] For each task to be supplemented, the task parameters for that task are issued.

[0026] Based on the task parameters, the task to be supplemented is cached in the buffer task pool with a received status, and a receipt is issued.

[0027] In one or more embodiments, the task parameters include: task space range;

[0028] Accordingly, the step of caching the task to be supplemented in the buffer task pool in a received state according to the task parameters includes:

[0029] The task space range is converted into the set of map sheets covered, and then expanded outward by one ring of adjacent map sheets;

[0030] The expanded map set is cached in the buffer task pool along with the supplementary task in a received state.

[0031] In one or more embodiments, the step of filtering out the number of tasks to be supplemented from the task source, as indicated by the task quantity difference, includes:

[0032] If a priority entry project name is preset, then the entry task corresponding to the priority entry project name will be selected from the task source.

[0033] If the number of input tasks corresponding to the priority input project name is greater than or equal to the difference in the number of tasks, then the number of supplementary tasks indicated by the difference in the number of tasks is determined from it.

[0034] If the number of data entry tasks corresponding to the priority data entry project name is less than the difference in the number of tasks, then all data entry tasks corresponding to the priority data entry project name will be treated as tasks to be supplemented, and the missing part will be supplemented from the remaining data entry tasks.

[0035] Secondly, embodiments of this application provide a processing apparatus for map input tasks, comprising:

[0036] The acquisition module is used to obtain the difference between the number of real-time tasks and the expected number of tasks in the task pool to be applied for. The task pool to be applied for is the area in PMS used to store map element entry tasks that have been successfully entered and are waiting for operators to apply for them.

[0037] The determination module is used to determine the tasks to be supplemented corresponding to the difference in the number of tasks from the task source and put them into the buffer task pool. The task source contains multiple map element input tasks that have not yet been entered.

[0038] The processing module is used to execute the tasks to be executed in the buffer task pool according to the preset timed triggering strategy.

[0039] In one or more embodiments, the timed triggering strategy includes: determining the corresponding maximum number of concurrent connections based on a preset time period to which the current time belongs;

[0040] Accordingly, the processing module executes the tasks to be executed in the buffer task pool according to a preset timed triggering strategy, specifically for:

[0041] Locking is applied to the current scheduling process using a scheduler-level distributed lock to prevent re-entry of the scheduler.

[0042] Get the first number of data entry tasks that are in the Job creation and / or execution start state;

[0043] The number of requests that can be replenished in this round is determined based on the maximum concurrent number and the first number; if the number of requests that can be replenished in this round is less than 1, then this round of scheduling is skipped.

[0044] Based on the quantity that can be replenished this time, the task to be executed is determined in the buffer task pool and then executed.

[0045] In one or more embodiments, the processing module executes the task to be executed, specifically for:

[0046] A Job is created for the task to be executed using a work order-level distributed lock, and the task to be executed is marked as a Job creation state;

[0047] Upon successful creation of the Job and its commencement, the task to be executed is marked as having commenced execution, and the task to be executed is entered based on the Job.

[0048] If the entry is successful, the task to be executed is marked as successfully entered and placed in the task pool to be applied for; if the entry fails, the task to be executed is marked as failed and an error message is attached.

[0049] Release the work order-level distributed lock.

[0050] In one or more embodiments, the processing module, based on the Job, inputs the task to be executed, specifically for:

[0051] Perform the following operations on the task to be executed: prioritize the element types in the task to be executed, query the elements to be processed, filter and skip duplicate elements based on the entered records, perform parameter validation, call the corresponding process to perform entry and persistence, and update the element status.

[0052] In one or more embodiments, the determining module determines the tasks to be supplemented corresponding to the task quantity difference from the task source and puts them into a buffer task pool, specifically for:

[0053] Filter out the number of tasks to be supplemented from the task source, as indicated by the task quantity difference;

[0054] For each task to be supplemented, the task parameters for that task are issued.

[0055] Based on the task parameters, the task to be supplemented is cached in the buffer task pool with a received status, and a receipt is issued.

[0056] In one or more embodiments, the task parameters include: task space range;

[0057] Accordingly, the determining module, based on the task parameters, caches the task to be supplemented in the buffer task pool as received, specifically for:

[0058] The task space range is converted into the set of map sheets covered, and then expanded outward by one ring of adjacent map sheets;

[0059] The expanded map set is cached in the buffer task pool along with the supplementary task in a received state.

[0060] In one or more embodiments, the determining module filters out the number of tasks to be supplemented indicated by the task quantity difference from the task source, specifically for:

[0061] If a priority entry project name is preset, then the entry task corresponding to the priority entry project name will be selected from the task source.

[0062] If the number of input tasks corresponding to the priority input project name is greater than or equal to the difference in the number of tasks, then the number of supplementary tasks indicated by the difference in the number of tasks is determined from it.

[0063] If the number of data entry tasks corresponding to the priority data entry project name is less than the difference in the number of tasks, then all data entry tasks corresponding to the priority data entry project name will be treated as tasks to be supplemented, and the missing part will be supplemented from the remaining data entry tasks.

[0064] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0065] The memory stores computer-executed instructions;

[0066] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0067] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0068] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0069] This application provides a method, apparatus, and electronic device for processing map entry tasks. The method obtains the difference between the real-time number of tasks in the pending task pool and the desired number of tasks. The pending task pool is an area in the PMS (Planner Management System) used to store successfully entered map element entry tasks awaiting application by operators. Tasks corresponding to the task quantity difference are identified from the task source and placed into a buffer task pool. The task source contains multiple map element entry tasks that have not yet been entered. Tasks in the buffer task pool are executed according to a preset timed triggering strategy. In this technical solution, tasks are proactively triggered based on the inventory difference in the pending task pool, transforming passive waiting into proactive supply, achieving on-demand replenishment, and avoiding task pool depletion or backlog. Peak shaving and queuing of triggered tasks are achieved through an independent buffer task pool, avoiding instantaneous concurrent impacts. Dynamic scheduling of execution through a timed triggering strategy can achieve valley filling and stable consumption, thereby significantly improving the processing efficiency of map entry tasks. Attached Figure Description

[0070] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0071] Figure 1 A schematic diagram of the structure of the map entry task processing system provided in this application;

[0072] Figure 2 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 1 ;

[0073] Figure 3 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 2 ;

[0074] Figure 4 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 3 ;

[0075] Figure 5 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 4 ;

[0076] Figure 6 A schematic diagram of the structure of the processing device for the map input task provided in this application;

[0077] Figure 7 A schematic diagram of the structure of the electronic device provided in this application.

[0078] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0079] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0080] In traditional map data processing scenarios, point cloud and photo data collected in the field are identified and marked by artificial intelligence (AI). Then, manual clicking is required to trigger an automatic data entry task to write the marked data into the database in batches.

[0081] In other words, in the current map data processing, the triggering and execution of automatic data entry tasks rely on a passive triggering + static concurrent mode. Specifically, after the field data collection is completed, AI identifies and generates tags and forms small batch tasks. Operators need to manually click the button or wait for the task to be automatically triggered, and then directly create a Job and perform the data entry operation.

[0082] However, the following problems often exist in the above process:

[0083] 1) Creating a Job immediately after an input task arrives leads to excessively high instantaneous concurrency, causing database connections, CPU and other resources to be preempted, resulting in service response delays or even crashes;

[0084] 2) The supply of data entry tasks relies entirely on manual or front-end actions, and cannot be dynamically adjusted according to the load, resulting in uneven resource utilization.

[0085] 3) The lack of a task priority scheduling mechanism may cause critical tasks to be blocked by ordinary tasks;

[0086] 4) The task execution status cannot be synchronized to the upstream system in real time, making it difficult to locate the problem;

[0087] 5) In distributed deployment or multi-instance scenarios, repeatedly triggering tasks can easily lead to data consistency issues.

[0088] To address the technical problems existing in the prior art, the technical concept of the solution in this application is as follows: In the prior art, the automatic data entry service passively waits for tasks to be issued, and the number of concurrent tasks is fixed, resulting in a mismatch between task supply and consumption. If the PMS can actively monitor the inventory of the downstream task pool and precisely trigger the required number of automatic data entry tasks according to the difference between the expected task volume and the current task volume, the passive waiting can be transformed into active supply, realizing on-demand replenishment and avoiding task pool depletion or backlog. If an independent buffer task pool can be introduced on the automatic data entry service side, allowing all triggered tasks to be queued in the pool first to smooth out peaks, and then the scheduled tasks can dynamically retrieve tasks from the buffer pool according to a preset triggering strategy to fill the valleys, the upstream concurrent impact can be isolated from the architecture, ensuring that the consumption rate always matches the system load, thereby improving the task processing efficiency.

[0089] and then, Figure 1 A schematic diagram of the structure of the map data entry task processing system provided in this application is shown below. Figure 1 As shown, the map entry task processing system includes: PMS and automatic entry service (e.g., Robot service).

[0090] The PMS communicates with the automatic data entry service through a message queue (MQ) or an interface. The automatic data entry service consists of a task receiving module, a buffer task pool, a dynamic concurrent scheduling module, a job execution module, and a status feedback module.

[0091] The buffer task pool can be implemented as a database table (e.g., the pre_robot_task table) to store input tasks that have been triggered but have not yet been scheduled for execution.

[0092] The above is only a brief introduction to the system architecture involved in the embodiments of this application. The following is a detailed description of the technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems using specific embodiments.

[0093] The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0094] Figure 2 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 1 ,like Figure 2 As shown, the method includes:

[0095] Step 21: Obtain the difference between the number of real-time tasks in the task pool and the expected number of tasks;

[0096] Among them, the pending task pool is the area in PMS used to store map feature entry tasks that have been successfully entered and are waiting for operators to apply for them.

[0097] In this step, the number of real-time tasks in the task pool to be applied for is periodically monitored, and the number of real-time tasks is compared with the preset expected number of tasks. The difference between the number of real-time tasks and the expected number of tasks is calculated, and the difference is the number of additional data entry tasks that need to be added.

[0098] For example, the expected number of tasks can be configured by the administrator on the PMS front end (e.g., the baseline task page), for example, the default configuration is 100; it can also be dynamically adjusted according to business needs. The monitoring cycle can be set according to business needs, such as monitoring once per minute.

[0099] As an example, PMS starts a scheduled task to periodically query the current number of tasks in the task pool to be requested and calculate the difference N between the expected number of tasks and the current number of tasks.

[0100] When N is greater than 0, it means that the pool of tasks to be applied for is insufficient and N tasks need to be added; when N is less than or equal to 0, it means that the pool is sufficient or has exceeded expectations, and no new tasks need to be triggered in this round, that is, no subsequent operations will be performed.

[0101] Step 22: Identify the tasks to be supplemented corresponding to the task quantity difference from the task source and put them into the buffer task pool;

[0102] Among them, the task source contains multiple map element entry tasks that have not yet been entered;

[0103] In this step, when the number of tasks to be supplemented corresponding to the difference in the number of tasks to be supplemented is calculated, the corresponding number of tasks to be supplemented are selected from the task source and placed into the buffer task pool to queue for execution.

[0104] By using an independent buffer task pool, a large number of tasks triggered instantaneously from upstream can be cached in advance, preventing the tasks from directly impacting the relevant modules being executed.

[0105] As an example, the task source can be a set of tasks to be triggered maintained in the PMS, where each task is associated with parameters such as work order number, feature type, task spatial range, and task tag.

[0106] After selecting N tasks from the task source, the task parameters are sent to the automatic entry service via a message queue. After receiving the task, the automatic entry service writes the task into the buffer task pool (e.g., the pre_robot_task table) with the status of "received".

[0107] Step 23: Execute the tasks to be executed in the buffer task pool according to the preset timed triggering strategy.

[0108] In this step, an independent timed scheduling task is started. According to the preset timed triggering strategy, the task to be executed is retrieved from the buffer task pool and the data entry operation is performed.

[0109] As an example, a timed triggering strategy can be used to ensure that the consumption rate of tasks always matches the real-time load. That is, when the load is low, tasks are continuously retrieved from the buffer pool for execution, and the number of tasks released is automatically reduced when the load is high.

[0110] The map entry task processing method provided in this application embodiment obtains the task quantity difference between the real-time task quantity and the expected task quantity in the pending task pool. The pending task pool is an area in the Project Management System (PMS) used to store successfully entered map element entry tasks awaiting application by operators. Tasks corresponding to the task quantity difference are identified from the task source and placed into a buffer task pool. The task source contains multiple map element entry tasks that have not yet been entered. Tasks awaiting execution in the buffer task pool are executed according to a preset timed triggering strategy. In this technical solution, tasks are proactively triggered based on the inventory difference in the pending task pool, transforming passive waiting into proactive supply, achieving on-demand replenishment, and avoiding task pool depletion or backlog. Peak shaving and queuing of triggered tasks are achieved through an independent buffer task pool, avoiding instantaneous concurrent impacts. Dynamic scheduling of execution through a timed triggering strategy can achieve valley filling and stable consumption, thereby significantly improving the processing efficiency of map entry tasks.

[0111] Based on the above embodiments, the timed triggering strategy includes: determining the corresponding maximum number of concurrent connections based on the preset time period to which the current time belongs.

[0112] Correspondingly, Figure 3 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 2 ,like Figure 3 As shown, step 23 may include:

[0113] Step 31: Lock the current scheduling process using a scheduler-level distributed lock to prevent re-entry of the scheduler;

[0114] In this step, when the current scheduling task starts, we can first try to acquire the scheduling-level distributed lock; where scheduling can be: according to the timed triggering strategy, select the task to be executed from the buffer task pool and create a Job, and execute the entry in one round of complete process; each time the timed triggering strategy is triggered, it corresponds to one scheduling, which is recorded as this scheduling (or this round of scheduling); two adjacent triggers correspond to the previous round of scheduling and the next round of scheduling, respectively.

[0115] If the retrieval is successful, the current round of scheduling tasks will be executed; if the retrieval fails, it means that the previous round of scheduling tasks has not yet ended, and the current round will be skipped.

[0116] As an example, a scheduler-level distributed lock can be implemented based on Redis, and the lock key can be BATCH_ROBOT_TASK_KEY.

[0117] Step 32: Obtain the first number of data entry tasks that are in the Job creation and / or execution start state;

[0118] In this step, the number of data entry tasks currently in the Job creation and / or execution state is queried and recorded as the first number. This first number reflects the current workload of tasks being processed.

[0119] The "Create Job" status indicates that the task has been selected and an execution job has been created, but data entry has not yet started; the "Start Execution" status indicates that the task is currently performing data entry.

[0120] Step 33: Determine the number of requests that can be added this time based on the maximum concurrency and the first number; if the number of requests that can be added this time is less than 1, skip this round of scheduling.

[0121] In this step, the maximum concurrency number is read according to the preset time period to which the current time belongs. The preset time period can be divided according to business characteristics. For example, it can be divided into two time periods: day and night. The business load is lower at night, so a larger maximum concurrency number can be configured (e.g., 25). The business is busier during the day, so a smaller maximum concurrency number can be configured (e.g., 10). The maximum concurrency number can be configured by the administrator.

[0122] Then, the number of devices that can be replenished this time can be determined based on the maximum concurrency and the first number. The number of devices that can be replenished this time can be the difference between the maximum concurrency and the first number.

[0123] If the number of tasks that can be added this time is less than 1, it means that the current concurrency is full, and no new tasks will be allowed in this round, thus achieving rate limiting; if the number of tasks that can be added this time is greater than or equal to 1, then continue to the next step.

[0124] As an example, if the maximum concurrency in the current time period is 10 and the number of tasks currently in the Job creation and / or execution state is 7, then the number of tasks that can be added this time is 3, and 3 tasks can be taken from the buffer task pool for execution in this round; if the number of tasks currently executing is 10, then the number of tasks that can be added this time is 0, and the scheduling is skipped in this round.

[0125] Step 34: Based on the available replenishment quantity, determine and execute the tasks to be executed in the buffer task pool.

[0126] In this step, based on the number of tasks that can be replenished this time, the corresponding number of tasks to be executed are retrieved from the buffer task pool and entered sequentially.

[0127] Optionally, the implementation for executing the task to be executed can be:

[0128] Step 1: Create a Job for the task to be executed using a work order-level distributed lock, and mark the task to be executed as a Job created.

[0129] In this implementation, for each task to be executed retrieved from the buffer task pool, the system first attempts to acquire the work order-level distributed lock corresponding to the task. If the acquisition is successful, a Job is created for the task, and the task status is marked as Job creation status. If the acquisition fails, it means that the work order has been processed by other scheduling processes, and the task is skipped to avoid duplicate entry.

[0130] By using a work order-level distributed lock, it can be ensured that the same work order will not be created or entered repeatedly.

[0131] As an example, a work order-level distributed lock can be implemented based on Redis, using the work order number as the lock key. The lock is acquired when a job is created and released after the task is completed.

[0132] In addition, when creating a job, you can route to different job creation branches based on feature type, such as 1806, XD, New, and Normal branches, to adapt to the input needs of different feature types.

[0133] Step 2: Once the Job is successfully created and execution begins, mark the tasks to be executed as started and enter the tasks to be executed based on the Job.

[0134] In this implementation, when a job is successfully created and data entry begins, the task status is marked as started, and then the automatic data entry process for map features is executed based on the job.

[0135] The start-of-execution status marker can be used to report the task progress to the PMS, so that the PMS knows that the task has entered the data entry stage.

[0136] In this second step, based on the Job, one possible implementation for entering tasks to be executed is to perform the following operations on the tasks to be executed: prioritize the feature types in the tasks to be executed, query the features to be processed, filter and skip duplicate features based on the entered records, perform parameter validation, call the corresponding process to perform entry and persistence, and update the feature status.

[0137] As an example, the following can be done:

[0138] 1) Based on the preset priority configuration of element types, prioritize multiple element types in the task to be executed, ensuring that element types with higher importance are entered first. The priority configuration can be set by the administrator according to business needs; for element types with the same priority, the original order can be maintained.

[0139] 2) Based on the task parameters, query the unprocessed elements (e.g., mark data) within the scope of the task to obtain the list of elements that need to be entered;

[0140] 3) Query the already entered records (e.g., the mark_robot_record table), filter and skip the elements that have already been entered in the elements to be processed, so as to ensure the idempotency of the entry and avoid data redundancy or conflict caused by duplicate entry; for the skipped duplicate elements, the entered notes can be written back for subsequent query and statistics.

[0141] 4) Verify the parameters of the elements to be entered to ensure the integrity and legality of the element data and avoid entry failure due to abnormal parameters;

[0142] 5) Based on the feature type, the corresponding data entry process is invoked to perform automatic data entry and persistence operations, and the data entry results are written to the database. Different feature types can be routed to different data entry processes for processing. For example, the data entry process can be implemented as a Processor component, with one Processor corresponding to each feature type, responsible for the specific data entry logic of that type of feature.

[0143] 6) After the data entry is completed, update the status information of the elements, including: whether the data entry was successful or failed, the reason for failure, etc., so as to facilitate subsequent querying and statistics.

[0144] Step 3: If the data entry is successful, mark the task to be executed as successfully entered and add it to the task pool; if the data entry fails, mark the task to be executed as failed and attach an error message.

[0145] In this implementation, after the Job is completed, the status is marked according to the input result: if the input is successful, the task is marked as successfully input and put into the task pool for subsequent operators to apply for; if the input fails, the task is marked as failed input and accompanied by specific error information for subsequent retry or troubleshooting.

[0146] As an example, after successful entry, a success status can be sent to the PMS, which will then change the pending task from a temporary to a formal status and place it in the task pool. If entry fails, a failure status and error information can be sent to the PMS, which can then retry the failed task or mark it as an exception according to its policy.

[0147] Step 4: Release the work order-level distributed lock.

[0148] In this implementation, regardless of whether the task entry is successful or not, the work order-level distributed lock corresponding to the task to be executed must be released so that subsequent tasks with the same work order can be processed normally.

[0149] As an example, the release of the lock can be performed in the processing phase (finally block) to ensure that the lock is released even in exceptional circumstances, thus avoiding deadlock.

[0150] In addition, the finally block can also clean up the context, commit, or close the database connection to ensure the proper release of resources.

[0151] The map entry task processing method provided in this application embodiment locks the current scheduling process using a scheduler-level distributed lock to prevent re-entry of the schedule; obtains a first number of entry tasks in the Job creation and / or execution start state; determines the number of tasks that can be supplemented this time based on the maximum concurrency and the first number; if the number of tasks that can be supplemented this time is less than 1, skips this round of scheduling; and determines and executes tasks to be executed in the buffer task pool based on the number of tasks that can be supplemented this time. In this technical solution, the number of tasks to be released is dynamically determined by the feedback difference between the maximum concurrency in different time periods and the number of currently executing tasks, so that the concurrency processing capacity is dynamically adjusted with the characteristics of different time periods and the real-time load, avoiding peak overload or off-peak idleness caused by static concurrency configuration; and the scheduler-level distributed lock prevents re-entry of scheduled tasks, ensuring the uniqueness and security of the schedule.

[0152] Based on the above embodiments, Figure 4 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 3 ,like Figure 4 As shown, step 22 may include:

[0153] Step 41: Filter out the number of tasks to be supplemented from the task source, as indicated by the difference in the number of tasks.

[0154] In this step, based on the task quantity difference calculated above, the number of tasks to be supplemented indicated by the task quantity difference is selected from the task source.

[0155] The filtering process allows users to sort and select tasks based on their creation time, priority, project affiliation, and other rules.

[0156] Optionally, step 41 may include:

[0157] Step 1: If a priority entry project name is preset, then select the entry task corresponding to the priority entry project name from the task source.

[0158] Step 2: If the number of tasks corresponding to the priority entry project name is greater than or equal to the task quantity difference, then determine the number of tasks to be supplemented indicated by the task quantity difference.

[0159] In this implementation, if the number of tasks entered is greater than or equal to the difference in the number of tasks, it means that there are enough tasks under the priority entry project name. The difference in the number of tasks can be directly selected from the tasks corresponding to the priority entry project name as the tasks to be supplemented, so as to ensure that the tasks of the key projects can be processed first.

[0160] Step 3: If the number of data entry tasks corresponding to the priority data entry project name is less than the difference in the number of tasks, then all data entry tasks corresponding to the priority data entry project name will be treated as tasks to be supplemented, and the missing part will be supplemented from the remaining data entry tasks.

[0161] In this implementation, if the number of input tasks is less than the difference in the number of tasks, it means that the number of tasks under the priority input project name is insufficient. All tasks under the priority input project name can be selected as tasks to be supplemented, and the insufficient part can be supplemented from the input tasks of other projects.

[0162] Step 42: For each task to be supplemented, issue the task parameters for that task;

[0163] In this step, for each selected task to be supplemented, the task parameters for that task are sent out.

[0164] Task parameters may include information such as workOrderId, feature type, task geolocation, and task tag.

[0165] For example, the distribution method can be implemented using a message queue.

[0166] Step 43: Based on the task parameters, cache the tasks to be supplemented in the buffer task pool with the status of being received, and issue an acknowledgment of the received status.

[0167] In this step, upon receiving the task parameters, the globalization context is set, the message is parsed into a task object, and the task is written to the buffer task pool in a received state for queuing. Simultaneously, an immediate acknowledgement of the received state is sent to confirm that the task has been successfully added to the pool from the upstream.

[0168] The "received" status is the first status node in the entire lifecycle of a task, marking that the task has entered the buffer phase.

[0169] Optional, task parameters include: task space range.

[0170] Accordingly, step 43 may include:

[0171] Step 1: Convert the task space range into the set of map sheets it covers, and expand it outward by one ring of adjacent map sheets;

[0172] In this implementation, after receiving the task parameters, spatial pre-calculation is performed on the task space range carried within them:

[0173] First, the geometry of the task space is converted into a set of meshes it covers, and then this set of meshes is expanded outward by one ring of adjacent meshes.

[0174] By expanding outwards by one ring, we can ensure that subsequent data entry can fully cover the elements near the boundary of the task space, avoiding the omission of boundary elements.

[0175] Step 2: Cache the expanded map set into the buffer task pool along with the tasks to be supplemented, in a received state.

[0176] In this implementation, the expanded map sheet set obtained from spatial pre-calculation is written into the buffer task pool along with the task to be supplemented, in a received state. This allows the pre-calculated results to be used directly during subsequent job entry, enabling the data range to be locked or loaded in advance and completely, thereby improving entry efficiency and data integrity.

[0177] The map entry task processing method provided in this application involves filtering out the number of tasks to be supplemented, as indicated by the difference in the number of tasks, from the task source; issuing task parameters for each task to be supplemented; and caching the task to be supplemented in a received state to a buffer task pool based on the task parameters, and issuing a receipt confirmation. This technical solution precisely filters tasks to be supplemented based on the difference in the number of tasks, ensuring a precise match between the triggered number and the gap in the task pool, thus achieving proactive on-demand supply. Through task parameter issuance, received state caching, and receipt confirmation, reliable transmission and status traceability of tasks from triggering to pool entry are achieved, thereby ensuring the accuracy and reliability of task supply and enhancing process transparency.

[0178] Based on the above embodiments, Figure 5 A flowchart illustrating the method for processing map data entry tasks provided in this application. Figure 4 ,like Figure 5 As shown, the interaction and task flow sequence in the map task processing process includes:

[0179] The example of automatic XD feature entry demonstrates the complete interaction and timing between PMS, MQ, task receiving module (Handler, such as PmsRobotTaskHandler), buffer task pool (Pool, such as pre_robot_task table), dynamic concurrent scheduling module (Scheduler, scheduled tasks), job execution module (such as XDRobotJob), and database (DB).

[0180] The following section categorizes data flow and processing sequence. Figure 5 The complete implementation process shown is explained in detail below:

[0181] Step 501: PMS Configuration and Status Monitoring.

[0182] The PMS administrator configures the expected number of tasks to be assigned (e.g., 100 by default) and the optional priority to automatically enter project names on the front end (e.g., the base task page). The PMS starts a scheduled task to periodically monitor the current number of tasks in the task pool to be applied for and calculates the difference between it and the expected number of tasks (i.e., the number of tasks N to be added). The difference N is equal to the expected number minus the current number.

[0183] Step 502: PMS is triggered proactively as needed.

[0184] When it is calculated that N additional tasks need to be added, PMS will accurately send N task parameters (workOrderId, type, task space range, taskTag, etc.) through MQ to ensure that the number of triggers precisely matches the difference.

[0185] If automatic entry of project name is configured, PMS will prioritize triggering tasks for that project; if the number of tasks for that project is less than N, it will trigger all tasks for that project and then supplement the missing tasks from the remaining tasks.

[0186] Step 503: The task receiving module listens for received messages.

[0187] The message handler (PmsRobotTaskHandler) of the automatic data entry service listens for and receives trigger messages. Upon receiving a message, it first sets the globalization context and then parses the message into a task object.

[0188] Step 504: Spatial pre-calculation.

[0189] The task receiving module performs spatial pre-calculation on the task spatial range taskGeo: it geometrically converts the range into a set of covered map sheets (mesh), and expands outward by one ring of adjacent map sheets (expanding outward by 1 ring). The expanded map sheet set is prepared to be stored in the database along with the task, so that the data range can be locked or loaded in advance and completely during subsequent data entry, avoiding the omission of boundary features.

[0190] Step 505: Drop the contents into the buffer pool.

[0191] The task receiving module writes tasks into the buffer task pool (pre_robot_task table) in a received (RECEIVED) state for queuing. All triggered tasks are queued in the pool first, thereby smoothing out the instantaneous peak from upstream.

[0192] Step 506: Receipt received status.

[0193] After a task is successfully entered into the pool, the task receiving module immediately sends a confirmation to the PMS that the task has been received / entered into the buffer pool, so that the PMS can confirm that the task has successfully entered the buffering stage.

[0194] Step 507: Schedule-level distributed lock for re-entry prevention.

[0195] The automatic data entry service starts a separate scheduled task (configurable via cron, e.g., once per minute). When the scheduled task starts, it first locks the entire scheduling process with a Redis distributed lock (BATCH_ROBOT_TASK_KEY) to ensure that the current round is not re-entered if the previous round has not ended. If acquiring the lock fails, the current round of scheduling is skipped.

[0196] Step 508: Verify the main switch and read the time-segmented concurrent configuration.

[0197] After successfully acquiring the lock, the scheduling module checks whether the main switch is turned on. If the main switch is off, no scheduling will be performed in this round; if it is on, the time-segmented concurrency configuration is read, and day / night is determined based on the current time, and the corresponding maximum concurrency is retrieved (e.g., 25 for fast mode at night and 10 for slow mode during day, both of which can be configured).

[0198] Step 509: Query the number of tasks in execution.

[0199] The scheduling module queries the number of tasks currently in the Job creation / start-of-execution state.

[0200] Step 510: Calculate the amount that can be replenished.

[0201] The scheduling module calculates the number of tasks that can be added this time. This number is equal to the maximum concurrency minus the number of tasks currently executing (e.g., 10 minus 7 equals 3). If the result is less than 1, it means that the concurrency is full, and no task is allowed in this round (implementing rate limiting), and this round of scheduling is skipped; if the result is greater than or equal to 1, the next step is continued.

[0202] Step 511: Retrieve the task to be executed.

[0203] When the number of available tasks is greater than or equal to 1, the scheduling module retrieves the corresponding number of tasks to be executed from the buffer task pool according to the number of available tasks.

[0204] Step 512: Create a Job.

[0205] The scheduling module invokes the Job creation logic for each retrieved task to be executed, routing it to different Job creation branches based on feature type (e.g., 1806, XD, New, Normal, etc.). During Job creation, a work order-level Redis lock is used to prevent duplicate entries of the same work order. Upon successful Job creation, the task status is updated to "Job Creating"; if creation fails, an exception is received and the task is marked as an exception.

[0206] Step 513: Receipt begins execution.

[0207] When a job begins execution, it immediately sends a confirmation message to the PMS indicating that the task has entered the data entry stage.

[0208] Step 514: Automatically input the main process.

[0209] The Job executes the main automatic data entry process, which includes: prioritizing feature types (markType) according to configuration (maintaining the original order for those with the same priority), querying pending marks, filtering and skipping duplicate marks based on already entered records (mark_robot_record) to ensure idempotency (writing back the entered notes for skipped marks), parameter validation, calling the corresponding Processor to perform data entry and persistence, and updating mark status and failure reasons.

[0210] Step 515: Input and Persistence.

[0211] The corresponding Processor is invoked to perform the entry and persistence operations of the elements, write the entry results to the database, and update the mark status.

[0212] Step 516: Data entry successful.

[0213] If the data entry is successful, a "COMPLETED" status message will be sent to the PMS. After execution, the number of successful entries will be counted, and the results will be fed back through multiple channels (sending a receipt to the PMS, pushing to the MQ, and pushing to the management platform's MQ).

[0214] Step 517: Handling data entry failures.

[0215] If data entry fails, an EXCEPTION status will be sent to the PMS after the exception is captured, along with an error message (errMsg). After execution, the number of failures will be counted, and the results will be fed back through multiple channels.

[0216] Step 518: Resource cleanup.

[0217] Regardless of whether the task entry is successful or not, the finally block releases the work order-level Redis lock, cleans up the context, and commits or closes the database connection to ensure the correct release of resources and avoid deadlock.

[0218] Step 519: PMS task is added to the pool (closed-loop recycling).

[0219] After receiving a successful data entry status, PMS will change the task from a temporary status to a formal status and put it into the pending task pool for subsequent job allocation; after receiving a failed data entry status, it can retry or mark it as abnormal according to the strategy.

[0220] At this point, the complete closed loop is formed, consisting of PMS monitoring triggering → service buffer pooling → dynamic rate limiting execution → multi-stage status feedback → PMS readjustment / pooling, and continues with the next round of scheduled monitoring.

[0221] In addition, optional enhancements for dynamic priority scheduling are supported: when triggered, PMS can prioritize tasks configured to automatically enter project names; when the automatic entry service performs entry, it can enter according to the configured markType priority order (the same priority maintains the original order), thereby ensuring that key projects / key elements are processed first and further optimizing resource scheduling.

[0222] The map input task processing method provided in this application has the following technical effects:

[0223] Technical effect 1) Significantly improves the system's concurrent processing capability and stability, and reduces the task failure rate and timeout probability (peak shaving).

[0224] Technical effect 2) Smooth resource occupation, improve resource utilization, shorten the waiting time of operators in the automatic data entry process, and improve work efficiency (filling the valley).

[0225] Technical effect 3) Enhances process transparency and observability, facilitating monitoring and maintenance and accurate problem localization;

[0226] (4) Technical effect: Improve business response flexibility and ensure priority processing of key projects / critical elements;

[0227] Technical effect 5) Avoids duplicate job creation and duplicate data entry in distributed and timed repetitive triggering scenarios, ensuring data consistency.

[0228] Based on the above embodiments, Figure 6 A schematic diagram of the structure of the processing device for the map input task provided in this application is shown below. Figure 6 As shown, the device includes:

[0229] Module 61 is used to obtain the difference between the number of tasks in the real-time task pool and the expected number of tasks. The task pool is the area in the Project Management System (PMS) used to store map feature entry tasks that have been successfully entered and are waiting for operators to apply for them.

[0230] The determination module 62 is used to determine the tasks to be supplemented corresponding to the difference in the number of tasks from the task source and put them into the buffer task pool. The task source contains multiple map element input tasks that have not yet been entered.

[0231] The processing module 63 is used to execute the tasks to be executed in the buffer task pool according to the preset timed triggering strategy.

[0232] In one or more embodiments, the timed triggering strategy includes: determining the corresponding maximum number of concurrent processes based on a preset time period to which the current time belongs;

[0233] Correspondingly, processing module 63 executes tasks to be executed in the buffer task pool according to a preset timed triggering strategy, specifically for:

[0234] Locking is applied to the current scheduling process using a scheduler-level distributed lock to prevent re-entry of the scheduler.

[0235] Get the first number of data entry tasks that are in the Job creation and / or execution start state;

[0236] The number of requests that can be replenished in this round is determined based on the maximum concurrency and the first number; if the number of requests that can be replenished in this round is less than 1, then this round of scheduling is skipped.

[0237] Based on the available replenishment quantity, determine and execute the tasks to be executed in the buffer task pool.

[0238] In one or more embodiments, the processing module 63 executes the task to be executed, specifically for:

[0239] Create a Job for the task to be executed using a work order-level distributed lock, and mark the task to be executed as a Job created.

[0240] Once a Job is successfully created and execution begins, the tasks to be executed are marked as starting execution, and the tasks to be executed are entered based on the Job.

[0241] If the data entry is successful, the task to be executed will be marked as successfully entered and placed in the task pool; if the data entry fails, the task to be executed will be marked as failed and an error message will be attached.

[0242] Release the work order-level distributed lock.

[0243] In one or more embodiments, the processing module 63, based on the Job, inputs tasks to be executed, specifically for:

[0244] Perform the following operations on the task to be executed: prioritize the feature types in the task to be executed, query the features to be processed, filter and skip duplicate features based on the entered records, validate parameters, call the corresponding process to perform entry and persistence, and update the feature status.

[0245] In one or more embodiments, the determining module 62 determines the tasks to be supplemented corresponding to the task quantity difference from the task source and puts them into the buffer task pool, specifically for:

[0246] Filter out the number of tasks to be supplemented from the task source, as indicated by the difference in the number of tasks;

[0247] For each task to be supplemented, issue the task parameters for that task.

[0248] Based on the task parameters, the tasks to be supplemented are cached in the buffer task pool with the status of being received, and the received status is acknowledged.

[0249] In one or more embodiments, the task parameters include: task space range;

[0250] Accordingly, module 62 determines, based on the task parameters, to cache the tasks to be supplemented in the buffer task pool as received tasks, specifically for:

[0251] Convert the task space to the set of map sheets it covers, and expand it outward by one ring of adjacent map sheets;

[0252] The expanded map set is cached in the buffer task pool as received along with the tasks to be supplemented.

[0253] In one or more embodiments, the determining module 62 filters out the number of tasks to be supplemented indicated by the task quantity difference from the task source, specifically for:

[0254] If a priority entry project name is preset, then the entry tasks corresponding to the priority entry project names will be selected from the task source.

[0255] If the number of tasks corresponding to the priority entry project name is greater than or equal to the difference in the number of tasks, then the number of tasks to be supplemented indicated by the difference in the number of tasks will be determined from this value.

[0256] If the number of data entry tasks corresponding to the priority data entry project name is less than the difference in the number of tasks, then all data entry tasks corresponding to the priority data entry project name will be treated as tasks to be supplemented, and the missing part will be supplemented from the remaining data entry tasks.

[0257] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical element, or they can be physically separated. Furthermore, these modules can be implemented entirely in software through processing element calls, or entirely in hardware. Alternatively, some modules can be implemented through processing element calls in software, while others can be implemented in hardware. Moreover, these modules can be integrated together or implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.

[0258] As can be seen from the above, the map input task processing device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be described in detail here.

[0259] Figure 7 A schematic diagram of the structure of the electronic device provided in this application. Figure 7 As shown, the electronic device provided in this embodiment includes at least one processor 71 and a memory 72.

[0260] Optionally, the electronic device also includes a communication component 73.

[0261] The processor 71, memory 72, and communication component 73 are connected via bus 74.

[0262] In a specific implementation, at least one processor 71 executes computer execution instructions stored in memory 72, causing at least one processor 71 to perform the above-described method.

[0263] The specific implementation process of processor 71 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0264] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0265] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0266] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0267] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0268] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0269] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0270] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0271] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0272] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0273] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0274] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0275] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0276] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for processing map input tasks, characterized in that, include: Get the difference between the real-time number of tasks in the pending task pool and the expected number of tasks. The pending task pool is an area in the project management system (PMS) used to store map element entry tasks that have been successfully entered and are waiting for operators to apply for them. The task to be supplemented corresponding to the difference in the number of tasks is determined from the task source and placed into the buffer task pool. The task source contains multiple map element input tasks that have not yet been entered. According to the preset timed triggering strategy, the tasks to be executed in the buffer task pool are executed.

2. The method according to claim 1, characterized in that, The timed triggering strategy includes: determining the maximum number of concurrent connections based on a preset time period to which the current time belongs; Accordingly, executing the tasks to be executed in the buffer task pool according to the preset timed triggering strategy includes: Locking is applied to the current scheduling process using a scheduler-level distributed lock to prevent re-entry of the scheduler. Get the first number of data entry tasks that are in the Job creation and / or execution start state; The number of requests that can be replenished in this round is determined based on the maximum concurrent number and the first number; if the number of requests that can be replenished in this round is less than 1, then this round of scheduling is skipped. Based on the quantity that can be replenished this time, the task to be executed is determined in the buffer task pool and then executed.

3. The method according to claim 2, characterized in that, The execution of the task to be executed includes: A Job is created for the task to be executed using a work order-level distributed lock, and the task to be executed is marked as a Job creation state; Upon successful creation of the Job and its commencement, the task to be executed is marked as having commenced execution, and the task to be executed is entered based on the Job. If the entry is successful, the task to be executed is marked as successfully entered and placed in the task pool to be applied for; if the entry fails, the task to be executed is marked as failed and an error message is attached. Release the work order-level distributed lock.

4. The method according to claim 3, characterized in that, The step of entering the task to be executed based on the Job includes: Perform the following operations on the task to be executed: prioritize the element types in the task to be executed, query the elements to be processed, filter and skip duplicate elements based on the entered records, perform parameter validation, call the corresponding process to perform entry and persistence, and update the element status.

5. The method according to any one of claims 1-4, characterized in that, The step of determining the tasks to be supplemented corresponding to the task quantity difference from the task source and placing them into the buffer task pool includes: Filter out the number of tasks to be supplemented from the task source, as indicated by the task quantity difference; For each task to be supplemented, the task parameters for that task are issued. Based on the task parameters, the task to be supplemented is cached in the buffer task pool with a received status, and a receipt is issued.

6. The method according to claim 5, characterized in that, The task parameters include: task space range; Accordingly, the step of caching the task to be supplemented in the buffer task pool in a received state according to the task parameters includes: The task space range is converted into the set of map sheets covered, and then expanded outward by one ring of adjacent map sheets; The expanded map set is cached in the buffer task pool along with the supplementary task in a received state.

7. The method according to claim 5, characterized in that, The step of filtering out the number of tasks to be supplemented from the task source, as indicated by the difference in the number of tasks, includes: If a priority entry project name is preset, then the entry task corresponding to the priority entry project name will be selected from the task source. If the number of input tasks corresponding to the priority input project name is greater than or equal to the difference in the number of tasks, then the number of supplementary tasks indicated by the difference in the number of tasks is determined from it. If the number of data entry tasks corresponding to the priority data entry project name is less than the difference in the number of tasks, then all data entry tasks corresponding to the priority data entry project name will be treated as tasks to be supplemented, and the missing part will be supplemented from the remaining data entry tasks.

8. A processing device for map input tasks, characterized in that, include: The acquisition module is used to obtain the difference between the number of real-time tasks and the expected number of tasks in the task pool to be applied for. The task pool to be applied for is the area in PMS used to store map element entry tasks that have been successfully entered and are waiting for operators to apply for them. The determination module is used to determine the tasks to be supplemented corresponding to the difference in the number of tasks from the task source and put them into the buffer task pool. The task source contains multiple map element input tasks that have not yet been entered. The processing module is used to execute the tasks to be executed in the buffer task pool according to the preset timed triggering strategy.

9. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium / computer program product, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7; The computer program product includes a computer program that, when executed by a processor, is used to implement the method as described in any one of claims 1-7.