Data Stream Processing via Resource Module Identifier Recording
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The challenge is to ensure that uplink and downlink packets of the same data stream are effectively processed by the same resource module in a service function chain, especially in scenarios where the resource module may be scaled in or out due to service changes, leading to a high communication transmission failure rate.
Innovation Solution
The proposed solution involves recording the information about the resource module that processes the uplink data stream and carrying this information with the data stream. This allows the system to determine and ensure that the same resource module is used for downlink processing, thereby maintaining consistency and reducing transmission failures.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the resource module of the SF is scaled in or out upon service changes, then the flexibility and adaptability of the system is improved, but the reliability of data stream processing deteriorates because uplink and downlink packets cannot be ensured to be sent to the same resource module
Solution Approach 1:
The patent applies preliminary action by recording the identifier of the resource module that processed the uplink packet before the downlink packet is sent. This pre-recording of the resource module identifier ensures that when the downlink packet arrives, the system can proactively route it to the same resource module that handled the uplink, preventing transmission failures due to resource module changes.
Solution Approach 2:
The patent introduces an intermediary mechanism in the form of a recorded identifier that acts as a mediator between the uplink and downlink packets. This identifier is carried along with the data stream and serves as a reference that guides the downlink packet to the correct resource module, ensuring consistency even when resource modules are dynamically scaled.
2Productivity
If status information is locally stored in the resource module to reduce communication overhead, then processing performance is improved, but the system complexity increases due to the need to track and maintain resource module identifiers
Solution Approach 1:
The patent merges the resource module identifier tracking with the existing data stream processing workflow. By integrating the identifier recording and carrying mechanism into the packet forwarding process, the system avoids creating separate complex tracking systems while still achieving the goal of maintaining resource module consistency.
Solution Approach 2:
The system applies self-service by automatically recording and carrying the resource module identifier through the data stream itself. The identifier is embedded in the packet metadata and automatically processed by forwarding nodes without requiring external coordination or complex centralized management, reducing overall system complexity.
Data Source
Figure 1
Figure 2
Figure 3A
AI summary
This application provides a data stream processing method and apparatus. The method includes: receiving an uplink data stream packet; determining a resource module used to process the uplink data stream packet and an identifier of the resource module; modifying the uplink data stream packet based on the identifier of the resource module; and forwarding a modified uplink data stream packet. After a downlink data stream packet is received, a resource module used to process the downlink data stream packet is determined based on an identifier of a resource module in the downlink data stream packet, where the identifier of the resource module in the downlink data stream packet is added after learning the identifier of the resource module in the uplink data stream packet. In this method, when transmitting a downlink data stream packet, a resource module for transmitting the downlink data stream packet is determined based on a learned identifier of the resource module in the uplink data stream packet. The uplink and downlink data stream packets are transmitted by using a same resource module, so that a success rate of communication transmission is effectively improved.