CN103577069B - The quick method and system starting camera under a kind of touch screen locking screen interface - Google Patents

The quick method and system starting camera under a kind of touch screen locking screen interface Download PDF

Info

Publication number
CN103577069B
CN103577069B CN201310568950.XA CN201310568950A CN103577069B CN 103577069 B CN103577069 B CN 103577069B CN 201310568950 A CN201310568950 A CN 201310568950A CN 103577069 B CN103577069 B CN 103577069B
Authority
CN
China
Prior art keywords
control
distance
camera
touch screen
sliding trace
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310568950.XA
Other languages
Chinese (zh)
Other versions
CN103577069A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weihai Regional Innovation Center Co.,Ltd.
Original Assignee
TCL Communication Ningbo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201310568950.XA priority Critical patent/CN103577069B/en
Publication of CN103577069A publication Critical patent/CN103577069A/en
Application granted granted Critical
Publication of CN103577069B publication Critical patent/CN103577069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses the quick method and system starting camera under a kind of touch screen locking screen interface, the method comprising the steps of:A, pre-set the first control and the second control in touch screen locking screen interface, the sliding trace in touch screen for the user is detected, described first control is moved according to described sliding trace, and calculate the distance between described first control and described second control;B, the distance being calculated is judged, when the distance being calculated be less than or equal to first apart from when, start camera on backstage.The present invention passes through the process that setting camera backstage is opened in releasing process, achieve touch screen display while unblock and have been turned on the camera applications finishing, avoid conventional unlock interface and start camera waiting time long problem, make user obtain preferably Product Experience.

Description

