A high-frequency acquisition task re-copying scheduling method, an intelligent fusion terminal and a medium

CN122269173APending Publication Date: 2026-06-23QINGDAO ITECHENE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO ITECHENE TECH CO LTD
Filing Date
2026-05-21
Publication Date
2026-06-23

Smart Images

  • Figure CN122269173A_ABST
    Figure CN122269173A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of terminal data reacquisition, and particularly provides a high-frequency acquisition task reacquisition scheduling method, an intelligent fusion terminal and a medium, which are characterized in that: a plurality of carrier reacquisition channels are initialized as normal acquisition channels; meanwhile, a high-frequency task is sent to an HPLC carrier module, local pre-acquisition is completed through the HPLC carrier module, and data is actively reported, time-sharing execution rules are established for the high-frequency acquisition task, a reporting waiting window and a real-time reacquisition window are divided; at the end of the reporting waiting window in each acquisition cycle, a missing reacquisition detection is performed on the meters that should be reported in the current cycle, and the meters are identified and marked as missing reacquisition in the current cycle; when there is missing reacquisition, a channel is dynamically selected from the plurality of carrier reacquisition channels as a reacquisition special channel; in the real-time reacquisition window, reacquisition is performed on the missing reacquisition meters through the reacquisition special channel; and after the real-time reacquisition window ends or reacquisition is completed, the reacquisition special channel is released. The real-time performance and effectiveness of high-frequency data acquisition are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of high-frequency data supplementation technology for terminals, and particularly relates to a method for scheduling high-frequency acquisition tasks, an intelligent fusion terminal, and a medium. Background Technology

[0002] In electricity consumption information collection systems, daily frozen data and 96-point curve data are the core data collected for distribution areas, directly affecting the accuracy and reliability of metering and settlement, power grid dispatching, and operation and maintenance analysis. To improve collection efficiency, reduce the processing load on intelligent fusion terminals, and minimize the channel resource occupation of regular collection tasks by high-frequency collection tasks such as 1-minute and 5-minute collection tasks, existing technologies generally distribute high-frequency collection tasks to the HPLC carrier module, which then performs local pre-collection and actively reports the data. This mode alleviates the concurrent pressure on terminals to some extent.

[0003] However, in actual operation, this mode does not automatically retransmit high-frequency data missed due to abnormal disconnections, communication interference, carrier instability, or other reasons, nor does it have a supplementary reporting mechanism. Furthermore, the 1-minute and 5-minute high-frequency data acquisitions have strong real-time requirements, disallowing cross-cycle supplementary readings. Therefore, missed readings directly lead to breakpoints in the high-frequency curve and missing high-frequency data, affecting the reliance on continuous curves for photovoltaic monitoring and load forecasting in the distribution area. In addition, existing intelligent fusion terminals lack the ability to automatically identify minute-level missing readings, making it impossible to determine which meters and which cycles have failed to report correctly, thus preventing the creation of an executable supplementary reading task list.

[0004] In summary, the industry currently lacks a terminal scheduling solution that can automatically identify and complete real-time data re-reading even if data collection is missed within minutes, without interrupting regular data acquisition or violating real-time constraints. The reliability of high-frequency data acquisition relies excessively on the stability of the modules themselves; once a module misses a report, the terminal lacks effective remedial measures, hindering further improvements in the quality of data acquisition in the distribution area. Summary of the Invention

[0005] To address the problems existing in the prior art, this invention proposes a scheduling method for accurately time-division supplementary reading of high-frequency data not reported by a module, without affecting regular data acquisition, increasing the terminal load, and strictly adhering to real-time constraints. Specifically, this invention provides a supplementary reading scheduling method for high-frequency acquisition tasks, applied to an intelligent fusion terminal containing multiple carrier meter reading channels, comprising the following steps: Step S1: Initialize the multi-carrier meter reading channel as a regular acquisition channel, which is used to perform regular acquisition tasks; at the same time, send the high-frequency acquisition task to the HPLC carrier module, which completes local pre-acquisition and actively reports the data. Establish a time-division execution rule for the minute-level high-frequency acquisition task. The time-division execution rule is used to divide the acquisition cycle of each high-frequency acquisition task into a reporting waiting window and a real-time supplementary reading window. Step S2: At the end of the reporting waiting window of each acquisition cycle, perform high-frequency acquisition task missing reading detection on the meters that should be reported in the current cycle, identify and mark them as missing readings in the current cycle. Step S3: When there is a missing high-frequency acquisition task, dynamically select one channel from the multi-carrier meter reading channels as a dedicated channel for supplementary reading. Step S4: In the real-time data replenishment window, perform data replenishment for the missing meters through the dedicated data replenishment channel; Step S5: After the real-time copying window ends or the copying is completed, release the copying-dedicated channel and restore it to the regular acquisition channel.

