CN106951750A - Method for switching modes of mobile terminal and mobile terminal - Google Patents

Method for switching modes of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106951750A
CN106951750A CN201710168779.1A CN201710168779A CN106951750A CN 106951750 A CN106951750 A CN 106951750A CN 201710168779 A CN201710168779 A CN 201710168779A CN 106951750 A CN106951750 A CN 106951750A
Authority
CN
China
Prior art keywords
gesture
image
password
camera
identification
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.)
Pending
Application number
CN201710168779.1A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710168779.1A priority Critical patent/CN106951750A/en
Publication of CN106951750A publication Critical patent/CN106951750A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention belongs to the technical field of mobile terminals, and provides a method for switching modes of a mobile terminal and the mobile terminal, wherein the method comprises the following steps: in a preset state, after receiving a command of switching a mode, starting a camera to collect an image; recognizing gestures in the image collected by the camera, and comparing and recognizing the recognized gestures with a plurality of gesture passwords stored in advance; and if the recognized gesture is matched with any one of the gesture passwords stored in advance, entering a terminal mode corresponding to the gesture password matched with the recognized gesture. The invention can complete the switching of different modes of the terminal without entering a mode switching interface, thereby simplifying the operation of switching different modes of the terminal by a user and improving the operation efficiency. Moreover, the invention has the advantages of convenient operation, simple realization, wide application range, and stronger usability and practicability.

Description

