Electronic device and control method thereof
US-2020366774-A1 · Nov 19, 2020 · US
US11064130B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11064130-B2 |
| Application number | US-201916686487-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 18, 2019 |
| Priority date | Jun 17, 2019 |
| Publication date | Jul 13, 2021 |
| Grant date | Jul 13, 2021 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A method for controlling the front camera includes: an operation instruction for the front camera is received from an application; a trigger message is sent to a pop-up motor service to trigger the pop-up motor service to control a pop-up or retraction of the front camera; and the front camera is controlled based on the operation instruction to perform a corresponding operation.
Opening claim text (preview).
The invention claimed is: 1. A device for controlling a front camera, comprising: a processor; and a memory storing one or more instructions for execution by the processor, the one or more instructions including: instructions for receiving, from an application, an operation instruction for the front camera; instructions for sending a trigger message to a pop-up motor service to trigger the pop-up motor service to call a bottom-layer motor service, wherein the bottom-layer motor service comprises a daemon process; instructions for calling, by the bottom-layer motor service, a motor running program to control a pop-up or retraction of the front camera; and instructions for controlling, based on the operation instruction, the front camera to perform a corresponding operation. 2. The device for controlling the front camera of claim 1 , wherein the instructions for receiving, from the application, the operation instruction for the front camera comprises: instructions for calling, by the application, a camera service when the front camera is to be used by the application, and sending, by the application, the operation instruction for the front camera; and instructions for receiving, by the camera service, the operation instruction for the front camera. 3. The device for controlling the front camera of claim 1 , wherein the camera service is independent of the pop-up motor service. 4. The device for controlling the front camera of claim 1 , wherein the operation instruction comprises a front camera control instruction, and the front camera control instruction comprises at least one of: an image capturing control instruction, a video recording control instruction, an image capturing mode scene reference control instruction, a face recognition control instruction, a two-dimensional code scanning instruction, or a depth map capturing instruction. 5. The device for controlling the front camera of claim 1 , wherein the pop-up motor service is an application layer service. 6. The device for controlling the front camera of claim 1 , wherein the one or more instructions further comprise: instructions for acquiring a position of the front camera detected by a geomagnetic sensor. 7. A device for controlling a front camera, comprising: a processor; and a memory storing one or more instructions for execution by the processor, the one or more instructions including: instructions for receiving, from an application, an operation instruction for the front camera; instructions for sending a trigger message to a pop-up motor service to trigger the pop-up motor service to control a pop-up or retraction of the front camera; and instructions for controlling, based on the operation instruction, the front camera to perform a corresponding operation; wherein the one or more instructions further comprise: instructions for acquiring a position of the front camera detected by a geomagnetic sensor; instructions for determining, based on the position of the front camera, whether the pop-up or retraction of the front camera is normal; and instructions for sending, by the pop-up motor service, an alarm message to a user when the pop-up or retraction of the front camera is abnormal. 8. A method for controlling a front camera, comprising: receiving, from an application, an operation instruction for the front camera; sending a trigger message to a pop-up motor service to trigger the pop-up motor service to call a bottom-layer motor service, wherein the bottom-layer motor service comprises a daemon process; calling, by the bottom-layer motor service, a motor running program to control a pop-up or retraction of the front camera; and controlling, based on the operation instruction, the front camera to perform a corresponding operation. 9. The method for controlling the front camera of claim 8 , wherein the receiving, from the application, the operation instruction for the front camera comprises: in a case that the front camera is to be used by the application, calling, by the application, a camera service, and sending, by the application, the operation instruction for the front camera; and receiving, by the camera service, the operation instruction for the front camera. 10. The method for controlling the front camera of claim 9 , wherein the camera service is independent of the pop-up motor service. 11. The method for controlling the front camera of claim 10 , wherein software architecture adopted for the camera service is independent of software architecture adopted for the pop-up motor service, in an operating system of a mobile terminal. 12. The method for controlling the front camera of claim 8 , wherein the operation instruction comprises a front camera control instruction, and the front camera control instruction comprises at least one of: an image capturing control instruction, a video recording control instruction, an image capturing mode scene reference control instruction, a face recognition control instruction, a two-dimensional code scanning instruction, or a depth map capturing instruction. 13. The method for controlling the front camera of claim 8 , wherein the pop-up motor service is an application layer service. 14. The method for controlling the front camera of claim 8 , further comprising: acquiring a position of the front camera detected by a geomagnetic sensor. 15. The method for controlling the front camera of claim 14 , wherein the acquiring the position of the front camera detected by the geomagnetic sensor comprises: calling, by the bottom-layer motor service, a sensor program to control the geomagnetic sensor to detect the position of front camera; and feeding, by the sensor program, back the position of the front camera detected by the geomagnetic sensor to the bottom-layer motor service. 16. The method for controlling the front camera of claim 14 , further comprising: determining, based on the position of the front camera, whether the pop-up or retraction of the front camera is normal; and sending, by the pop-up motor service, an alarm message to a user when the pop-up or retraction of the front camera is abnormal. 17. A mobile terminal implementing the method according to claim 8 , the mobile terminal comprising the front camera and a controller, wherein the front camera is capable of being popped-up or retracted; and the controller is configured to control the front camera; wherein the mobile terminal has a pop-up motor service separate from other application software to thereby reduce coupling between the pop-up motor service and the other application software, and reducing time delay caused by the other application software. 18. A non-transitory computer-readable storage medium having stored thereon instructions for by a processor of a mobile terminal to cause the processor to perform the method for controlling the front camera according to claim 8 .
Upgrading or updating of programs or applications for camera control · CPC title
Remote control of cameras or camera parts, e.g. by remote control devices · CPC title
Housings · CPC title
Control of cameras or camera modules · CPC title
by influencing the exposure time · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.