Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawingExemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth hereIt is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosureCompletely it is communicated to those skilled in the art.
A kind of terminal is provided in the first embodiment of the present invention, as shown in Figure 1, the terminal includes:Setup module 110With processing module 120;
Setup module 110 for marking off several regions in terminal screen, and sets each region to be grasped with cameraMake correspondence and the activation region of item to transfer the activation condition of corresponding camera operation item;
Wherein, the different zones that setup module 110 marks off correspond to different camera operation items, the camera operation item packetIt includes but is not limited to:It takes pictures, image, continuous shooting etc..
In one particular embodiment of the present invention, the activation condition of setting include but not limited to be:What is detected is describedPressure value in region is more than or equal to the pressure threshold of setting.
Certainly, setting pressure threshold only activates the region to transfer a kind of reality of the corresponding camera operation item in the regionMode is applied, those skilled in the art can also set other active modes, for example, described region etc. is double-clicked, all in the present inventionProtection thought range within.
Processing module 120, for when detecting that terminal screen is triggered and trigger action meets the activation condition, adjustingIt takes and performs the corresponding camera operation item in trigger position region.
In the present embodiment, when the activation condition that setup module 110 is set is the pressure in the region detectedWhen value is more than or equal to the pressure threshold set, processing module 120, specifically for the pressure in the region each in detection terminal screenState when the pressure value for detecting certain region changes, judges there is trigger action in the region, and when detectedWhen pressure value is more than or equal to the pressure threshold, judge that the trigger action meets the activation condition.
Further, in the present embodiment, processing module 120, when detect terminal screen be triggered and trigger action meetDuring the activation condition, the state of the terminal screen is also detected, when detected state is screen lock state, sends out unlockPrompting, and detects whether the terminal screen has unlocked, and detect unlocked when, into camera applications, transfer and performThe corresponding camera operation item in trigger position region;And it when detected state is non-locking screen state, is directly enteredCamera applications are transferred and perform the corresponding camera operation item in trigger position region.
In an alternate embodiment of the present invention where, enter camera options comprising encryption in the unlock prompting;At this point,Processing module 120 after unlock prompting is sent out, also detects whether the encryption included in the unlock prompting enters camera optionsIt is triggered, and when detecting that the encryption is triggered into camera options, encryption enters camera applications, transfers and performs tactileSend out the corresponding camera operation item in position region.
In the another alternative embodiment of the present invention, processing module 120 after unlock prompting is sent out, also detects the endWhether the end unlocking screen frequency of failure reaches the threshold value of setting, and enters camera choosing where it has, sending out and including encryptionThe prompt message of item is selected, and when detecting that the encryption is triggered into camera options, encryption enters camera applications, transfersAnd perform the corresponding camera operation item in trigger position region.
In summary, scheme described in the embodiment of the present invention marks off several regions in terminal screen, and by different phasesMachine action-item establishes incidence relation from different regions, when meeting the activation condition of setting to the triggering in certain region, according to thisThe corresponding camera operation item operation camera in region.The program can be in blank screen and bright screen, and in the case of screen locking or not screen locking, convenience is fastThe various operations of the realization camera of speed, such as take pictures, image, continuous shooting, the flexibility of camera operation is enhanced, improves user'sService efficiency.
A kind of terminal is provided in second embodiment of the invention, as shown in Fig. 2, the terminal includes:210 He of setup moduleProcessing module 220;Wherein, processing module 220 includes:Pressure acquisition module 221, pressure judgment module 222, matching module 223,Fingerprint identification module 224, operation and control module 225.When screen locking under screen lock such as password screen locking pattern lock screen or screen blank screenWhen, after pressing, after unlocking by fingerprint recognition quick release or other unlocking manners or select cipher mode, cipher mode is notIt can check previously stored photo and video, open camera and operated accordingly, improve safety and unlock efficiency, improve and useFamily is alternative.By the simple pressing operation of the different zones to screen, the various operations of camera, spirit are realized easily and fastLiving controls camera, realizes snapshots, camera shooting, continuous shooting, setting of storage location etc., promotes user experience.
Specifically, setup module 210, for dividing screen areas, and defines different zones different camera operation items,It will be in region and corresponding action-item deposit database.It sets and preserves minimum triggering pressure value.It is acquired in setup module 210User fingerprints when terminal sets screen locking under screen locking or blank screen, are compared the fingerprint of acquisition, are unlocked using fingerprint recognition.
In the present embodiment, the division in region can be mobile terminal acquiescence or user-defined.Camera operation itemIncluding one below or its arbitrary combination:The switching taking pictures, image and stop, the switching of exposal model, continuous shooting, photo sizeSwitching, the switching of video image quality, the switching of storage location, interval take pictures, periodically take pictures.In addition, in the present embodiment, mould is setBlock also provides editor and deletes the number of regions divided and position.
For example, relationship is divided to screen area as shown in figure 3, screen is divided into 9 regions here:Pressing area S1,Pressing area S2, pressing area S3, pressing area S4, pressing area S5, pressing area S6, pressing area S7, pressing area S8,The wherein various screens 1/9th of pressing area S9..S1 correspondences in pressing area are taken pictures, and pressing area S2 corresponds to camera shooting, pressing areaDomain S3 corresponds to continuous shooting, and pressing area S4 takes pictures after corresponding to the switching of exposal model, and pressing area S5 corresponds to cutting for photo sizeIt changes and takes pictures again, the switching that pressing area S6 corresponds to video image quality images again, and the switching that pressing area S7 corresponds to storage location is clapped againAccording to pressing area S8 intervals are taken pictures, and S9 timings in pressing area are taken pictures.Under blank screen or bright screen state, to be not less than needed for triggeringThe minimum pressure values wanted remove triggering pressing area S1, and execution is taken pictures;It goes to touch to be not less than the required minimum pressure values of triggeringPressing area S2 is sent out, performs the operation that camera shooting starts and stops, i.e., if being now in camera shooting state, pressing area S2 then stopsIt only images, if being now in halted state, images;Etc..
Pressure acquisition module 221 detects user by the pressure sensor of terminal screen and presses, and acquire pressure value and pressPress position.
Pressure judgment module 222 according to pressing position and pressure value, determines whether effective pressing operation, that is, judges pressureWhether force value is more than or equal to minimum pressure threshold, if so, exporting pressing position and pressure value to matching module 223;If it is not,Then it is judged to pressing in vain, does not perform any operation.
Matching module 223, it is according to setup module 210 that pressing position is corresponding with the pressing area stored, it obtains correspondingCamera operation item.At this moment if locking screen interface under screen locking or blank screen, the information of acquisition is passed into fingerprint identification module221;If without screen locking, can the information of acquisition directly be passed into operation and control module 225.
Fingerprint identification module 224 prompts user fingerprints unlock, and carries out fingerprint pair after unlock finger print information is receivedThan if unlocking successfully, camera operation item information is passed to operation and control module 225;If unlock failure, user can also selectIt selects encryption and enters camera, and when user has selected encryption to enter camera, camera operation item letter is transmitted to operation and control module 225During breath, encrypted flag is added.
Operation and control module 225 after receiving camera operation item information, if camera does not start, first starts and performs again pairThe camera operation item answered if having been turned on, directly performs corresponding camera operation item.
Wherein, if there is encrypted flag in the information received, user is not allowed to check the photo taken pictures and recordThe video of system;If without encrypted flag, user is allowed to check already present photo and video.
As shown in figure 4, the flow diagram to realize control camera operation using above-mentioned terminal, including:
Step 401:Setup module pre-sets screen area and divides and corresponding camera operation item and minimum pressure thresholdValue is stored in database.It acquires simultaneously and preserves fingerprint.User can edit and delete the option in setting.
Step 402:In the bright screen screen locking of mobile terminal or blank screen, screen is pressed;
Step 403:Pressure acquisition module detects screen pressure change, records pressure value at this time and pressing position;
Step 404:Pressure value is transmitted to pressure judgment module by pressure acquisition module, is compared with minimum pressure threshold,If not less than minimum pressure threshold, 405 are entered step, is abandoned if less than if, does not perform and operates in next step.
Step 405:Effective pressure value and pressing position are transmitted to matching module by pressure judgment module;
Step 406:Matching module obtains screen area searching data library according to pressing position, gets screen area correspondenceCamera operation item;
Step 407:Judge screen whether screen locking or blank screen, if then post messages to fingerprint identification module carry out it is quickUnlock, if otherwise passing messages directly to operation and control module;
Step 408:Fingerprint identification module receives message, prompts user fingerprints unlock.By comparing the fingerprint of acquisition, intoCorresponding camera operation item message after quick release, is then exported and gives operation and control module by row fingerprint recognition.Fingerprint recognition is setThe number of failure, more than three times, then other unlocking manners are changed in prompting, after unlocking, corresponding camera operation item message is defeatedGo out and give operation and control module.If unlock failure, can also select encryption to enter camera, transmit message and add encrypted flag to behaviourMake control module.
Step 409:Operation and control module receives message, judges whether camera starts, if it has not, then first starting camera, soAfter perform the control of corresponding camera operation.Wherein, for the message of reception if any encryption flag, user cannot check what is taken picturesPhoto and record video, if without flag encrypted, user can with complete operation camera, check existing photo withVideo etc..
In summary, scheme of the present invention marks off several regions in terminal screen, and is sent using pressure sensorThe camera operation control item message of different zones.When screen locking under terminal screen locking or blank screen, can directly be carried out by fingerprint recognitionIt can also open camera by other unlocking manners or selection cipher mode, operate different camera control items after quick release.Can be in blank screen and bright screen, in the case of screen locking or not screen locking, by the simple pressing operation of the different zones to screen, convenience is fastThe various operations of the realization camera of speed, flexibly control camera, realize snapshots, quick to image, continuous shooting etc., enhancingThe flexible operating of camera promotes user experience, while improves safety and unlock efficiency and user's alternative.
A kind of method of terminal control camera operation is provided in the third embodiment of the present invention, as shown in figure 5, the sideMethod includes:
Step S501 marks off several regions in terminal screen, and sets each region and camera operation itemCorrespondence and the activation region are to transfer the activation condition of corresponding camera operation item;
In the present embodiment, the different zones marked off correspond to different camera operation items, the camera operation item include butIt is not limited to:It takes pictures, image, continuous shooting etc..
In one particular embodiment of the present invention, the activation condition of setting includes:The pressure in the region detectedForce value is more than or equal to the pressure threshold of setting.
Certainly, setting pressure threshold only activates the region to transfer a kind of reality of the corresponding camera operation item in the regionMode is applied, those skilled in the art can also set other active modes, for example, double-clicking described region etc..
Step S502 when detecting that terminal screen is triggered and trigger action meets the activation condition, is transferred and is heldThe corresponding camera operation item in row trigger position region.
Specifically, in the present embodiment, when the activation condition is more than or equal to the pressure set for the pressure value in the regionIt is described to detect that terminal screen is triggered and trigger action meets the activation condition during force threshold, including:Detect the terminalThe pressure state in each region in screen when the pressure value for detecting certain region changes, judges have in the regionTrigger action, and when detected pressure value is more than or equal to the pressure threshold, judge described in the trigger action satisfactionActivation condition.
Further, in the present embodiment, when detecting that terminal screen is triggered and trigger action meets the activation conditionWhen, further comprise:The state of the terminal screen is detected, when detected state is screen lock state, unlock is sent out and carriesShow, and detect whether the terminal screen has unlocked, and detect unlocked when, into camera applications, perform trigger positionThe corresponding camera operation item in region;And when the state detected is non-locking screen state, camera applications are directly entered, it adjustsIt takes and performs the corresponding camera operation item in trigger position region.
In an alternate embodiment of the present invention where, it after unlock prompting is sent out, further includes:
It detects the encryption included in the unlock prompting and enters whether camera options is triggered, and detecting described addWhen close entrance camera options is triggered, encryption enters camera applications, transfers and performs the corresponding phase in trigger position regionMachine action-item;
In another alternative embodiment of the present invention, after unlock prompting is sent out, further include:
Detect whether the terminal screen unlock frequency of failure reaches the threshold value of setting, and where it has, send out packetContaining encryption into the prompt message of camera options, and when detecting that the encryption is triggered into camera options, addIt is close to enter camera applications, it transfers and performs the corresponding camera operation item in trigger position region.
In summary, scheme described in the embodiment of the present invention marks off several regions in terminal screen, and by different phasesMachine action-item establishes incidence relation from different regions, when meeting the activation condition of setting to the triggering in certain region, according to thisThe corresponding camera operation item operation camera in region.The program can be in blank screen and bright screen, and in the case of screen locking or not screen locking, convenience is fastThe various operations of the realization camera of speed, such as take pictures, image, continuous shooting, the flexibility of camera operation is enhanced, improves user'sService efficiency.
A kind of terminal is provided in the fourth embodiment of the present invention, as shown in fig. 6, including:Touch screen 610, touch screen driveDynamic circuit 620, memory 630 and processor 640;It is mutual by bus between the driving circuit 620 and processor 640It is connected;Computer instruction is stored in memory 630, processor 630 by performing the computer instruction, so as to fulfill withLower method:
Mark off several regions in touch screen, and set each region and camera operation item correspondence andThe region is activated to transfer the activation condition of corresponding camera operation item;
When detecting that touch screen is triggered and trigger action meets the activation condition, transfer and perform trigger position instituteIn the corresponding camera operation item in region.
Optionally, in some embodiments of the invention, processor 640 judges pressure institute by the pressure change of touch screenWhether be activated in region, specifically, processor 640 set pressure value in each region be more than or equal to the pressure threshold that sets asThe activation condition in the region.Under preferably, terminal described in the present embodiment further includes the pressure sensor 650 of touch screen,The pressure sensor is directly or indirectly connected with processor 640.
Optionally, in some embodiments of the invention, processor 640 is when detecting that terminal screen is triggered and triggers behaviourWhen work meets the activation condition, the state of the terminal screen is detected, when detected state is screen lock state, is sent outUnlock prompting, and detect whether the terminal screen has unlocked, and detecting that, into camera applications, execution is touched when having unlockedSend out the corresponding camera operation item in position region.
Optionally, in some embodiments of the invention, it after processor 640 sends out unlock prompting, detects the unlock and carriesThe encryption included in showing enters whether camera options is triggered, and is detecting that the encryption is triggered into camera optionsWhen, encryption enters camera applications, transfers and performs the corresponding camera operation item in trigger position region;And/or described in detectionWhether the terminal screen unlock frequency of failure reaches the threshold value of setting, and enters camera where it has, sending out and including encryptionThe prompt message of options, and when detecting that the encryption is triggered into camera options, encryption enters camera applications, adjustsIt takes and performs the corresponding camera operation item in trigger position region.
In summary, scheme described in the embodiment of the present invention marks off several regions in terminal screen, and by different phasesMachine action-item establishes incidence relation from different regions, when meeting the activation condition of setting to the triggering in certain region, according to thisThe corresponding camera operation item operation camera in region.The program can be in blank screen and bright screen, and in the case of screen locking or not screen locking, convenience is fastThe various operations of the realization camera of speed, such as take pictures, image, continuous shooting, the flexibility of camera operation is enhanced, improves user'sService efficiency.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-rowHis property includes, so that process, method, article or device including a series of elements not only include those elements, andAnd it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device instituteElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including thisAlso there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior artGoing out the part of contribution can be embodied in the form of software product, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, computer takesBe engaged in device, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hairThe equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skillsArt field, is included within the scope of the present invention.