Method and system for simultaneously calling camera by multiple applications based on broadcast mechanism

A technology for broadcasting applications and cameras, which is used in parts of TV systems, image communications, parts of color TVs, etc.

Active Publication Date: 2018-07-24
WUHAN YANGTZE COMM ZHILIAN TECH
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This technical solution not only requires the application that needs to call the camera to take pictures and the application that occupies the hardware resources of the camera to understand each other's camera interface Activity, but is limited to the use of Android devices that have already determined the application, and this technical solution is not suitable for calls that need to call the camera. The application that is recording and the application that is occupying the camera is occupying the hardware resources of the camera to record at the same time

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
  • Method and system for simultaneously calling camera by multiple applications based on broadcast mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0026] The present invention provides a method based on the broadcast mechanism to realize multiple applications calling the camera at the same time, and the method includes step S1:

[0027] S1. Receive the command to call the camera for shooting sent by the application program A and generate the first command serial number; broadcast the command for calling the camera to shoot and the first co...

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 belongs to the field of the software technical application, and discloses a method and system for simultaneously calling a camera by multiple applications based on a broadcast mechanism.The method comprises the following steps: S1, receiving a command, which is sent by an application program A, of calling the camera to shoot, and generating a first command serial number, broadcasting the command, which is sent by the application program A, of calling the camera to shoot and the first command serial number; the method further comprises the step S2: receiving a command, which is sent by an application program, of accomplishing the shooting, and generating a second command serial number, and broadcasting the command, which is sent by an application program, of accomplishing theshooting and the second command serial number, wherein the application program B is the application program occupying camera hardware resource, and the system is the system adopting the above method.Through the method disclosed by the invention, the function of simultaneously occupying the camera by multiple applications can be realized when one application program does not understand a shootinginterface of other application program and does not expose the own shooting interface to other application program.

Description

technical field [0001] The invention belongs to the application field of software technology, and more specifically relates to a method and system for simultaneously calling a camera by multiple applications based on a broadcast mechanism. Background technique [0002] At present, in operating systems such as Android and Windows, if the application program that needs to call the camera to take pictures does not know the camera interface of the application program that takes up the hardware resources of the camera, the application program that needs to call the camera to take pictures cannot be synchronized with the application program that takes up the hardware resources of the camera. Occupies camera hardware resources, that is, when an application needs to use the camera continuously, other applications cannot simultaneously call the camera to complete the camera and video functions; if the application that needs to call the camera to take pictures knows the camera interfac...

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): H04N5/232
CPCH04N23/60H04N23/617
Inventor 徐立伟黄琛
Owner WUHAN YANGTZE COMM ZHILIAN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products