CN107426422A - Event-handling method and Related product - Google Patents

Event-handling method and Related product Download PDF

Info

Publication number
CN107426422A
CN107426422A CN201710570969.6A CN201710570969A CN107426422A CN 107426422 A CN107426422 A CN 107426422A CN 201710570969 A CN201710570969 A CN 201710570969A CN 107426422 A CN107426422 A CN 107426422A
Authority
CN
China
Prior art keywords
mobile terminal
user
event
biological information
mentioned
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
CN201710570969.6A
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 Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710570969.6A priority Critical patent/CN107426422A/en
Publication of CN107426422A publication Critical patent/CN107426422A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of event-handling method and Related product.Method includes:When detecting predeterminable event, the biological information of user is gathered by camera device;When detecting the biological information with default biological information template matches, it is registered user to determine active user, obtains processing strategy of the predeterminable event when user is registered user;The predeterminable event is handled according to the processing strategy.The embodiment of the present invention can realize the predeterminable event that mobile terminal customization associates with registered user, improve the event handling efficiency of mobile terminal and intelligent.

Description

Event-handling method and Related product
Technical field
The present invention relates to technical field of mobile terminals, and in particular to event-handling method and Related product.
Background technology
With the development of smart mobile phone, the application increasingly crossed is installed in user mobile phone, and the clothing, food, lodging and transportion -- basic necessities of life of people are Through inseparable with mobile phone, such as read, pay, play, listen music.
At present, some basic setup functions of smart mobile phone still need user's operation and go to be configured, such as manual handle Incoming call requests, various systematic parameters etc. are set manually.
The content of the invention
The embodiments of the invention provide event-handling method and Related product, it is possible to achieve mobile terminal customization with The predeterminable event of registered user's association, improve the event handling efficiency of mobile terminal and intelligent.
In a first aspect, the embodiment of the present invention provides a kind of mobile terminal, including camera device, processor, memory, it is described Biological information acquisition device connects the processor, and the processor connects the memory, wherein,
The processor, for when detecting predeterminable event, the biological information of user to be gathered by the camera device;
The processor, it is additionally operable to the default biological information template in the biological information and the memory is detected During matching, it is registered user to determine active user, obtains processing strategy of the predeterminable event when user is registered user;
The processor, it is additionally operable to handle the predeterminable event according to the processing strategy.
Second aspect, the embodiment of the present invention provide a kind of event-handling method, including:
When detecting predeterminable event, the biological information of user is gathered by camera device;
When detecting above-mentioned biological information with default biological information template matches, determine that active user uses for registration Family, obtain processing strategy of the above-mentioned predeterminable event when user is registered user;
Above-mentioned predeterminable event is handled according to above-mentioned processing strategy.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, including processing unit and collecting unit,
Above-mentioned processing unit, for when detecting predeterminable event, user to be gathered by the collecting unit camera device Biological information;And when detecting above-mentioned biological information with default biological information template matches, determine that active user is Registered user, obtain processing strategy of the above-mentioned predeterminable event when user is registered user;And according to above-mentioned processing strategy at Manage above-mentioned predeterminable event.
Fourth aspect, the embodiment of the present invention provide a kind of mobile terminal, including processor, memory, communication interface and One or more programs, wherein, said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned Manage device to perform, said procedure includes being used for the instruction for performing the step in second aspect either method of the embodiment of the present invention.
5th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, above computer is readable Storage medium stores the computer program for electronic data interchange, wherein, above computer program causes computer to perform such as Part or all of step described in second aspect either method of the embodiment of the present invention, above computer include mobile terminal.
6th aspect, the embodiments of the invention provide a kind of computer program product, wherein, above computer program product Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating Machine is performed such as the part or all of step described in second aspect either method of the embodiment of the present invention.The computer program product Can be a software installation bag, above computer includes mobile terminal.
As can be seen that in the embodiment of the present invention, mobile terminal is adopted by camera device first when detecting predeterminable event Collect the biological information of user, secondly, when detecting biological information with default biological information template matches, determine active user For registered user, processing strategy of the predeterminable event when user is registered user is obtained, it is finally, default according to processing strategy processing Event.It can be seen that because processing strategy can be set by system setting or user, you can existing based on user's active to be different from Operate the general procedure strategy of (such as manually operated), so as to mobile terminal is directed to the predeterminable event that is associated with registered user can be with The processing customized is realized, is advantageous to improve the event handling efficiency of mobile terminal and intelligent, so as to be lifted interesting and used Experience at family.
Brief description of the drawings
The accompanying drawing involved by the embodiment of the present invention will be briefly described below.
Fig. 1 is a kind of structural representation of smart mobile phone provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of event-handling method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of event-handling method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of event-handling method disclosed in the embodiment of the present invention;
A kind of structural representation of mobile terminal disclosed in Fig. 5 inventive embodiments;
Fig. 6 is a kind of functional unit composition block diagram of mobile terminal disclosed in the embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present invention can include the various handheld devices with radio communication function, Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.The present invention is implemented below in conjunction with the accompanying drawings Example is introduced.
Referring to Fig. 1, Fig. 1 is that the embodiments of the invention provide a kind of structural representation of mobile terminal 100, above-mentioned movement Terminal 100 includes:Housing, touching display screen, mainboard, battery and subplate, infrared light supply 21, iris camera are provided with mainboard 22nd, front camera 23, processor 110, memory 120 and sim card slot etc., oscillator, integral sound chamber, VOOC are provided with subplate Interface and fingerprint module 24 are filled in sudden strain of a muscle, and above-mentioned infrared light supply 21 and iris camera 22 form the iris information of the mobile terminal 100 Harvester, above-mentioned front camera 23 form the facial information harvester of the mobile terminal 100, above-mentioned fingerprint sensor mould Group 24 forms the finger print information harvester of the mobile terminal 100, above-mentioned iris information harvester, facial information harvester The camera device of the mobile terminal 100 is referred to as, wherein,
The processor 110, for when detecting predeterminable event, the biology that user is gathered by the camera device to be believed Breath.
Wherein, when camera device is iris information harvester, infrared light supply 21 is used to launch infrared light irradiation user Iris formed reflection light, iris camera 22 be used for gather reflection light formed iris image, processor 110 obtain the rainbow After film image, for the iris image perform iris image quality assess, localization of iris circle (comprising coarse positioning and fine positioning), The processing procedures such as Iris preprocessing, the extraction of iris feature point, iris templates generation, the iris templates of generation are above-mentioned biology letter Breath.
Wherein, when camera device is facial information harvester, front camera 23 is used for the face-image for gathering user, After processor 110 obtains the face-image, pre-processed for the face-image, extraction face feature point forms facial mould Plate, the face template are above-mentioned biological information.
The processor 110, it is additionally operable to the default biological information in the biological information and the memory is detected During template matches, it is registered user to determine active user, obtains processing plan of the predeterminable event when user is registered user Slightly;
The processor 110, it is additionally operable to handle the predeterminable event according to the processing strategy.
As can be seen that in the embodiment of the present invention, mobile terminal is adopted by camera device first when detecting predeterminable event Collect the biological information of user, secondly, when detecting biological information with default biological information template matches, determine active user For registered user, processing strategy of the predeterminable event when user is registered user is obtained, it is finally, default according to processing strategy processing Event.It can be seen that because processing strategy can be set by system setting or user, you can existing based on user's active to be different from Operate the general procedure strategy of (such as manually operated), so as to mobile terminal is directed to the predeterminable event that is associated with registered user can be with The processing customized is realized, is advantageous to improve the event handling efficiency of mobile terminal and intelligent, so as to be lifted interesting and used Experience at family.
In a possible example, the biological information includes iris information or facial information;Detected described The biological information is specifically used with default biological information template matches aspect, the processor 110 in the memory 120 In:Detect the iris information and default iris information template matches in the memory 120;Or detect described Facial information and default facial information template matches in the memory 120.
In a possible example, the predeterminable event is incoming call event;Described according to the processing strategy In terms of handling the predeterminable event, the processor 110 is specifically used for:Determine that mobile terminal is with respect to registered user in preset period of time Face moving direction, and the variable quantity of the distance moved on the moving direction;And it is in the moving direction First direction, and when the variable quantity is more than first threshold, answer the incoming call event;And it is in the moving direction Second direction, and when the variable quantity is more than Second Threshold, refuse the incoming call event.
In a possible example, shifting of the mobile terminal with respect to the face of registered user in the determination preset period of time Dynamic direction, and in terms of the variable quantity of the distance moved on the moving direction, the processor 110 is specifically used for:Institute State in preset period of time and the first image and the second image are obtained by the camera device;And determine the facial zone of the first image In at least two target points first apart from average, determine of at least two target points described in the facial zone of the second image Two apart from average;And determine mobile terminal with respect to registered user apart from average and the second distance average according to described first Face moving direction, and the variable quantity of the distance moved on the moving direction.
In a possible example, the predeterminable event is that displaying ratio adjusts event;Described according to the processing In terms of strategy handles the predeterminable event, the processor 110 is specifically used for:Adopted in preset period of time by the camera device Collect the face action image of registered user;And the face action image is analyzed to obtain the face action of registered user;With And the displaying ratio of the display content in current display interface is determined according to the face action of the acquisition;And according to described aobvious Show that ratio adjusts the display content in the current display interface.
Referring to Fig. 2, Fig. 2 is the embodiments of the invention provide a kind of schematic flow sheet of event-handling method, it is applied to Mobile terminal, as illustrated, present event processing method includes:
S201, mobile terminal gather the biological information of user by camera device when detecting predeterminable event.
Wherein, above-mentioned predeterminable event event, event such as can be incoming call event, displaying ratio adjustment event It can be set by system or user is set, as user is frequently necessary to answer customer phone, then the user can set predeterminable event For incoming call event.
S202, above-mentioned mobile terminal when detecting above-mentioned biological information and default biological information template matches, it is determined that Active user is registered user, obtains processing strategy of the above-mentioned predeterminable event when user is registered user.
Wherein, biological information includes iris information or facial information, and iris information refers to the spy in the iris image collected The characteristic of point is levied, facial information refers to the characteristic of the characteristic point in the face-image collected.It is corresponding, biological information Template includes iris information template or facial information template.
Wherein, iris information template is iris data template, and iris data template refers to the feature of the iris of registered user Correspondence between the position of point and the characteristic value (characteristic value can be electric capacity, inductance, voltage, electric current, relative value etc.) of specified point The set picture of relation.
Wherein, facial information template is face data template, and finger print data template refers to the facial feature of registered user Correspondence between the position of point and the characteristic value (characteristic value can be electric capacity, inductance, voltage, electric current, relative value etc.) of characteristic point The set of relation.
Wherein, processing strategy of the predeterminable event when user is registered user can be set by system or user is set, herein Do not limit.
S203, above-mentioned mobile terminal handle above-mentioned predeterminable event according to above-mentioned processing strategy.
As can be seen that in the embodiment of the present invention, mobile terminal is adopted by camera device first when detecting predeterminable event Collect the biological information of user, secondly, when detecting biological information with default biological information template matches, determine active user For registered user, processing strategy of the predeterminable event when user is registered user is obtained, it is finally, default according to processing strategy processing Event.It can be seen that because processing strategy can be set by system setting or user, you can existing based on user's active to be different from Operate the general procedure strategy of (such as manually operated), so as to mobile terminal is directed to the predeterminable event that is associated with registered user can be with The processing customized is realized, is advantageous to improve the event handling efficiency of mobile terminal and intelligent, so as to be lifted interesting and used Experience at family.
In a possible example, above-mentioned biological information includes iris information or facial information;Above-mentioned mobile terminal Above-mentioned biological information and default biological information template matches are detected, including:Mobile terminal detect above-mentioned iris information with Default iris information template matches;Or mobile terminal detects above-mentioned facial information and default facial information template Match somebody with somebody.
In a possible example, above-mentioned predeterminable event is incoming call event;Above-mentioned mobile terminal is according to above-mentioned place Reason strategy handles above-mentioned predeterminable event, including:Mobile terminal determines that mobile terminal is with respect to the face of registered user in preset period of time Moving direction, and the variable quantity of the distance moved on above-mentioned moving direction;It is first direction in above-mentioned moving direction, and When above-mentioned variable quantity is more than first threshold, above-mentioned incoming call event is answered;It is second direction in above-mentioned moving direction, and it is above-mentioned When variable quantity is more than Second Threshold, refuse above-mentioned incoming call event.
Wherein, first direction is close to the facial direction of registered user, and second direction is the face away from registered user Direction.
Wherein, first threshold and Second Threshold can be with identical, can also be different, can be set by system or user is set, Do not limit herein.
It can be seen that in this example, mobile terminal can determine the moving direction of the face of relative registered user, and above-mentioned The variable quantity of the distance moved on moving direction, so as to detect that the moving direction be first direction, and variable quantity is more than the When one threshold value, i.e. mobile terminal are close to face direction, above-mentioned incoming call event is answered, and detecting that the moving direction is Second direction, and variable quantity is more than Second Threshold, i.e., when mobile terminal is away from face direction, refuses incoming call request, from And mobile terminal need not detect user touch control operation can it is convenient control the incoming call event, so as to mobile terminal be directed to The incoming call event of registered user's association can realize the processing of customization, be advantageous to improve the incoming call thing of mobile terminal The treatment effeciency of part and intelligent, and nonregistered user can not realize the function, the interest and user's body that enhanced feature uses Test.
In this possible example, above-mentioned mobile terminal determines that mobile terminal is with respect to the face of registered user in preset period of time Moving direction, and the variable quantity of the distance moved on above-mentioned moving direction, including:Mobile terminal is in above-mentioned preset period of time It is interior that first image and the second image are obtained by above-mentioned camera device;Determine at least two targets in the facial zone of the first image The first of point determines the second distance average of above-mentioned at least two target point in the facial zone of the second image apart from average;Root Moving direction of the mobile terminal with respect to the face of registered user is determined apart from average and above-mentioned second distance average according to above-mentioned first, And the variable quantity of the distance moved on above-mentioned moving direction.
In the specific implementation, mobile terminal can according to above-mentioned first apart from average and above-mentioned second distance average difference it is true The moving direction of the face of fixed relative registered user, and the variable quantity of the distance moved on above-mentioned moving direction.
It can be seen that in this example, mobile terminal, can be easily while user identity identification is carried out using camera device Share the camera device and calculate moving direction of the mobile terminal with respect to the face of registered user, and moved up in above-mentioned moving direction The variable quantity of dynamic distance, excessive handling duration is expended without enabling other distance-measuring equipments, be advantageous to improve mobile terminal control The convenience and real-time of incoming call event.
In a possible example, above-mentioned predeterminable event is that displaying ratio adjusts event;Above-mentioned mobile terminal is according to upper State processing strategy and handle above-mentioned predeterminable event, including:Mobile terminal is gathered by above-mentioned camera device in preset period of time and registered The face action image of user;Above-mentioned face action image is analyzed to obtain the face action of registered user;According to above-mentioned acquisition Face action determine the displaying ratio of the display content in current display interface;It is above-mentioned current according to the adjustment of above-mentioned displaying ratio Display content in display interface.
Wherein, displaying ratio refers to displaying ratio of the display content in current display interface relative to display screen, such as Displaying ratio is that 1 representative is displayed in full screen, and displaying ratio represents half screen etc. for 0.5.
Wherein, the displaying ratio of face action and display content can preset mapping relations, so as to which mobile terminal being capable of base In currently detected face action quick search mapping relations to obtain corresponding displaying ratio, for example O-shaped mouth of the face action, Mouth, eye closing etc. are closed lightly, is not limited herein.
It can be seen that in this example, mobile terminal can flexibly control display by detecting the specific face action of registered user The displaying ratio of the display content at interface, be advantageous to improve the treatment effeciency and intelligence of the displaying ratio adjustment event of mobile terminal Property, and nonregistered user can not realize the function, the interest and Consumer's Experience that enhanced feature uses.
It is consistent with the embodiment shown in above-mentioned Fig. 2, referring to Fig. 3, Fig. 3 is a kind of event provided in an embodiment of the present invention The schematic flow sheet of processing method, applied to mobile terminal.As illustrated, present event processing method includes:
S301, mobile terminal gather the biological information of user by camera device when detecting incoming call event;
S302, above-mentioned mobile terminal when detecting above-mentioned biological information and default biological information template matches, it is determined that Active user is registered user, obtains processing strategy of the above-mentioned predeterminable event when user is registered user.
S303, above-mentioned mobile terminal determine the moving direction of mobile terminal in preset period of time with respect to the face of registered user, And the variable quantity of the distance moved on above-mentioned moving direction.
S304, above-mentioned mobile terminal are first direction in above-mentioned moving direction, and when above-mentioned variable quantity is more than first threshold, Answer above-mentioned incoming call event.
S305, above-mentioned mobile terminal are second direction in above-mentioned moving direction, and when above-mentioned variable quantity is more than Second Threshold, Refuse above-mentioned incoming call event.
As can be seen that in the embodiment of the present invention, mobile terminal is adopted by camera device first when detecting predeterminable event Collect the biological information of user, secondly, when detecting biological information with default biological information template matches, determine active user For registered user, processing strategy of the predeterminable event when user is registered user is obtained, it is finally, default according to processing strategy processing Event.It can be seen that because processing strategy can be set by system setting or user, you can existing based on user's active to be different from Operate the general procedure strategy of (such as manually operated), so as to mobile terminal is directed to the predeterminable event that is associated with registered user can be with The processing customized is realized, is advantageous to improve the event handling efficiency of mobile terminal and intelligent, so as to be lifted interesting and used Experience at family.
In addition, mobile terminal can determine the moving direction of the face of relative registered user, and in above-mentioned moving direction The variable quantity of the distance of upper movement, so as to detect that the moving direction is first direction, and variable quantity is more than first threshold, i.e., When mobile terminal is close to face direction, above-mentioned incoming call event is answered, and is detecting that the moving direction is second direction, And variable quantity is more than Second Threshold, i.e., when mobile terminal is away from face direction, refuse incoming call request, so as to mobile terminal The touch control operation of user, which need not be detected, convenient to control the incoming call event, so that mobile terminal is directed to and registered user is closed The incoming call event of connection can realize the processing of customization, be advantageous to improve the processing effect of the incoming call event of mobile terminal Rate and intelligent, and nonregistered user can not realize the function, the interest and Consumer's Experience that enhanced feature uses.
It is consistent with the embodiment shown in above-mentioned Fig. 2, referring to Fig. 4, Fig. 4 is a kind of event provided in an embodiment of the present invention The schematic flow sheet of processing method, applied to mobile terminal.As illustrated, present event processing method includes:
S401, mobile terminal when detecting that displaying ratio adjusts event, believe by the biology that user is gathered by camera device Breath.
S402, above-mentioned mobile terminal when detecting above-mentioned biological information and default biological information template matches, it is determined that Active user is registered user, obtains processing strategy of the above-mentioned predeterminable event when user is registered user;
S403, above-mentioned mobile terminal gather the face action figure of registered user in preset period of time by above-mentioned camera device Picture.
S404, above-mentioned mobile terminal analyze above-mentioned face action image to obtain the face action of registered user.
S405, above-mentioned mobile terminal determine the display content in current display interface according to the face action of above-mentioned acquisition Displaying ratio.
S406, above-mentioned mobile terminal adjust the display content in above-mentioned current display interface according to above-mentioned displaying ratio.
As can be seen that in the embodiment of the present invention, mobile terminal is adopted by camera device first when detecting predeterminable event Collect the biological information of user, secondly, when detecting biological information with default biological information template matches, determine active user For registered user, processing strategy of the predeterminable event when user is registered user is obtained, it is finally, default according to processing strategy processing Event.It can be seen that because processing strategy can be set by system setting or user, you can existing based on user's active to be different from Operate the general procedure strategy of (such as manually operated), so as to mobile terminal is directed to the predeterminable event that is associated with registered user can be with The processing customized is realized, is advantageous to improve the event handling efficiency of mobile terminal and intelligent, so as to be lifted interesting and used Experience at family.
In addition, mobile terminal can flexibly control the aobvious of display interface by detecting the specific face action of registered user Show the displaying ratio of content, be advantageous to improve the displaying ratio adjustment treatment effeciency of event of mobile terminal and intelligent and non- Registered user can not realize the function, the interest and Consumer's Experience that enhanced feature uses.
It is consistent with the embodiment shown in above-mentioned Fig. 2, Fig. 3, Fig. 4, referring to Fig. 5, Fig. 5 is provided in an embodiment of the present invention A kind of structural representation of mobile terminal, as illustrated, the mobile terminal includes processor, memory, communication interface and one Individual or multiple programs, wherein, said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing Device performs, and said procedure includes being used for the instruction for performing following steps;
When detecting predeterminable event, the biological information of user is gathered by camera device;
When detecting above-mentioned biological information with default biological information template matches, determine that active user uses for registration Family, obtain processing strategy of the above-mentioned predeterminable event when user is registered user;
Above-mentioned predeterminable event is handled according to above-mentioned processing strategy.
As can be seen that in the embodiment of the present invention, mobile terminal is adopted by camera device first when detecting predeterminable event Collect the biological information of user, secondly, when detecting biological information with default biological information template matches, determine active user For registered user, processing strategy of the predeterminable event when user is registered user is obtained, it is finally, default according to processing strategy processing Event.It can be seen that because processing strategy can be set by system setting or user, you can existing based on user's active to be different from Operate the general procedure strategy of (such as manually operated), so as to mobile terminal is directed to the predeterminable event that is associated with registered user can be with The processing customized is realized, is advantageous to improve the event handling efficiency of mobile terminal and intelligent, so as to be lifted interesting and used Experience at family.
In a possible example, above-mentioned biological information includes iris information or facial information;Detected above-mentioned In terms of above-mentioned biological information and default biological information template matches, the instruction in said procedure is specifically used for performing following behaviour Make:Detect above-mentioned iris information and default iris information template matches;Or detect above-mentioned facial information with it is default Facial information template matches.
In a possible example, above-mentioned predeterminable event is incoming call event;Above-mentioned according to above-mentioned processing strategy In terms of handling above-mentioned predeterminable event, the instruction in said procedure is specifically used for performing following operate:Determine to move in preset period of time Terminal is with respect to the moving direction of the face of registered user, and the variable quantity of the distance moved on above-mentioned moving direction;And It is first direction in above-mentioned moving direction, and when above-mentioned variable quantity is more than first threshold, answers above-mentioned incoming call event;And It is second direction in above-mentioned moving direction, and when above-mentioned variable quantity is more than Second Threshold, refuses above-mentioned incoming call event.
In a possible example, shifting of the mobile terminal with respect to the face of registered user in above-mentioned determination preset period of time Dynamic direction, and in terms of the variable quantity of the distance moved on above-mentioned moving direction, the instruction in said procedure is specifically used for holding Row is following to be operated:The first image and the second image are obtained by above-mentioned camera device in above-mentioned preset period of time;And determine the The first of at least two target points be apart from average in the facial zone of one image, determine in the facial zone of the second image it is above-mentioned extremely The second distance average of few two target points;And determine movement apart from average and above-mentioned second distance average according to above-mentioned first Terminal is with respect to the moving direction of the face of registered user, and the variable quantity of the distance moved on above-mentioned moving direction.
In a possible example, above-mentioned predeterminable event is that displaying ratio adjusts event;Above-mentioned according to above-mentioned processing In terms of strategy handles above-mentioned predeterminable event, the instruction in said procedure is specifically used for performing following operate:Lead in preset period of time Cross the face action image of above-mentioned camera device collection registered user;And the above-mentioned face action image of analysis is used with obtaining registration The face action at family;And the display ratio of the display content in current display interface is determined according to the face action of above-mentioned acquisition Example;And the display content in above-mentioned current display interface is adjusted according to above-mentioned displaying ratio.
It is above-mentioned that mainly the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure.It is appreciated that , for mobile terminal in order to realize above-mentioned function, it comprises perform the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with The mode of hardware or computer software driving hardware performs, application-specific and design constraint bar depending on technical scheme Part.Professional and technical personnel can specifically realize described function to each using distinct methods, but this reality Now it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out the division of functional unit according to above method example to mobile terminal, for example, can Each functional unit is divided with corresponding each function, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.Need It is noted that the division in the embodiment of the present invention to unit is schematical, only a kind of division of logic function is actual real There can be other dividing mode now.
In the case of using integrated unit, Fig. 6 shows one kind of mobile terminal involved in above-described embodiment Possible functional unit forms block diagram.Mobile terminal 600 includes:Processing unit 602 and collecting unit 603.Processing unit 602 is used Management is controlled in the action to mobile terminal, for example, processing unit 602 is used to support mobile terminal to perform the step in Fig. 2 Step S401-S406 in step S301-S305, Fig. 4 in rapid S201-S203, Fig. 3 and/or for skill described herein Other processes of art.Mobile terminal can also include memory cell 601, program code and data for memory mobile terminal.
Wherein, above-mentioned processing unit 602, for when detecting predeterminable event, user to be gathered by the collecting unit Biological information;And when detecting above-mentioned biological information with default biological information template matches, determine that active user is Registered user, obtain processing strategy of the above-mentioned predeterminable event when user is registered user;And according to above-mentioned processing strategy at Manage above-mentioned predeterminable event.
In a possible example, above-mentioned biological information includes iris information or facial information;Detected above-mentioned Above-mentioned biological information is specifically used for default biological information template matches aspect, above-mentioned processing unit 602:Detect above-mentioned rainbow Film information and default iris information template matches;Or detect above-mentioned facial information and default facial information template Match somebody with somebody.
In a possible example, above-mentioned predeterminable event is incoming call event;Above-mentioned according to above-mentioned processing strategy In terms of handling above-mentioned predeterminable event, above-mentioned processing unit 602 is specifically used for:Determine that mobile terminal registers use relatively in preset period of time The moving direction of the face at family, and the variable quantity of the distance moved on above-mentioned moving direction;And in above-mentioned moving direction For first direction, and when above-mentioned variable quantity is more than first threshold, above-mentioned incoming call event is answered;And in above-mentioned moving direction For second direction, and when above-mentioned variable quantity is more than Second Threshold, refuse above-mentioned incoming call event.
In a possible example, shifting of the mobile terminal with respect to the face of registered user in above-mentioned determination preset period of time Dynamic direction, and in terms of the variable quantity of the distance moved on above-mentioned moving direction, above-mentioned processing unit 602 is specifically used for: The first image and the second image are obtained by above-mentioned camera device in above-mentioned preset period of time;And determine the facial area of the first image The first of at least two target points determines above-mentioned at least two target point in the facial zone of the second image apart from average in domain Second distance average;And determine that mobile terminal is relative apart from average and above-mentioned second distance average according to above-mentioned first and register use The moving direction of the face at family, and the variable quantity of the distance moved on above-mentioned moving direction.
In a possible example, above-mentioned predeterminable event is that displaying ratio adjusts event;Above-mentioned according to above-mentioned processing In terms of strategy handles above-mentioned predeterminable event, above-mentioned processing unit 602 is specifically used for:Pass through above-mentioned camera device in preset period of time Gather the face action image of registered user;And above-mentioned face action image is analyzed to obtain the face action of registered user; And the displaying ratio of the display content in current display interface is determined according to the face action of above-mentioned acquisition;And according to above-mentioned Displaying ratio adjusts the display content in above-mentioned current display interface.
Wherein, processing unit 602 can be processor or controller, and collecting unit 603 can be camera device, and storage is single Member 601 can be memory.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method The part or all of step of method, above computer include mobile terminal.
The embodiment of the present invention also provides a kind of computer program product, and above computer program product includes storing calculating The non-transient computer-readable recording medium of machine program, above computer program are operable to make computer perform side as described above The part or all of step of either method described in method embodiment.The computer program product can be a software installation Bag, above computer include mobile terminal.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show 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 unit in each embodiment of the present 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, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in summary, this specification content should not be construed as limiting the invention.

