Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of mobile terminal and its implementation with functions of camera shutter, while taking pictures to solve present mobile terminal, user can not be controlled by oneself the problem of time for exposure.
In order to achieve the above object, the present invention has taked following technical scheme:
A mobile terminal with functions of camera shutter, wherein, comprising:
For detection of touch action and touch information, and touch action and touch information are sent to the touch screen module of baseband processor;
Be used for identifying described touch action and touch information, and the baseband processor that corresponding execution is taken pictures and moved or abandon taking pictures action according to described touch action;
Display screen for operation display interface and the preview interface of taking pictures;
For gathering the camera of image;
Described touch screen module, display screen and camera are connected with baseband processor respectively;
Described baseband processor comprises focusing control unit, take pictures control unit and the preview control unit connecting successively;
Described focusing control unit, for detect in the key touch area of taking pictures of touch screen module whether have touch action in very first time section, and when touching area and be ascending trend, controls camera and realize focus function within the second time period;
The described control unit of taking pictures, while being descending trend for detect touch area within the 3rd time period, control camera completes takes pictures;
Described preview control unit, for when mobile terminal is opened camera function, control camera and enter preview mode, and complete defocused at camera, within the 3rd time period, detect touch action for from the key Petting Area of taking pictures, outwards mark action time, control camera and return to preview mode.
The described mobile terminal with functions of camera shutter, wherein, described touch screen module comprises:
For receiving the touch-screen of touch action;
For detection of touch action and touch information, and touch action and touch information are sent to the driving chip of baseband processor;
Described touch-screen, driving chip are connected successively with baseband processor.
The described mobile terminal with functions of camera shutter, wherein, described touch area serve as reasons finger with take pictures the area that touches of key touch area.
The described mobile terminal with functions of camera shutter, wherein, described touch-screen is capacitive touch screen.
Based on described mobile terminal, realize a method for functions of camera shutter, wherein, comprising:
Open the camera function of mobile terminal;
By touch screen module, detect touch action and touch information, and touch action and touch information are sent to baseband processor;
By baseband processor, identify described touch action and touch information, and according to described touch action corresponding execution take pictures action or the action of abandoning taking pictures;
Describedly by baseband processor, identify described touch action and touch information, and according to described touch action the take pictures step of action of corresponding execution, specifically comprise:
By focusing control unit, in very first time section, detected in the key touch area of taking pictures of touch screen module whether have touch action, and when touching area and be ascending trend, control camera and realize focus function within the second time period;
By the control unit of taking pictures, within the 3rd time period, detected when touching area and being descending trend, control camera and complete and takes pictures, and show by display screen the image that camera is captured; Or, by preview control unit, at camera, complete defocused, within the 3rd time period, detect touch action for from the key Petting Area of taking pictures, outwards mark action time, control camera and return to preview mode; By display screen, show the preview interface of taking pictures simultaneously.
Described method, wherein, described by touch screen module detection touch action and touch information, and send to the step of baseband processor specifically to comprise touch action and touch information:
By touch-screen, received user's touch action;
By touch action described in driving chip detection, and touch information corresponding to touch action sent to baseband processor.
Described method, wherein, described touch area serve as reasons finger with take pictures the area that touches of key touch area.
Compared to prior art, a kind of mobile terminal and its implementation with functions of camera shutter provided by the invention, it is by detecting touch action and touch information by touch screen module, and touch action and touch information are sent to baseband processor, by baseband processor, identify described touch action and touch information afterwards, and according to described touch action corresponding execution take pictures action or the action of abandoning taking pictures, and this process realizes by user's touch gestures, thereby realized the function of being controlled the time for exposure of mobile terminal by user oneself, convenient for users, improved user's experience.
Embodiment
For making object of the present invention, technical scheme and effect clearer, clear and definite, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
More conventional projected capacitive touch detection technical comprises self-capacitance formula and mutual capacitance type at present.Wherein, self-capacitance formula refers to touch between thing and electrode and produces capacitive coupling, and the electric capacitance change of measurement electrode, to determine the generation of touch action.Mutual capacitance type refers to when touching generation, can between contiguous two-layer electrode, produce capacity coupled phenomenon, is determined the generation of touch action by electric capacitance change.
The mobile terminal with functions of camera shutter that the embodiment of the present invention provides comprises touch screen module, display screen, camera and baseband processor, and described touch screen module, display screen and camera are connected with baseband processor respectively.
Described touch screen module is for detection of touch action and touch information, and touch action and touch information are sent to baseband processor.Baseband processor is used for identifying described touch action and touch information, and according to described touch action corresponding execution take pictures action or the action of abandoning taking pictures.Display screen is for operation display interface and the preview interface etc. of taking pictures, and camera is used for gathering image.
In the embodiment of the present invention, described touch screen module comprises touch-screen and driving chip, and described touch-screen, driving chip are connected successively with baseband processor.Wherein, described touch-screen is used for receiving touch action, drive chip to be connected with touch-screen with RX line by TX line, be used for reading touch action and touch information, this drives chip also by I2C interface or SPI interface and baseband processor communication, for touch action and touch information are sent to baseband processor.
See also Fig. 2, described baseband processor comprises focusing control unit, take pictures control unit and preview control unit.Focusing control unit, the control unit of taking pictures are connected successively with preview control unit.
Wherein, described focusing control unit is for detect in the key touch area of taking pictures of touch screen module whether have touch action in very first time section, and when touching area and be ascending trend, controls camera and realize focus function within the second time period.
The described control unit of taking pictures, while being descending trend for detect touch area within the 3rd time period, control camera completes takes pictures.Described touch area serve as reasons finger with take pictures the area that touches of key touch area, described touch-screen is capacitive touch screen.
Described preview control unit, for when mobile terminal is opened camera function, control camera and enter preview mode, and complete defocused at camera, within the 3rd time period, detect touch action for from the key Petting Area of taking pictures, outwards mark action time, control camera and return to preview mode.
The mobile terminal with functions of camera shutter based on above-mentioned, the embodiment of the present invention is also corresponding provides a kind of method that realizes functions of camera shutter based on above-mentioned mobile terminal, refers to Fig. 3, and described method comprises:
The camera function of S110, unlatching mobile terminal;
S120, by touch screen module, detect touch action and touch information, and touch action and touch information are sent to baseband processor;
S130, baseband processor are identified described touch action and touch information, and according to described touch action corresponding execution take pictures action or the action of abandoning taking pictures.
Wherein, step S120 specifically comprises: A, panel plate receive user's touch action; B, by driving touch action described in chip detection, and touch information corresponding to touch action sent to baseband processor.
When action is taken pictures in baseband processor execution, first, by focusing control unit, in very first time section, detected in the key touch area of taking pictures of touch screen module whether have touch action described step S130 specifically comprises:, and when touch area is ascending trend, controls camera and realize focus function within the second time period; In the present embodiment, described touch area serve as reasons finger with take pictures the area that touches of key touch area; Afterwards, by the control unit of taking pictures, within the 3rd time period, detected when touching area and being descending trend, control camera and complete and takes pictures, and show by display screen the image that camera is captured.
When baseband processor execution abandons taking pictures action, first, by focusing control unit, in very first time section, detected in the key touch area of taking pictures of touch screen module whether have touch action described step S130 specifically comprises:, and when touch area is ascending trend, controls camera and realize focus function within the second time period; Afterwards, by preview control unit when mobile terminal is opened camera function, control camera and enter preview mode, and at camera, complete defocused, within the 3rd time period, detect touch action for from the key Petting Area of taking pictures, outwards mark action time, control camera and return to preview mode; By display screen, show the preview interface of taking pictures simultaneously.
Below in conjunction with accompanying drawing, the action that the mobile terminal of take is identified respectively " taking pictures " and " abandoning taking pictures " as touch-screen mobile phone as Application Example to the present invention is elaborated:
Realize " focus-take pictures " function
1, focus operation: see also Fig. 4 and Fig. 5, wherein, in Fig. 4 Fingers to circle be the key touch area of taking pictures, four-headed arrow represents the finger direction vertically pressing and leave; Fig. 5 touches action recognition process schematic diagram for pointing with the key touch area of taking pictures.
When user's finger is by as far as closely pressing when taking pictures key touch area, finger is ascending with touch-screen contact area, now baseband processor is gradient to D(n by driving chip to obtain touching area data by D (0)), this testing process is fixed as very first time section T1; Within the section T1 time very first time, if D (n)≤D (n-1), wherein, n≤1, baseband processor identification touch action is vertical close action, as the curved portion on the left side in Fig. 5; In the second time period T2 after this, baseband processor is controlled camera focusing by focusing control unit, as the mid portion of Fig. 5 curve.
2, the action of taking pictures: after the second time period T2 finishes, in the 3rd time period T3, if finger is descending with touch-screen contact area, represent that finger leaves touch-screen, baseband processor drives chip to obtain touching area data by D(0 by touch-screen) be gradient to D(n), this testing process is fixed as the 3rd time period T3; Within the 3rd time period T3 time, if D (n)≤D (n-1), n≤1, is identified as vertical departure motion; After the 3rd time period T3 time, baseband processor is controlled camera by the control unit of taking pictures and is taken pictures.
Realize " focus-abandon and take pictures " function
See also Fig. 6 and Fig. 7, wherein, in Fig. 6 Fingers to circle be the key touch area of taking pictures, four-headed arrow represents that finger is outwards marked the direction of time action by the key Petting Area of taking pictures; Fig. 7 touches action recognition process schematic diagram for pointing with the key touch area of taking pictures.
Finger is pressed in the touch area of the key of taking pictures, the area that finger contacts with touch-screen is ascending, this testing process is fixed as very first time section T1, the corresponding order of taking pictures of this action, when pointing the area contacting with touch-screen, after maximum, can continue the second time period T2, this process is focus process, if will abandoning taking pictures, user returns to preview mode, finger outwards marks on the key touch area of taking pictures, the slip touch gestures that forms one " yi word pattern " away from the key touch area of taking pictures, be the 3rd time period T3 the detection time of this action; Within the 3rd time period, finger may change with touch-screen contact area, but changes not quite, can realize with general slip Gesture Recognition Algorithm; Then, after the 3rd time period T3 time, baseband processor is controlled camera by preview control unit and is turned back to preview mode.
It should be noted that described very first time section T1, the second time period T2 and the 3rd time period T3 can adjust length according to actual conditions.
In sum, a kind of mobile terminal and its implementation with functions of camera shutter provided by the invention, it is by detecting touch action and touch information by touch screen module, and touch action and touch information are sent to baseband processor, by baseband processor, identify described touch action and touch information afterwards, and according to described touch action corresponding execution take pictures action or the action of abandoning taking pictures, and this process realizes by user's touch gestures, thereby realized the function of being controlled the time for exposure of mobile terminal by user oneself, convenient for users, improved user's experience.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.