Data acquisition methods, systems and computer-readable storage media

By optimizing the acquisition sequence and concurrency based on the historical success rate of the acquisition equipment, the problem of communication failure of acquisition equipment under low-voltage distribution areas was solved, the acquisition efficiency and success rate were improved, and an automated fault diagnosis method was provided.

CN116596211BActive Publication Date: 2026-03-10BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing technologies suffer from acquisition failures due to differences in communication quality and software versions of acquisition devices in low-voltage areas. This is especially true when there are multiple devices or high-frequency acquisition requirements, resulting in low acquisition efficiency and an inability to effectively distinguish the acquisition success rate of devices, as well as a lack of automated screening methods.

Method used

Based on the historical success rate of different data items from different devices, priorities are determined, and data items from devices with high success rates are collected first. The collection order is optimized by calculating response time and success rate formulas, and the optimal maximum concurrency is determined to improve communication efficiency.

Benefits of technology

In scenarios requiring multiple devices or high-frequency data acquisition, it significantly improves acquisition efficiency, reduces waiting time, provides automated troubleshooting methods, and enhances communication success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116596211B_ABST
    Figure CN116596211B_ABST
Patent Text Reader

Abstract

This invention relates to the field of communication technology and discloses a data acquisition method, system, and computer-readable storage medium. The data acquisition method includes: determining the historical acquisition success rate of each data item of each acquisition device among multiple acquisition devices in an acquisition task during the current acquisition period; determining the priority of each data item of each acquisition device based on the historical acquisition success rate of each data item of each acquisition device; and acquiring data from the multiple acquisition devices according to the priority of each data item of each acquisition device. This prioritizes the acquisition based on the historical acquisition success rates of different data items from different devices, and prioritizes the acquisition of data items from devices with high historical acquisition success rates, thereby significantly improving acquisition efficiency when facing scenarios with many devices or high-frequency acquisition requirements.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a data acquisition method, system and computer readable storage medium. BACKGROUND

[0002] At present, the main communication form of the acquisition terminal and the acquisition equipment under the low-voltage transformer area is carrier communication. The application in the terminal communicates with the local communication module to realize the data acquisition function. Usually, the marketing master station or the power distribution master station issues the file and the acquisition task to the terminal, and the terminal calculates the specific acquisition plan according to the file and the acquisition task. The standard specification of most terminals divides the business into different applications according to the function.

[0003] Usually, the acquisition equipment under a power distribution transformer area or a low-voltage transformer area is fixed within a certain time. When the acquisition business application calculates the specific acquisition plan, the acquisition data items of the acquisition equipment are arranged in the order of the task sequence number according to the execution frequency and the task running period in the acquisition task.

[0004] When the number of acquisition equipment under the transformer area is large or there is a high-frequency acquisition demand, the acquisition failure phenomenon caused by the communication quality, the software version difference and other reasons of the part of the acquisition equipment under the transformer area is more obvious. When the acquisition business application encounters the situation that the acquisition equipment does not respond during the concurrent reading, it needs to wait for a maximum timeout time, so the more waiting time will reduce the acquisition efficiency and cause the acquisition task to be unable to be completed within a certain acquisition period. The above acquisition method cannot distinguish the acquisition success rate of different acquisition equipment, and cannot provide an automatic means to screen the acquisition equipment with low acquisition success rate. SUMMARY

[0005] The purpose of the present application is to provide a data acquisition method, system and computer readable storage medium, which arranges the priority according to the historical acquisition success rate of different data items of different equipment, and preferentially acquires the data items of the equipment with high historical acquisition success rate, so as to greatly improve the acquisition efficiency when facing more equipment or high-frequency acquisition demand scene.

[0006] In order to achieve the above purpose, the first aspect of the present application provides a data acquisition method, which comprises: determining the historical acquisition success rate of each data item of each acquisition equipment in the acquisition task within a current acquisition period; determining the priority of each data item of each acquisition equipment according to the historical acquisition success rate of each data item of each acquisition equipment; and acquiring the plurality of acquisition equipment according to the priority of each data item of each acquisition equipment.