The quick method and system starting camera under a kind of touch screen locking screen interface
Technical field
The present invention relates to touch screen terminal technical field, quick startup camera under more particularly, to a kind of touch screen locking screen interface Method and system.
Background technology
In mobile terminal touch screen unlocking function, quickly can open camera function by unlocking touch screen, such as Fig. 1 Shown.In the prior art, this technology is divided into two processes, and whether detection " lock " is contacted with " camera ", if detecting both Contact then unlocks successfully, then opens camera applications;Because one time of needs opened by camera, therefore using this unlocking manner Open and during camera, often may feel that a sluggish process, bring poor Product Experience sense to user.
Therefore, prior art has yet to be improved and developed.
Content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide quickly open under a kind of touch screen locking screen interface The method and system of dynamic camera are it is intended to solve the problems, such as that current touch screen screen lock state starts camera and has delay.
Technical scheme is as follows:
Under a kind of touch screen locking screen interface, the quick method starting camera, wherein, the method comprising the steps of:
A, touch screen locking screen interface pre-set for contact with each other realize unblock and start camera the first control and Second control, detects the sliding trace in touch screen for the user, moves described first control according to described sliding trace, and calculates The distance between described first control and described second control;
B, the distance being calculated is judged, when the distance being calculated be less than or equal to first apart from when, open on backstage Dynamic camera.
The quick method starting camera under described touch screen locking screen interface, wherein, methods described also includes:
C, when the distance being calculated be more than or equal to second distance when, detection camera whether have turned on, if having turned on, close The camera having turned on, wherein, described second distance is more than the first distance.
The quick method starting camera under described touch screen locking screen interface, wherein, methods described also includes:
D, when the distance being calculated be more than first distance and be less than second distance when, do not process.
The quick method starting camera under described touch screen locking screen interface, wherein, described first control and the second control The distance between refer specifically to the distance between described first control and the second control center position coordinate.
The quick method starting camera under described touch screen locking screen interface, wherein, according to described slip in described step A Described first control is moved in track, and calculates the distance between described first control and described second control specially:According to institute State sliding trace and move described first control, detect the position coordinateses of described first control and the second control, and then calculate institute State the first control and the center point coordinate of the second control, described first control and the second control are calculated according to described centre coordinate The distance between.
The quick method starting camera under described touch screen locking screen interface, wherein, detect respectively described first control with Position coordinateses in the range of second control are identical with least one position coordinates of the second control when described first control is detected When, touch screen unlocks and show the camera that backstage starts.
The quick method starting camera under described touch screen locking screen interface, wherein, described first control and the second control It is rectangular shape.
The quick method starting camera under described touch screen locking screen interface, wherein, detects described first control and second Position coordinateses in the range of control are specially:Detect and obtain the diagonal vertex position of described first control and the second control respectively Coordinate, determines the position coordinateses in the range of described first control and the second control respectively according to diagonal vertex position coordinate.
A kind of system executing quick startup camera methods under touch screen locking screen interface as above, wherein, described system System includes:
Position coordinateses acquisition module, for detecting and obtaining the position coordinateses of described first control and the second control;
Distance calculation module, calculates between described first control and the second control for the position coordinateses according to described acquisition Distance;
Distance Judgment module, for drawing difference according to the distance between described first control being calculated and second control Camera control instruction;
Camera control module, for controlling opening of camera according to described apart from the camera control instruction that reading module is drawn Open or close.
Quick startup camera system under described touch screen locking screen interface, wherein, described system also includes:
Camera status judge module, for detecting and obtaining camera status, judges whether camera has turned on.
Beneficial effect:The present invention provides the quick method and system starting camera under a kind of touch screen locking screen interface, passes through The process that setting camera backstage is opened in releasing process is it is achieved that touch screen display while unblock has been turned on the phase finishing Machine is applied, it is to avoid conventional unlock interface starts camera waiting time long problem, makes the user obtain preferably product body Test.
Brief description
Fig. 1 is the schematic layout pattern of unlock interface lock control part and camera control in prior art.
Fig. 2 is the method flow diagram starting camera quick under the touch screen locking screen interface of the present invention.
Fig. 3 is touch screen locking screen interface first control and the second control setting schematic diagram of the present invention.
Fig. 4 is the method flow diagram of the preferred embodiment starting camera quick under the touch screen locking screen interface of the present invention.
Fig. 5 is the theory diagram starting camera system quick under the touch screen locking screen interface of the present invention.
Specific embodiment
The present invention provides the quick method and system starting camera under a kind of touch screen locking screen interface, for making the mesh of the present invention , technical scheme and effect clearer, clear and definite, the present invention is described in more detail below.It should be appreciated that it is described herein Specific embodiment only in order to explain the present invention, be not intended to limit the present invention.
The quick method starting camera under a kind of touch screen locking screen interface as shown in Figure 2, wherein, methods described include with Lower step:
S100, touch screen locking screen interface pre-set for contact with each other realize unblock and start camera the first control With the second control, the sliding trace in touch screen for the user is detected, described first control is moved according to described sliding trace, and counts Calculate the distance between described first control and described second control.
It is preferred that the distance between described first control and second control refer specifically to described first control and the second control The distance between center position coordinate.
In preferred embodiment, in described step S100, described first control is moved according to described sliding trace, and calculate institute State the distance between the first control and described second control to be specially:Described first control, inspection are moved according to described sliding trace Survey the position coordinateses of described first control and the second control, and then calculate the central point seat of described first control and the second control Mark, calculates the distance between described first control and the second control according to described centre coordinate.
As shown in figure 3, in preferred embodiment, the rectangle shape that described first control 210 and the second control 220 are disposed as Shape.Described first control is unblock button, described second control associated camera application, when unblock button slides into described second control During part position, unlocking screen simultaneously realizes camera unlatching simultaneously.Described first control can move in the sliding trace of touch screen with user Dynamic, when the region that user touches in the range of the first control is detected, the first control follows detected user's sliding trace Mobile, general only acquiescence follows the sliding trace in the direction to described second control.Described motion track final position is first The final position of control movement, calculates now the distance between the first control and the second control, and this calculating process is specifically, distinguish Detect and obtain the diagonal vertex position coordinate of presently described first control(X11, y11),(X12, y12)Diagonal with the second control Vertex position coordinate(X21, y21),(X22, y22), described first control and are determined respectively according to diagonal vertex position coordinate Position coordinateses in the range of two controls(X13, y13)With(X23, y23),
.
Then the coordinate (x13, y13) of the first control 210 central point and the coordinate of the second control 220 central point are calculated again The distance between (x23, y23) d:
.
S200, the distance being calculated is judged, when the distance being calculated be less than or equal to first apart from when, on backstage Start camera.It is preferred that when judge calculated distance be less than or equal to first apart from when, first judge the shape of Current camera State, if judging, camera now has already turned on, and does not process.If camera is not switched on, start camera applications on backstage.
In addition, when the distance being calculated is more than or equal to second distance, whether detection camera has turned on, if having turned on, Close the camera having turned on, wherein, described second distance is more than the first distance.
When the distance being calculated is more than the first distance and is less than second distance, do not process.
The setting of the first distance and second distance by quick for the camera coverage starting with invalid apart from spaced apart, logical Blind area in the middle of crossing(Non-reactive zone)Coverage and invalid distance segment can effectively be distinguished, user can be made to be easier to grasp Make the accuracy it is ensured that operating.If coverage is together with invalid distance next-door neighbour, user only passes through to slide to touch to be difficult to Hold this demarcation line, be thus likely to result in camera open and close repeatedly, consume system resource and electricity.And pass through two End distance is spaced apart, then avoid above-mentioned problem, make user more easy to operate.
In addition, when described first control is detected and being identical with least one position coordinates of the second control, touch screen solution Lock and show the camera that backstage starts.Coordinate in the current region of first control, if there are equitant with the second control, is said Bright achieving effectively unlocks, then touch screen unlocks and show the camera having been started up before on foreground.Specifically, if below In four formulas, any one formula satisfaction then illustrates that the first control 210 is contacted with the second control 220:
The quick system starting camera methods under a kind of execution touch screen as above locking screen interface as shown in Figure 5, Wherein, described system includes:
Position coordinateses acquisition module 100, for detecting and obtaining the position coordinateses of described first control and the second control;
Distance calculation module 200, calculates described first control and the second control for the position coordinateses according to described acquisition The distance between;
Distance Judgment module 300, for drawing according to the distance between described first control being calculated and second control Different camera control instructions;
Camera control module 500, for controlling camera according to described apart from the camera control instruction that reading module is drawn Be turned on and off.
It is preferred that described system also includes camera status judge module 400, for detecting and obtaining camera status, sentence Whether disconnected camera has turned on.
As shown in figure 4, quickly starting the method flow of the preferred embodiment of camera under the touch screen locking screen interface of the present invention Figure, comprises the following steps that:
S1, touch screen operation is detected.After touch screen unlock interface detects touch screen operation, execution step S2.
S2, judge whether the first control is contacted with the second control.Distance Judgment module judges the first control and the second control Whether contact, if it is execution step S9, otherwise execution step S3.
S3, acquisition the first control, the positional information of the second control.First control is obtained respectively by position coordinateses acquisition module Part, the positional information of the second control, execution step S4 afterwards.
S4, calculating the distance between the first control and the second control central point d.Positional information according to the first control and The position coordinateses of two controls calculate the distance between the first control and the second control central point d by distance calculation module, hold afterwards Row step S5.
Which distance range S5, judging distance d belong to.Distance Judgment module is according to the first control and control the second control center Which distance range the distance between point d belongs to(First apart from D1, second distance D2, wherein D1<D2), when d belong to first away from From scope (i.e. d≤D1) when execution step S6;When d belongs to second distance scope(I.e. d >=D2)When execution step S8, when d belongs to D1<d<During D2, execution step S7.
S6, open camera on backstage.
S7, do not operate.
S8, closing camera.
S9, camera is switched to foreground by backstage.
Wherein, described step S6, specifically includes:Camera status judge module obtains camera status, if camera is not beaten Open, camera is opened on backstage by camera control module;Otherwise do not operate.
Wherein, described step S8, specifically includes:Camera status judge module obtains camera status, if camera is beaten Open, camera cuts out by camera control module;Otherwise do not operate.
The present invention provides the quick method and system starting camera under a kind of touch screen locking screen interface, by releasing process The process that middle setting camera backstage is opened, it is achieved that touch screen display while unblock has been turned on the camera applications finishing, is kept away Exempt from conventional unlock interface and started camera waiting time long problem, made user obtain preferably Product Experience.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention Shield scope.

