Live Streaming IP Cache Reduces First-Frame Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing methods for live streaming processing result in a longer first-frame spent time due to the need to resolve domain names that are not historically viewed, leading to a suboptimal user experience.
Innovation Solution
A live streaming processing method that involves acquiring a domain name list for a live streaming application, resolving multiple domain names to determine corresponding IP addresses, and creating an IP address cache set. This cache set includes all domain names associated with the live streaming application and their corresponding IP addresses, allowing for rapid retrieval of IP addresses when playing live streams.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If domain name resolution is performed for historically viewed domains, then the terminal device can store and reuse IP addresses to reduce first-frame spent time, but domain names that are not historically viewed require longer resolution time
Solution Approach 1:
The patent applies preliminary action by pre-resolving domain names before they are needed for live streaming playback. The terminal device maintains a domain name resolution cache that stores previously resolved domain names and their corresponding IP addresses. When a domain name is encountered, the system first checks the cache before performing resolution, thereby reducing the first-frame spent time for domains that have been historically viewed.
2Productivity
If the terminal device stores IP addresses for historically viewed domains, then reuse of cached IP addresses is possible, but domain names not resolved during historical time periods cannot be cached
Solution Approach 1:
The patent implements feedback by continuously monitoring and updating the domain name resolution cache based on actual usage patterns. The system tracks which domains have been successfully resolved and cached, and dynamically adjusts its behavior based on this feedback. When a domain is accessed, the system checks whether it exists in the cache; if not, it performs resolution and adds it to the cache for future use, thereby improving both productivity and reliability.
3Measurement precision
If domain name resolution is performed for all domains, then complete domain name to IP address mapping is achieved, but first-frame spent time increases for non-historically viewed domains
Solution Approach 1:
The patent applies preliminary action by pre-resolving domain names before they are needed for live streaming playback. The terminal device maintains a domain name resolution cache that stores previously resolved domain names and their corresponding IP addresses. When a domain name is encountered, the system first checks the cache before performing resolution, thereby reducing the first-frame spent time for domains that have been historically viewed.
Data Source
AI summary
A live streaming processing method, a terminal device, and a non-transitory computer readable storage medium are provided. The method includes: acquiring a domain name of a live streaming to be played by a live streaming application; acquiring an internet protocol address cache set corresponding to the live streaming application, the internet protocol address cache set including all domain names associated with the live streaming application and an internet protocol address corresponding to each domain name; and generating a first frame of the live streaming based on the domain name of the live streaming and the internet protocol address cache set.