[0007] Preferably, the determining the historical collection success rate of each data item of each of the plurality of collection devices in the collection task in the current collection period comprises: determining, according to the response time C of the jth data item of the kth collection device in the ith collection in the last collection period, the historical collection success rate X of the jth data item of the kth collection device according to the following formula kji . kj ,

[0008]

[0009] wherein b is the collection number corresponding to the jth data item of the kth collection device in the last collection period; and d is the success rate calculation interval.

[0010] Preferably, the data collection method further comprises: determining a period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrent numbers, wherein the plurality of collection periods are a plurality of continuous collection periods before the current collection period; determining a maximum period collection success rate in a case where a difference between the period collection success rates in any two of the plurality of collection periods is less than or equal to a preset value; and determining the preset maximum concurrent number corresponding to the maximum period collection success rate as a target maximum concurrent number for communication between the collection terminal and the plurality of collection devices.

[0011] Preferably, the determining the period collection success rate in each collection period in the plurality of collection periods under the plurality of preset maximum concurrent numbers comprises: determining a ratio between a number of data items collected successfully by all collection devices in each collection period under the plurality of preset maximum concurrent numbers and a total number of data items of all collection devices as the period collection success rate in each collection period under the plurality of preset maximum concurrent numbers.

[0012] Preferably, the data collection method further comprises: determining whether the collection task in the current collection period is the same as the collection task in the last collection period; in a case where the collection task in the current collection period is the same as the collection task in the last collection period, determining a shortest completion time according to the response time of each data item of each of the collection devices in the collection task in the last collection period; and stopping the statistical operation of the historical collection success rate in a case where a total time length of the collection task in the current collection period is greater than a preset multiple of the shortest completion time.

[0013] According to the technical scheme, the priority of each data item of each collection device is determined according to the historical collection success rate of each data item of each collection device, and then the plurality of collection devices are collected according to the priority of each data item of each collection device, so that the priority of different data items of different devices is arranged according to the historical collection success rate, and the data items of the device with high historical collection success rate are collected preferentially, thereby greatly improving the collection efficiency in the case of more devices or high-frequency collection demand.

[0014] The second aspect of the application provides a data collection system, which can include: a first success rate determination device for determining the historical collection success rate of each data item of each collection device in a collection task in a current collection period; and a priority determination device for determining the priority of each data item of each collection device according to the historical collection success rate of each data item of each collection device; and a collection terminal for collecting the corresponding data item from the collection device according to the priority of each data item of each collection device.

[0015] Preferably, the first success rate determination device for determining the historical collection success rate of each data item of each collection device in a collection task in a current collection period includes: determining the response time C kji and the historical collection success rate X kj of the jth data item of the kth collection device according to the following formula:

[0016]

[0017] wherein b is the collection number corresponding to the jth data item of the kth collection device in the last collection period; and d is the success rate calculation interval.

[0018] Preferably, the data collection system further includes: a second success rate determination device for determining the period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrent numbers, wherein the plurality of collection periods are a plurality of continuous collection periods before the current collection period; a third success rate determination device for determining the maximum period collection success rate in the case that the difference between the period collection success rates in any two of the plurality of collection periods is less than or equal to a preset value; and a maximum concurrent number determination device for determining the preset maximum concurrent number corresponding to the maximum period collection success rate as the target maximum concurrent number for communication between the collection terminal and the plurality of collection devices.

[0019] Preferably, the data collection system further comprises: judging whether the collection task in the current collection period is same as the collection task in the last collection period; in the case that the collection task in the current collection period is same as the collection task in the last collection period, determining the shortest completion time according to the response time of each data item of each collection device in the collection task in the last collection period; and in the case that the total time length of the collection task is greater than the preset multiple of the shortest completion time, stopping the statistical operation of the historical collection success rate.

[0020] The specific details and benefits of the data collection system provided by the embodiments of the present application can be referred to the description of the data collection method, which will not be repeated here.

[0021] The third aspect of the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program is executed by a processor to realize the data collection method.

