CN108429879A - Electronic equipment, camera control method and Related product - Google Patents
Electronic equipment, camera control method and Related product Download PDFInfo
- Publication number
- CN108429879A CN108429879A CN201810150142.4A CN201810150142A CN108429879A CN 108429879 A CN108429879 A CN 108429879A CN 201810150142 A CN201810150142 A CN 201810150142A CN 108429879 A CN108429879 A CN 108429879A
- Authority
- CN
- China
- Prior art keywords
- camera
- service
- preset service
- face
- preset
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000001815 facial effect Effects 0.000 claims abstract description 27
- 238000001514 detection method Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 6
- 238000013497 data interchange Methods 0.000 claims description 2
- 230000005611 electricity Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 241001079064 Zanthoxylum schinifolium Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 210000003462 vein Anatomy 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
- G06V40/166—Detection; Localisation; Normalisation using acquisition arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of electronic equipment, camera control method and Related product.Method includes:During recognition of face service acquires facial image using camera, the use that preset service is detected for the camera is asked, the preset service includes the service for needing to use camera in addition to the recognition of face services, and the electronic equipment is in bright screen screen lock state;When detecting use request of the preset service for the camera, determine that the preset service is directed to the use priority of the camera;When the use priority for detecting the preset service is directed to the use priority of the camera higher than recognition of face service, the right to use of the camera is distributed into the preset service.The embodiment of the present application is conducive to improve the dependable with function of the preset service using camera.
Description
Technical field
This application involves technical field of mobile terminals, and in particular to a kind of electronic equipment, camera control method and correlation
Product.
Background technology
With social progress and the reach of science, information exchange is more and more frequent, for ensure information safety, need to
Family identity is verified, and therefore, can usually use bio-identification, such as:Fingerprint recognition, recognition of face, iris recognition, vein are known
Not, the biological identification technologies such as personal recognition.
Currently, usually by numerical ciphers, number and monogram password, finger-print cipher and facial image are as locking screen interface
Unlocking pin, especially with recognition of face service greatly improve locking screen interface unlock convenience and safety.
Invention content
The embodiment of the present application provides a kind of electronic equipment, camera control method and Related product, can improve use
The dependable with function of service or the application of camera.
In a first aspect, the embodiment of the present application provides a kind of electronic equipment, including processor, the camera shooting of the processor is connected
Head and memory, wherein
The camera, for enabling the service and application that need using camera;
The memory, for storing the collected facial image of the camera;
The processor, for during recognition of face service acquires facial image using camera, detection to be default
Service is asked for the use of the camera, and the preset service includes needing to use in addition to the recognition of face services
The service of camera, the electronic equipment are in bright screen screen lock state;And for detecting the preset service for institute
When stating the use request of camera, determine that the preset service is directed to the use priority of the camera;And for examining
Measure the use priority of the preset service higher than recognition of face service for the camera use priority when,
The right to use of the camera is distributed into the preset service.
Second aspect, the embodiment of the present application provide a kind of camera control method, including:
During recognition of face service acquires facial image using camera, detection preset service is directed to the camera shooting
The use request of head, the preset service include the service needed using camera in addition to the recognition of face services, institute
It states electronic equipment and is in bright screen screen lock state;
When detecting use request of the preset service for the camera, determine that the preset service is directed to institute
State the use priority of camera;
In the use priority for detecting the preset service higher than recognition of face service for the camera
When use priority, the right to use of the camera is distributed into the preset service.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including detection unit, and determination unit and processing are single
Member,
The detection unit, for during recognition of face service acquires facial image using camera, detection to be pre-
If service is asked for the use of the camera, the preset service, which includes the needs in addition to the recognition of face services, to be made
With the service of camera, the electronic equipment is in bright screen screen lock state;
The determination unit, for when detecting use request of the preset service for the camera, determining
The preset service is directed to the use priority of the camera;
The processing unit, for detect the preset service for the camera use priority be higher than institute
When stating use priority of the recognition of face service for the camera, the right to use of the camera is distributed to described default
Service.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, 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 described
It manages device to execute, described program includes the instruction for executing the step in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein described computer-readable
Computer program of the storage medium storage for electronic data interchange, wherein the computer program makes computer execute such as
Step some or all of described in the embodiment of the present application first aspect either method.
6th aspect, the embodiment of the present application provide a kind of computer program product, wherein the computer program product
Non-transient computer readable storage medium including storing computer program, the computer program are operable to make calculating
Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product
It can be a software installation packet.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.Be conducive to improve using camera
The dependable with function of preset service.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of camera control method disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of another camera control method disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another camera control method disclosed in the embodiment of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed in the embodiment of the present application;
Fig. 6 is a kind of functional unit composition block diagram of face camera control device disclosed in the embodiment of the present application.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Term " first ", " second " in the description and claims of this application and the attached drawing etc. are for distinguishing
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 and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap
It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.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.
Electronic equipment involved by the embodiment of the present application may include various handheld devices with wireless communication function,
Mobile unit, wearable device, computing device or other processing equipments and various forms for being connected to radio modem
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 electronic equipment.
The structural schematic diagram of a kind of electronic equipment 100, the electronics are provided referring to Fig. 1, Fig. 1 is the embodiment of the present application
Equipment 100 includes:Shell 110, the circuit board 120 being set in the shell 110, the display being set on the shell 110
Shield 130 and camera 140, processor 121, sensor 122 and memory 123, the sensing are provided on the circuit board 120
Device 122 and memory 123 are connect with the processor 121, and the processor 121 connects the display screen 130;Wherein,
The camera 140, for enabling the service and application that need using camera;
The memory 123, for storing the collected facial image of the camera;
The processor 121, for during recognition of face service acquires facial image using camera, detection to be pre-
If service is asked for the use of the camera, the preset service, which includes the needs in addition to the recognition of face services, to be made
With the service of camera, the electronic equipment is in bright screen screen lock state;And for detecting that the preset service is directed to
When the use request of the camera, determine that the preset service is directed to the use priority of the camera;And it is used for
Detect use priority of the use priority of the preset service higher than recognition of face service for the camera
When, the right to use of the camera is distributed into the preset service.
Wherein, the sensor includes a plurality of types of sensors of electronic equipment, such as range sensor, Distance-sensing
Device can be used for when detecting that the distance of active user's face and the electronic equipment is within the scope of pre-determined distance, executes acquisition and works as
The face of preceding user, to can be improved collected user's face facial image clarity and integrality.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.It is used due to being serviced in recognition of face
During camera acquires facial image, when detecting use request of the preset service for the camera, meeting
Camera is determined to the use priority of camera to the use priority of camera and recognition of face service according to preset service
The right to use, be conducive to improve using camera preset service dependable with function.
In a possible example, the use priority side of the camera is directed in the determination preset service
Face, the processor 121 are specifically used for:Inquire whether destination service set includes the preset service;And if for inquiring
Include the preset service to the destination service set, the use priority that the preset service is directed to the camera is set
Higher than the recognition of face service;And for determining that the newly-installed priority is that the preset service is directed to the camera shooting
The use priority of head.
In a possible example, the use priority side of the camera is directed in the determination preset service
Face, the processor 121 are specifically used for:The preset use priority set for the camera is inquired, is determined described pre-
If servicing corresponding use priority, the use priority set includes service and the use priority for the camera
Correspondence.
In a possible example, in terms of the right to use by the camera distributes to the preset service,
The processor 121 is specifically used for:Recycle the right to use of the recognition of face service for the camera;And it is used for as institute
State the right to use that preset service configures the camera.
In a possible example, the associated application of preset service include it is following any one:Video chat is answered
It is taken pictures application with, screen locking camera applications, third party.
A kind of flow diagram of camera control method is provided referring to Fig. 2, Fig. 2 is the embodiment of the present application, is applied
In electronic equipment as shown in Figure 1, as shown, this camera control method includes:
S201, electronic equipment detect default clothes during recognition of face service acquires facial image using camera
Business is asked for the use of the camera, and the preset service includes that the needs use in addition to the recognition of face services is taken the photograph
As the service of head, the electronic equipment is in bright screen screen lock state.
Wherein, preset service includes the service needed using camera in addition to the recognition of face services, and presets clothes
Business and association, such as can be the Video chat service of wechat.
Wherein, the camera of electronic equipment has exclusivity, when a preset service is in use camera, needs first Shen
Please camera the right to use, using camera during, other preset services can not apply for the right to use to camera, i.e.,
Camera can not be used, after the right to use of preset service release camera of camera is only used, other preset services
It can just apply using camera.The preset service that camera is used does not discharge the right to use of camera, other default clothes
Business can not then use camera.
Wherein, during recognition of face service acquires facial image using camera, recognition of face service at this time is gathered around
The right to use for having camera during man face image acquiring, can lead to not when locking screen interface carries out recognition of face service
Screen locking camera is opened, Video chat message can not be also received, and when using comprehensive screen mobile phone with recognition of face service, lead to
Recognition of face service can be carried out automatically when the bright screens of Chang Shouji, although the process of recognition of face service is very of short duration, user sometimes
It may just hope using screen locking camera service, if preferentially carrying out recognition of face service at this time, user can not use screen locking camera
Service, can only can just use camera after recognition of face successfully unlocks mobile phone.
Wherein, when electronic equipment is in bright screen screen lock state, recognition of face service can be carried out, is made in recognition of face service
During camera, electronic equipment can detect preset service for the camera use ask, preset service be except
The service needed using camera except recognition of face service.
S202, the electronic equipment are determined when detecting use request of the preset service for the camera
The preset service is directed to the use priority of the camera.
Wherein, during recognition of face service acquires facial image using camera, if detecting preset service needle
When asking the use of camera, it may be determined that preset service is directed to the priority of camera, and electronic equipment acquiescence is that use is taken the photograph
As the preset service of head is not no priority to the use of camera, the as same level, in the application, can be arranged makes
With priority of the preset service of camera when using camera.
S203, the electronic equipment are higher than the recognition of face service in the use priority for detecting the preset service
For the camera use priority when, the right to use of the camera is distributed into the preset service.
Wherein, electronic equipment is directed to the camera shooting in the use priority for detecting preset service higher than recognition of face service
When the use priority of head, the right to use of the recognition of face service release to the camera will be controlled, by the right to use of camera
Distribute to preset service.
Wherein, during carrying out recognition of face service acquisition facial image, if preset service will also use camera
But the priority of preset service less than recognition of face service using camera priority when, continue to execute recognition of face clothes
Business, electronic equipment is unlocked after recognition of face services successfully, and the use that can respond preset service again for the camera is asked
It asks.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.It is used due to being serviced in recognition of face
During camera acquires facial image, when detecting use request of the preset service for the camera, meeting
Camera is determined to the use priority of camera to the use priority of camera and recognition of face service according to preset service
The right to use, be conducive to improve using camera preset service dependable with function.
In a possible example, the determination preset service is directed to the use priority of the camera, packet
It includes:Inquire whether destination service set includes the preset service;If it includes described default to inquire the destination service set
Service, the use priority that the preset service is arranged for the camera are higher than the recognition of face service;Determination is newly set
The priority set is the use priority that the preset service is directed to the camera.
Wherein, in electronic equipment in addition to recognition of face the service in need using camera can be default clothes
Part preset service can be carried out priority ranking by user, the preset service that priority ranking has been carried out is become by business
Destination service set.
Wherein, when carrying out recognition of face service, if detect preset service, and destination service set includes the default clothes
The use priority that the preset service is directed to the camera can be then arranged in business, and priority is changed to be higher than recognition of face
The use priority of service team camera.
As it can be seen that in this example, it, can be by changing preset service when detecting preset service in face recognition process
Priority make preset service be higher than the use priority of recognition of face service team camera to the use priority of camera,
It realizes dynamic adjustment preset service and uses the priority of camera, in this way, face recognition process can be interrupted, enable default clothes
Business.
In a possible example, the determination preset service is directed to the use priority of the camera, packet
It includes:The preset use priority set for the camera is inquired, determines the corresponding use priority of the preset service,
The use priority set includes the correspondence of service and the use priority for the camera.
Wherein, user can formulate the priority that preset service uses camera by electronic equipment, when there are two default clothes
When business will use camera simultaneously, the high preset service of priority can apply for the right to use to camera, alternatively, in priority
For low preset service when using camera, at this moment the high preset service of priority will also use camera, electronic equipment controllable
The right to use of the low preset service release camera of priority processed, the high default clothes of priority are distributed to by the right to use of camera
Business.
Wherein, when detecting preset service, by inquiring the preset use priority set for the camera,
Determine that the corresponding use priority of the preset service, the use priority set include servicing and being directed to the camera
The correspondence of use priority.
As it can be seen that in this example, by inquiring the preset use priority set for the camera, it may be determined that default
It services corresponding use priority and recognition of face services corresponding use priority, so that it is determined that being currently to execute recognition of face
Service or execution preset service.
In a possible example, the right to use by the camera distributes to the preset service, including:It returns
Receive the right to use of the recognition of face service for the camera;The use of the camera is configured for the preset service
Power.
Wherein, the right to use of the camera is distributed into preset service, needs first to recycle recognition of face service for institute
The right to use of camera is stated, that is, allows recognition of face service release to the right to use of the camera, then by the right to use of camera
Preset service is distributed to, while recognition of face service discharges the right to use of the camera, just stopped recognition of face clothes
Business.
As it can be seen that in this example, when electronic equipment is in bright screen locking screen interface, in the process for carrying out recognition of face service
In, if detect that the preset service for using the priority of camera to be higher than recognition of face service will use camera, in time
Stop recognition of face service, the right to use of camera is allocated to preset service, it is default so as to be used on locking screen interface
Service.
In a possible example, the associated application of preset service include it is following any one:Video chat is answered
It is taken pictures application with, screen locking camera applications, third party.
Wherein, preset service and association, associated application may include that Video chat applies (such as wechat, QQ), video
Chat application further includes online live streaming application (such as Chinese prickly ash live streaming, a live streaming), and screen locking camera applications and third party take pictures application
(such as U.S. face camera, Meitu Xiu Xiu).
Wherein, the priority of preset service is set, for example, the priority ranking of preset service can be:Video chat is answered
It is taken pictures application with, screen locking camera applications, recognition of face service, third party.For example, after setting priority ranking, when
User picks up mobile phone, will present locking screen interface after the bright screen of mobile phone, and then mobile phone starts to enable camera progress recognition of face service,
At this moment wechat application has sent Video chat request, can stop recognition of face service the right to use of camera is distributed to wechat to answer
Video chat service.
As it can be seen that in this example, preset service can be configured by user, while being dynamically adapted preset service and being used camera shooting
The priority of head, user can be according to the use demands to camera of electronic equipment, and dynamic adjustment needs answering using camera
With or service to the use priority of camera, in this way, being conducive to adjust the sequence that electronic equipment enables preset service.
A kind of flow diagram of camera control method is provided referring to Fig. 3, Fig. 3 is the embodiment of the present application, is applied
In electronic equipment as described in Figure 1, as shown, this camera control method includes:
S301, electronic equipment detect default clothes during recognition of face service acquires facial image using camera
Business is asked for the use of the camera, and the preset service includes that the needs use in addition to the recognition of face services is taken the photograph
As the service of head, the electronic equipment is in bright screen screen lock state.
S302, the electronic equipment is when detecting use request of the preset service for the camera, inquiry
Whether destination service set includes the preset service.
S303, if it includes the preset service that the electronic equipment, which inquires the destination service set, setting is described pre-
If service is higher than the recognition of face service for the use priority of the camera.
S304, the electronic equipment determine that the newly-installed priority is that the preset service is directed to the camera
Use priority.
S305, the electronic equipment are higher than the recognition of face service in the use priority for detecting the preset service
For the camera use priority when, the right to use of the camera is distributed into the preset service.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.It is used due to being serviced in recognition of face
During camera acquires facial image, when detecting use request of the preset service for the camera, meeting
Camera is determined to the use priority of camera to the use priority of camera and recognition of face service according to preset service
The right to use, be conducive to improve using camera preset service dependable with function.
In addition, in face recognition process, when detecting preset service, can be made by changing the priority of preset service
The use priority that preset service is higher than the use priority of camera recognition of face service team camera is obtained, dynamic is realized
It adjusts preset service and uses the priority of camera, in this way, face recognition process can be interrupted, enable preset service.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of camera shooting provided by the embodiments of the present application
The flow diagram of head controlling method is applied to electronic equipment as described in Figure 1, as shown, this camera control method packet
It includes:
S401, electronic equipment detect default clothes during recognition of face service acquires facial image using camera
Business is asked for the use of the camera, and the preset service includes that the needs use in addition to the recognition of face services is taken the photograph
As the service of head, the electronic equipment is in bright screen screen lock state.
S402, the electronic equipment are determined when detecting use request of the preset service for the camera
The preset service is directed to the use priority of the camera.
S403, the electronic equipment are higher than the recognition of face service in the use priority for detecting the preset service
For the camera use priority when, recycle the right to use of the recognition of face service for the camera.
S404, the electronic equipment are the right to use that the preset service configures the camera.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.It is used due to being serviced in recognition of face
During camera acquires facial image, when detecting use request of the preset service for the camera, meeting
Camera is determined to the use priority of camera to the use priority of camera and recognition of face service according to preset service
The right to use, be conducive to improve using camera preset service dependable with function.
In addition, when electronic equipment is in bright screen locking screen interface, during carrying out recognition of face service, if detecting
To when the priority of camera being used to use camera higher than the preset service of recognition of face service, stop recognition of face in time
Service, preset service is allocated to by the right to use of camera, so as to use preset service on locking screen interface.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application
The structural schematic diagram of a kind of electronic equipment, as shown, the electronic equipment includes processor, memory, communication interface and one
A or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing
Device executes, and above procedure includes the instruction for executing following steps;
During recognition of face service acquires facial image using camera, detection preset service is directed to the camera shooting
The use request of head, the preset service include the service needed using camera in addition to the recognition of face services, institute
It states electronic equipment and is in bright screen screen lock state;
When detecting use request of the preset service for the camera, determine that the preset service is directed to institute
State the use priority of camera;
In the use priority for detecting the preset service higher than recognition of face service for the camera
When use priority, the right to use of the camera is distributed into the preset service.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.It is used due to being serviced in recognition of face
During camera acquires facial image, when detecting use request of the preset service for the camera, meeting
Camera is determined to the use priority of camera to the use priority of camera and recognition of face service according to preset service
The right to use, be conducive to improve using camera preset service dependable with function.
In a possible example, the use priority side of the camera is directed in the determination preset service
Face, the instruction in described program are specifically used for executing following operation:Inquire whether destination service set includes the preset service;
If it includes the preset service to inquire the destination service set, the use that the preset service is directed to the camera is set
Priority is higher than the recognition of face service;Determine that the newly-installed priority is that the preset service is directed to the camera
Use priority.
In a possible example, the use priority side of the camera is directed in the determination preset service
Face, the instruction in described program are specifically used for executing following operation:Inquire the preset use priority for the camera
Set determines that the corresponding use priority of the preset service, the use priority set include that service is taken the photograph with for described
As the correspondence of the use priority of head.
In a possible example, in terms of the right to use by the camera distributes to the preset service,
Instruction in described program is specifically used for executing following operation:Recycle use of the recognition of face service for the camera
Power;The right to use of the camera is configured for the preset service.
In a possible example, the associated application of preset service include it is following any one:Video chat is answered
It is taken pictures application with, screen locking camera applications, third party.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that
, for electronic equipment in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software mould
Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, and depend on the specific application and design constraint item of technical solution
Part.Professional technician specifically can realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out electronic equipment according to the method example the division of functional unit, for example, can
Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit
In.The form that hardware had both may be used in the integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs
It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of camera control device 600 involved in the embodiment of the present application.The camera shooting
Head control device 600 is applied to electronic equipment, and camera control device 600 includes detection unit 601, determination unit 602 and place
Manage unit 603, wherein
The detection unit 601, for during recognition of face service acquires facial image using camera, detecting
Preset service is asked for the use of the camera, and the preset service includes the needs in addition to the recognition of face services
Using the service of camera, the electronic equipment is in bright screen screen lock state;
The determination unit 602, for detect the preset service for the camera use request when, really
The fixed preset service is directed to the use priority of the camera;
The processing unit 603, for detecting that the preset service is high for the use priority of the camera
When use priority of the recognition of face service for the camera, the right to use of the camera is distributed to described
Preset service.
As can be seen that in the embodiment of the present application, electronic equipment acquires face in recognition of face service using camera first
During image, detection preset service is asked for the use of the camera, and the preset service includes removing the face
The service for needing to use camera except identification service, the electronic equipment are in bright screen screen lock state, secondly, are detecting
When the preset service is asked for the use of the camera, determine that the preset service is excellent for the use of the camera
First grade is finally directed to the camera in the use priority for detecting the preset service higher than recognition of face service
Use priority when, the right to use of the camera is distributed into the preset service.It is used due to being serviced in recognition of face
During camera acquires facial image, when detecting use request of the preset service for the camera, meeting
Camera is determined to the use priority of camera to the use priority of camera and recognition of face service according to preset service
The right to use, be conducive to improve using camera preset service dependable with function.
In a possible example, the use priority side of the camera is directed in the determination preset service
Face, the determination unit 602 are specifically used for:Inquire whether destination service set includes the preset service;And if for looking into
It includes the preset service to ask the destination service set, and the use that the preset service is arranged for the camera is preferential
Grade is higher than the recognition of face service;And for determining that the newly-installed priority is that the preset service is taken the photograph for described
As the use priority of head.
In a possible example, the use priority side of the camera is directed in the determination preset service
Face, the determination unit 602 are specifically used for:Inquire the preset use priority set for the camera, determine described in
The corresponding use priority of preset service, the use priority set include that service and the use for the camera are preferential
The correspondence of grade.
In a possible example, in terms of the right to use by the camera distributes to the preset service,
The processing unit 603 is specifically used for:Recycle the right to use of the recognition of face service for the camera;And for for
The preset service configures the right to use of the camera.
In a possible example, the associated application of preset service include it is following any one:Video chat is answered
It is taken pictures application with, screen locking camera applications, third party.
Wherein, detection unit 601 can be processor and camera, and determination unit 602 and processing unit 603 can be places
Manage device.
The embodiment of the present application also provides a kind of computer storage media, wherein computer storage media storage is for electricity
The computer program that subdata exchanges, the computer program make computer execute any as described in above method embodiment
Some or all of method step, above computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and above computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either method described in method embodiment step.The computer program product can be a software installation
Packet, above computer includes mobile terminal.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no 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 equipment, it can be by another way
It realizes.For example, apparatus embodiments described above are merely indicative, for example, said units division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of equipment or unit,
Can be electrical or other forms.
The above-mentioned unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
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
It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory
May include:Flash disk, read-only memory (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 application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (13)
1. a kind of electronic equipment, which is characterized in that including processor, connect the camera and memory of the processor, wherein
The camera, for enabling the service and application that need using camera;
The memory, for storing the collected facial image of the camera;
The processor, for during recognition of face service acquires facial image using camera, detecting preset service
For the use request of the camera, the preset service includes that the needs in addition to the recognition of face services use camera shooting
The service of head, the electronic equipment are in bright screen screen lock state;And for detecting that the preset service takes the photograph for described
When being asked as the use of head, determine that the preset service is directed to the use priority of the camera;And for detecting
When the use priority of the preset service is directed to the use priority of the camera higher than recognition of face service, by institute
The right to use for stating camera distributes to the preset service.
2. electronic equipment according to claim 1, which is characterized in that taken the photograph for described in the determination preset service
As the use priority aspect of head, the processor is specifically used for:Inquire whether destination service set includes the preset service;
And if include the preset service for inquiring the destination service set, be arranged the preset service be directed to the camera shooting
The use priority of head is higher than the recognition of face service;And for determining that the newly-installed priority is the default clothes
Use priority of the business for the camera.
3. electronic equipment according to claim 1, which is characterized in that taken the photograph for described in the determination preset service
As the use priority aspect of head, the processor is specifically used for:Inquire the preset use priority for the camera
Set determines that the corresponding use priority of the preset service, the use priority set include that service is taken the photograph with for described
As the correspondence of the use priority of head.
4. electronic equipment according to any one of claims 1 to 3, which is characterized in that make the camera described
In terms of distributing to the preset service with power, the processor is specifically used for:The recognition of face service is recycled to take the photograph for described
As the right to use of head;And the right to use for configuring the camera for the preset service.
5. the electronic equipment according to Claims 1-4, which is characterized in that the associated application of preset service include with
Descend any one:Video chat application, screen locking camera applications, third party are taken pictures application.
6. a kind of camera control method, which is characterized in that including:
During recognition of face service acquires facial image using camera, detection preset service is for the camera
Using request, the preset service includes the service needed using camera in addition to the recognition of face services, the electricity
Sub- equipment is in bright screen screen lock state;
When detecting use request of the preset service for the camera, determine that the preset service is taken the photograph for described
As the use priority of head;
In the use priority for detecting the preset service higher than recognition of face service for the use of the camera
When priority, the right to use of the camera is distributed into the preset service.
7. according to the method described in claim 6, it is characterized in that, the determination preset service is for the camera
Use priority, including:
Inquire whether destination service set includes the preset service;
If it includes the preset service to inquire the destination service set, the preset service is set for the camera
Use priority is higher than the recognition of face service;
Determine that the newly-installed priority is the use priority that the preset service is directed to the camera.
8. according to the method described in claim 6, it is characterized in that, the determination preset service is for the camera
Use priority, including:
The preset use priority set for the camera is inquired, determines that the preset service is corresponding using preferential
Grade, the use priority set include the correspondence of service and the use priority for the camera.
9. according to claim 6 to 8 any one of them method, which is characterized in that the right to use by the camera point
Preset service described in dispensing, including:
Recycle the right to use of the recognition of face service for the camera;
The right to use of the camera is configured for the preset service.
10. according to claim 6 to 9 any one of them method, which is characterized in that the associated application of preset service includes
Below any one:
Video chat application, screen locking camera applications, third party are taken pictures application.
11. a kind of camera control device, which is characterized in that including detection unit, determination unit and processing unit,
The detection unit, for during recognition of face service acquires facial image using camera, detecting default clothes
Business is asked for the use of the camera, and the preset service includes that the needs use in addition to the recognition of face services is taken the photograph
As the service of head, the electronic equipment is in bright screen screen lock state;
The determination unit, described in when detecting use request of the preset service for the camera, determining
Preset service is directed to the use priority of the camera;
The processing unit, for detect the preset service for the camera use priority be higher than the people
When face identification service is directed to the use priority of the camera, the right to use of the camera is distributed into the default clothes
Business.
12. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface and one or more program,
Wherein, one or more of programs are stored in the memory, and are configured to be executed by the processor, the journey
Sequence includes that the instruction of the step in any one of 6-10 methods is required for perform claim.
13. a kind of computer readable storage medium, which is characterized in that it stores the computer program for electronic data interchange,
Wherein, the computer program makes computer execute such as claim 6-10 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810150142.4A CN108429879B (en) | 2018-02-13 | 2018-02-13 | Electronic apparatus, camera control method, camera control apparatus, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810150142.4A CN108429879B (en) | 2018-02-13 | 2018-02-13 | Electronic apparatus, camera control method, camera control apparatus, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108429879A true CN108429879A (en) | 2018-08-21 |
CN108429879B CN108429879B (en) | 2020-12-25 |
Family
ID=63157036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810150142.4A Expired - Fee Related CN108429879B (en) | 2018-02-13 | 2018-02-13 | Electronic apparatus, camera control method, camera control apparatus, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108429879B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109345887A (en) * | 2018-09-29 | 2019-02-15 | 北京猎户星空科技有限公司 | Acquisition methods, device and the electronic equipment of task execution duration |
CN111833573A (en) * | 2020-07-09 | 2020-10-27 | 哈尔滨市科佳通用机电股份有限公司 | Door opening and closing detection system for railway rail side equipment box |
CN112399232A (en) * | 2019-08-18 | 2021-02-23 | 海信视像科技股份有限公司 | Display equipment, camera priority use control method and device |
CN113518183A (en) * | 2021-07-23 | 2021-10-19 | 北京字节跳动网络技术有限公司 | Camera calling method and device and electronic equipment |
CN113778641A (en) * | 2021-08-09 | 2021-12-10 | 荣耀终端有限公司 | Method for controlling camera, electronic device and computer readable storage medium |
CN114079812A (en) * | 2020-08-21 | 2022-02-22 | 海信视像科技股份有限公司 | Display equipment and camera control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001148846A (en) * | 1999-11-19 | 2001-05-29 | Nec Corp | Remote monitoring control system |
CN103106117A (en) * | 2012-12-25 | 2013-05-15 | 青岛海信电器股份有限公司 | Resource allocation method and electronic equipment |
CN103677848A (en) * | 2013-12-27 | 2014-03-26 | 厦门雅迅网络股份有限公司 | Camera control method based on Android |
CN103793246A (en) * | 2014-01-22 | 2014-05-14 | 深圳Tcl新技术有限公司 | Method and system for coordinating camera resources |
CN105068945A (en) * | 2015-08-03 | 2015-11-18 | Tcl集团股份有限公司 | Camera distribution method and system for Android system |
-
2018
- 2018-02-13 CN CN201810150142.4A patent/CN108429879B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001148846A (en) * | 1999-11-19 | 2001-05-29 | Nec Corp | Remote monitoring control system |
CN103106117A (en) * | 2012-12-25 | 2013-05-15 | 青岛海信电器股份有限公司 | Resource allocation method and electronic equipment |
CN103677848A (en) * | 2013-12-27 | 2014-03-26 | 厦门雅迅网络股份有限公司 | Camera control method based on Android |
CN103793246A (en) * | 2014-01-22 | 2014-05-14 | 深圳Tcl新技术有限公司 | Method and system for coordinating camera resources |
CN105068945A (en) * | 2015-08-03 | 2015-11-18 | Tcl集团股份有限公司 | Camera distribution method and system for Android system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109345887A (en) * | 2018-09-29 | 2019-02-15 | 北京猎户星空科技有限公司 | Acquisition methods, device and the electronic equipment of task execution duration |
CN112399232A (en) * | 2019-08-18 | 2021-02-23 | 海信视像科技股份有限公司 | Display equipment, camera priority use control method and device |
CN111833573A (en) * | 2020-07-09 | 2020-10-27 | 哈尔滨市科佳通用机电股份有限公司 | Door opening and closing detection system for railway rail side equipment box |
CN114079812A (en) * | 2020-08-21 | 2022-02-22 | 海信视像科技股份有限公司 | Display equipment and camera control method |
CN113518183A (en) * | 2021-07-23 | 2021-10-19 | 北京字节跳动网络技术有限公司 | Camera calling method and device and electronic equipment |
CN113518183B (en) * | 2021-07-23 | 2023-06-27 | 北京字节跳动网络技术有限公司 | Camera calling method and device and electronic equipment |
CN113778641A (en) * | 2021-08-09 | 2021-12-10 | 荣耀终端有限公司 | Method for controlling camera, electronic device and computer readable storage medium |
CN113778641B (en) * | 2021-08-09 | 2022-08-19 | 荣耀终端有限公司 | Method for controlling camera, electronic device and computer readable storage medium |
WO2023015956A1 (en) * | 2021-08-09 | 2023-02-16 | 荣耀终端有限公司 | Method for controlling camera, and electronic device and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108429879B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108429879A (en) | Electronic equipment, camera control method and Related product | |
CN106778175B (en) | Interface locking method and device and terminal equipment | |
CN106534072B (en) | user information authorization method, device, equipment and system | |
CN103488481B (en) | Application program control method, terminal equipment and remote control system | |
CN104901805B (en) | A kind of identification authentication methods, devices and systems | |
CN110166439B (en) | Equipment sharing method, terminal, router and server | |
CN104036195A (en) | Information processing method and device | |
CN107622191B (en) | Unlocking control method and related product | |
EP3471015A1 (en) | Face recognition method and related product | |
US20150294108A1 (en) | Method and apparatus for managing authentication | |
CN106295296A (en) | A kind of startup method of application program and terminal | |
CN114168916A (en) | Screen unlocking method and terminal | |
CN107622232B (en) | Unlocking control method and related product | |
CN106656985B (en) | Backup account login method, device and system | |
CN107861669A (en) | The switching method and mobile terminal of a kind of custom system | |
CN108601048B (en) | Flow control method and mobile terminal | |
CN111857498B (en) | Data interaction method and device and electronic equipment | |
CN110430119A (en) | Information transferring method, server, terminal device and medium | |
EP3422798B1 (en) | Communication methods and devices for direct communication | |
CN106294027A (en) | A kind of data back up method, device, carrier server and mobile terminal | |
CN112215025A (en) | Radio frequency card function calling method and device | |
CN110244894A (en) | A kind of control method of screen locking, device, handheld terminal and storage medium | |
CN107657219A (en) | Method for detecting human face and Related product | |
CN107679377A (en) | Application interface switching method, device, storage medium and electronic equipment | |
CN110536001A (en) | A kind of call method and electronic equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201225 |
|
CF01 | Termination of patent right due to non-payment of annual fee |