An electronic device and a camera switching method thereon are provided. The electronic device includes a first camera module, a second camera module, a touch screen and a processor. The touch screen is configured to detect a touch event, wherein the touch event is triggered as the touch screen is touched and dragged from a first position to a second position. The processor is configured to switch between the first camera module and the second camera module in response to the touch event. The camera switching method is applied to the electronic device to implement the operations.
|
1. An electronic device, comprising:
a first camera module;
a second camera module;
a touch screen, configured to detect a touch event; and
a processor, coupled with the first camera module, the second camera module and the touch screen and configured to switch between the first camera module being running and the second camera module being idle in response to the touch event;
wherein the touch event is triggered as the touch screen is touched and dragged from a first position to a second position;
wherein the processor is further configured to initiate the second camera module being idle in response to the touch event before the first camera module being running is switched to the second camera module being idle; and
wherein when the second camera module is fully initiated, the second camera module becomes running from being idle.
7. A camera switching method for use in an electronic device, the electronic device comprising a first camera module, a second camera module, a touch screen and a processor, the camera switching method comprising the following steps of:
(a) detecting a touch event by the touch screen, wherein the touch event is triggered as the touch screen is touched and dragged from a first position to a second position; and
(b) switching between the first camera module being running and the second camera module being idle by the processor in response to the touch event;
wherein the step (b) further comprises the following step of:
(b1) initiating the second camera being idle module by the processor in response to the touch event before the first camera module being running is switched to the second camera module being idle; and
wherein when the second camera module is fully initiated, the second camera module becomes running from being idle.
2. The electronic device as claimed in
display a first image frame which is provided by the first camera module until the second camera module is initiated; and
display a second image frame which is provided by the second camera module after the second camera module is fully initiated.
3. The electronic device as claimed in
4. The electronic device as claimed in
5. The electronic device as claimed in
6. The electronic device as claimed in
8. The camera switching method as claimed in
(c) displaying a first image frame which is provided by the first camera module by the touch screen until the second camera module is initiated; and
(d) displaying a second image frame which is provided by the second camera module by the touch screen after the second camera module is fully initiated.
9. The camera switching method as claimed in
(e) displaying a third image frame by the touch screen during the initiation of the second camera module.
10. The camera switching method as claimed in
11. The camera switching method as claimed in
12. The camera switching method as claimed in
|
This application claims priority to U.S. Provisional Patent Application No. 61/756,486 filed on Jan. 25, 2013.
Not applicable.
1. Field of the Invention
The present invention relates to an electronic device and a camera switching method thereof. More specifically, the present invention relates to an electronic device which is capable of switching camera modules in response to a touch event, and a camera switching method thereof.
2. Descriptions of the Related Art
Various electronic devices (e.g., smart mobile phones, notebook computers, tablet computers, digital cameras, etc.) have become indispensable to everyday lives of modern people. Almost all electronic device manufacturers have tried to design electronic devices to keep up with consumer needs. Among these designs, equipping a touch screen with an electronic device has been regarded as a basic requirement, and disposing two camera modules on one electronic device has also been regarded as one of the mainstreams in this art over recent years.
In such electronic device, the two camera modules may be disposed on different positions to sense different images from different perspectives and switched according to some steps to provide one of images provided by the camera modules for preview or shoot. The two camera modules may be switched according a series of steps which are instructed by tapping different positions of the touch screen many times. Also, the two camera modules may be switched according a series of steps which are instructed by tapping a keypad, moving a mouse or using other peripherals.
However, it is really cumbersome to switch between the two camera modules in such electronic device since the switching procedure of the two camera modules includes a series of steps. In view of this, an urgent need exists in the art to provide a solution to simplify the switching procedure of camera modules in such electronic device.
The primary objective of the present invention is to provide a solution to the aforesaid problem in which the switching procedure of camera modules in conventional electronic device is really cumbersome. To achieve the objective, the present invention provides an electronic device which is capable of switching camera modules in response to a touch event, and a camera switching method thereof. In the present invention, two camera modules are switched from one to the other in response to a touch event detected by a touch screen. Compared with the conventional switching procedure of camera modules, the touch event is just a simple operation such as a sliding motion on the touch screen. In such a way, the conventional switching procedure of camera modules would be simplified effectively.
In accordance with an aspect of the present invention, there is provided an electronic device comprising a first camera module, a second camera module, a touch screen and a processor coupled with the first camera module, the second camera module and the touch screen. The touch screen is configured to detect a touch event, wherein the touch event is triggered as the touch screen is touched and dragged from a first position to a second position. The processor is configured to switch between the first camera module and the second camera module in response to the touch event.
In one embodiment of the electronic device, the processor is further configured to initiate the second camera module in response to the touch event before the first camera module is switched to the second camera module. In this embodiment, the touch screen may further be configured to: display a first image frame which is provided by the first camera module until the second camera module is initiated; and display a second image frame which is provided by the second camera module after the second camera module is fully initiated. Optionally, the touch screen may further be configured to display a third image frame during the initiation of the second camera module.
In one embodiment of the electronic device, the first position is inside a first predetermined area next to one border of the touch screen and the second position is outside a second predetermined area next to the border of the touch screen. Preferably, the first predetermined area is ⅙ of the surface area of the touch screen and the second predetermined area is ⅓ of the surface area of the touch screen.
In accordance with another aspect of the present invention, there is provided a camera switching method for use in an electronic device comprising a first camera module, a second camera module, a touch screen and a processor. The camera switching method comprises the following steps of:
In one embodiment of the camera switching method, the step (b) further comprises the step of: (b1) initiating the second camera module by the processor in response to the touch event before the first camera module is switched to the second camera module. In this embodiment, the camera switching method may further comprise the following steps of: (c) displaying a first image frame which is provided by the first camera module by the touch screen until the second camera module is initiated; and (d) displaying a second image frame which is provided by the second camera module by the touch screen after the second camera module is fully initiated. Optionally, the camera switching method may further comprise the following step of: (e) displaying a third image frame during the initiation of the second camera module.
In one embodiment of the camera switching method, the first position is inside a first predetermined area next to one border of the touch screen and the second position is outside a second predetermined area next to the border of the touch screen. Preferably, the first predetermined area is ⅙ of the surface area of the touch screen and the second predetermined area is ⅓ of the surface area of the touch screen.
The detailed technology and preferred embodiments implemented for the present invention are described in the following paragraphs accompanying the appended drawings for people skilled in this art to well appreciate the features of the claimed invention.
The present invention can be explained with reference to the following embodiments. However, these embodiments are not intended to limit the present invention to any specific environments, applications or implementations described in these embodiments. Therefore, the description of these embodiments is only for the purpose of illustration rather than to limit the present invention. In the following embodiments and attached drawings, elements not directly related to the present invention are omitted from depiction; and dimensional relationships among individual elements in the attached drawings are illustrated only for ease of understanding but not to limit the actual scale.
A first embodiment of the present invention is as shown in
The touch screen 15 is configured to detect a touch event 2 and it may have different implementations. For example, the touch screen 15 may be a capacitive touch screen, a resistive touch screen, a resistive-capacitive composite touch screen, an electromagnetic-induction touch screen, etc. The processor 17 is configured to switch between the first camera module 11 and the second camera module 13 in response to the touch event 2. The electronic device 1 may comprise other components, modules or interfaces; however, those not directly related to the present invention are all omitted from depiction.
The electronic device 1 may be a smart phone as shown in
Note that the layout of the first camera lens 11a and the second camera lens 13a is not intended to limit the implements of the present invention, but only for the ease of descriptions. For example, in another embodiment of the present invention, the first camera lens 11a and the second camera lens 13a may also be disposed on both sides of the electronic device 1 or disposed on the one plane of the electronic device 1 with a distance apart.
The method in which the touch screen 15 detects the touch event 2 will be further described hereinafter with reference to
As shown in
The sizes of the first predetermined area 80 and the second predetermined area 82 may be predetermined and adjustable for different applications. For example, the first predetermined area 80 may be ⅙ of the surface area of the touch screen 15 and the second predetermined area 82 may be ⅓ of the surface area of the touch screen 15. Optionally, the first predetermined area 80 may also be ⅛ of the surface area of the touch screen 15 and the second predetermined area 82 may also be ¼ of the surface area of the touch screen 15.
Under the condition, when any position inside the first predetermined area 80 is touched and dragged to any position outside the second predetermined area 82, the touch event 2 is triggered and detected by the touch screen 15. Then, the processor 17 switches the first camera module 11 and the second camera module 13 from one to the other in response to the touch event 2. In practice, a user may touch a position inside the first predetermined area 80 or touch it with a slight movement, intentionally or unintentionally, etc. To reduce the influence incurred by such slight touch and/or movement, the processor 17 does not switch the first camera module 11 and the second camera module 13 from one to the other if a position inside the first predetermined area 80 is touched but not dragged to a position outside the second predetermined area 82 completely. In doing so, various incidentally false operations can be prevented effectively.
An example is further provided to describe the switch between the first camera module 11 and the second camera module 13. In this example, it is presumed that the first camera module 11 is running and the second camera module 13 is idle, and the touch screen 15 may still display a first image frame 40 which is provided by the first camera module 11 until the second camera module 13 is initiated.
Under the condition, when the touch event 2 is triggered and detected by the touch screen 15, the processor 17 initiates the second camera module 13 in response to the touch event 2. Once the second camera module 13 is fully initiated, the second camera module 13 becomes running and the first camera module 11 becomes idle. In the meantime, the touch screen 15 displays a second image frame 42 which is provided by the second camera module 13.
Depending on different types of the electronic device 1, the initiation time of the second camera module 13 may be longer. Therefore, the touch screen 15 may also display a third image frame (not shown) during the initiation of the second camera module 13. The third image frame is used to cover the display of the touch screen 15 during the initiation of the second camera module 13, and it may be a specific image including some indications, a predetermined background, or a predetermined photograph, etc.
A second embodiment of the present invention is as shown in
As shown in
An example with reference to
Next, step S507 is executed to enable the processor to determine whether the second camera module is fully initiated or not. If the second camera module is fully initiated, step S509 is executed to enable the processor to switch from the first camera module to the second camera module. Meanwhile, step S511 is executed to enable the touch screen to display a second image frame which is provided by the second camera module. Otherwise, step S513 is executed to enable the touch screen to display a third image frame until the second camera module is fully initiated.
In addition to the aforesaid steps, the camera switching method of this embodiment can also execute all the operations of the electronic device 1 set forth in the first embodiment and accomplish all the corresponding functions. The method in which the camera switching method of this embodiment executes these operations and accomplishes these corresponding functions can be readily appreciated by those of ordinary skill in the art based on the explanations of the first embodiment, and thus will not be further described herein.
According to the above descriptions, the present invention provides an electronic device which is capable of switching camera modules in response to a touch event, and a camera switching method thereof. In the present invention, two camera modules are switched from one to the other in response to a touch event detected by a touch screen. Compared with the conventional switching procedure of camera modules, the touch event is just a simple operation such as a sliding motion on the touch screen. In such a way, the conventional switching procedure of camera modules would be simplified effectively. Consequently, the present invention provides a good solution to the aforesaid problem in which the switching procedure of camera modules in conventional electronic device is really cumbersome.
The above disclosure is related to the detailed technical contents and inventive features thereof. Persons skilled in this art may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the following claims as appended.
Lin, Sung-Hao, Mariche, Jorge Taketoshi Furuya, Kuo, Ting-Chia
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
7145593, | Oct 15 2002 | PANASONIC MOBILE COMMUNICATIONS CO , LTD ; NTT DoCoMo, Inc | Foldable mobile terminal device |
20110085042, | |||
20120281129, | |||
20130329100, | |||
CN102231802, | |||
CN1509046, | |||
WO2010145355, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jan 17 2014 | KUO, TING-CHIA | HTC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032336 | /0620 | |
Jan 17 2014 | LIN, SUNG-HAO | HTC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032336 | /0620 | |
Jan 24 2014 | HTC Corporation | (assignment on the face of the patent) | / | |||
Feb 06 2014 | MARICHE, JORGE TAKETOSHI FURUYA | HTC Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032336 | /0620 |
Date | Maintenance Fee Events |
Aug 08 2019 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Aug 09 2023 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Feb 23 2019 | 4 years fee payment window open |
Aug 23 2019 | 6 months grace period start (w surcharge) |
Feb 23 2020 | patent expiry (for year 4) |
Feb 23 2022 | 2 years to revive unintentionally abandoned end. (for year 4) |
Feb 23 2023 | 8 years fee payment window open |
Aug 23 2023 | 6 months grace period start (w surcharge) |
Feb 23 2024 | patent expiry (for year 8) |
Feb 23 2026 | 2 years to revive unintentionally abandoned end. (for year 8) |
Feb 23 2027 | 12 years fee payment window open |
Aug 23 2027 | 6 months grace period start (w surcharge) |
Feb 23 2028 | patent expiry (for year 12) |
Feb 23 2030 | 2 years to revive unintentionally abandoned end. (for year 12) |