Claims (14)

  1. A kind of 1. mobile terminal, it is characterised in that including camera device, processor, memory, the biological information acquisition device The processor is connected, the processor connects the memory, wherein,
    The processor, for when detecting predeterminable event, the biological information of user to be gathered by the camera device;
    The processor, it is additionally operable to the default biological information template matches in the biological information and the memory is detected When, it is registered user to determine active user, obtains processing strategy of the predeterminable event when user is registered user;
    The processor, it is additionally operable to handle the predeterminable event according to the processing strategy.
  2. 2. mobile terminal according to claim 1, it is characterised in that the biological information includes iris information or face Information;Detected described in the biological information and the memory in terms of default biological information template matches, the place Reason implement body is used for:Detect the iris information and default iris information template matches in the memory;Or detection The default facial information template matches into the facial information and the memory.
  3. 3. mobile terminal according to claim 1 or 2, it is characterised in that the predeterminable event is incoming call event; Described to handle the predeterminable event aspect according to the processing strategy, the processor is specifically used for:Determine to move in preset period of time Move moving direction of the terminal with respect to the face of registered user, and the variable quantity of the distance moved on the moving direction;With And in the moving direction be first direction, and when the variable quantity is more than first threshold, answer the incoming call event;With And in the moving direction be second direction, and when the variable quantity is more than Second Threshold, refuse the incoming call event.
  4. 4. mobile terminal according to claim 3, it is characterised in that mobile terminal is relative in the determination preset period of time In terms of the moving direction of the face of registered user, and the variable quantity of the distance moved on the moving direction, the processing Implement body is used for:The first image and the second image are obtained by the camera device in the preset period of time;And determine the The first of at least two target points is determined described in the facial zone of the second image extremely apart from average in the facial zone of one image The second distance average of few two target points;And determine movement apart from average and the second distance average according to described first Terminal is with respect to the moving direction of the face of registered user, and the variable quantity of the distance moved on the moving direction.
  5. 5. mobile terminal according to claim 1 or 2, it is characterised in that the predeterminable event is that displaying ratio adjusts thing Part;In terms of the predeterminable event according to the processing strategy processing, the processor is specifically used for:In preset period of time The face action image of registered user is gathered by the camera device;And the analysis face action image is registered with obtaining The face action of user;And the display ratio of the display content in current display interface is determined according to the face action of the acquisition Example;And the display content in the current display interface is adjusted according to the displaying ratio.
  6. A kind of 6. event-handling method, it is characterised in that including:
    When detecting predeterminable event, the biological information of user is gathered by camera device;
    When detecting the biological information with default biological information template matches, it is registered user to determine active user, is obtained Take processing strategy of the predeterminable event when user is registered user;
    The predeterminable event is handled according to the processing strategy.
  7. 7. according to the method for claim 6, it is characterised in that the biological information includes iris information or face letter Breath;It is described to detect the biological information and default biological information template matches, including:
    Detect the iris information and default iris information template matches;Or
    Detect the facial information and default facial information template matches.
  8. 8. the method according to claim 6 or 7, it is characterised in that the predeterminable event is incoming call event;Described The predeterminable event is handled according to the processing strategy, including:
    The moving direction of mobile terminal in preset period of time with respect to the face of registered user is determined, and is moved up in the moving direction The variable quantity of dynamic distance;
    It is first direction in the moving direction, and when the variable quantity is more than first threshold, answers the incoming call event;
    It is second direction in the moving direction, and when the variable quantity is more than Second Threshold, refuses the incoming call event.
  9. 9. according to the method for claim 8, it is characterised in that mobile terminal is relative in the determination preset period of time registers use The moving direction of the face at family, and the variable quantity of the distance moved on the moving direction, including:
    The first image and the second image are obtained by the camera device in the preset period of time;
    First of at least two target points in the facial zone of the first image is determined apart from average, determines the facial area of the second image The second distance average of at least two target points described in domain;
    According to described first shifting of the mobile terminal with respect to the face of registered user is determined apart from average and the second distance average Dynamic direction, and the variable quantity of the distance moved on the moving direction.
  10. 10. the method according to claim 6 or 7, it is characterised in that the predeterminable event is that displaying ratio adjusts event; It is described that the predeterminable event is handled according to the processing strategy, including:
    The face action image of registered user is gathered by the camera device in preset period of time;
    The face action image is analyzed to obtain the face action of registered user;
    The displaying ratio of the display content in current display interface is determined according to the face action of the acquisition;
    Display content in the current display interface is adjusted according to the displaying ratio.
  11. A kind of 11. mobile terminal, it is characterised in that including processing unit and collecting unit,
    The processing unit, for when detecting predeterminable event, the biological information of user to be gathered by the collecting unit;With And when detecting the biological information with default biological information template matches, it is registered user to determine active user, is obtained Processing strategy of the predeterminable event when user is registered user;And the default thing is handled according to the processing strategy Part.
  12. 12. mobile terminal according to claim 11, it is characterised in that the biological information includes iris information or face Portion's information;It is described detect the biological information and default biological information template matches in terms of, the processing unit is specific For:Detect the iris information and default iris information template matches;Or detect the facial information with presetting Facial information template matches.
  13. A kind of 13. mobile terminal, it is characterised in that including processor, memory, communication interface and one or more programs, Wherein, one or more of programs are stored in the memory, and are configured by the computing device, the journey Sequence includes being used for the instruction that perform claim requires the step in any one of 6-10 method.
  14. A kind of 14. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the method as described in claim any one of 6-10, the computer bag Include mobile terminal.