[0022] Other features and advantages of the present application will be described in detail in the following specific embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0023] The accompanying drawings are included to provide a further understanding of the embodiments of the present application, and constitute a part of the specification, and are used together with the following specific embodiments to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the drawings:

[0024] Figure 1 is a flow chart of the data collection method provided by an embodiment of the present application; and

[0025] Figure 2 is a structural schematic diagram of the data collection system provided by an embodiment of the present application. DETAILED DESCRIPTION

[0026] The specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application.

[0027] Figure 1 is a flow chart of the data collection method provided by an embodiment of the present application. As shown in Figure 1As shown, the data collection method can include: step S101, determining a historical collection success rate of each data item of each collection device in a plurality of collection devices in a collection task in a current collection period; step S102, determining a priority of each data item of each collection device according to the historical collection success rate of each data item of each collection device; and step S103, collecting the plurality of collection devices according to the priority of each data item of each collection device.

[0028] In order to improve the collection efficiency, when the collection task is specifically a collection plan, the priority is arranged considering the historical collection success rate distribution characteristics, and the data items of the device with high historical collection success rate are collected preferentially.

[0029] The specific processes of the above steps S101-S103 will be explained and described respectively.

[0030] Step S101, determining a historical collection success rate of each data item of each collection device in a plurality of collection devices in a collection task in a current collection period.

[0031] In various embodiments of the present application, each collection period can be reasonably set in advance, for example, every 15 minutes is a collection period.

[0032] The collection device can be a smart meter; the data item can be daily freeze, minute freeze, load data, voltage, current, alarm or event record, etc.

[0033] For step S101, the determination of the historical collection success rate of each data item of each collection device in the plurality of collection devices in the collection task in the current collection period can include: according to the response time C kji and the following formula, determining the historical collection success rate X kj of the jth data item of the kth collection device.

[0034]

[0035] Wherein b is the collection number corresponding to the jth data item of the kth collection device in the last collection period; d is the success rate calculation interval.

[0036] Generally, the computing resources of embedded collection devices are limited, so when calculating the historical collection success rate, the following existing method is not used: verifying the distribution type through the collection response time distribution characteristics, and then fitting the probability curve. In the above embodiments, because the same device may not support some data items due to software version differences, different data items need to be considered when calculating the historical collection success rate, and the historical collection success rate is calculated by the response time.

[0037] The response time in the above formula is described as follows. If the time when the collection terminal sends the data frame corresponding to the reading of the jth data item of the kth collection device is t1, and the time when the collection terminal receives the response data frame of the jth data item is t2, the response time C of the jth data item of the kth collection device is t2-t1. kj

[0038] Specifically, in the case of a success rate calculation interval of 5, if the collection number corresponding to the jth data item of the kth collection device in the last collection period is 2, then If the collection number corresponding to the jth data item of the kth collection device in the last collection period is 8, then Generally, the computing resources of an embedded collection device are limited, so the method of verifying the distribution type by the collection response time distribution characteristics and then fitting a probability curve is not used when calculating the collection success rate.

[0039] The collection task is divided into multiple collection units according to the maximum supported length of the response frame, and a collection unit contains different data items of the same collection device. For example, the collection task can include collection unit 1, collection unit 2, and collection unit 3. Collection unit 1 includes {daily freeze, load data, voltage, current} of collection device 1; collection unit 2 includes {daily freeze, load data, voltage, current} of collection device 2; and collection unit 3 includes {daily freeze, load data, voltage} of collection device 3.

[0040] According to the response time C of the first data item-day freeze of collection device 1 in the ith collection in the last collection period, and the above formula (1), the historical collection success rate of the first data item-day freeze of collection device 1 can be determined. 11i According to the response time C of the second data item-load data of collection device 1 in the ith collection in the last collection period, and the above formula (1), the historical collection success rate of the second data item-load data of collection device 1 can be determined. 12i According to the response time C of the third data item-voltage of collection device 1 in the ith collection in the last collection period, and the above formula (1), the historical collection success rate of the third data item-voltage of collection device 1 can be determined. 13i According to the response time C of the fourth data item-current of collection device 1 in the ith collection in the last collection period, and the above formula (1), the historical collection success rate of the fourth data item-current of collection device 1 can be determined. 14i According to the response time C of the fourth data item-current of collection device 1 in the ith collection in the last collection period, and the above formula (1), the historical collection success rate of the fourth data item-current of collection device 1 can be determined. Similarly, the historical collection success rates of the data items of collection device 2 and collection device 3 can be determined.

