Socket Scheduler Task Segmentation for Real-Time Network Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional real-time systems fail to secure real-time communications in networks due to inadequate priority resource allocation, leading to inefficiencies in data transmission and reception.
Innovation Solution
A method and apparatus that schedule tasks within sockets based on predetermined transmission and reception options, using a socket scheduler and packet manager to efficiently transmit and receive packets according to designated deadlines and priorities, ensuring real-time communications while optimizing system resource usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If priority resource allocation method is used to secure real-time communications, then task execution priority is improved, but network real-time communication cannot be secured and system resources are not efficiently used
Solution Approach 1:
The patent segments the socket task into multiple sub-tasks (reading task, writing task, accepting task) that can be independently scheduled and executed. This segmentation allows the system to allocate resources more flexibly and efficiently while maintaining real-time communication guarantees, resolving the contradiction between reliability and productivity.
Solution Approach 2:
The patent implements dynamic task scheduling where the priority and execution timing of socket tasks are adjusted based on real-time system conditions and communication requirements. The socket task manager dynamically creates, suspends, and prioritizes tasks to ensure real-time communication while optimizing resource utilization, thereby resolving the contradiction between reliability and productivity.
2Reliability
If conventional socket task management is used, then system simplicity is maintained, but real-time communication characteristics cannot be satisfied
Solution Approach 1:
The patent introduces a socket task manager as an intermediary component between the network layer and application layer. This manager handles the complexity of real-time task scheduling, task creation, suspension, and priority management, while presenting a simple interface to applications. The intermediary absorbs the complexity needed for real-time communication without requiring complex changes throughout the entire system.
3Productivity
If tasks are scheduled without predetermined transmission options, then scheduling simplicity is maintained, but transmission and reception characteristics cannot be optimized
Solution Approach 1:
The patent implements preliminary action by pre-configuring transmission options (such as priority levels, timing parameters, and buffer sizes) when socket tasks are created or before actual data transmission begins. This allows the scheduling mechanism to make efficient decisions based on pre-established parameters without requiring complex real-time analysis, thereby improving transmission efficiency while keeping the scheduling mechanism relatively simple.
Data Source
AI summary
A method and apparatus transmitting and receiving in a real-time system are disclosed. The method of transmitting in a real-time system includes scheduling a task included in a socket based on a predetermined transmission option designated to the socket, and transmitting a packet generated by the scheduled task based on the predetermined transmission option, so that real-time communications of a network communication can be secured and resources of the system can be efficiently used, thereby, transmitting and receiving data according to the required characteristics of transmission and reception.