Claims (4)

1. quickly start the method for camera under a kind of touch screen locking screen interface it is characterised in that the method comprising the steps of:
A, touch screen locking screen interface pre-set for contact with each other realize unblock and start camera the first control and second Control, detects the sliding trace in touch screen for the user, moves described first control according to described sliding trace, and calculates described The distance between first control and described second control;
B, the distance being calculated is judged, when the distance being calculated be less than or equal to first apart from when, start phase on backstage Machine;
C, when the distance being calculated be more than or equal to second distance when, detection camera whether have turned on, if having turned on, close open The camera opening, wherein, described second distance is more than the first distance;
D, when the distance being calculated be more than first distance and be less than second distance when, do not process;
By the blind area in the middle of the first distance and second distance, the quick coverage starting of camera and invalid distance are spaced apart Come;
The distance between described first control and the second control refer specifically to described first control and the second control center position is sat The distance between mark;
In described step A, described first control is moved according to described sliding trace, and calculate described first control and described second The distance between control is specially:Described first control is moved according to described sliding trace, detects described first control and second The position coordinateses of control, and then calculate the center point coordinate of described first control and the second control, according to described centre coordinate Calculate the distance between described first control and second control;
Detect the position coordinateses in the range of described first control and the second control respectively, when described first control and second is detected When at least one position coordinates of control are identical, touch screen unlocks and show the camera that backstage starts.
2. under touch screen locking screen interface according to claim 1 the quick method starting camera it is characterised in that described the One control and the second control are rectangular shape.
3. quickly start the method for camera under touch screen locking screen interface according to claim 1 and 2 it is characterised in that examining Survey described first control to be specially with the position coordinateses in the range of the second control:Detect and obtain described first control and respectively The diagonal vertex position coordinate of two controls, determines described first control and the second control model respectively according to diagonal vertex position coordinate Position coordinateses in enclosing.
4. under a kind of touch screen locking screen interface as described in any one of claim 1-2 for the execution quick start camera methods be System is it is characterised in that described system includes:
Position coordinateses acquisition module, for detecting and obtaining the position coordinateses of described first control and the second control;
Distance calculation module, for according to the position coordinateses of described acquisition calculate between described first control and the second control away from From;
Distance Judgment module, for drawing different phases according to the distance between described first control being calculated and second control Machine control instruction;
Camera control module, for controlled according to the described camera control being drawn apart from reading module instruction camera unlatching or Close;
Camera status judge module, for detecting and obtaining camera status, judges whether camera has turned on;
By the blind area in the middle of the first distance and second distance, the quick coverage starting of camera and invalid distance are spaced apart Come;
The distance between described first control and the second control refer specifically to described first control and the second control center position is sat The distance between mark;
According to described sliding trace move described first control, and calculate between described first control and described second control away from From specially:Described first control is moved according to described sliding trace, detects that described first control and the position of the second control are sat Mark, and then calculate the center point coordinate of described first control and the second control, calculates described the according to described centre coordinate The distance between one control and the second control;
Detect the position coordinateses in the range of described first control and the second control respectively, when described first control and second is detected When at least one position coordinates of control are identical, touch screen unlocks and show the camera that backstage starts.
CN201310568950.XA 2013-11-15 2013-11-15 The quick method and system starting camera under a kind of touch screen locking screen interface Active CN103577069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310568950.XA CN103577069B (en) 2013-11-15 2013-11-15 The quick method and system starting camera under a kind of touch screen locking screen interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310568950.XA CN103577069B (en) 2013-11-15 2013-11-15 The quick method and system starting camera under a kind of touch screen locking screen interface