[0041] ​The corresponding historical collection success rate is calculated by taking the collection unit as the minimum unit, the queue elements are prioritized according to the historical collection success rate, and each data item of each collection device is collected in turn according to the collection success rate from high to low.

[0042] In step S102, the priority of each data item of each collection device is determined according to the historical collection success rate of each data item of each collection device.

[0043] The historical collection success rate of each data item of each collection device determined in step S101 is prioritized: the higher the historical collection success rate, the higher the priority. If the historical collection success rates of the data items of the collection devices are sorted in descending order: the daily freeze of collection device 1, the load data of collection device 1, the daily freeze of collection device 2, the load data of collection device 2, the voltage of collection device 3, the current of collection device 1, the voltage of collection device 1, the current of collection device 2, the daily freeze of collection device 3, the load data of collection device 3, the voltage of collection device 2, the priority of each data item is: the daily freeze (11), the load data (10), the voltage (5), the current (6) of collection device 1; the daily freeze (9), the load data (8), the voltage (1), the current (4) of collection unit 2; the daily freeze (3), the load data (2), the voltage (7) of collection unit 3.

[0044] The above multiple data items can be inserted into a list structure according to the priority to form a data request queue.

[0045] In step S103, the multiple collection devices are collected according to the priority of each data item of each collection device.

[0046] In the prior art, if the collection process is executed according to the order of collection tasks, when the collection type service application encounters a situation of no response of the collection device during concurrent reading, a maximum timeout time needs to be waited for, so that more waiting time reduces the collection efficiency, thereby resulting in that the collection tasks cannot be completed within a collection period. In the embodiment, according to the order from high to low of the priorities in the data request queue, the following collection tasks are executed: daily freeze of collection device 1 (11), load data of collection device 1 (10), daily freeze of collection device 2 (9), load data of collection device 2 (8), voltage of collection device 3 (7), current of collection device 1 (6), voltage of collection device 1 (5), current of collection device 2 (4), daily freeze of collection device 3 (3), load data of collection device 3 (2), and voltage of collection device 2 (1). Thus, the daily freeze of collection device 1 (11) with the highest historical collection success rate (i.e., the shortest response time) in the collection tasks can be collected first, and the data items of other collection devices are collected in order of priority until the collection is completed. Therefore, during the entire collection process, even if a situation of no response of the collection device is encountered during concurrent reading, a long waiting time is not needed.

[0047] After each collection period ends, the collection success rates of different data items of each device are sorted, and the sorting results are inserted into a historical collection success rate list, thereby providing an automatic export means to facilitate troubleshooting of devices with low collection success rates. In order to facilitate fault cause positioning, the historical collection success rate list takes the collection success rate of the data item as the minimum unit. For example, if the collection success rates of other data items of a device are high, and the collection success rate of a certain data item is 0, it can be judged that the device probably does not support reading of the data item.

[0048] Considering that the maximum concurrency (the maximum concurrency refers to the maximum number of concurrent data requests allowed when the collection terminal performs data reading during carrier communication) has a great influence on the collection efficiency, in the embodiment, the reading efficiency of the maximum concurrency can be tested, and the maximum concurrency with the highest efficiency is obtained.

[0049] In an embodiment, the data collection method can further include: determining a period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrencies, wherein the plurality of collection periods are a plurality of continuous collection periods before a current collection period; determining a maximum period collection success rate in a case where a difference between the period collection success rates in any two of the plurality of collection periods is less than or equal to a preset value; and determining the preset maximum concurrency corresponding to the maximum period collection success rate as a target maximum concurrency for communication between the collection terminal and the plurality of collection devices.