[0006] Preferably, the time-sharing execution rule adaptively divides the reporting waiting window and the real-time data collection window using a multi-factor quantization model, which is based on the current HPLC communication quality coefficient, the number of meters to be collected, and the theoretical reading time per meter.

[0007] Specifically, when the high-frequency acquisition task is a 1-minute cycle acquisition task, the time-sharing execution rule is as follows: S101: Calculate the reporting waiting window duration with a 1-minute collection cycle: T_wait_1min = T_base_1min + T_single × N × α; Wherein, T_wait_1min is the duration of the reporting waiting window, T_base_1min is the basic guarantee duration for 1 minute of data acquisition, T_single is the theoretical reading duration for a single meter, N is the number of meters to be collected, and α is the HPLC communication quality coefficient; the basic guarantee duration is the minimum necessary time for reading meter data in a 1-minute cycle acquisition task. S102: The duration of the real-time copying window is obtained by subtracting the duration of the reporting waiting window from the acquisition cycle.

[0008] Specifically, when the high-frequency acquisition task is a 5-minute cycle acquisition task, the time-sharing execution rule is as follows: S111: Calculate the duration of the reporting waiting window with a 5-minute collection cycle; T_wait_5min = T_base_5min + T_single × N × α × β; Among them, T_base_5min is the 5-minute acquisition basic guarantee duration, T_single is the theoretical reading duration of a single meter, N is the number of meters to be acquired, α is the HPLC communication quality coefficient, and β is the cycle extension coefficient; the 5-minute acquisition basic guarantee duration is the minimum necessary time for reading the electricity meter data in the 5-minute cycle acquisition task. S112: Obtain the duration of the real-time re-acquisition window by subtracting the reporting waiting window duration from the acquisition cycle.

[0009] Preferably, in the time-sharing execution rule, set the threshold range of the reporting waiting window. The threshold range includes the 1-minute threshold range and the 5-minute threshold range. The 1-minute threshold range is set to 40 - 45 s, and the 5-minute threshold range is set to 200 - 250 s. When T_wait_1min < 40 s, set T_wait_1min = 40 s. When T_wait_1min > 45 s, set T_wait_1min = 45 s. When 40 s < T_wait_1min < 45 s, T_wait_1min remains unchanged. When T_wait_5min < 200 s, set T_wait_5min = 200 s. When T_wait_5min > 250 s, set T_wait_5min = 250 s. If 200 s < T_wait_5min < 250 s, T_wait_5min remains unchanged.

[0010] Based on the above solution, the method further includes: Establish a missing reading ledger, which records the task number, meter address, data item, and timestamp. When step S2 detects a missing reading, record the corresponding meter in the missing reading ledger. Automatically generate a re-acquisition task according to the missing reading ledger. The re-acquisition task includes the task number, meter address, data item, and timestamp.

[0011] Based on the above solution, the re-acquisition dedicated channel is logically isolated from the regular acquisition channel: Establish a separate message queue for the re-acquisition task, and schedule it separately from the message queue of the regular acquisition task. Set an independent running status flag for the re-acquisition dedicated channel, and separately save the task context of this channel.

[0012] Based on the above solution, step S4 includes: Complete the re-acquisition of the missing reading meters within the real-time re-acquisition window. If the timeout fails, abandon the re-acquisition in this cycle. Save the successfully re-acquired data into the terminal and report it to the master station. If the re-acquisition fails, record an exception log.

[0013] On the other hand, the present invention provides an intelligent fusion terminal, comprising: The system includes a multi-carrier meter reading channel, at least one processor, and a memory communicatively connected to the processor; wherein the memory stores a computer program executable by the processor, and when the computer program is executed by the at least one processor, the intelligent fusion terminal implements the high-frequency acquisition task supplementary reading scheduling method as described above.

