Mobile terminal camera running method and device

A mobile terminal and operating method technology, which is applied to the components of color TVs, components of TV systems, TVs, etc., can solve problems such as large memory occupation, achieve the effect of low occupancy rate, and ensure stability and smoothness

Inactive Publication Date: 2015-06-24
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a camera operation method and device for a mobile terminal, aiming at solving the problem in the prior art that the camera application occupies too much memory of the mobile terminal during operation

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
  • Mobile terminal camera running method and device
  • Mobile terminal camera running method and device
  • Mobile terminal camera running method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It shows the implementation process of the camera operation method of the mobile terminal provided by Embodiment 1 of the present invention, and is described in detail as follows:

[0024] In S101, enter a first photographing mode, and create an object of this mode in the first photographing mode.

[0025] In this embodiment, "first" and "second" are used to distinguish two different photographing modes in the camera application of the mobile terminal. At the same time, for each camera mode, two general implementation methods are defined in the background:

[0026] 1. Mode entry method, you can define the code as follows:

[0027] final public void initCameraMode()

[0028] {

[0029] onInitCameraMode();

[0030]}

[0031] This method is run when entering the camera mode, and is used to make the camera application run into the corresponding camera mode;

[0032] 2. Mode exit method, you can define the code as follows:

[0033] final public void deInitCam...

Embodiment 2

[0046] In this embodiment, on the basis of Embodiment 1 of the present invention, a step of abstracting a base class for all photographing modes applied by the camera is added, such as figure 2 Shown:

[0047] In S201, a base class is abstracted for all photographing modes applied by the camera, so that each photographing mode inherits the base class at runtime.

[0048] In this embodiment, for the common part of all camera modes in the camera application, it can be abstracted into a base class. When entering any camera mode, by inheriting the base class, the method in the base class is realized. Complete the creation of common parts. Wherein, the common parts include, but are not limited to, the above-mentioned mode entry method, mode exit method, preview screen common to each photographing mode, photographing button, and the like.

[0049] In S202, enter a first photographing mode, and create an object in this mode in the first photographing mode.

[0050] In S203, when ...

Embodiment 3

[0054] In this embodiment, on the basis of the first or second embodiment of the present invention, the step of destroying the object created in the first photographing mode is further limited, as follows image 3 Shown:

[0055] In S301, enter a first photographing mode, and create an object of this mode in the first photographing mode.

[0056]In S302, when a photographing mode switching instruction is detected, the first object created in the first photographing mode is destroyed, and the memory usage rate of the first object for the mobile terminal is greater than a preset threshold.

[0057] In this embodiment, a preset threshold is set in the mobile terminal in advance, and the preset threshold is used to judge the occupation of the memory of the mobile terminal by objects created in the photographing mode. When a photographing mode switching instruction is detected, it is necessary to exit the first In camera mode, destroy objects whose memory usage rate is greater tha...

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 technical field of mobile terminals, and provides a mobile terminal camera running method and device. The method comprises the steps that in a first shooting mode, an object in the first shooting mode is established; when a shooting mode switching instruction is detected, the object established in the first shooting mode is destroyed; the first shooting mode is quitted, the first shooting mode is switched into a second shooting mode, and an object in the second shooting mode is established. According to the mobile terminal camera running method and device, when the shooting modes are switched, the internal storage occupied by the shooting mode needs to be recycled when the original shooting mode is quitted, the internal storage occupied by the shooting mode needs to be applied when the original shooting mode is switched into the new shooting mode, and therefore the low occupation rate of the camera application to the internal storage of the mobile terminal is constantly kept, and the stability and smoothness situation of a mobile terminal system can be guaranteed.

Description

technical field [0001] The invention belongs to the technical field of mobile terminals, and in particular relates to a method and device for operating a camera of a mobile terminal. Background technique [0002] With the improvement of the image processing performance of the mobile terminal, the photo quality of the camera application is getting better and better, and the optional photo mode is also more and more abundant, for example, Selfie mode, panorama mode, high dynamic range (High Dynamic Range, HDR ) mode, beauty mode, etc., users have begun to rely on mobile terminals to record colorful moments in life. [0003] In the process of using the camera application to take pictures, users will switch between various photo modes according to different environmental conditions and creative intentions, resulting in the memory occupied by the camera application in the mobile terminal is also increasing, resulting in mobile terminals The running state of the mobile terminal is...

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
Inventor 李小朋
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
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