The method and mobile terminal of a kind of mobile terminal switch mode
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of method of mobile terminal switch mode and movement are eventually End.
Background technology
Existing mobile terminal user for difference the need for (protection individual privacy, different occasion open different mode), Mobile terminal would generally be set to multiple patterns, Dietary behavior interface switching is carried out when entering another pattern by a pattern Switching.Especially when other people borrow mobile phone, in order to protect the privacy of oneself, generally first unblock enters normal mode, then Dietary behavior interface switching switches to other patterns, is on the one hand possible to cause the embarrassment of other side, another aspect switch mode Operation is comparatively laborious, and operating efficiency is low.
The content of the invention
In consideration of it, the present invention provides the method and mobile terminal of a kind of mobile terminal switch mode, cut to simplify user The operation of mobile terminal different mode is changed, operating efficiency is improved.
The first aspect of the present invention includes there is provided a kind of method of mobile terminal switch mode, methods described:
Under predetermined state, after the instruction for receiving switch mode, open camera to gather image;
Recognize the gesture in the image of the camera collection, and the gesture that will identify that and the multiple gestures prestored Identification is compared in password;
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, into The corresponding terminal pattern of gesture password of the gesture matching identified.
The second aspect of the present invention includes there is provided a kind of mobile terminal, the mobile terminal:
Command reception module, under predetermined state, after the instruction for receiving switch mode, opening camera to gather Image;
Identification module, the gesture in image for recognizing camera collection, and the gesture that will identify that with advance Identification is compared in multiple gesture passwords of storage;
Mode switch module, if for any one gesture in the gesture identified and the multiple gesture passwords prestored Password match, then enter the corresponding terminal pattern of gesture password of the gesture matching with identifying.
The third aspect of the present invention includes there is provided a kind of mobile terminal, the mobile terminal:
Memory, processor and storage are on a memory and the computer program that can run on a processor, the processing Device realizes following steps when performing described program:
Under predetermined state, after the instruction for receiving switch mode, open camera to gather image;
Recognize the gesture in the image of the camera collection, and the gesture that will identify that and the multiple gestures prestored Identification is compared in password;
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, into The corresponding terminal pattern of gesture password of the gesture matching identified.
The fourth aspect of the present invention is there is provided a kind of computer-readable storage medium, and the computer-readable storage medium can be easy with right and wrong The property lost, be stored with computer program on the computer-readable storage medium, and the computer program is by one or more processing Device can realize the methods described that above-mentioned first aspect is provided when reading and performing.
The beneficial effect that exists compared with prior art of the present invention is:The present invention receives switching mould under predetermined state After the instruction of formula, open camera to gather image;Recognize the gesture in the image of camera collection, and will identify that Identification is compared with the multiple gesture passwords prestored in gesture;If the gesture identified and the multiple gestures prestored are close Any one gesture password in code is matched, then entrance terminal pattern corresponding with the gesture password that the gesture identified is matched.By The switching of terminal different mode can be completed without Dietary behavior interface switching in the present invention, user's switching terminal can be simplified not With the operation of pattern, operating efficiency is improved.Moreover, the present invention is easy to operate, it is simple to realize, adapt to wide, with stronger easy With property and practicality.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the schematic flow diagram of the method for the mobile terminal switch mode that first embodiment of the invention is provided;
Fig. 2 is the schematic flow diagram of the method for the mobile terminal switch mode that second embodiment of the invention is provided;
Fig. 3 is the schematic block diagram for the mobile terminal that third embodiment of the invention is provided;
Fig. 4 is the schematic block diagram for the mobile terminal that fourth embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " indicates described spy Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Referring to Fig. 1, Fig. 1 is the schematic flow diagram for the mobile terminal switch mode method that the embodiment of the present invention one is provided, such as This method shown in figure may comprise steps of:
Step S101, under predetermined state, after the instruction for receiving switch mode, opens camera to gather image.
In embodiments of the present invention, the predetermined state is a kind of state where terminal set in advance, can be eventually Screen lock state, the main interface state at end etc..The instruction of the switch mode is the instruction inputted by terminal user pre-set, Can be that instruction that user is inputted by touch screen or user pass through the combination of the button or button that are set in terminal The instruction of input.As a preferred embodiment, the predetermined state is screen lock state, and the instruction of the switch mode is use Family finger slides into the instruction on the right side in touch screen from a left side, i.e., under screen locking pattern, terminal receives user's finger and exported by touch screen Slided into from left after the instruction on the right side, the camera that terminal is carried can be opened, the camera is used for gathering image.
Step S102, recognizes the gesture in the image of the camera collection, and the gesture that will identify that is with prestoring Multiple gesture passwords identification is compared.
In embodiments of the present invention, the various gestures that the camera collection user makes in front of terminal camera, In order that the camera can photograph the images of gestures of complete display, it can set real in terminal screen after unlatching camera When show the image that the camera is collected, user can adjust gesture according to the images of gestures shown in real time in terminal screen Position collect the images of gestures of complete display in order to the camera.The gesture can be two-dimensional static gesture, also It can be two-dimentional dynamic gesture.Collect after image, can lead to image zooming-out area of skin color and given threshold by image binaryzation Cross morphologic processing and eliminate noise jamming, finally carry out connection domain lookup and obtain the images of gestures recognized, then will identification To images of gestures and multiple gesture passwords for prestoring identification is compared, can will be continuously if two-dimentional dynamic gesture Image of multiple of collection comprising gesture is identified, and finally gives two-dimentional dynamic gesture.
As a preferred embodiment, after the gesture in the image that the identification camera is gathered, methods described Also include:
Gesture information is generated according to the gesture of identification for user to confirm;
If after receiving the information that user is identified through, the gesture of identification and the multiple gesture passwords prestored are carried out Matching identification.
In embodiments of the present invention, due to user before terminal camera by make some gesture and prestore it is many Identification is compared in individual gesture password, due to the influence such as posture, angle or light, camera collection and after identification The problem of gesture that gesture may be wanted to make with user has inconsistent, so in the image for recognizing the camera collection Gesture after, a virtual gesture information can be generated according to the gesture of identification, the gesture information pass through in the form of images Terminal screen is shown.For example, after user makes the action of one " OK " by gesture, due to the angle, posture, light of user Deng influence, the image of camera collection is likely to occur the gesture shape of " OK " after identification, it is also possible to simply three of appearance The shape of finger, when the password prestored is the gesture shape of " OK ", even if just occurring that the gesture that user makes is The gesture shape of " OK ", but the reason for be due to angle posture, the shape of three fingers can be identified as, can will identify that three Identification is compared with the gesture password prestored in the shape of finger, causes matching identification result mistake occur, so knowing Do not go out after gesture, confirmed according to the gesture information that the gesture identified generates image format for user in order to which user can pass through The angle for the gesture motion that gesture information adjustment is made.
It should be noted that identification is compared in the gesture that will identify that and the multiple gesture passwords prestored Before, a gesture can be correspondingly arranged for each terminal pattern as the gesture password for entering the terminal pattern.
Step S103, if the gesture identified and any one gesture password in the multiple gesture passwords prestored Match somebody with somebody, then entrance terminal pattern corresponding with the gesture password that the gesture identified is matched.
In embodiments of the present invention, usual user can set multiple terminal patterns in terminal, while being each terminal pattern One gesture password is set, when the gesture identified is matched with any one in the multiple gesture passwords prestored, entered Terminal pattern corresponding with the gesture that the gesture identified is matched, due to needing that the image that camera is shot is identified, and Recognition result may be influenceed by ambient light intensity, user's posture etc., even if so user makes same gesture, can The result that can be recognized can also have differences, at this moment, it is necessary to set a matching threshold, if the gesture identified is with prestoring Multiple gesture passwords in any one gesture password matching degree be more than matching threshold, then enter matched with the gesture identified The corresponding terminal pattern of gesture password, if any one gesture in the gesture identified and the multiple gesture passwords prestored The matching degree of password is less than or equal to matching threshold, then without the information for responding or sending prompting code error.
The present invention is under predetermined state, after the instruction for receiving switch mode, opens camera to gather image;Identification institute The gesture in the image of camera collection is stated, and knowledge is compared in the gesture that will identify that and multiple gesture passwords for prestoring Not;If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, into identification The corresponding terminal pattern of gesture password of the gesture matching gone out.Because the present invention can be completed end without Dietary behavior interface switching The switching of different mode is held, the operation of user's switching terminal different mode can be simplified, operating efficiency is improved.Moreover, of the invention Easy to operate, realization is simple, adapts to wide, with stronger usability and practicality.
Embodiment two:
Referring to Fig. 2, Fig. 2 is the schematic flow diagram of the method for the mobile terminal switch mode that the embodiment of the present invention two is provided, This method may comprise steps of as shown in the figure:
Step S201, receives gesture password and sets after instruction, open camera to gather image.
In embodiments of the present invention, can using two-dimentional gesture as gesture password, user need to only make one it is set in advance The switching that terminal different mode can be achieved is acted, but is due to that the gesture that two-dimentional gesture password is recognized can only rest on two-dimentional put down On face, the gesture that user makes can not be identified completely, therefore can also regard three-dimension gesture as gesture password, three-dimension gesture Identification can recognize various hand-types, gesture, action.Because the gesture of identification needs multiple gesture passwords with prestoring to carry out Matching identification, so needing user to pre-set the corresponding gesture password of multiple terminal patterns, the gesture password sets instruction Can user sent by touch screen, can also be what user was sent by the combination of the button in terminal or button, After the gesture password setting instruction that user sends is received, open camera to gather image.
Step S202, selects corresponding terminal pattern.
Step S203, recognizes the gesture in the image of the camera collection, and regard the gesture of identification as entrance The gesture password of selected terminal pattern.
In embodiments of the present invention, because gesture password can be three-dimension gesture password, it is identified to three-dimension gesture It is generally necessary to which comprising depth information, the depth information refers to distance of the difference apart from camera in gesture.Relative to two dimension Gesture Recognition, three-dimension gesture identification can not only use single common camera, at present can in terminal loads laser projecting apparatus, A grating that there can be certain patterns is put outside laser projecting apparatus, laser can be rolled over when carrying out projection imaging by grating Penetrate, so that the final drop point on a surface of an of laser produces displacement, but when being due to that distance is too near, position caused by refraction Move still unobvious so that the technology cannot accurately calculate very much depth information, so 1 meter to 4 meters is optimum distance.But will When Gesture Recognition is used for terminal switch mode, it is clear that this distance is inappropriate, therefore this method has limitation.It is excellent Choosing, it can also use in terminal loads light-emitting component, the photon that light-emitting component is sent can be reflected back after body surface is encountered Come so that the photon that a cmos sensor is sent by light-emitting component and fired back from body surface to catch these, with regard to energy Obtain the flight time of photon.According to photon flight time and then the distance of photon flight can be extrapolated, also just obtain object Depth information.
As a preferred embodiment, image can also be absorbed simultaneously using two or more camera, It is that the mankind observe the world with binocular, insect with many mesh compound eyes to just look like, by comparing these different cameras in synchronization The difference of the image of acquisition, to calculate depth information, so that polygonal three-dimensional imaging.I.e. described camera is dual camera, is used Dual camera recognizes that three-dimension gesture is specially:
Images of gestures is identified in the image gathered from two cameras for being arranged on diverse location, and from the institute identified State the image that same gesture different visual angles are extracted in images of gestures;
The depth information of the gesture key point is obtained according to the image of the same gesture different visual angles of extraction;
Three-dimension gesture information is built according to the depth information of the gesture key point.
In embodiments of the present invention, two cameras are parallel installs, and the optical axis of two cameras is parallel.Two shootings Head is needed to gather image simultaneously to ensure the uniformity of two camera imagings, and hand is recognized from the image of two camera collections Gesture image, can obtain the image of same gesture different visual angles, can choose the key point in images of gestures, calculate key point and exist The parallax of corresponding pixel in two different visual angles images, and according to Jiao of the distance between two cameras, camera Away from the depth information that key point is obtained with the parallax, the parallax can determine that depth information refers to using Census algorithms Gesture in key point to the distance of camera lens, first pass through Census algorithms and calculate the figure that is shot in another camera of key point The position for the key point that correspondence position periphery as in is most matched, then passes through the distance between two cameras and camera The information such as focal length and parallax calculates the distance of key point in gesture apart from camera, i.e. depth information.Camera can be selected to know Multiple key points in other gesture, and the depth information of multiple key points is calculated respectively, believed by the depth of multiple key points Breath can just build three-dimension gesture information.
It should be noted that the terminal with dual camera, is not restricted to that three-dimension gesture password, Ke Yiyou can only be set User's selection sets two-dimentional gesture password or three-dimension gesture password, when the terminal selection with dual camera sets two-dimentional gesture During password, images of gestures can be gathered by one of camera and is recognized.
Step S204, under predetermined state, after the instruction for receiving switch mode, opens camera to gather image.
The step is identical with step S101, for details, reference can be made to step S101 associated description, will not be repeated here.
Step S205, recognizes the gesture in the image of the camera collection, and the gesture that will identify that is with prestoring Multiple gesture passwords identification is compared.
As a preferred embodiment, the gesture in the image that the identification camera is gathered, and will identify that The gesture identification be compared with multiple gesture passwords for prestoring include:
Images of gestures is identified in the image gathered from two cameras for being arranged on diverse location, and from the institute identified State the image that same gesture different visual angles are extracted in images of gestures;
The depth information of the gesture key point is obtained according to the image of the same gesture different visual angles of extraction;
Three-dimension gesture information is built according to the depth information of the gesture key point, and the three-dimension gesture of structure is believed Identification is compared in the multiple gesture passwords for ceasing and prestoring.
In embodiments of the present invention, by the method for the gestures of two camera identifying users with described in step S203 Equally.If it should be noted that when setting terminal pattern password, selection is two-dimentional gesture, is switching over the knowledge of pattern Two-dimentional gesture can be automatically recognized as when other, identification is compared with the gesture password prestored in the two-dimentional gesture that will identify that; If what is selected when setting terminal pattern password is three-dimension gesture, three-dimension gesture can be automatically recognized as in switch mode, will Identification is compared with the gesture password prestored in the three-dimension gesture of identification;If when setting terminal pattern password, some ends End pattern is two-dimentional gesture password, and some terminal patterns are three-dimension gesture password, then recognized in switch mode two-dimentional gesture and Three-dimension gesture, and identification is compared in the two-dimentional gesture of identification and three-dimension gesture password and the gesture password prestored.
Step S206, if the gesture identified and any one gesture password in the multiple gesture passwords prestored Match somebody with somebody, then entrance terminal pattern corresponding with the gesture password that the gesture identified is matched.
The step is identical with step S103, for details, reference can be made to step S103 associated description, will not be repeated here.
It should be understood that in above-described embodiment one and two, the size of the sequence number of each step is not meant to the elder generation of execution sequence Afterwards, the execution sequence of each step should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention Limited into any.
Embodiment three:
Referring to Fig. 3, Fig. 3 is the schematic block diagram for the mobile terminal that the embodiment of the present invention three is provided, and for convenience of description, is only shown Go out the part related to the embodiment of the present invention.
The mobile terminal can be built in terminal device (for example mobile phone, panel computer, notebook, computer, wearing are set It is standby etc.) in software unit, hardware cell or the unit of soft or hard combination, the end can also be integrated into as independent suspension member In end equipment.
The mobile terminal includes:
Command reception module 31, under predetermined state, after the instruction for receiving switch mode, opening camera to adopt Collect image;
Identification module 32, the gesture in image for recognizing camera collection, and the gesture that will identify that with it is pre- Identification is compared in the multiple gesture passwords first stored;
Mode switch module 33, if for any one hand in the gesture identified and the multiple gesture passwords prestored Gesture password match, then enter the corresponding terminal pattern of gesture password of the gesture matching with identifying.
Optionally, the mobile terminal also includes:
Camera starting module 34, for being compared in the gesture that will identify that and multiple gesture passwords for prestoring Before identification, receive gesture password and set after instruction, open camera to gather image;
Terminal pattern selecting module 35, for selecting corresponding terminal pattern;
Gesture password setup module 36, the gesture in image for recognizing camera collection, and by the institute of identification Gesture is stated as the gesture password for entering selected terminal pattern.
Optionally, the predetermined state is screen lock state;The mode switch module 33 is additionally operable to:
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, screen locking is solved Curtain and entrance terminal pattern corresponding with the gesture password that the gesture identified is matched.
Optionally, the identification module includes:
Gesture information confirmation unit, confirms for generating gesture information according to the gesture of identification for user;
Recognition unit, if for receiving after the information that user is identified through, by the gesture of identification and prestore it is many Identification is compared in individual gesture password;
The gesture password setup module includes:
Gesture information confirmation unit, confirms for generating gesture information according to the gesture of identification for user;
Gesture password setting unit, the gesture password of different mode is set to for the gesture correspondence of identification to be stored.
Optionally, the camera is dual camera, and the gesture is two-dimentional gesture or three-dimension gesture.
Optionally, the identification module 32 also includes:
Images of gestures collecting unit 321, for being recognized from the image of two cameras collection for being arranged on diverse location Go out images of gestures, and extract from the images of gestures identified the image of same gesture different visual angles;
Depth information computing unit 322, for described in the image acquisition of the same gesture different visual angles according to extraction The depth information of gesture key point;
Three-dimension gesture recognition unit 323, for building three-dimension gesture information according to the depth information of the gesture key point, And identification is compared in the three-dimension gesture information of structure and the multiple gesture passwords prestored.
It is apparent to those skilled in the art that, for convenience and simplicity of description, only with above-mentioned each function Unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different work( Can unit, module complete, i.e., the internal structure of described mobile terminal is divided into different functional unit or module, more than completion The all or part of function of description.Each functional unit or module in embodiment can be integrated in a processing unit, Can be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit or module can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each Functional unit, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.On Unit in mobile terminal, the specific work process of module are stated, the corresponding process of preceding method embodiment is may be referred to, herein no longer Repeat.
Example IV:
Referring to Fig. 4, Fig. 4 is the schematic block diagram for the mobile terminal that the embodiment of the present invention four is provided.The movement as depicted Terminal can include:One or more processors 401 (only show one) in Fig. 4;One or more input equipments 402 are (in Fig. 4 Only show one), one or more output equipments 403 (one is only shown in Fig. 4) and memory 404.Above-mentioned processor 401, Input equipment 402, output equipment 403 and memory 404 are connected by bus 405.Memory 404 is used for store instruction, processing Device 401 is used for the instruction for performing the storage of memory 404.Wherein:
The processor 401, under predetermined state, after the instruction that switch mode is received by input equipment 402, Camera is opened to gather image;The processor 401 is additionally operable to recognize the gesture in the image of the camera collection, and will Identification is compared with the multiple gesture passwords prestored in the gesture identified;If the processor 401 is additionally operable to identify Gesture matched with any one gesture password in the multiple gesture passwords prestored, then enter matched with the gesture identified The corresponding terminal pattern of gesture password.
Optionally, multiple gesture passwords that the processor 401 is additionally operable in the gesture that will identify that with prestoring are entered Before row matching identification, gesture password is received by input equipment 402 and set after instruction, opens camera to gather image; The processor 401 is additionally operable to select corresponding terminal pattern;The processor 401 is additionally operable to recognize the camera collection Gesture in image, and it regard the gesture of identification as the gesture password for entering selected terminal pattern.
Optionally, the predetermined state is screen lock state;If the processor 401 is additionally operable to the gesture identified and advance Any one gesture password matching in multiple gesture passwords of storage, then solve lock screen and enter what is matched with the gesture identified The corresponding terminal pattern of gesture password.
Optionally, the camera is dual camera, and the gesture is two-dimentional gesture or three-dimension gesture.
Optionally, the processor 401 is additionally operable to know from the image of two cameras collection for being arranged on diverse location Do not go out images of gestures, and extract from the images of gestures identified the image of same gesture different visual angles;The processor 401 are additionally operable to obtain the depth information of the gesture key point according to the image of the same gesture different visual angles of extraction;Institute Processor 401 is stated to be additionally operable to build three-dimension gesture information according to the depth information of the gesture key point, and by described in structure Identification is compared with the multiple gesture passwords prestored in three-dimension gesture information.
Optionally, the processor 401 is additionally operable to be supplied by output equipment 403 according to the gesture of identification generation gesture information User confirms;If the processor 401 is additionally operable to receive after the information that user is identified through by input equipment 402, it will know Identification is compared with the multiple gesture passwords prestored in other gesture.
The memory 404, for storing the data message needed in software program, module, unit and mobile terminal, The processor 401 is stored in software program, module and the unit of the memory 404 by operation, so as to perform various Application of function and data processing, simplify the operation that user switches mobile terminal different mode, improve operating efficiency.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402, which can include Trackpad, fingerprint collecting sensor, (is used for the finger print information and fingerprint for gathering user Directional information), microphone, camera, data acquisition device, data sink etc., output equipment 403 can include display Device (LCD etc.), loudspeaker, data sending device etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In implementing, processor 401, input equipment 402, the and of output equipment 403 described in the embodiment of the present invention Memory 404 can perform the realization described in the embodiment of the method for mobile terminal switch mode provided in an embodiment of the present invention Mode, also can perform the implementation described in mobile terminal embodiment three, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the mould of each example described with reference to the embodiments described herein Block and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
, can be by it in embodiment provided by the present invention, it should be understood that disclosed mobile terminal and method Its mode is realized.For example, embodiments described above is only schematical, for example, the division of the module or unit, It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional module in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, the technical scheme of the embodiment of the present invention The part substantially contributed in other words to prior art or all or part of the technical scheme can be with software products Form embody, the computer software product is stored in a storage medium, including some instructions are to cause one Computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform this hair The all or part of step of each embodiment methods described of bright embodiment.And foregoing storage medium includes:USB flash disk, mobile hard disk, Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic Dish or CD etc. are various can be with the medium of store program codes.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and model of each embodiment technical scheme of the embodiment of the present invention Enclose.

Claims (15)

1. a kind of method of mobile terminal switch mode, it is characterised in that methods described includes:
Under predetermined state, after the instruction for receiving switch mode, open camera to gather image;
Recognize the gesture in the image of the camera collection, and the gesture that will identify that and the multiple gesture passwords prestored Identification is compared;
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, into identification The corresponding terminal pattern of gesture password of the gesture matching gone out.
2. according to the method described in claim 1, it is characterised in that in the gesture that will identify that and the multiple gestures prestored Password is compared before identification, and methods described also includes:
Receive gesture password to set after instruction, open camera to gather image;
Select corresponding terminal pattern;
The gesture in the image of the camera collection is recognized, and regard the gesture of identification as the selected terminal mould of entrance The gesture password of formula.
3. according to the method described in claim 1, it is characterised in that the predetermined state is screen lock state;If described identify Gesture matched with any one gesture password in the multiple gesture passwords prestored, then enter matched with the gesture identified The corresponding terminal pattern of gesture password include:
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, solution lock screen is simultaneously Into the corresponding terminal pattern of gesture password of the gesture matching with identifying.
4. according to the method described in claim 1, it is characterised in that the camera is dual camera, the gesture is two dimension Gesture or three-dimension gesture.
5. method according to claim 4, it is characterised in that the hand in the image of the identification camera collection Gesture, and the gesture that will identify that is compared identification with multiple gesture passwords for prestoring and includes:
Images of gestures is identified in the image gathered from two cameras for being arranged on diverse location, and from the hand identified The image of same gesture different visual angles is extracted in gesture image;
The depth information of the gesture key point is obtained according to the image of the same gesture different visual angles of extraction;
According to the depth information of the gesture key point build three-dimension gesture information, and by the three-dimension gesture information of structure with Identification is compared in the multiple gesture passwords prestored.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Command reception module, under predetermined state, after the instruction for receiving switch mode, opening camera to gather figure Picture;
Identification module, the gesture in image for recognizing the camera collection, and the gesture that will identify that is with prestoring Multiple gesture passwords identification is compared;
Mode switch module, if for any one gesture password in the gesture identified and the multiple gesture passwords prestored Match, then entrance terminal pattern corresponding with the gesture password that the gesture identified is matched.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Camera starting module, for identification to be compared in the gesture that will identify that and the multiple gesture passwords prestored Before, receive gesture password and set after instruction, open camera to gather image;
Terminal pattern selecting module, for selecting corresponding terminal pattern;
Gesture password setup module, the gesture in image for recognizing camera collection, and by the gesture of identification It is used as the gesture password for entering selected terminal pattern.
8. mobile terminal according to claim 1, it is characterised in that the predetermined state is screen lock state;The pattern Handover module is additionally operable to:
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, solution lock screen is simultaneously Into the corresponding terminal pattern of gesture password of the gesture matching with identifying.
9. mobile terminal according to claim 1, it is characterised in that the camera is dual camera, the gesture is Two-dimentional gesture or three-dimension gesture.
10. mobile terminal according to claim 9, it is characterised in that the mobile terminal also includes:
Images of gestures collecting unit, for identifying gesture figure from the image of two cameras collection for being arranged on diverse location Picture, and extract from the images of gestures identified the image of same gesture different visual angles;
Depth information computing unit, it is crucial that the image for the same gesture different visual angles according to extraction obtains the gesture The depth information of point;
Three-dimension gesture identification module, for building three-dimension gesture information according to the depth information of the gesture key point, and by structure Identification is compared with the multiple gesture passwords prestored in the three-dimension gesture information built.
11. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
On a memory and the computer program that can run on a processor, the processor is held for memory, processor and storage Following steps are realized during row described program:
Under predetermined state, after the instruction for receiving switch mode, open camera to gather image;
Recognize the gesture in the image of the camera collection, and the gesture that will identify that and the multiple gesture passwords prestored Identification is compared;
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, into identification The corresponding terminal pattern of gesture password of the gesture matching gone out.
12. mobile terminal according to claim 11, it is characterised in that realized during the computing device described program with Lower step:
Receive gesture password to set after instruction, open camera to gather image;
Select corresponding terminal pattern;
The gesture in the image of the camera collection is recognized, and regard the gesture of identification as the selected terminal mould of entrance The gesture password of formula.
13. mobile terminal according to claim 11, it is characterised in that realized during the computing device described program with Lower step:
If the gesture identified is matched with any one gesture password in the multiple gesture passwords prestored, solution lock screen is simultaneously Into the corresponding terminal pattern of gesture password of the gesture matching with identifying.
14. mobile terminal according to claim 11, it is characterised in that the camera is dual camera, the gesture For two-dimentional gesture or three-dimension gesture.
15. mobile terminal according to claim 14, it is characterised in that realized during the computing device described program with Lower step:
Images of gestures is identified in the image gathered from two cameras for being arranged on diverse location, and from the hand identified The image of same gesture different visual angles is extracted in gesture image;
The depth information of the gesture key point is obtained according to the image of the same gesture different visual angles of extraction;
According to the depth information of the gesture key point build three-dimension gesture information, and by the three-dimension gesture information of structure with Identification is compared in the multiple gesture passwords prestored.
CN201710168779.1A 2017-03-21 2017-03-21 Method for switching modes of mobile terminal and mobile terminal Pending CN106951750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710168779.1A CN106951750A (en) 2017-03-21 2017-03-21 Method for switching modes of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710168779.1A CN106951750A (en) 2017-03-21 2017-03-21 Method for switching modes of mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN106951750A true CN106951750A (en) 2017-07-14

Family

ID=59472571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710168779.1A Pending CN106951750A (en) 2017-03-21 2017-03-21 Method for switching modes of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106951750A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517349A (en) * 2017-09-07 2017-12-26 深圳支点电子智能科技有限公司 Mobile terminal and Related product with camera function
CN107613197A (en) * 2017-09-07 2018-01-19 深圳支点电子智能科技有限公司 One kind control camera photographic method and mobile terminal
CN108737720A (en) * 2018-04-11 2018-11-02 努比亚技术有限公司 Wearable device image pickup method, wearable device and computer readable storage medium
CN108768428A (en) * 2018-05-17 2018-11-06 西安易朴通讯技术有限公司 A kind of method and device of switch card slot status
CN110555391A (en) * 2019-08-09 2019-12-10 上海交通大学 Intelligent wireless operating system and method based on grating diffraction and gesture recognition
CN111045509A (en) * 2018-10-12 2020-04-21 上海博泰悦臻电子设备制造有限公司 Terminal mode switching method, terminal and vehicle
CN111428222A (en) * 2020-03-19 2020-07-17 闻泰通讯股份有限公司 Gesture control method and device of mobile terminal, mobile terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927016A (en) * 2014-04-24 2014-07-16 西北工业大学 Real-time three-dimensional double-hand gesture recognition method and system based on binocular vision
CN105847557A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Method and device of switching situation modes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927016A (en) * 2014-04-24 2014-07-16 西北工业大学 Real-time three-dimensional double-hand gesture recognition method and system based on binocular vision
CN105847557A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Method and device of switching situation modes

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517349A (en) * 2017-09-07 2017-12-26 深圳支点电子智能科技有限公司 Mobile terminal and Related product with camera function
CN107613197A (en) * 2017-09-07 2018-01-19 深圳支点电子智能科技有限公司 One kind control camera photographic method and mobile terminal
CN108737720A (en) * 2018-04-11 2018-11-02 努比亚技术有限公司 Wearable device image pickup method, wearable device and computer readable storage medium
CN108737720B (en) * 2018-04-11 2020-12-04 努比亚技术有限公司 Wearable device shooting method, wearable device and computer-readable storage medium
CN108768428A (en) * 2018-05-17 2018-11-06 西安易朴通讯技术有限公司 A kind of method and device of switch card slot status
CN111045509A (en) * 2018-10-12 2020-04-21 上海博泰悦臻电子设备制造有限公司 Terminal mode switching method, terminal and vehicle
CN110555391A (en) * 2019-08-09 2019-12-10 上海交通大学 Intelligent wireless operating system and method based on grating diffraction and gesture recognition
CN110555391B (en) * 2019-08-09 2022-04-05 上海交通大学 Intelligent wireless operating system and method based on grating diffraction and gesture recognition
CN111428222A (en) * 2020-03-19 2020-07-17 闻泰通讯股份有限公司 Gesture control method and device of mobile terminal, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN106951750A (en) Method for switching modes of mobile terminal and mobile terminal
US11061480B2 (en) Apparatus, method and recording medium for controlling user interface using input image
CN107886032B (en) Terminal device, smart phone, authentication method and system based on face recognition
WO2019128508A1 (en) Method and apparatus for processing image, storage medium, and electronic device
CN110012209A (en) Panorama image generation method, device, storage medium and electronic equipment
CN103336575B (en) The intelligent glasses system of a kind of man-machine interaction and exchange method
WO2019128507A1 (en) Image processing method and apparatus, storage medium and electronic device
US20220237812A1 (en) Item display method, apparatus, and device, and storage medium
CN106603928B (en) A kind of image pickup method and mobile terminal
CN105915782A (en) Picture obtaining method based on face identification, and mobile terminal
CN105912912B (en) A kind of terminal user ID login method and system
CN107977650B (en) Method for detecting human face and device
US10846514B2 (en) Processing images from an electronic mirror
CN103679788B (en) The generation method and device of 3D rendering in a kind of mobile terminal
CN111327887B (en) Electronic device, method of operating the same, and method of processing image of the electronic device
WO2013054462A1 (en) User interface control device, user interface control method, computer program, and integrated circuit
CN209328043U (en) With the electronic equipment shielded comprehensively
EP3518522B1 (en) Image capturing method and device
CN112614057A (en) Image blurring processing method and electronic equipment
CN109672830A (en) Image processing method, device, electronic equipment and storage medium
CN108628442A (en) A kind of information cuing method, device and electronic equipment
WO2023168957A1 (en) Pose determination method and apparatus, electronic device, storage medium, and program
CN107168536A (en) Test question searching method, test question searching device and electronic terminal
CN109544445A (en) A kind of image processing method, device and mobile terminal
WO2019037257A1 (en) Password input control device and method, and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170714

RJ01 Rejection of invention patent application after publication