[0014] The present invention also provides a computer-readable storage medium having a computer program, which, when executed by a processor, implements the steps of the high-frequency acquisition task re-copying scheduling method as described above.

[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. By establishing time-sharing execution rules, a reporting waiting window and a real-time data supplement window are divided within the data collection cycle of each high-frequency data acquisition task. Missing data detection is performed after the reporting waiting window ends. This can accurately identify missing data without interfering with the normal active reporting of the module. Data supplementation is performed within a limited time in the real-time data supplement window, avoiding real-time failure caused by cross-cycle data supplementation. This ensures the real-time performance and effectiveness of 1-minute and 5-minute high-frequency data. 2. By dynamically selecting one channel from the multi-carrier meter reading channels as a dedicated channel for supplementary reading, while keeping the other channels unchanged for regular data acquisition, the parallel execution of supplementary reading and regular data acquisition is achieved. This avoids the impact of full-channel supplementary reading on the acquisition of core data such as daily freeze and 96-point curves, while ensuring the supply of dedicated resources for supplementary reading, significantly improving the overall data acquisition stability and core data integrity of the system. 3. The reporting waiting window duration is adaptively calculated through a multi-factor quantization model. Input parameters include the HOLC communication quality coefficient and the number of meters to be collected. This can dynamically adapt to the real-time communication environment and load status of different distribution areas, avoid the incompatibility problem of fixed windows under different working conditions, maximize the use of effective re-reading time, and improve the re-reading success rate and the overall success rate of minute-level data collection. Attached Figure Description

[0016] Figure 1 This is a flowchart of the copying scheduling method of the present invention; Figure 2 This is a flowchart of the overall method for rewriting and scheduling in this invention; Figure 3 This is a flowchart illustrating the time-sharing copying rules of the present invention. Detailed Implementation

[0017] The invention will be further described below with reference to specific embodiments.

[0018] like Figure 1 and Figure 2 As shown, this invention provides a method for scheduling supplementary meter readings for high-frequency acquisition tasks, applied to an intelligent fusion terminal containing multiple carrier meter reading channels. The method includes: Step S1: After the intelligent fusion terminal is powered on, it completes system self-test, resource initialization and acquisition strategy configuration, and initializes the multi-carrier meter reading channel as a regular acquisition channel; at the same time, it receives and loads the minute-level high-frequency acquisition task configured by the main station, and sends the 1-minute, 5-minute and other high-frequency acquisition tasks to the HPLC carrier module, which completes local pre-acquisition and actively reports the data. A time-division execution rule is established for the minute-level high-frequency acquisition task. The time-division execution rule is used to divide the reporting waiting window and the real-time supplementary reading window in each high-frequency acquisition cycle. The intelligent fusion terminal of this invention has multiple independent carrier meter reading channels, preferably 10 channels. First, all channels are initialized as regular acquisition channels, which are used to execute regular acquisition tasks, including daily freeze tasks, 96-point curve tasks, and hourly tasks. For 1-minute and 5-minute high-frequency tasks, the high-frequency tasks are sent to the HPLC carrier module during system initialization. The HPLC carrier module performs local pre-acquisition and actively reports the data. The intelligent fusion terminal does not actively initiate 1-minute and 5-minute high-frequency acquisitions, but remains in a silent listening state, waiting for the HPLC carrier module to actively report data periodically.

[0019] Meanwhile, the intelligent fusion terminal receives minute-level high-frequency data acquisition tasks from the main station. These minute-level high-frequency data acquisition tasks include 1-minute and 5-minute cycle tasks. The minute-level high-frequency data acquisition tasks primarily target photovoltaic meters, while also covering key users and monitoring points in the distribution area.

[0020] Understandably, by dividing the reporting waiting window and the real-time data collection window into each collection cycle through time-sharing execution rules, high-frequency data that is missed can be collected in real time without affecting the execution of other core collection tasks.

[0021] According to a preferred embodiment, the time-sharing execution rule adaptively divides the reporting waiting window and the real-time data collection window through a multi-factor quantization model. The multi-factor quantization model is obtained based on the current HPLC communication quality coefficient, the number of meters to be collected, and the theoretical reading time of a single meter.

[0022] Specifically, when the high-frequency data acquisition task is a 1-minute cycle task, the time-sharing execution rule is as follows: S101: Calculate the reporting waiting window duration with a 1-minute collection cycle: T_wait_1min = T_base_1min + T_single × N × α; Where T_wait_1min is the duration of the reporting waiting window, T_base_1min is the 1-minute basic data acquisition guarantee duration, T_single is the theoretical reading duration of a single meter, N is the number of meters to be collected, and α is the HPLC communication quality coefficient.

[0023] In one implementation, the basic guaranteed duration for 1-minute data acquisition is 20 seconds, which is the minimum necessary time for the HPLC carrier module to complete meter data reading and reporting, and for the terminal to complete data reception, parsing, and storage in a 1-minute cycle acquisition task. The theoretical reading time per meter is obtained based on actual measurements of the communication protocol, which may be DL / T645 or Q / GDW698, with a value range of 150ms-800ms. The number of markers to be acquired is the actual total number of meters in the high-frequency acquisition task configured in this cycle. The HPLC communication quality coefficient is obtained by mapping the channel signal-to-noise ratio, bit error rate, and number of relay levels, with a value range of 0.8-1.2. The worse the channel quality, the larger the value of the HPLC communication quality coefficient.

[0024] According to a preferred embodiment, the HPLC communication quality coefficient is graded and quantized based on channel signal-to-noise ratio, bit error rate, and carrier relay level. A three-level fixed mapping rule is preset, including a first-level high-quality channel, a second-level medium-quality channel, and a third-level weak channel. The first-level high-quality channel has a signal-to-noise ratio ≥25dB ​​and a bit error rate ≤10. -6 For relay levels ≤ 1, the corresponding HPLC communication quality coefficient is 0.8; for a secondary medium-sized channel, the signal-to-noise ratio is 15dB~25dB and the bit error rate is 10%. -6 ~10 -4 Two relay levels correspond to an HPLC communication quality factor of 1.0; the signal-to-noise ratio of the weak channel at level three is <15dB, and the bit error rate is ≥10%. -4 For relay stages ≥ 3, the corresponding HPLC communication quality coefficient is 1.2.

[0025] Preferably, the duration of the reporting waiting window obtained in S101 is rounded up to ensure that the reporting waiting window is not less than the duration required for calculation.

[0026] S102: Subtract the reporting waiting window duration from the data acquisition cycle to obtain the real-time data acquisition window duration.

[0027] According to S102, the remaining time serves as a window for real-time data rewriting.

[0028] Specifically, when the high-frequency data acquisition task is a 5-minute cycle task, the time-sharing execution rule is as follows: S111: Calculate the duration of the reporting waiting window with a 5-minute collection cycle; T_wait_5min = T_base_5min + T_single × N × α × β; Wherein, T_base_5min is the 5-minute basic data acquisition guarantee duration, T_single is the theoretical reading duration for a single meter, N is the number of meters to be acquired, α is the HPLC communication quality coefficient, and β is the period expansion coefficient.

[0029] In this embodiment, the basic guarantee duration of 5 minutes of data collection is fixed at 1 minute in the 5-minute cycle data collection task. This is the basic guarantee duration adapted to the 5-minute long cycle scenario, ensuring that the module and terminal complete the basic reading, reporting, receiving and storage process. The cycle expansion coefficient is used to scale the calculation results of the data collection cycle, so that the adaptive duration obtained by the constructed multi-factor quantization model can adapt to the window under different cycle lengths. In this embodiment, the cycle expansion coefficient of 5-minute cycle data collection is 1.2-2.0.

[0030] S112: The duration of the real-time data collection window is obtained by subtracting the reporting waiting window duration from the data collection cycle.

[0031] In step S1, the intelligent fusion terminal also establishes a missing meter reading ledger, which records the task number, meter address, data item and timestamp in real time. This ledger is used to record the collection status of each meter in each cycle, providing a basis for generating supplementary reading tasks.

[0032] Furthermore, step S1 sets task priorities as follows: minute-level high-frequency acquisition tasks > minute-level supplementary copying tasks > regular acquisition tasks, ensuring that high-frequency acquisition and supplementary copying actions are executed first.

[0033] Step S2: At the end of the reporting waiting window of each acquisition cycle, perform high-frequency acquisition task missing reading detection on the meters that should be reported in the current cycle, identify and mark them as missing readings in the current cycle. Among them, missing meter readings are detected at the end of the reporting waiting window for the data collection task. The meter readings that should be reported in the current period are traversed. If a valid report is not completed within the reporting waiting window, it is marked as missing meter readings in the current period. When a missing meter reading is detected, the corresponding meter is recorded in the missing meter reading log. Simultaneously, step S3 is executed to initiate channel scheduling and data re-copying: Step S3: When a high-frequency acquisition task is detected to be missing, the intelligent fusion terminal dynamically selects one channel from the multi-carrier meter reading channels as a dedicated channel for supplementary reading. The selected channel is an idle or low-load channel, temporarily designated as a dedicated channel for minute-level data collection and supplementary readings, while the other channels continue with regular data collection. Given the short-duration, small-batch, and high-real-time characteristics of minute-level supplementary readings, a single channel can complete the supplementary reading requirements for missing meters within the designated reading window, while avoiding the occupancy of multiple channels and interference with other data collection tasks.

[0034] The missing data record in step S2 is used to automatically generate a supplementary data record task, which includes a task number, meter address, data item and timestamp. This supplementary data record task is only valid within the current real-time supplementary data record window.

[0035] According to a preferred method, the dedicated data acquisition channel is logically isolated from the regular data acquisition channel, including: A separate message queue is established for the copying task, and the message queues for regular data acquisition tasks are scheduled separately. Set an independent operating status identifier for the dedicated copying channel and save the task context of this channel separately.

[0036] Within the dedicated copying channel, channel resources are allocated only to copying tasks, thus preventing copying tasks from competing with regular data acquisition for resources such as links and caches.

[0037] Step S4: In the real-time data replenishment window, perform data replenishment for the missing meters through the dedicated data replenishment channel; Furthermore, based on the above-mentioned time-sharing execution rule embodiment, in order to prevent errors in the on-site reporting waiting time calculation that could lead to reporting errors, a threshold range is set. This threshold range includes a 1-minute threshold range and a 5-minute threshold range. The 1-minute threshold range is set to 40-45 seconds, and the 5-minute threshold range is set to 200-250 seconds. Those skilled in the art can reasonably set this threshold range according to the on-site situation, the completeness of the reporting, etc.

[0038] When the reporting waiting window duration T_wait_1min calculated by the one-minute data acquisition task is not within the 1-minute threshold range (i.e., when T_wait_1min < 40s, set T_wait_1min = 40s; when T_wait_1min > 45s, set T_wait_1min = 45s), if T_wait_1min is not within the 1-minute threshold range, it is not modified, and the real-time data acquisition window duration is 60s - T_wait_1min. Similarly, if T_wait_5min is not within the 5-minute threshold range (i.e., when T_wait_5min < 200s, set T_wait_5min = 200s; when T_wait_5min > 250s, set T_wait_5min = 250s), if T_wait_5min is within the 5-minute threshold range, it is not modified, and the real-time data acquisition window duration is 300s - T_wait_5min. By setting thresholds, a protection range is established for errors in the calculation of reporting waiting time. This allows the reporting waiting window and real-time data replenishment window to be adaptively divided according to actual conditions, preventing potential errors and ensuring the rationality of the reporting waiting window time and the completeness of the reporting. Simultaneously, it fully guarantees the complete completion of the normal reporting process, avoiding channel contention or message conflicts between replenishment and normal reporting. Furthermore, it ensures that the replenished data belongs to the current period's valid data and does not intrude into the next period's timing, achieving a closed-loop acquisition system that avoids missed data, conflicts, and failures.

[0039] Furthermore, the missing meter readings can be completed within the real-time meter reading window; if the reading is not completed within the time limit, the meter reading for this cycle will be abandoned. Successfully copied data is verified, stored in the terminal, and reported to the main station. At the same time, the acquisition curve at the corresponding time point is completed. If the copying fails, an error log is recorded and no repeated attempts are made to avoid affecting the normal acquisition process in the next cycle.

[0040] like Figure 3 As shown, the method for intelligent data acquisition terminals to perform supplementary data collection based on time-sharing supplementary data collection rules is as follows: To execute a high-frequency data acquisition task, first determine whether the high-frequency data acquisition task is a 1-minute data acquisition task or a 5-minute data acquisition task; If it is a 1-minute data collection task, determine whether the current data collection period is the end time of the reporting waiting window T_wait_1min for 1-minute data collection; if it is a 5-minute data collection task, determine whether the current data collection period is the end time of the reporting waiting window T_wait_5min for 5-minute data collection. If so, check if there is any missing data. If so, dynamically allocate an idle channel for supplementary data recording.

[0041] Step S5: After the real-time data acquisition window ends or the data acquisition is completed, release the dedicated data acquisition channel and restore the channel to the regular acquisition channel.

[0042] According to step S5, the temporary task status of the channel is cleared, the original status is restored, and all channels perform regular acquisition in parallel to complete the replacement copying loop.

[0043] Based on the same technical concept, the present invention also provides an intelligent fusion terminal, comprising: a multi-carrier meter reading channel, at least one processor, and a memory communicatively connected to the processor; wherein, the memory stores a computer program executable by the processor, and when the computer program is executed by at least one processor, the intelligent fusion terminal implements the high-frequency acquisition task supplementary reading scheduling method as described above.

[0044] For a specific implementation of the method for scheduling high-frequency acquisition tasks using the intelligent fusion terminal, please refer to the above method implementation examples, which will not be repeated here.

[0045] A processor can perform various actions and processes according to a program stored in memory. Specifically, a processor can be an integrated circuit chip with signal processing capabilities. The aforementioned processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor, and can be based on an x86 architecture or an ARM architecture.

[0046] The memory stores computer-executable instructions that, when executed by a processor, implement the aforementioned high-frequency acquisition task's copying scheduling method. The memory can be volatile or non-volatile, or a combination of both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory used in the methods described in this invention is intended to include, but is not limited to, these and any other suitable types of memory.

[0047] Furthermore, the high-frequency acquisition task re-copying scheduling method according to the present invention can be recorded in a computer-readable recording medium. Specifically, according to the present invention, a computer-readable recording medium storing computer-executable instructions can be provided, which, when executed by a processor, causes the processor to execute the high-frequency acquisition task re-copying scheduling method as described above.

[0048] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code containing at least one executable instruction for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0049] In general, various exemplary embodiments of the present invention can be implemented in hardware or dedicated circuitry, software, firmware, logic, or any combination thereof. Some aspects can be implemented in hardware, while others can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device. When aspects of embodiments of the present invention are illustrated or described as block diagrams, flowcharts, or represented using certain other images, it will be understood that the blocks, apparatuses, systems, techniques, or methods described herein can be implemented as non-limiting examples in hardware, software, firmware, dedicated circuitry or logic, general-purpose hardware or controllers or other computing devices, or certain combinations thereof.