[0050] The step of determining the success rate of data acquisition in each acquisition period under multiple preset maximum concurrency numbers includes: determining the ratio of the number of data items successfully acquired by all acquisition devices in each acquisition period under multiple preset maximum concurrency numbers to the total number of data items of all acquisition devices as the success rate of data acquisition in each acquisition period under multiple preset maximum concurrency numbers.

[0051] For example, the multiple preset maximum concurrency counts can be three typical values. Three typical values ​​of the maximum concurrency count are selected for testing; these typical values ​​are obtained through a configuration file based on historical application experience. To minimize the impact of other factors on the copying efficiency, testing is conducted based on historical data with relatively stable acquisition success rates. First, for each of the three typical values, the acquisition success rate of each acquisition period within the previous three acquisition periods is determined. Then, if the maximum difference in acquisition success rates between any two acquisition periods within the previous three acquisition periods does not exceed 5, the acquisition success rate under which typical value is maximized is determined, and this typical value is set as the target maximum concurrency count. Otherwise, the testing conditions are waited for, and any one of the three typical values ​​is set as the target maximum concurrency count.

[0052] This embodiment proposes a testing method to select the maximum concurrency level with a high success rate in real-world scenarios. By obtaining the maximum concurrency level with the highest copying success rate through testing, the collection efficiency is further improved. Since the maximum concurrency test is conducted during a period of relatively stable copying success rate, it minimizes the impact of other factors on the collection success rate, thus ensuring the effectiveness of the maximum concurrency test.

[0053] In one embodiment, the data acquisition method may further include: determining whether the acquisition tasks in the current acquisition period are the same as the acquisition tasks in the previous acquisition period; if the acquisition tasks in the current acquisition period are the same as the acquisition tasks in the previous acquisition period, determining the shortest completion time based on the response time of each data item of each acquisition device in the acquisition tasks of the previous acquisition period; and stopping the statistical operation of historical acquisition success rate if the total duration of the acquisition tasks in the current acquisition period is greater than a preset multiple of the shortest completion time.

[0054] Specifically, if the collection task in the current collection period includes collection unit 1, collection unit 2 and collection unit 3, wherein collection unit 1 includes {day freeze, load data, voltage, current} of collection device 1; collection unit 2 includes {day freeze, load data, voltage, current} of collection device 2; and collection unit 3 includes {day freeze, load data, voltage} of collection device 3, it is determined whether the collection task in the last collection period also includes the above three collection units. If the collection task in the last collection period also includes the above three collection units, the response times of all data items of the three collection devices in the collection task are added one by one to obtain the shortest completion time of the task; then the total time length of the collection task in the current collection period is compared with the shortest completion time, and if the total time length is greater than 2 times the shortest completion time, it indicates that the collection success rate in each period under the transformer area is high, and the success rate statistical function can be configured to be turned off, thereby saving computing resources. Since the present application can be applied to many devices or high-frequency collection demand scenarios, in most cases, the collection tasks in multiple consecutive collection periods are consistent. If the collection task in the last collection period does not include the above three collection units, the success rate statistical function is kept on. The statistical function is automatically turned on in the first period starting at 0 o'clock every day. Of course, in other embodiments, a reasonable preset multiple can be set according to actual needs.

[0055] The existing collection type business application does not consider the historical collection success rate distribution characteristics of the collection devices when arranging the collection data items of different devices, and cannot adjust the collection plan accordingly to improve the collection efficiency. The above embodiments can be executed by a collection terminal, and the purpose is to arrange the collection sequence of the specific device corresponding data items in each collection period according to the rule that the devices with high historical collection success rate are collected first by calculating the distribution characteristics of the historical collection success rate, thereby improving the collection efficiency of the collection task. Since the traditional collection method lacks automatic means to collect the devices with low collection success rate, it is necessary to provide a historical collection success rate list of each period to facilitate fault troubleshooting.