CN201710570969.6A 2017-07-13 2017-07-13 Event-handling method and Related product Pending CN107426422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710570969.6A CN107426422A (en) 2017-07-13 2017-07-13 Event-handling method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710570969.6A CN107426422A (en) 2017-07-13 2017-07-13 Event-handling method and Related product

Publications (1)

Publication Number Publication Date
CN107426422A true CN107426422A (en) 2017-12-01

Family

ID=60427047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710570969.6A Pending CN107426422A (en) 2017-07-13 2017-07-13 Event-handling method and Related product

Country Status (1)

Country Link
CN (1) CN107426422A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660662A (en) * 2018-12-04 2019-04-19 联想(北京)有限公司 A kind of information processing method and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045429A (en) * 2009-10-13 2011-05-04 华为终端有限公司 Method and equipment for adjusting displayed content
US20130116007A1 (en) * 2008-08-21 2013-05-09 Apple Inc. Camera as input interface
CN103576839A (en) * 2012-07-24 2014-02-12 广州三星通信技术研究有限公司 Facial recognition based terminal operation control device and method
CN103914142A (en) * 2013-01-04 2014-07-09 三星电子株式会社 Apparatus and method for providing control service using head tracking technology in electronic device
CN104954574A (en) * 2015-06-23 2015-09-30 上海卓易科技股份有限公司 Automatic mobile terminal operation method and mobile terminal
CN105657161A (en) * 2015-12-28 2016-06-08 魅族科技(中国)有限公司 Incoming call processing method and device
CN106302939A (en) * 2016-07-22 2017-01-04 珠海格力电器股份有限公司 Incoming call sound method and apparatus
CN106648386A (en) * 2016-10-09 2017-05-10 广东小天才科技有限公司 Intelligent terminal operation method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130116007A1 (en) * 2008-08-21 2013-05-09 Apple Inc. Camera as input interface
CN102045429A (en) * 2009-10-13 2011-05-04 华为终端有限公司 Method and equipment for adjusting displayed content
CN103576839A (en) * 2012-07-24 2014-02-12 广州三星通信技术研究有限公司 Facial recognition based terminal operation control device and method
CN103914142A (en) * 2013-01-04 2014-07-09 三星电子株式会社 Apparatus and method for providing control service using head tracking technology in electronic device
CN104954574A (en) * 2015-06-23 2015-09-30 上海卓易科技股份有限公司 Automatic mobile terminal operation method and mobile terminal
CN105657161A (en) * 2015-12-28 2016-06-08 魅族科技(中国)有限公司 Incoming call processing method and device
CN106302939A (en) * 2016-07-22 2017-01-04 珠海格力电器股份有限公司 Incoming call sound method and apparatus
CN106648386A (en) * 2016-10-09 2017-05-10 广东小天才科技有限公司 Intelligent terminal operation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660662A (en) * 2018-12-04 2019-04-19 联想(北京)有限公司 A kind of information processing method and terminal