[0050] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

[0051] While the specific embodiments of the present invention have been described above, they are not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A method for scheduling the re-copying of high-frequency acquisition tasks, characterized in that, The method, applied to a smart converged terminal containing multiple carrier meter reading channels, includes: Step S1: Initialize the multi-carrier meter reading channel as a regular acquisition channel, which is used to perform regular acquisition tasks; at the same time, send the high-frequency acquisition task to the HPLC carrier module, which performs local pre-acquisition and actively reports the data; establish a time-division execution rule for the high-frequency acquisition task, which is used to divide the reporting waiting window and the real-time supplementary reading window within each high-frequency acquisition cycle; Step S2: At the end of the reporting waiting window of each acquisition cycle, perform high-frequency acquisition task missing reading detection on the meters that should be reported in the current cycle, identify and mark them as missing readings in the current cycle. Step S3: When there is a missing high-frequency acquisition task, dynamically select one channel from the multi-carrier meter reading channels as a dedicated channel for supplementary reading. Step S4: In the real-time data replenishment window, perform data replenishment for the missing meters through the dedicated data replenishment channel; Step S5: After the real-time copying window ends or the copying is completed, release the copying-dedicated channel and restore it to the regular acquisition channel.

2. The high-frequency acquisition task re-copying scheduling method according to claim 1, characterized in that, The time-sharing execution rule adaptively divides the reporting waiting window and the real-time data collection window using a multi-factor quantization model. The multi-factor quantization model is determined based on the current HPLC communication quality coefficient, the number of meters to be collected, and the theoretical reading time per meter.