Publications (2)

Publication Number Publication Date
CN103577069A CN103577069A (en) 2014-02-12
CN103577069B true CN103577069B (en) 2017-03-08

Family

ID=50048956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310568950.XA Active CN103577069B (en) 2013-11-15 2013-11-15 The quick method and system starting camera under a kind of touch screen locking screen interface

Country Status (1)

Country Link
CN (1) CN103577069B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838462A (en) * 2014-02-14 2014-06-04 广州市久邦数码科技有限公司 Real-time updating method of screen locking interface having photographing function and system thereof
CN108255300B (en) * 2014-03-12 2023-03-21 联想(北京)有限公司 Control method and device of electronic equipment
CN104038698A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Background photographing method and device
CN104539838A (en) * 2014-12-02 2015-04-22 厦门美图移动科技有限公司 Method and device for rapidly opening mobile phone camera for performing video recording
CN105653181A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Control method for application program, device and mobile terminal
CN105867771A (en) * 2016-04-11 2016-08-17 广东欧珀移动通信有限公司 Mobile terminal and method and device for turning off application programs
CN106412299A (en) * 2016-09-29 2017-02-15 努比亚技术有限公司 Terminal camera control method and terminal
CN106815498B (en) * 2017-01-09 2021-05-28 惠州Tcl移动通信有限公司 Sliding unlocking detection processing method and system based on mobile terminal
CN107783715A (en) * 2017-11-20 2018-03-09 北京小米移动软件有限公司 Using startup method and device
CN108985032B (en) * 2018-06-12 2021-03-12 Oppo广东移动通信有限公司 Terminal control method and device and mobile terminal
CN113497885B (en) * 2020-04-03 2024-02-02 中兴通讯股份有限公司 Camera opening method, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790824A (en) * 2011-05-19 2012-11-21 中兴通讯股份有限公司 Mobile terminal and adjusting method of screen brightness in calling state of mobile terminal
CN102999252A (en) * 2012-11-12 2013-03-27 东莞宇龙通信科技有限公司 Application preloading method, device and terminal for unlocking interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8381125B2 (en) * 2009-12-16 2013-02-19 Apple Inc. Device and method for resizing user interface content while maintaining an aspect ratio via snapping a perimeter to a gridline
US20130069893A1 (en) * 2011-09-15 2013-03-21 Htc Corporation Electronic device, controlling method thereof and computer program product

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790824A (en) * 2011-05-19 2012-11-21 中兴通讯股份有限公司 Mobile terminal and adjusting method of screen brightness in calling state of mobile terminal
CN102999252A (en) * 2012-11-12 2013-03-27 东莞宇龙通信科技有限公司 Application preloading method, device and terminal for unlocking interface