Similar Documents

Publication Publication Date Title
CN107450708A (en) Solve lock control method and Related product
CN109816441A (en) Tactful method for pushing, system and relevant apparatus
CN107808149A (en) A kind of face information mask method, device and storage medium
CN107451453A (en) Solve lock control method and Related product
CN107463813A (en) Condition control method and Related product
CN107622246A (en) Face identification method and Related product
CN107437067A (en) Human face in-vivo detection method and Related product
CN107483717A (en) The method to set up and Related product of infrared light compensating lamp
CN107590474A (en) Solve lock control method and Related product
CN107480601A (en) Detection method and related product
CN113505256B (en) Feature extraction network training method, image processing method and device
EP3454251A1 (en) Unlocking control methods and related products
CN107277265A (en) Solve lock control method and Related product
CN107330316A (en) unlocking processing method and related product
CN107516032A (en) Solve lock control method and Related product
CN110427108A (en) Photographic method and Related product based on eyeball tracking
CN107527019A (en) Solve lock control method and Related product
CN107451543A (en) Event-handling method and Related product
CN107274178A (en) Method for switching network and Related product
CN107491743A (en) Iris image acquiring method and Related product
CN107402787A (en) Iris recognition pattern open method and Related product
CN107451536A (en) Bio-identification pattern open method and Related product
CN109753873A (en) Image processing method and relevant apparatus
CN107742073A (en) Information displaying method, device, computer installation and computer-readable recording medium
CN107426422A (en) Event-handling method and Related product

Legal Events

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

Application publication date: 20171201