1. A method for operating an electronic device, the method comprising:
detecting a number input event during communication;
in response to detecting the number input event, displaying a numerical keypad;
receiving at least one number via the numerical keypad;
storing the at least one number in a buffer;
in response to a transmission event being detected, transmitting at least one dual tone multi frequency (DTMF) corresponding to the at least one number stored in the buffer to a base station; and
displaying, in real-time, a number received up to a current point via the numerical keypad and a number whose DTMF is transmitted.
2. The method of claim 1, wherein detecting the number input event during communication comprises:
detecting whether a voice instruction received during the communication corresponds to a voice instruction stored in advance; and
in response to the voice instruction received during the communication corresponding to the voice instruction stored in advance, detecting the number input event.
3. The method of claim 2, further comprising:
in response to the voice instruction received during the communication corresponding to the voice instruction stored in advance, detecting whether a user’s ears are separated from the electronic device by a threshold distance via at least one sensor,
wherein when the user’s ears are separated from the electronic device by the threshold distance, the number input event is detected.
4. The method of claim 1, wherein the transmission event is detected when a predetermined time elapses from a point at which the at least one number is received via the numerical keypad.
5. The method of claim 1, wherein the transmission event is detected by selection of a transmit menu.
6. The method of claim 1, wherein the transmission event is detected by determining a circumstance where a user’s ears approach the electronic device via at least one sensor.
7. The method of claim 1, further comprising:
detecting a number input cancel event; and
in response to detecting the number input cancel event, deleting at least one number not transmitted to the base station and present in the buffer from the buffer to cancel an input.
8. The method of claim 7, wherein canceling the input comprises:
deleting, from the buffer, a number input last in time via the numerical keypad among numbers not transmitted to the base station and present in the buffer.
9. The method of claim 7, further comprising:
in response to detecting the number input cancel event, determining whether at least one number not transmitted to the base station is present in the buffer; and
when no number not transmitted to the base station is present in the buffer, displaying a graphic element representing the input is non-cancelable.
10. An apparatus for transmitting a dual tone multi frequency (DTMF) in an electronic device, the apparatus comprising:
a touch display;
a buffer; and
a processor configured to:
detect a number input event during communication,
in response to detecting the number input event, display a numerical keypad,
receive at least one number via the numerical keypad,
store the at least one number in the buffer,
in response to a transmission event being detected, transmit at least one DTMF corresponding to the at least one number stored in the buffer to a base station, and
display, in real-time, a number received up to a current point via the numerical keypad and a number whose DTMF is transmitted.
11. The apparatus of claim 10, wherein the processor is further configured to:
detect whether a voice instruction received during the communication corresponds to a voice instruction stored in advance, and
in response to the voice instruction received during the communication corresponding to the voice instruction stored in advance, detect the number input event.
12. The apparatus of claim 11, wherein the processor is further configured to:
in response to the voice instruction received during the communication corresponding to the voice instruction stored in advance, detect whether a user’s ears are separated from the electronic device by a threshold distance via at least one sensor,
wherein when the user’s ears are separated from the electronic device by the threshold distance, the number input event is detected.
13. The apparatus of claim 10, wherein the transmission event is detected when a predetermined time elapses from a point at which the at least one number is received via the numerical keypad.
14. The apparatus of claim 10, wherein the transmission event is detected by selection of a transmit menu.
15. The apparatus of claim 10, wherein the transmission event is detected by determining a circumstance where a user’s ears approach the electronic device via at least one sensor provided.
16. The apparatus of claim 10, wherein the processor is further configured to:
detect a number input cancel event, and
in response to detecting the number input cancel event, delete at least one number not transmitted to the base station and present in the buffer from the buffer to cancel an input.
17. The apparatus of claim 16, wherein the processor is further configured to deleting, from the buffer, a number input last in time via the numerical keypad among numbers not transmitted to the base station and present in the buffer.
18. The apparatus of claim 16, wherein the processor is further configured to:
in response to detecting the number input cancel event, determine whether at least one number not transmitted to the base station and is present in the buffer, and
when no number not transmitted to the base station is present in the buffer, display a graphic element representing the input is non-cancelable.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A lens for regulating light of an LED (light emitting diode) package comprising:
a light guiding portion comprising a top surface and a bottom surface opposite to the top surface, a center of the bottom surface being depressed toward the top surface to form an optical concave; and
a latching portion extending downwardly from the bottom surface and located around the optical concave, the latching portion defining and surrounding an engaging hole, the engaging hole being configured to fittingly receive at least a top end of the LED package therein.
2. The lens of claim 1, wherein the latching portion is a ring, the latching portion extending downwardly from the bottom surface and a real estate occupied by the latching portion being smaller than that occupied by the bottom surface.
3. The lens of claim 2, wherein the engaging hole is below a bottom end of the optical concave, a real estate occupied by the engaging hole of the latching portion being larger than that occupied by the optical concave.
4. The lens of claim 2, further comprising a supporting portion, wherein the supporting portion is extended downwardly from the bottom surface and surrounds the latching portion, and a height of the supporting portion is higher than that of the latching portion.
5. The lens of claim 1, wherein a size of the engaging hole defined by the latching portion gradually increases along a downward direction away from the bottom surface.
6. The lens of claim 1, wherein the latching portion is integrally formed on the bottom surface, a step being defined by a portion of the bottom surface between the latching portion and the optical concave.
7. The lens of claim 1, wherein the top surface comprises a recessed section at a center thereof and an arc section at an outer periphery of the recessed section, the recessed section being aligned with the optical concave and being depressed toward the optical concave, the arc section being convex and oriented towards a direction away from the bottom surface.
8. A light source module comprising:
a substrate having a flat top surface;
an LED package mounted on the substrate and electrically connecting with the substrate; and
a lens disposed on the substrate, the lens comprising a light guiding portion and a latching portion extending downwardly from the light guiding portion, the light guiding portion comprising a top surface and a bottom surface opposite to the top surface, a center of the bottom surface being depressed toward the top surface to form an optical concave, a latching portion being formed at a bottom surface and located around the optical concave, the LED package being fittingly received in an engaging hole defined by the latching portion.
9. The light source module of claim 8, wherein the latching portion is a ring, the latching portion extends downwardly from the bottom surface and a real estate occupied by the latching portion is smaller than that occupied by the bottom surface.
10. The light source module of claim 8, wherein the latching portion is integrally formed on the bottom surface, a step being defined by a portion of the bottom surface between the latching portion and the optical concave.
11. The light source module of claim 10, wherein the LED package comprises a light outputting surface, the light outputting surface abutting against the step.
12. The light source module of claim 10, wherein the LED package comprises a light outputting surface, the light outputting surface being spaced from the step.
13. The light source module of claim 9, wherein the engaging hole is below a bottom end of the optical concave, a real estate occupied by the engaging hole of the latching portion being larger than that occupied by the optical concave.
14. The light source module of claim 9, wherein the lens further comprises a supporting portion, the supporting portion being located surrounding the latching portion, a height of the supporting portion extending downwardly from the bottom surface being higher than that of the latching portion.
15. The light source module of claim 8, wherein a size of the engaging hole defined by the latching portion gradually increases along a direction from the bottom surface to the substrate.
16. The light source module of claim 9, wherein the top surface comprises a recessed section at a center thereof and an arc section at an outer periphery of the recessed section, the recessed section being aligned with the optical concave and being depressed toward the optical concave, the arc section being convex and oriented towards a direction away from the LED package.