Third-Party Camera Access via OS Framework Mediator

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing electronic device systems do not allow third-party applications to access and use cameras with setting functions, limiting the functionality and richness of shooting experiences.

Innovation Solution

A shooting method and device that enables third-party applications to send data processing requests to the operating system's framework layer, which then processes initial image data from functional cameras, such as ultra-wide-angle, telephoto, or macro cameras, and sends target image data back to the third-party application.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the operating system restricts camera access to built-in applications only, then system stability and security are improved, but third-party application functionality and shooting experience richness deteriorate

Engineering Contradiction:
Improvesystem stabilityVSAvoidthird-party application functionality
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces a camera management module as an intermediary component within the operating system's framework layer. This module acts as a mediator between third-party applications and the camera hardware abstraction layer, enabling controlled access. The management module receives camera access requests from third-party applications, validates them, and forwards approved requests to the hardware abstraction layer, thus maintaining system stability while enabling third-party functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If the operating system allows third-party applications to access functional cameras, then shooting capability richness is improved, but system complexity and access control difficulty increase

Engineering Contradiction:
Improveshooting capability richnessVSAvoidaccess control mechanism
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The camera management module implements a universal access control mechanism that handles multiple camera types (ultra-wide-angle, telephoto, macro) and supports various third-party application scenarios through a single unified interface. The module provides standardized functions including camera opening, closing, parameter configuration, and data transmission, eliminating the need for separate access control mechanisms for different camera types or applications.

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

Solution Approach 2:

The patent segments the camera access control functionality into distinct modular components: the camera management module in the framework layer, the hardware abstraction layer, and the camera driver layer. This segmentation allows each component to have a specific, well-defined responsibility, simplifying the overall access control mechanism while enabling comprehensive camera functionality.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If multiple cameras are opened simultaneously for multi-camera shooting, then shooting experience richness is improved, but system resource consumption and processing complexity increase

Engineering Contradiction:
Improvemulti-camera shooting capabilityVSAvoidsystem resource consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The camera management module performs preliminary actions by pre-configuring and pre-managing multiple camera instances before actual shooting occurs. It establishes camera groups, pre-loads camera parameters, and prepares data transmission channels in advance. This preliminary setup enables rapid switching and coordinated operation of multiple cameras during shooting without incurring excessive resource consumption during the actual capture process.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12207000B2Shooting method and device and storage medium
Publication Date: 2025.01.21 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • US12207000B2 patent drawing
  • US12207000B2 patent drawing
  • US12207000B2 patent drawing

AI summary

A shooting method, performed by an electronic device, the electronic device includes an operating system and is provided with a functional camera, an application layer of the electronic device is provided with a third-party application, and the shooting method includes: in response to a shooting operation on a shooting interface of the third-party application, sending a data processing request to a framework layer of the operating system by the third-party application, the data processing request being a request for indicating to process initial image data collected by the functional camera; sending the data processing request to a hardware abstraction layer of the operating system by the framework layer; and processing the initial image data by the hardware abstraction layer in response to the data processing request to obtain target image data, and sending the target image data to the third-party application by the hardware abstraction layer.