Batch System Call for Multi-Path Data Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The frequent execution of system calls for data processing across multiple paths in computer systems leads to high CPU utilization and increased power consumption, particularly in scenarios where multiple applications exchange data over numerous paths.
Innovation Solution
A data processing method and apparatus that allow applications to receive and send data using only one system call, leveraging a receive or transmit function to poll multiple socket descriptors, thereby reducing the number of system calls and improving efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If applications execute system calls for each path to read or send data, then data can be processed correctly, but CPU utilization increases and power consumption increases
Solution Approach 1:
The patent merges multiple system calls into a single system call by implementing a batch processing mechanism. The operating system accumulates data from multiple paths and allows applications to retrieve all data through one unified system call interface, thereby combining what would otherwise require multiple separate system calls into a single operation.
Solution Approach 2:
The patent creates a universal system call interface that handles data retrieval from multiple paths simultaneously. This multi-functional interface can process data from any number of paths through a single call, making the system call mechanism adaptable to variable numbers of paths without requiring path-specific calls.
2Reliability
If applications execute system calls for each path to send data, then data can be transmitted correctly, but CPU utilization increases
Solution Approach 1:
The patent merges multiple system calls for data transmission into a single system call by implementing a batch sending mechanism. The operating system collects data from multiple paths and enables applications to send all data through one unified system call, combining multiple transmission operations into a single CPU-intensive operation.
Solution Approach 2:
The patent performs preliminary actions by pre-processing and organizing data from multiple paths before the application executes the system call. The operating system prepares the data structure and routes in advance, so that when the single system call is executed, all data is ready for efficient batch transmission without requiring repeated CPU intervention for each path.
3Adaptability or versatility
If multiple system calls are executed for data processing across multiple paths, then all data can be accessed, but the number of system calls increases and overhead increases
Solution Approach 1:
The patent merges multiple system calls into one by implementing a batch data retrieval mechanism. The operating system consolidates data from multiple paths into a unified buffer structure that can be accessed through a single system call, thereby reducing the number of context switches and overhead operations while maintaining access to all data.
Solution Approach 2:
The patent introduces an intermediary layer in the operating system that sits between the application and the multiple data paths. This intermediary buffers and manages data from all paths, providing a single interface to applications. The intermediary handles the complexity of multiple paths internally while presenting a simplified single-call interface to the application.
Data Source
AI summary
A data processing method and apparatus, where one or more applications run in an operating system of a first device, there is a plurality of paths between the first device and a second device, and the paths correspond to the one or more applications. In a data receiving process, the one or more applications obtain data on the paths through a system call, and further obtain data in a plurality of packets from at least one path. In a data sending process, the one or more applications distribute data to corresponding paths through a system call.


