Browser Media Language Auto-Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for selecting media files based on user language preferences require website developers to modify server-side code and client-side script code, increasing their workload when language versions change, update, or are added.

Innovation Solution

A method and apparatus that allow a browser to automatically select a media file by extracting language configuration information, creating a language list, and matching it with media resource attributes, reducing the need for manual selection and developer intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If website developers use server-side code to select media files based on user language preferences, then the media selection function is achieved, but the developer workload increases when language versions change

Engineering Contradiction:
Improvemedia selection functionVSAvoiddeveloper workload
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The browser automatically extracts language configuration information from the user's operating system and performs media file selection without requiring website developers to write or modify selection logic. The system serves itself by leveraging existing browser capabilities to accomplish the selection task.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The solution leverages the browser's existing language configuration capabilities (originally designed for web content localization) to also handle media file selection. This multi-functional use of the browser's language detection mechanism eliminates the need for separate selection code.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Ease of operation

If website developers list all media file versions on the web page and use client-side script code for selection, then the media selection function is achieved, but the developer workload increases when language versions change

Engineering Contradiction:
Improvemedia selection functionVSAvoiddeveloper workload
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The browser automatically performs media file selection by extracting language preferences and matching them with available media files, eliminating the need for website developers to write or maintain client-side selection scripts.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The selection logic is extracted from the website developer's code and transferred to the browser's native language configuration system. This extraction removes the burden of maintaining selection logic from developers while preserving the selection functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If the browser automatically extracts and matches language information with media resources, then the developer workload is reduced, but the system complexity increases

Engineering Contradiction:
Improvedeveloper efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The browser's existing language configuration system, originally designed for web content localization, is extended to also handle media file selection. This universal approach reuses established browser capabilities rather than introducing new complex systems.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The browser acts as an intermediary between the user's language preferences and the media files. It extracts language information from the operating system, matches it with media resource attributes, and automatically selects the appropriate file, simplifying the overall system architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Measurement precision

If manual language selection is required, then precise language matching is achieved, but user experience deteriorates

Engineering Contradiction:
Improvelanguage matching accuracyVSAvoiduser experience
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The browser automatically performs language matching by extracting the user's language preferences from the operating system's language configuration and matching them with media file language attributes, eliminating the need for manual user selection while maintaining accurate language matching.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs language preference extraction and media file matching automatically in the background before the user needs to watch the media. This preliminary automatic selection spares users from manual intervention while ensuring accurate language matching based on their preferences.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9965468B2Method and apparatus for acquiring network resource
Publication Date: 2018.05.08 HUAWEI DEVICE CO LTD
  • US9965468B2 patent drawing
  • US9965468B2 patent drawing
  • US9965468B2 patent drawing

AI summary

A method and an apparatus for acquiring a network resource where the method includes extracting language configuration information of a browser, and placing the language configuration information into a language list, sending a hypertext transfer protocol (HTTP) request to a web server, locating a position of a media element, matching a value of a language attribute of a specified resource element in the media element with the language information in the language list, selecting a media resource address, and finally according to the media resource address, requesting a media resource from the web server and loading the media resource. Hence, the browser can automatically select a media file of a specified language version according to a language preference of a user, thereby reducing a workload of a website developer. Additionally, the user does not need to perform manual selection, thereby enhancing user experience.