[0056] In a communication environment with large communication quality fluctuations (such as tunnel, mine ble (ultra-low power application Bluetooth protocol) communication), using the above statistical method for device data collection can effectively improve the collection efficiency and avoid low communication efficiency caused by channel occupation. By adjusting the size of the success rate calculation interval, the statistical sensitivity can be adjusted to adapt to application scenarios with different data characteristics.

[0057] In summary, the application creatively determines the priority of each data item of each collection device according to the historical collection success rate of each data item of each collection device, and then collects the plurality of collection devices according to the priority of each data item of each collection device, so that the priority of different data items of different devices is arranged according to the historical collection success rate, and the data items of the device with high historical collection success rate are collected preferentially, thereby greatly improving the collection efficiency in the case of more devices or high-frequency collection demand.

[0058] Figure 2 is a structural schematic diagram of a data collection system provided by an embodiment of the application. As shown in Figure 2 , the data collection system can include: a first success rate determining device 10, configured to determine the historical collection success rate of each data item of each collection device in a collection task in a current collection period; a priority determining device 20, configured to determine the priority of each data item of each collection device according to the historical collection success rate of each data item of each collection device; and a collection terminal 30, configured to collect the corresponding data item from the collection device according to the priority of each data item of each collection device.

[0059] Preferably, the first success rate determining device is configured to determine the historical collection success rate of each data item of each collection device in a collection task in a current collection period, including: determining the historical collection success rate X kji of the jth data item of the kth collection device according to the response time C kj of the jth data item of the kth collection device in the ith collection in the last collection period and the following formula.

[0060]

[0061] wherein b is the collection number corresponding to the jth data item of the kth collection device in the last collection period; and d is the success rate calculation interval.

[0062] Preferably, the data collection system further includes: a second success rate determining device, configured to determine the period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrent numbers, wherein the plurality of collection periods are a plurality of continuous collection periods before the current collection period; a third success rate determining device, configured to determine the maximum period collection success rate in the case that the difference between the period collection success rates in any two of the plurality of collection periods is less than or equal to a preset value; and a maximum concurrent number determining device, configured to determine the preset maximum concurrent number corresponding to the maximum period collection success rate as the target maximum concurrent number for communication between the collection terminal and the plurality of collection devices.

[0063] Preferably, the data collection system further comprises: judging whether the collection task in the current collection period is same as the collection task in the last collection period; in the case that the collection task in the current collection period is same as the collection task in the last collection period, determining the shortest completion time according to the response time of each data item of each collection device in the collection task in the last collection period; and in the case that the total time length of the collection task in the current collection period is greater than a preset multiple of the shortest completion time, stopping the statistical operation of the historical collection success rate.

[0064] The specific details and benefits of the data collection system provided by the embodiments of the present application can be referred to the description of the data collection method, which will not be repeated here.

[0065] An embodiment of the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the data collection method.

[0066] The preferred embodiments of the present application are described in detail above with reference to the drawings, but the present application is not limited to the specific details in the above embodiments, and various simple modifications can be made to the technical solutions of the present application within the technical concept of the present application, and these simple modifications all belong to the protection scope of the present application.

[0067] In addition, it should be noted that each specific technical feature described in the above specific embodiments can be combined in any appropriate manner without contradiction, and in order to avoid unnecessary repetition, the present application will not describe various possible combinations again.

[0068] Those skilled in the art can understand that all or part of the steps of the methods in the above embodiments can be completed by programs instructing related hardware, the programs are stored in a storage medium, and the storage medium includes a plurality of instructions for making a single-chip microcomputer, a chip or a processor execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and various storage medium capable of storing program codes.

[0069] In addition, various different embodiments of the present application can also be combined in any appropriate manner, as long as they do not contradict the technical concept of the present application, and they should be considered as disclosed in the present application.

Claims