Also Published As

Publication number Publication date
CN103577069A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103577069B (en) The quick method and system starting camera under a kind of touch screen locking screen interface
CN103412647B (en) The page display control method of a kind of recognition of face and mobile terminal
CN102508615B (en) Touch screen picture control method
CN105304064B (en) Adjust the method and system of electronic equipment screen brightness
CN104317494B (en) The method and system of mobile cursor
CN102799370B (en) The screen rotation control method and system of touch control terminal
CN106471450B (en) Information processing apparatus, information processing method, and program
CN105809783A (en) Automobile unlocking realization method based on gestures of intelligent bracelet and automobile unlocking realization system based on gestures of intelligent bracelet
JP6027964B2 (en) POSITION ESTIMATION DEVICE, POSITION ESTIMATION METHOD, AND INTEGRATED CIRCUIT
CN103853452A (en) Method and system for realizing multi-screen switchover of stereo desktop
CN105426214A (en) Application program starting method and system as well as mobile terminal
CN103631494A (en) Information processing method and electronic equipment
CN103257816B (en) A kind of touch screen unlocking method and device
CN103617000A (en) Method and system for switching screen of mobile terminal
CN105426095A (en) Method and apparatus for turning on imaging function of mobile terminal in screen-off state
WO2017113665A1 (en) Display region adjusting method and device
CN108549485B (en) Information processing method and wearable electronic equipment
CN103399697A (en) Unlocking method and terminal
CN105446597B (en) The methods of exhibiting of the function introduction information of application program shows device and terminal
CN102937879A (en) Mobile terminal with two-point touch unlocking system and two-point touch unlocking method
CN107229928B (en) Mobile terminal palm print acquisition method and system for auxiliary positioning
CN103810692B (en) Video monitoring equipment carries out method and this video monitoring equipment of video tracking
CN104345874B (en) The method and electronic equipment of a kind of information processing
WO2019090996A1 (en) Method, device and equipment for preventing interface from shaking, and computer-readable storage medium
CN105892857B (en) Image positioning method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211206

Address after: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee after: Weihai Regional Innovation Center Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.