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

Camera control method based on Android

A control method and camera technology, applied in the direction of program control devices, etc., can solve the problems of rough shutdown, no priority judgment, inability to modify the system framework layer code, etc., to achieve the effect of improving the degree of reuse and convenient operation.

Active Publication Date: 2014-03-26
XIAMEN YAXON NETWORKS CO LTD
View PDF4 Cites 29 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
  • Camera control method based on Android
  • Camera control method based on Android
  • Camera control method based on Android

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 Applications(China)
IPC IPC(8): G06F9/44
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