1. A data acquisition method, characterized by, The data collection method comprises: determining a historical collection success rate of each data item of each collection device in a collection task in a current collection period; determining a priority of each data item of each collection device according to the historical collection success rate of each data item of each collection device; and collecting the plurality of collection devices according to the priority of each data item of each collection device, the determining of the historical collection success rate of each data item of each collection device in a collection task in a current collection period comprises: The historical collection success rate of the i-th data item of the j-th collection device is determined according to the response time of the i-th collection of the j-th data item of the j-th collection device in the last collection period and the following formula k j k j ,​​​​​ , Wherein, b is the number of collection times corresponding to the i th data item of the j th collection device in the last collection period; k is the number of collection times corresponding to the i th data item of the j th collection device in the last collection period; j is the number of collection times corresponding to the i th data item of the j th collection device in the last collection period; d is the success rate calculation interval.

2. The data collection method of claim 1, wherein, The data collection method further comprises: determining a period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrent numbers, wherein the plurality of collection periods are a plurality of continuous collection time periods before the current collection period; determining a maximum period collection success rate in the case that a difference between the period collection success rates in any two of the plurality of collection periods is less than or equal to a preset value; and determining the preset maximum concurrent number corresponding to the maximum period collection success rate as a target maximum concurrent number for communication between the collection terminal and the plurality of collection devices.

3. The data collection method of claim 2, wherein, The determining of the period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrent numbers comprises: determining a ratio between a number of data items collected successfully by all collection devices in each collection period under the plurality of preset maximum concurrent numbers and a total number of data items of all collection devices as the period collection success rate in each collection period under the plurality of preset maximum concurrent numbers.

4. The data collection method of claim 1, wherein, The data collection method further comprises: judging whether a collection task in the current collection period is the same as a collection task in a previous collection period; determining a shortest completion time according to a response time of each data item of each collection device in the collection task in the previous collection period in the case that the collection task in the current collection period is the same as the collection task in the previous collection period; and stopping the statistical operation of the historical collection success rate in the case that a total time length of the collection task in the current collection period is greater than a preset multiple of the shortest completion time.

5. A data acquisition system characterized by, The data collection system comprises: a first success rate determining device for determining a historical collection success rate of each data item of each collection device in a collection task in a current collection period; and a priority determining device for determining a priority of each data item of each collection device according to the historical collection success rate of each data item of each collection device; and a collection terminal for collecting corresponding data items from the collection devices according to the priority of each data item of each collection device, the first success rate determining device for determining a historical collection success rate of each data item of each collection device in a collection task in a current collection period comprises: The historical collection success rate of the i-th data item of the j-th collection device is determined according to the response time of the i-th collection of the j-th data item of the j-th collection device in the last collection period and the following formula k j k j ,​​​​​ , wherein, b is the number of collection times corresponding to the i-th data item of the j-th collection device in the last collection period; k is the number of collection times corresponding to the i-th data item of the j-th collection device in the last collection period; j is the number of collection times corresponding to the i-th data item of the j-th collection device in the last collection period; d is the success rate calculation interval.

6. The data acquisition system of claim 5, wherein, The data collection system further comprises: a second success rate determining device for determining a period collection success rate in each collection period in a plurality of collection periods under a plurality of preset maximum concurrent numbers, wherein the plurality of collection periods are a plurality of continuous collection time periods before the current collection period; a third success rate determining device configured to determine a maximum time period collection success rate when a difference between time period collection success rates in any two of the plurality of time periods is less than or equal to a preset value; and a maximum concurrent number determining device configured to determine a preset maximum concurrent number corresponding to the maximum time period collection success rate as a target maximum concurrent number for communication between the collection terminal and the plurality of collection devices.

7. The data acquisition system of claim 5, wherein, The data collection system further comprises: determining whether a collection task in the current time period is the same as a collection task in a previous time period; when the collection task in the current time period is the same as the collection task in the previous time period, determining a shortest completion time according to a response time of each data item of each collection device in the collection task in the previous time period; and when a total time length of the collection task in the current time period is greater than a preset multiple of the shortest completion time, stopping a statistical operation of a historical collection success rate.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the data collection method in any one of claims 1-4.

Citation Information

Patent Citations

  • Distributed service deployment method and system

    CN113590261A

  • Meter reading method and meter reading system based on HPLC (High Performance Liquid Chromatography)

    CN114374892A

  • Assembly line scheduling method and device and computer readable storage medium

    CN115495219A