Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An Android-based camera control method

A control method and camera technology, applied in multi-programming devices, program startup/switching, resource allocation, etc., can solve problems such as rough shutdown, no priority judgment, inability to modify system framework layer code, etc., to achieve operation Convenience and improve the effect of reusability

Active Publication Date: 2018-11-16
XIAMEN YAXON NETWORKS CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the invention patent has the following problems: the establishment and reading of the configuration file described in the invention patent is completed by the system framework layer, so the system framework layer needs to be modified. If it is not a customized Android operating system, it is impossible to modify the code of the system framework layer ; In addition, after the camera resource is occupied by a certain application in this invention patent, if there are other applications that need to use the camera, it is only a simple and rough way to close the camera occupied by the previous application, and then assign the camera to the new application. There is no priority judgment, which is inappropriate in some applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An Android-based camera control method
  • An Android-based camera control method
  • An Android-based camera control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.

[0019] figure 1 It is a system structural block diagram of the Android-based camera control method of the present invention, which includes an application program unit, a camera control service unit and a camera unit.

[0020] Wherein, the application program unit represents each application program using the system camera.

[0021] The camera control service unit provides a registration and logout interface for the application program unit, controls the application program to stop, suspend or rerun; records the usage of the camera resource, and realizes the camera control process. Among them, the application running queue saves the application information (including application name, occupied camera resources, and application priority) in the system that has obtained camera resources; the application waiting queue saves the temporarily unavailable ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a camera control method based on the Android. The camera control method includes the steps that first, a camera resource allocation table, an application running queue and an application waiting queue are established, wherein the information of the camera resource allocation table contains the name of a camera, a mark whether in use or not, the names of applications using the camera and the priority of the applications, the application running queue represents a list of the applications using the camera, and the application waiting queue represents a list of the applications waiting for use of the camera; second, the application running queue is updated in real time, if a new application A requiring to calling the camera exists, the camera resource allocation table is scanned, and whether the calling application succeeds or not is judged. The camera control method based on the Android solves the problems that in the Android system, the multiple applications compete to use the same camera to achieve control management, and a user avoids manually releasing the applications occupying the camera resources.

Description

technical field [0001] The invention relates to an Android-based camera control method, which is mainly used for camera control in vehicle-mounted terminal equipment. Background technique [0002] In the Android system, the use of the camera requires the operation of the Camera object provided by the system, but for the same camera, the Camera object is used exclusively. When a program opens a camera, if it does not release the camera, other programs is not available. In common application scenarios, this will not cause too much problem, and the camera can be released by closing the last program that occupies the camera. However, in some special occasions where the vehicle-mounted terminal is used, for example, if the camera used for taking pictures and reversing is the same camera, and the user puts the reverse gear, the screen switches to the reversing program. However, if there is an emergency at this time, the camera needs to be When monitoring and capturing, there wil...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/50
Inventor 吕瑞明钟可华李琦陈义华杨磊鲁林华
Owner XIAMEN YAXON NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products