3. The high-frequency acquisition task re-copying scheduling method according to claim 2, characterized in that, When the high-frequency acquisition task is a 1-minute cycle acquisition task, the time-sharing execution rule is as follows: S101: Calculate the reporting waiting window duration with a 1-minute collection cycle: T_wait_1min = T_base_1min + T_single × N × α; Wherein, T_wait_1min is the duration of the reporting waiting window, T_base_1min is the basic guarantee duration for 1 minute of data acquisition, T_single is the theoretical reading duration for a single meter, N is the number of meters to be collected, and α is the HPLC communication quality coefficient; the basic guarantee duration is the minimum necessary time for reading meter data in a 1-minute cycle acquisition task. S102: The duration of the real-time copying window is obtained by subtracting the duration of the reporting waiting window from the acquisition cycle.

4. The high-frequency acquisition task re-copying scheduling method according to claim 2, characterized in that, When the high-frequency acquisition task is a 5-minute cycle acquisition task, the time-sharing execution rule is as follows: S111: Calculate the duration of the reporting waiting window with a collection cycle of 5 minutes; T_wait_5min = T_base_5min + T_single × N × α × β; Wherein, T_base_5min is the 5-minute basic data acquisition guarantee time, T_single is the theoretical reading time for a single meter, N is the number of meters to be acquired, α is the HPLC communication quality coefficient, and β is the cycle extension coefficient; the 5-minute basic data acquisition guarantee time is the minimum necessary time for reading meter data in a 5-minute cycle acquisition task. S112: The duration of the real-time copying window is obtained by subtracting the duration of the reporting waiting window from the acquisition cycle.

