Data collection method and device

By using the edge trigger mode and priority list of the epoll mechanism in multiple concurrent communication links, monitoring the link status and collecting data, the problem of low acquisition efficiency in the prior art is solved, and low latency and high efficiency data acquisition is achieved.

CN119743409APending Publication Date: 2025-04-01CHINA SOUTHERN POWER GRID DIGITAL GRID GRP CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202411967177.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

The prior art has problems with low acquisition efficiency in management and data transmission and reception, especially in the case of multiple concurrent communication links.

Method used

The edge trigger mode of the epoll mechanism is used to monitor the link status of multiple communication links, obtain readable acquisition file descriptors, and collect data based on the priority list.

Benefits of technology

Through the use of edge trigger mode and priority list of the epoll mechanism, low latency and high efficiency of data acquisition are achieved, and acquisition efficiency is improved.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present application relates to a data acquisition method and device. The method includes: for multiple clients that successfully establish communication links with a server based on an epoll mechanism, the edge trigger mode of the epoll mechanism is turned on to monitor the link status of each communication link, and when the link status of any current communication link is monitored to change, the acquisition file descriptor associated with the current communication link is obtained, and if the data on the acquisition file descriptor is readable, the acquisition file descriptor is added to a ready queue, and the data on each acquisition file descriptor is collected according to the task type in the multiple acquisition file descriptors contained in the queue, and the data acquisition task type priority list. By pre-setting the data acquisition task type priority list, the data acquisition tasks are processed in sequence according to the priority information corresponding to each task type on the list, so as to achieve low latency of data acquisition, thereby improving the acquisition efficiency of data acquisition.
Need to check novelty before this filing date? Find Prior Art