5. The high-frequency acquisition task re-copying scheduling method according to claim 3 or 4, characterized in that, In the time-sharing execution rule, set the threshold range of the reporting waiting window. The threshold range includes a 1-minute threshold range and a 5-minute threshold range. The 1-minute threshold range is set to 40 - 45 s, and the 5-minute threshold range is set to 200 - 250 s; When T_wait_1min < 40 s, set T_wait_1min = 40 s. When T_wait_1min > 45 s, set T_wait_1min = 45 s. When 40 s < T_wait_1min < 45 s, T_wait_1min remains unchanged; When T_wait_5min < 200 s, set T_wait_5min = 200 s. When T_wait_5min > 250 s, set T_wait_5min = 250 s. If 200 s < T_wait_5min < 250 s, T_wait_5min remains unchanged.

6. The high-frequency acquisition task re-copying scheduling method according to claim 1, characterized in that, The method further includes: Establish a missing reading ledger, which records the task number, meter address, data item, and timestamp; When step S2 detects a missing reading, record the corresponding meter in the missing reading ledger; Automatically generate a supplementary reading task according to the missing reading ledger. The supplementary reading task includes the task number, meter address, data item, and timestamp.

7. The high-frequency acquisition task re-copying scheduling method according to claim 1, characterized in that, The dedicated supplementary reading channel is logically isolated from the conventional acquisition channel: Establish a separate message queue for the supplementary reading task and schedule it separately from the message queue of the conventional acquisition task; Set an independent running status flag for the dedicated supplementary reading channel and separately save the task context of this channel.

8. The high-frequency acquisition task re-copying scheduling method according to claim 1, characterized in that, Step S4 includes: Complete the supplementary reading of the missing reading meters within the real-time supplementary reading window. If it times out without success, abandon the supplementary reading in this cycle; Store the successfully supplementary read data in the terminal and report it to the master station. If the supplementary reading fails, record an exception log.

9. A smart converged terminal, characterized in that, Includes: A multi-channel carrier meter reading channel, at least one processor, and a memory communicatively connected to the processor; wherein, the memory stores a computer program executable by the processor. When the computer program is executed by the at least one processor, the intelligent fusion terminal implements the supplementary reading scheduling method for the high-frequency acquisition task described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium has a computer program, and when the computer program is executed by a processor, it implements the supplementary reading scheduling method for the high-frequency acquisition task described in any one of claims 1 - 8.