CN104881278A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104881278A
CN104881278A CN201510227621.8A CN201510227621A CN104881278A CN 104881278 A CN104881278 A CN 104881278A CN 201510227621 A CN201510227621 A CN 201510227621A CN 104881278 A CN104881278 A CN 104881278A
Authority
CN
China
Prior art keywords
answer mode
terminal
button
unit
light intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510227621.8A
Other languages
Chinese (zh)
Inventor
高建通
罗化
肖志龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510227621.8A priority Critical patent/CN104881278A/en
Publication of CN104881278A publication Critical patent/CN104881278A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

Embodiments of the present invention disclose a terminal. The terminal comprises an obtaining unit used for obtaining a first light ray intensity value of the current environment when a call is detected; a judging unit used for judging whether the first light ray intensity value is larger than a preset threshold or not; and a setting unit which is used for setting an answer mode to be a first answer mode when the first light ray intensity value is larger than the preset threshold, and is also used for setting the answer mode to be a second answer mode when the first light ray intensity value is less than the preset threshold. According to the embodiments of the present invention, the answer mode of the terminal can be set according to conditions of the environment where the terminal is located, flexibility of setting the answer mode of the terminal is improved, and user experience is improved.

Description

A kind of terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of terminal.
Background technology
Along with the fast development of terminal, increasing user uses touch screen terminal (terminal as smart mobile phone, panel computer etc. band touch-screen).The incoming call sound pattern of existing touch screen terminal generally has multiple, as clicked answer mode and slip answer mode.In actual applications, user often needs to arrange the answer mode of terminal.But in the prior art, manually can only be arranged the answer mode of terminal by user, this adds the workload of user undoubtedly, reduces the dirigibility arranging answer mode.
Summary of the invention
The embodiment of the invention discloses a kind of terminal, can arrange according to the answer mode of ambient conditions residing for terminal to terminal, the dirigibility that terminal arranges answer mode can be improved, promote Consumer's Experience.
The embodiment of the invention also discloses a kind of terminal, described terminal comprises:
Acquiring unit, for when incoming call being detected, obtains the first light intensity value of current environment;
Judging unit, for judging whether described first light intensity value is greater than predetermined threshold value;
Setting unit, for when described first light intensity value is greater than described predetermined threshold value, is set to the first answer mode by answer mode;
Described setting unit, also for when described first light intensity value is less than described predetermined threshold value, is set to the second answer mode by answer mode.
In embodiments of the present invention, when terminal detects incoming call, acquiring unit obtains the first light intensity value of current environment, and judging unit judges whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, answer mode is set to the first answer mode by setting unit; When the first light intensity value is less than predetermined threshold value, answer mode is set to the second answer mode by setting unit.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of answer mode method to set up disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of answer mode method to set up disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of answer mode method to set up disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another kind of answer mode method to set up disclosed in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another kind of answer mode method to set up disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 9 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Figure 10 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of answer mode method to set up and terminal, can arrange according to the answer mode of ambient conditions residing for terminal to terminal, the dirigibility that terminal arranges answer mode can be improved, promote Consumer's Experience.Below be described in detail respectively.
Refer to Fig. 1, the schematic flow sheet of Fig. 1 a kind of answer mode method to set up disclosed in the embodiment of the present invention.As shown in Figure 1, this answer mode method to set up can comprise the following steps.
S101, when incoming call being detected, obtain the first light intensity value of current environment.
In the embodiment of the present invention, when terminal detects that terminal has an incoming call, terminal will obtain the first light intensity value of the current residing environment of terminal.Wherein, this terminal can include but not limited to that smart mobile phone, panel computer, notebook computer, palm PC etc. have the terminal of call function.The operating system of this terminal can include but not limited to Android operation system, IOS, Symbian (Saipan) operating system, BlackBerry (blackberry, blueberry) operating system, Windows Phone8 operating system etc., and the embodiment of the present invention does not limit.
In the embodiment of the present invention, incoming call that this incoming call can be dialed for the incoming call dialed by SIM card or applied by instant messaging etc., the embodiment of the present invention does not limit.
As the optional embodiment of one, the embodiment that terminal obtains the first light intensity value of current environment can be:
11) terminal starts light intensity acquisition device;
12) terminal obtains the first light intensity value of current environment by light intensity acquisition device.
In this embodiment, this light intensity acquisition device can include but not limited to that photosensitive sensors etc. can obtain the device of ambient light intensity level.Terminal using the light intensity value of current for the terminal that got by light intensity acquisition device residing environment as the first light intensity value.
S102, judge whether the first light intensity value is greater than predetermined threshold value.
In the embodiment of the present invention, terminal will judge whether the first light intensity value is greater than predetermined threshold value.When judged result be the first light intensity value be greater than predetermined threshold value time, perform step S103; When judged result be the first light intensity value be less than predetermined threshold value time, perform step S104.When judged result be the first light intensity value equal predetermined threshold value time, perform step S103 or step S104.
S103, answer mode is set to the first answer mode.
In the embodiment of the present invention, when terminal judges first light intensity value is greater than predetermined threshold value, the first answer mode is set to the answer mode of terminal by terminal.Wherein, the first answer mode can include but not limited to click answer mode, voice answer mode etc. answer mode.Under click answer mode, user needs click to answer button ability connecting incoming call phone, and this answers button also can be able to be virtual push button for entity button; Under click answer mode, user needs to click hang up button ability hanging up calling phone, and this hang up button can be entity button also can be virtual push button.Under voice answer mode, terminal will obtain the voice messaging of user's input, and judges whether connecting incoming call or hanging up calling according to the voice messaging of user's input.
S104, answer mode is set to the second answer mode.
In the embodiment of the present invention, when terminal judges first light intensity value is less than predetermined threshold value, the second answer mode is set to the answer mode of terminal by terminal.Wherein, the second answer mode can include but not limited to slip answer mode, voice answer mode etc. answer mode.Wherein, the first answer mode can not be identical with the second answer mode.Such as when the first answer mode is voice answer mode, the second answer mode is not voice answer mode; When the second answer mode is voice answer mode, the first answer mode is not voice answer mode.Wherein, slip answer mode can include but not limited to the answer mode that the answer mode laterally slided, the vertical answer mode slided etc. slide to any direction.
Optionally, under the answer mode laterally slided, slide left and can be used for connecting incoming call, sliding to the right can be used for hanging up calling, or slip can be used for connecting incoming call to the right, and sliding left can be used for hanging up calling, and the embodiment of the present invention does not limit.
Optionally, under the vertical answer mode slided, upward sliding can be used for connecting incoming call, and slide downward can be used for hanging up calling, or slide downward can be used for connecting incoming call, and upward sliding can be used for hanging up calling, and the embodiment of the present invention does not limit.
Optionally, under slip answer mode, slide clockwise and can be used for connecting incoming call, slide counterclockwise and can be used for hanging up calling, or slip can be used for connecting incoming call counterclockwise, slide clockwise and can be used for hanging up calling, the embodiment of the present invention does not limit.
In actual applications, terminal is often placed in bag by user, and when terminal caller, other things in bag are easy to touch click answers button or hang up button under answer mode, causes terminal to be connected or hanging up calling in the unwitting situation of user.Well imagine, when terminal is placed in bag, the light intensity value of environment residing for terminal is less; The light intensity value scope of Ruo Baoli is 0 ~ 3 illumination, then 3 illumination can be set to predetermined threshold value in the embodiment of the present invention, when terminal has incoming call, terminal obtains the light intensity value of environment residing for terminal, when the light intensity value of environment residing for terminal is less than predetermined threshold value, the answer mode of terminal is set to the answer mode of the click answer modes such as slip answer mode, thus can avoid when terminal is placed in bag by user, there is false touch event when terminal caller, cause terminal to be connected or hanging up calling in the unwitting situation of user.In actual applications, click answer mode compared to slip answer mode to answer efficiency higher, when the light intensity value that the embodiment of the present invention can work as environment residing for terminal is greater than predetermined threshold value, the answer mode of terminal is set to click answer mode etc. comparatively slip answer mode answer the high answer mode of efficiency, thus incoming call sound efficiency can be improved.
In the method described by Fig. 1, when terminal detects incoming call, obtain the first light intensity value of current environment, and judge whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, the answer mode of terminal is set to the first answer mode by terminal; When the first light intensity value is less than predetermined threshold value, the answer mode of terminal is set to the second answer mode by terminal.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Refer to Fig. 2, the schematic flow sheet of Fig. 2 another kind of answer mode method to set up disclosed in the embodiment of the present invention.As shown in Figure 2, this answer mode method to set up can comprise the following steps.
S201, when incoming call being detected, terminal obtains the first light intensity value of current environment.
Whether S202, terminal judges first light intensity value are greater than predetermined threshold value.
In the embodiment of the present invention, when judged result be the first light intensity value be greater than predetermined threshold value time, perform step S203; When judged result be the first light intensity value be less than predetermined threshold value time, perform step S204.When judged result be the first light intensity value equal predetermined threshold value time, perform step S203 or step S204.
Answer mode is set to click answer mode by S203, terminal.
Answer mode is set to slip answer mode by S204, terminal.
S205, terminal, under slip answer mode, obtain the second light intensity value of current environment.
In the embodiment of the present invention, after answer mode is set to slip answer mode by terminal, terminal under slip answer mode, will obtain the second light intensity value of the current residing environment of terminal.
Whether S206, terminal judges second light intensity value are greater than predetermined threshold value.
In the embodiment of the present invention, when terminal judges second light intensity value is greater than predetermined threshold value, perform step S203, answer mode is set to click answer mode.The embodiment that answer mode is set to click answer mode by terminal is that current answer mode is adjusted to click answer mode by the answer mode that slides by terminal.When terminal judges second light intensity value is less than predetermined threshold value, perform step S205, terminal continues the second light intensity value obtaining terminal current environment under slip answer mode, and judge whether the second light intensity value is greater than predetermined threshold value, until calling party stops the calling of incoming call, or until incoming call is connected by user or is hung up.
In the embodiment of the present invention, terminal is by the light intensity value of environment residing for real-time sense terminals, and environmentally light intensity value arranges answer mode; The light intensity value scope of Ruo Baoli is 0 ~ 3 illumination, then 3 illumination can be set to predetermined threshold value in the embodiment of the present invention; When terminal judges first light intensity value is less than predetermined threshold value, then terminal may be in bag, and therefore answer mode is set to slip answer mode to prevent from, under click answer mode, false touch occurs by terminal; Terminal will continue the light intensity value of environment residing for sense terminals under slip answer mode, if the light intensity value of environment residing for terminal is greater than predetermined threshold value, then terminal may be taken out outside bag by user, then answer mode is set to click answer mode and answers efficiency to improve by terminal.
In actual applications, if terminal is put in bag, user takes out terminal from bag needs a period of time, such as 2 seconds, 4 seconds etc.; Therefore, optionally, when answer mode is set to slip answer mode by terminal, terminal can start timer and start timing; If the timing duration of timer reaches preset duration, then perform step S205.Or when answer mode is set to slip answer mode by terminal, terminal can starting loop sensor or gravity sensor; The direction of motion of the acceleration determination terminal that terminal obtains according to acceleration transducer or gravity sensor, if determine, terminal moves upward (, at this moment terminal may just be taken out outside bag by user), then perform step S205.
In the method described by Fig. 2, when terminal detects incoming call, obtain the first light intensity value of current environment, and judge whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, the answer mode of terminal is set to click answer mode by terminal; When the first light intensity value is less than predetermined threshold value, the answer mode of terminal is set to slip answer mode by terminal.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Refer to Fig. 3, the schematic flow sheet of Fig. 3 another kind of answer mode method to set up disclosed in the embodiment of the present invention.As shown in Figure 3, this answer mode method to set up can comprise the following steps.
S301, when incoming call being detected, terminal obtains the first light intensity value of current environment.
Whether S302, terminal judges first light intensity value are greater than predetermined threshold value.
In the embodiment of the present invention, when judged result be the first light intensity value be greater than predetermined threshold value time, perform step S303; When judged result be the first light intensity value be less than predetermined threshold value time, perform step S304.When judged result be the first light intensity value equal predetermined threshold value time, perform step S303 or step S304.
Answer mode is set to click answer mode by S303, terminal.
Answer mode is set to slip answer mode by S304, terminal.
S305, terminal, under click answer mode, obtain the caller ID that incoming call is corresponding.
In the embodiment of the present invention, after answer mode is set to click answer mode by terminal, terminal is being clicked under answer mode and will obtained the caller ID of incoming call correspondence, number that this caller ID can include but not limited to cell-phone telephone number, instant messaging is applied etc.
Whether S306, terminal judges caller ID are contained in the address list number of local terminal.
In the embodiment of the present invention, after terminal obtains caller ID corresponding to incoming call, terminal will judge whether caller ID is contained in the address list number of terminal.Be contained in the address list number of terminal if judged result is caller ID, then perform step S307; Be not contained in the address list number of terminal if judged result is caller ID, then perform step S308.
For example, if caller ID is cell-phone telephone number, then terminal will obtain the cell-phone telephone number in terminal contact; Wherein, the cell-phone telephone number in terminal contact can be stored in terminal local internal memory or SIM card or on the net dish such as cloud dish; Therefore, terminal can obtain the cell-phone telephone number in terminal contact from terminal local internal memory or SIM card, or terminal examines and seizes from net the cell-phone telephone number got terminal contact by network.If caller ID is the number of an instant messaging application, then terminal will obtain the directory number corresponding to number of this instant messaging application logged at local terminal, and judge whether caller ID is contained in directory number corresponding to the number of this instant messaging application that local terminal logs in.
S307, terminal highlight to click answers button under answer mode.
In the embodiment of the present invention, if terminal judges caller ID is contained in the address list number of local terminal, then terminal highlights to click and answers button under answer mode.
As the optional embodiment of one, the embodiment of answering button that terminal highlights under click answer mode can be:
Terminal, according to default display size, is amplified the button of answering clicked under answer mode, or terminal is flashed to click with predeterminated frequency and answered button under answer mode.
S308, terminal highlight the hang up button under click answer mode.
In the embodiment of the present invention, if terminal judges caller ID is not contained in the address list number of local terminal, then terminal highlights the hang up button clicked under answer mode.
As the optional embodiment of one, the embodiment of the hang up button that terminal highlights under click answer mode can be:
Terminal, according to default display size, is amplified the hang up button clicked under answer mode, or terminal flashes the hang up button clicked under answer mode with predeterminated frequency.
Find in practice, if caller ID is in the directory number of local terminal, then user to connect the probability of this incoming call larger; If caller ID is not in the directory number of local terminal, then this caller ID is likely swindle number, and the probability that user connects this incoming call is less; The embodiment of the present invention, by performing step S305-step S308, if caller ID is in the directory number of local terminal, then highlights to click and answers button under answer mode; If caller ID is not in the directory number of local terminal, then highlight the hang up button under click answer mode; Answer button or hang up button by highlighting to click under answer mode, whether the user that is more convenient for this incoming call that forms a prompt judgement is can connecting incoming call, thus can more promptly answer or hanging up calling.To button be answered and hang up button is amplified, the operation of the user that is more convenient for, user is connected or hanging up calling more easily.
As the optional embodiment of one, terminal also under click answer mode, can obtain the screen backlight brightness value of terminal, and obtains the 3rd light intensity value of the current residing environment of terminal; Terminal, according to the screen backlight brightness value of terminal and the 3rd light intensity value, arranges the color of answering button or hang up button.
In this embodiment, screen backlight brightness value, mapping relations between the 3rd light intensity value and the color three answering button or hang up button can be pre-set; After the screen backlight brightness value and the 3rd light intensity value of terminal acquisition terminal, the color of answering button by according to the screen backlight brightness value pre-set, mapping relations between the 3rd light intensity value and the color three answering button, is set to and screen backlight brightness value and all corresponding color of the 3rd light intensity value by terminal; Or the color of hang up button by according to the screen backlight brightness value pre-set, mapping relations between the 3rd light intensity value and the color three of hang up button, is set to and screen backlight brightness value and all corresponding color of the 3rd light intensity value by terminal.
In this embodiment, ambient light intensity level, screen backlight brightness value can affect the visual experience of user to same color simultaneously; Therefore, the color of answering button or hang up button is set according to the screen backlight brightness value of terminal and the 3rd light intensity value, is more conducive to user and sees clearly and answer button or hang up button.
In the method described by Fig. 3, when terminal detects incoming call, obtain the first light intensity value of current environment, and judge whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, the answer mode of terminal is set to click answer mode by terminal; When the first light intensity value is less than predetermined threshold value, the answer mode of terminal is set to slip answer mode by terminal.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Refer to Fig. 4, the schematic flow sheet of Fig. 4 another kind of answer mode method to set up disclosed in the embodiment of the present invention.As shown in Figure 4, this answer mode method to set up can comprise the following steps.
S401, when incoming call being detected, terminal obtains the first light intensity value of current environment.
Whether S402, terminal judges first light intensity value are greater than predetermined threshold value.
In the embodiment of the present invention, when judged result be the first light intensity value be greater than predetermined threshold value time, perform step S403; When judged result be the first light intensity value be less than predetermined threshold value time, perform step S404.When judged result be the first light intensity value equal predetermined threshold value time, perform step S403 or step S404.
Answer mode is set to click answer mode by S403, terminal.
Answer mode is set to slip answer mode by S404, terminal.
S405, terminal detect user to the touch operation of answering button or hang up button clicked under answer mode.
In the embodiment of the present invention, after answer mode is set to click answer mode by terminal, terminal will detect user to the touch operation of answering button or hang up button clicked under answer mode.
S406, terminal obtain the finger print information to be verified that user carries out touch operation input.
In the embodiment of the present invention, when terminal detect user to click under answer mode answer button or hang up button carry out touch operation time, terminal will start fingerprint acquisition device, to obtain finger print information corresponding to this touch operation, and using the finger print information that obtained by fingerprint acquisition device as finger print information to be verified.
S407, terminal judges finger print information to be verified whether with preset fingerprint information match.
In the embodiment of the present invention, when the finger print information to be verified that terminal obtains be user to answer button carry out the finger print information of touch operation input time, if terminal judges finger print information to be verified and preset fingerprint information match, then perform step S408 terminal connecting incoming call phone; If terminal judges finger print information to be verified does not mate with preset fingerprint information, then perform step S405 terminal and continue to detect user to the touch operation of answering button clicked under answer mode, until calling party end call incoming call or user's hanging up calling.When the finger print information to be verified that terminal obtains be user the finger print information of touch operation input is carried out to hang up button time, if terminal judges finger print information to be verified and preset fingerprint information match, then execution step S408 terminal hanging up calling phone; If terminal judges finger print information to be verified does not mate with preset fingerprint information, then perform step S405 terminal and continue to detect the touch operation of user to the hang up button clicked under answer mode, until calling party end call incoming call or user's connecting incoming call.
S408, terminal connecting incoming call phone, or terminal hanging up calling phone.
In the embodiment of the present invention, by judge user to answer finger print information that button or hang up button carry out touch operation input whether with preset fingerprint information match, when user to answer button or hang up button carry out finger print information and the preset fingerprint information match of touch operation input time, just connect or hanging up calling, be conducive to avoiding causing because of false touch connecting or hanging up calling.
In the method described by Fig. 4, when terminal detects incoming call, obtain the first light intensity value of current environment, and judge whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, the answer mode of terminal is set to click answer mode by terminal; When the first light intensity value is less than predetermined threshold value, the answer mode of terminal is set to slip answer mode by terminal.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Refer to Fig. 5, the schematic flow sheet of Fig. 5 another kind of answer mode method to set up disclosed in the embodiment of the present invention.As shown in Figure 5, this answer mode method to set up can comprise the following steps.
S501, when incoming call being detected, terminal obtains the first light intensity value of current environment.
Whether S502, terminal judges first light intensity value are greater than predetermined threshold value.
In the embodiment of the present invention, when judged result be the first light intensity value be greater than predetermined threshold value time, perform step S503; When judged result be the first light intensity value be less than predetermined threshold value time, perform step S504.When judged result be the first light intensity value equal predetermined threshold value time, perform step S503 or step S504.
Answer mode is set to click answer mode by S503, terminal.
Answer mode is set to slip answer mode by S504, terminal.
S505, terminal detect user whether in preset time period to click under answer mode answer button or hang up button has carried out the touch operation of preset times.
In the embodiment of the present invention, after answer mode is set to click answer mode by terminal, terminal will detect user to the touch operation of answering button or hang up button clicked under answer mode.When terminal detect user to answer button carry out first time touch operation time, terminal by judge with current time be initial time preset time period in user whether carried out preset times deducted touch operation once to answering button; If so, then determine that user has carried out the touch operation of preset times to the button of answering clicked under answer mode in preset time period.Terminal detects user and whether in preset time period, has carried out the touch operation of preset times and terminal to the hang up button clicked under answer mode and detect user and whether in preset time period, carried out the touch operation of preset times in like manner to the button of answering clicked under answer mode.If user has carried out the touch operation of preset times to the button of answering clicked under answer mode in preset time period, then perform step S506, terminal connecting incoming call phone; If user does not answer the touch operation that button carries out preset times to clicking under answer mode in preset time period, then continue to perform step S505, until calling party end call incoming call or user's hanging up calling.If user has carried out the touch operation of preset times to the hang up button clicked under answer mode in preset time period, then perform step S506, terminal hanging up calling phone; If user does not carry out the touch operation of preset times in preset time period to the hang up button clicked under answer mode, then continue to perform step S505, until calling party end call incoming call or user's connecting incoming call.
For example, if preset time period is 2S, preset times is 2 times, then when terminal detect user to answer button carry out first time touch operation time, terminal will judge to take current time as initial time, and in 2 seconds, whether user is to the touch operation of answering button and carried out 1 time; If so, then determine that user has carried out the touch operation of preset times to the button of answering clicked under answer mode in preset time period, then perform step S506 terminal connecting incoming call phone.
S506, terminal connecting incoming call phone, or terminal hanging up calling phone.
In the embodiment of the present invention, whether in preset time period, the touch operation that button or hang up button carry out preset times is answered to clicking under answer mode by detecting user, when user in preset time period to answer button carry out the touch operation of preset times time, just connecting incoming call; When user carries out the touch operation of preset times to hang up button in preset time period, just hanging up calling; Be conducive to avoiding causing because of false touch connecting or hanging up calling.
In the method described by Fig. 5, when terminal detects incoming call, obtain the first light intensity value of current environment, and judge whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, the answer mode of terminal is set to click answer mode by terminal; When the first light intensity value is less than predetermined threshold value, the answer mode of terminal is set to slip answer mode by terminal.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Refer to Fig. 6, Fig. 6 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 6 can comprise acquiring unit 601, judging unit 602, setting unit 603.Wherein:
Acquiring unit 601, for when incoming call being detected, obtains the first light intensity value of current environment.
In the embodiment of the present invention, when terminal has incoming call, acquiring unit 601 will obtain the first light intensity value of the current residing environment of terminal.
In the embodiment of the present invention, incoming call that this incoming call can be dialed for the incoming call dialed by SIM card or applied by instant messaging etc., the embodiment of the present invention does not limit.
As the optional embodiment of one, the embodiment that acquiring unit 601 obtains the first light intensity value of current environment can be:
11) acquiring unit 601 starts light intensity acquisition device;
12) acquiring unit 601 obtains the first light intensity value of current environment by light intensity acquisition device.
In this embodiment, this light intensity acquisition device can include but not limited to that photosensitive sensors etc. can obtain the device of ambient light intensity level.Acquiring unit 601 using the light intensity value of current for the terminal that got by light intensity acquisition device residing environment as the first light intensity value.
Judging unit 602, for judging whether described first light intensity value is greater than predetermined threshold value.
In the embodiment of the present invention, judging unit 602 will judge whether the first light intensity value is greater than predetermined threshold value.When judged result be the first light intensity value be greater than predetermined threshold value time, answer mode is set to the first answer mode by setting unit 603; When judged result be the first light intensity value be less than predetermined threshold value time, answer mode is set to the second answer mode by setting unit 603.When judged result be the first light intensity value equal predetermined threshold value time, answer mode be set to the first answer mode by setting unit 603 or by setting unit 603, answer mode be set to the second answer mode.
Setting unit 603, during for judging that when judging unit 602 described first light intensity value is greater than described predetermined threshold value, is set to the first answer mode by answer mode.
In the embodiment of the present invention, when judging unit 602 judges that the first light intensity value is greater than predetermined threshold value, the first answer mode is set to the answer mode of terminal by setting unit 603.Wherein, the first answer mode can include but not limited to click answer mode, voice answer mode etc. answer mode.Under click answer mode, user needs click to answer button ability connecting incoming call phone, and this answers button also can be able to be virtual push button for entity button; Under click answer mode, user needs to click hang up button ability hanging up calling phone, and this hang up button can be entity button also can be virtual push button.Under voice answer mode, terminal will obtain the voice messaging of user's input, and judges whether connecting incoming call or hanging up calling according to the voice messaging of user's input.
Described setting unit 603, time also for judging that when judging unit 602 described first light intensity value is less than described predetermined threshold value, is set to the second answer mode by answer mode.
In the embodiment of the present invention, when judging unit 602 judges that the first light intensity value is less than predetermined threshold value, the second answer mode is set to the answer mode of terminal by setting unit 603.Wherein, the second answer mode can include but not limited to slip answer mode, voice answer mode etc. answer mode.Wherein, the first answer mode can not be identical with the second answer mode.Such as when the first answer mode is voice answer mode, the second answer mode is not voice answer mode; When the second answer mode is voice answer mode, the first answer mode is not voice answer mode.Wherein, slip answer mode can include but not limited to the answer mode that the answer mode laterally slided, the vertical answer mode slided etc. slide to any direction.
Optionally, under the answer mode laterally slided, slide left and can be used for connecting incoming call, sliding to the right can be used for hanging up calling, or slip can be used for connecting incoming call to the right, and sliding left can be used for hanging up calling, and the embodiment of the present invention does not limit.
Optionally, under the vertical answer mode slided, upward sliding can be used for connecting incoming call, and slide downward can be used for hanging up calling, or slide downward can be used for connecting incoming call, and upward sliding can be used for hanging up calling, and the embodiment of the present invention does not limit.
Optionally, under slip answer mode, slide clockwise and can be used for connecting incoming call, slide counterclockwise and can be used for hanging up calling, or slip can be used for connecting incoming call counterclockwise, slide clockwise and can be used for hanging up calling, the embodiment of the present invention does not limit.
In actual applications, terminal is often placed in bag by user, and when terminal caller, other things in bag are easy to touch click answers button or hang up button under answer mode, causes terminal to be connected or hanging up calling in the unwitting situation of user.Well imagine, when terminal is placed in bag, the light intensity value of environment residing for terminal is less, the light intensity value scope of Ruo Baoli is 0 ~ 3 illumination, then 3 illumination can be set to predetermined threshold value in the embodiment of the present invention, when terminal has incoming call, acquiring unit 601 obtains the light intensity value of environment residing for terminal, when the light intensity value of environment residing for terminal is less than predetermined threshold value, the answer mode of terminal is set to the answer mode of the click answer modes such as slip answer mode by setting unit 603, thus can avoid when terminal is placed in bag by user, false touch event is there is when terminal caller, terminal is caused to be connected or hanging up calling in the unwitting situation of user.In actual applications, click answer mode compared to slip answer mode to answer efficiency higher, when the light intensity value that the embodiment of the present invention can work as environment residing for terminal is greater than predetermined threshold value, the answer mode of terminal is set to click answer mode etc. comparatively slip answer mode answer the high answer mode of efficiency, thus incoming call sound efficiency can be improved.
See also Fig. 7, Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 7 is that terminal is as shown in Figure 6 optimized and obtains.Compared with the terminal shown in Fig. 6, the terminal shown in Fig. 7, except all unit comprising the terminal shown in Fig. 6, can also comprise start unit 604 and highlight unit 605.Wherein:
When judging unit 602 judges that described first light intensity value is greater than described predetermined threshold value, the embodiment that answer mode is set to the first answer mode by setting unit 603 is:
Answer mode is set to click answer mode by setting unit 603.
When judging unit 602 judges that described first light intensity value is less than described predetermined threshold value, the embodiment that answer mode is set to the second answer mode by setting unit 603 is:
Answer mode is set to slip answer mode by setting unit 603.
Start unit 604, for when answer mode is set to slip answer mode by setting unit 603, starts timer and starts timing.
Described acquiring unit 601, also for when the timing duration of timer reaches preset duration, obtains the second light intensity value of current environment.
As the optional embodiment of one, start unit 604, also for when answer mode is set to slip answer mode by setting unit 603, starting loop sensor or gravity sensor;
Acquiring unit 601, also for the direction of motion of the acceleration determination terminal according to acceleration transducer or gravity sensor acquisition;
Acquiring unit 601, if also determine that terminal moves upward for acquiring unit 601, then obtains the second light intensity value of current environment.
Described judging unit 602, also for judging whether described second light intensity value is greater than described predetermined threshold value.
In the embodiment of the present invention, when judging unit 602 judges that the second light intensity value is greater than predetermined threshold value, current answer mode is adjusted to click answer mode by the answer mode that slides by setting unit 603.When judging unit 602 judges that the second light intensity value is less than predetermined threshold value, acquiring unit 601 continues the second light intensity value obtaining terminal current environment under slip answer mode, and judge whether the second light intensity value is greater than predetermined threshold value by judging unit 602, until calling party stops the calling of incoming call, or until incoming call is connected by user or is hung up.
Described setting unit 603, time also for judging that when judging unit 602 described second light intensity value is greater than described predetermined threshold value, is adjusted to click answer mode by current answer mode by the answer mode that slides.
In the embodiment of the present invention, terminal is by the light intensity value of environment residing for real-time sense terminals, and environmentally light intensity value arranges answer mode; The light intensity value scope of Ruo Baoli is 0 ~ 3 illumination, then 3 illumination can be set to predetermined threshold value in the embodiment of the present invention; When judging unit 602 judges that the first light intensity value is less than predetermined threshold value, then terminal may be in bag, and therefore answer mode is set to slip answer mode to prevent from, under click answer mode, false touch occurs by setting unit 603; Acquiring unit 601 will continue the light intensity value of environment residing for sense terminals under slip answer mode, if the light intensity value of environment residing for terminal is greater than predetermined threshold value, then terminal may have been taken out outside bag by user, then answer mode is set to click answer mode and answers efficiency to improve by setting unit 603.
Described acquiring unit 601, also under described click answer mode, obtains the caller ID that described incoming call is corresponding.
In the embodiment of the present invention, after answer mode is set to click answer mode by setting unit 603, acquiring unit 601 is being clicked under answer mode and will obtained the caller ID of incoming call correspondence, number that this caller ID can include but not limited to cell-phone telephone number, instant messaging is applied etc.
Described judging unit 602, also for judging whether described caller ID is contained in the address list number of local terminal.
In the embodiment of the present invention, after acquiring unit 601 obtains caller ID corresponding to incoming call, judging unit 602 will judge whether caller ID is contained in the address list number of terminal.Be contained in the address list number of terminal if judged result is caller ID, then highlight unit 605 and highlight to click and answer button under answer mode; Be not contained in the address list number of terminal if judged result is caller ID, then highlight unit 605 highlight described click answer mode under hang up button.
For example, if caller ID is cell-phone telephone number, then acquiring unit 601 will obtain the cell-phone telephone number in terminal contact; Wherein, the cell-phone telephone number in terminal contact can be stored in terminal local internal memory or SIM card or on the net dish such as cloud dish; Therefore, acquiring unit 601 can obtain the cell-phone telephone number in terminal contact from terminal local internal memory or SIM card, or acquiring unit 601 examines and seizes from net the cell-phone telephone number got terminal contact by network.If caller ID is the number of an instant messaging application, then acquiring unit 601 will obtain the directory number corresponding to number of this instant messaging application logged at local terminal, and judging unit 602 will judge whether caller ID is contained in directory number corresponding to number that this instant messaging that local terminal logs in applies.
Describedly highlight unit 605, if judge that described caller ID is contained in the address list number of local terminal for judging unit 602, then highlight and answer button under described click answer mode.
As the optional embodiment of one, highlight unit 605 and highlight the embodiment of answering button clicked under answer mode and can be:
Highlight unit 605 according to default display size, the button of answering clicked under answer mode is amplified, or highlight unit 605 and flash to click with predeterminated frequency and answer button under answer mode.
Describedly highlight unit 605, if also judge that described caller ID is not contained in the address list number of local terminal for judging unit 602, then highlight the hang up button under described click answer mode.
As the optional embodiment of one, highlighting the embodiment that unit 605 highlights the hang up button clicked under answer mode can be:
Highlight unit 605 according to default display size, the hang up button clicked under answer mode is amplified, or highlight unit 605 and flash the hang up button clicked under answer mode with predeterminated frequency.
Find in practice, if caller ID is in the directory number of local terminal, then user to connect the probability of this incoming call larger; If caller ID is not in the directory number of local terminal, then this caller ID is likely swindle number, and the probability that user connects this incoming call is less; By judging unit 602, the embodiment of the present invention judges whether caller ID is contained in the directory number of local terminal, if caller ID is in the directory number of local terminal, then highlights to click and answer button under answer mode; If caller ID is not in the directory number of local terminal, then highlight the hang up button under click answer mode; Highlight to click and answer button or hang up button by highlighting unit 605 under answer mode, whether the user that is more convenient for this incoming call that forms a prompt judgement is can connecting incoming call, thus can more promptly answer or hanging up calling.To button be answered and hang up button is amplified, the operation of the user that is more convenient for, user is connected or hanging up calling more easily.
As the optional embodiment of one, acquiring unit 601 also under click answer mode, can obtain the screen backlight brightness value of terminal, and obtains the 3rd light intensity value of the current residing environment of terminal; Setting unit 603 according to the screen backlight brightness value of terminal and the 3rd light intensity value, can also arrange the color of answering button or hang up button.
In this embodiment, screen backlight brightness value, mapping relations between the 3rd light intensity value and the color three answering button or hang up button can be pre-set; After the screen backlight brightness value obtaining terminal at acquiring unit 601 and the 3rd light intensity value, the color of answering button by according to the screen backlight brightness value pre-set, mapping relations between the 3rd light intensity value and the color three answering button, is set to and screen backlight brightness value and all corresponding color of the 3rd light intensity value by setting unit 603; Or, the color of hang up button by according to the screen backlight brightness value pre-set, mapping relations between the 3rd light intensity value and the color three of hang up button, is set to and screen backlight brightness value and all corresponding color of the 3rd light intensity value by setting unit 603.
In this embodiment, ambient light intensity level, screen backlight brightness value can affect the visual experience of user to same color simultaneously; Therefore, the color of answering button or hang up button is set according to the screen backlight brightness value of terminal and the 3rd light intensity value, is more conducive to user and sees clearly and answer button or hang up button.
See also Fig. 8, Fig. 8 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 8 is that terminal is as shown in Figure 6 optimized and obtains.Compared with the terminal shown in Fig. 6, the terminal shown in Fig. 8, except all unit comprising the terminal shown in Fig. 6, can also comprise the first detecting unit 606, first on-unit 607 and first and hang up unit 608.Wherein:
First detecting unit 606, for detecting user to the touch operation of answering button or hang up button under described click answer mode.
In the embodiment of the present invention, after answer mode is set to click answer mode by setting unit 603, the first detecting unit 606 will detect user to the touch operation of answering button or hang up button clicked under answer mode.
Described acquiring unit 601, also carries out the finger print information to be verified of described touch operation input for obtaining user.
In the embodiment of the present invention, when the first detecting unit 606 detect user to click under answer mode answer button or hang up button carry out touch operation time, acquiring unit 601 will start fingerprint acquisition device, to obtain finger print information corresponding to this touch operation, and using the finger print information that obtained by fingerprint acquisition device as finger print information to be verified.
Described judging unit 602, also for judge described finger print information to be verified whether with preset fingerprint information match.
In the embodiment of the present invention, when the finger print information to be verified that acquiring unit 601 obtains be user to answer button carry out the finger print information of touch operation input time, if judging unit 602 judges finger print information to be verified and preset fingerprint information match, then the first on-unit 607 connecting incoming call phone; If judging unit 602 judges that finger print information to be verified does not mate with preset fingerprint information, then the first detecting unit 606 continues to detect user to the touch operation of answering button clicked under answer mode, until calling party end call incoming call or user's hanging up calling.When acquiring unit 601 obtain finger print information to be verified be user the finger print information of touch operation input is carried out to hang up button time, if judging unit 602 judges finger print information to be verified and preset fingerprint information match, then first hang up unit 608 hanging up calling phone; If terminal judges finger print information to be verified does not mate with preset fingerprint information, then the first detecting unit 606 continues to detect the touch operation of user to the hang up button clicked under answer mode, until calling party end call incoming call or user's connecting incoming call.
First on-unit 607, if judge that user carries out the finger print information to be verified of touch operation input and described preset fingerprint information match to answering button for described judging unit 602, then connects described incoming call.
First hangs up unit 608, if judge that user carries out the finger print information to be verified of touch operation input and described preset fingerprint information match to hang up button for described judging unit 602, then hangs up described incoming call.
In the embodiment of the present invention, by judging unit 602 judge user to answer finger print information that button or hang up button carry out touch operation input whether with preset fingerprint information match, when user to answer button or hang up button carry out finger print information and the preset fingerprint information match of touch operation input time, just connect or hanging up calling, be conducive to avoiding causing because of false touch connecting or hanging up calling.
See also Fig. 9, Fig. 9 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 9 is that terminal is as shown in Figure 6 optimized and obtains.Compared with the terminal shown in Fig. 6, the terminal shown in Fig. 9, except all unit comprising the terminal shown in Fig. 6, can also comprise the second detecting unit 609, second on-unit 610 and second and hang up unit 611.Wherein:
Second detecting unit 609, for detect user whether in preset time period under described click answer mode answer button or hang up button has carried out the touch operation of preset times.
In the embodiment of the present invention, after answer mode is set to click answer mode by setting unit 603, the second detecting unit 609 will detect user to the touch operation of answering button or hang up button clicked under answer mode.When the second detecting unit 609 detect user to answer button carry out first time touch operation time, the second detecting unit 609 by judge with current time be initial time preset time period in user whether carried out preset times deducted touch operation once to answering button; If so, then determine that user has carried out the touch operation of preset times to the button of answering clicked under answer mode in preset time period.Whether second detecting unit 609 detects user has carried out the touch operation of preset times and the second detecting unit 609 to the hang up button clicked under answer mode and detects user and whether in preset time period, carried out the touch operation of preset times in like manner to the button of answering clicked under answer mode in preset time period.If user has carried out the touch operation of preset times, then the second on-unit 610 connecting incoming call phone to the button of answering clicked under answer mode in preset time period; If user does not answer the touch operation that button carries out preset times to clicking under answer mode in preset time period, then the second detecting unit 609 continues to detect user and whether in preset time period, has carried out the touch operation of preset times, until calling party end call incoming call or user's hanging up calling to the button of answering under described click answer mode.If user carries out the touch operation of preset times in preset time period to the hang up button clicked under answer mode, then second hang up unit 611 hanging up calling phone; If user does not carry out the touch operation of preset times in preset time period to the hang up button clicked under answer mode, then the second detecting unit 609 continues to detect user and whether in preset time period, has carried out the touch operation of preset times to the hang up button under described click answer mode, until calling party end call incoming call or user's connecting incoming call.
For example, if preset time period is 2S, preset times is 2 times, then when the second detecting unit 609 detect user to answer button carry out first time touch operation time, terminal will judge to take current time as initial time, and in 2 seconds, whether user is to the touch operation of answering button and carried out 1 time; If so, then determine that user has carried out the touch operation of preset times to the button of answering clicked under answer mode in preset time period, then the second on-unit 610 connects described incoming call.
Second on-unit 610, if for user in preset time period to answering the touch operation that button carries out preset times under described click answer mode, then connect described incoming call.
Second hangs up unit 611, if carry out the touch operation of preset times to the hang up button under described click answer mode for user in preset time period, then hangs up described incoming call.
In the embodiment of the present invention, detect user by the second detecting unit 609 and whether in preset time period, answer the touch operation that button or hang up button carry out preset times to clicking under answer mode, when user in preset time period to answer button carry out the touch operation of preset times time, just connecting incoming call; When user carries out the touch operation of preset times to hang up button in preset time period, just hanging up calling; Be conducive to avoiding causing because of false touch connecting or hanging up calling.
In terminal described by Fig. 6 to Fig. 9, when terminal detects incoming call, acquiring unit obtains the first light intensity value of current environment, and judging unit will judge whether the first light intensity value is greater than predetermined threshold value; When the first light intensity value is greater than predetermined threshold value, the answer mode of terminal is set to the first answer mode by setting unit; When the first light intensity value is less than predetermined threshold value, the answer mode of terminal is set to the second answer mode by setting unit.Visible, the embodiment of the present invention can be arranged according to the answer mode of ambient conditions residing for terminal to terminal, improves the dirigibility that terminal arranges answer mode, improves Consumer's Experience.
Refer to Figure 10, the structural representation of Figure 10 another kind of terminal disclosed in the embodiment of the present invention, as shown in Figure 10, this terminal can comprise: at least one processor 701, such as CPU, at least one storer 702, at least one communication bus 703, at least one output unit 704 and at least one input media 705.Wherein, communication bus 703 is for realizing the communication connection between these assemblies.Storer 702 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 702 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 701.Wherein, processor 701 can composition graphs 6, Fig. 7, Fig. 8, Fig. 9, described terminal, store batch processing code in storer 702, and above-mentioned processor 701 call in storer 702 store program code, for performing following operation:
When incoming call being detected, obtain the first light intensity value of current environment;
Judge whether described first light intensity value is greater than predetermined threshold value;
When described first light intensity value is greater than described predetermined threshold value, answer mode is set to the first answer mode;
When described first light intensity value is less than described predetermined threshold value, answer mode is set to the second answer mode.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, when described first light intensity value is greater than described predetermined threshold value, answer mode is set to the first answer mode, can specifically comprises following operation:
When described first light intensity value is greater than described predetermined threshold value, answer mode is set to click answer mode.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, when described first light intensity value is less than described predetermined threshold value, answer mode is set to the second answer mode, can specifically comprises following operation:
When described first light intensity value is less than described predetermined threshold value, answer mode is set to slip answer mode.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, when described first light intensity value is less than described predetermined threshold value, after answer mode being set to slip answer mode, can also perform following operation:
Under described slip answer mode, obtain the second light intensity value of current environment;
Judge whether described second light intensity value is greater than described predetermined threshold value;
When described second light intensity value is greater than described predetermined threshold value, current answer mode is adjusted to click answer mode by the answer mode that slides.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, under described slip answer mode, before obtaining the second light intensity value of current environment, can also perform following operation:
When answer mode being set to slip answer mode, starting timer and starting timing;
When the timing duration of described timer reaches preset duration, perform the operation of the second light intensity value of described acquisition current environment.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, can also perform following operation:
Under described click answer mode, obtain the caller ID that described incoming call is corresponding;
Judge whether described caller ID is contained in the address list number of local terminal;
If described caller ID is contained in the address list number of local terminal, is then highlighted by output unit 704 and answer button under described click answer mode.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, can also perform following operation:
If described caller ID is not contained in the address list number of local terminal, then highlight the hang up button under described click answer mode by output unit 704.
As the optional embodiment of one, processor 701 calls the program code in storer 702, is highlighted and answers button under described click answer mode, can specifically comprise following operation by output unit 704:
By output unit 704 according to default display size, the button of answering under described click answer mode is amplified, or
To be flashed with predeterminated frequency by output unit 704 and answer button under described click answer mode.
Processor 701 calls the program code in storer 702, highlights the hang up button under described click answer mode by output unit 704, can specifically comprise following operation:
By output unit 704 according to default display size, the hang up button under described click answer mode is amplified, or
To be flashed the hang up button under described click answer mode with predeterminated frequency by output unit 704.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, can also perform following operation:
Detect user to the touch operation of answering button or hang up button under described click answer mode;
The finger print information to be verified that user carries out described touch operation input is obtained by input media 705;
Judge described finger print information to be verified whether with preset fingerprint information match;
If described finger print information to be verified and described preset fingerprint information match, then connect described incoming call, or hang up described incoming call.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, can also perform following operation:
Detect user whether in preset time period under described click answer mode answer button or hang up button has carried out the touch operation of preset times;
If user in preset time period under described click answer mode answer button or hang up button has carried out the touch operation of preset times, then connect described incoming call or hang up described incoming call.
In the embodiment of the present invention, processor 701 calls the program code in storer 702, can also perform following operation:
Under described click answer mode, obtain the screen backlight brightness value of local terminal, and obtain the 3rd light intensity value of current environment;
According to screen backlight brightness value and the described 3rd light intensity value of described local terminal, described in arranging, answer the color of button or described hang up button.
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process in the embodiment of the answer mode method to set up that composition graphs 1 to Fig. 5 of the present invention introduces.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above a kind of answer mode method to set up disclosed in the embodiment of the present invention and terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a terminal, is characterized in that, described terminal comprises:
Acquiring unit, for when incoming call being detected, obtains the first light intensity value of current environment;
Judging unit, for judging whether described first light intensity value is greater than predetermined threshold value;
Setting unit, for when described first light intensity value is greater than described predetermined threshold value, is set to the first answer mode by answer mode;
Described setting unit, also for when described first light intensity value is less than described predetermined threshold value, is set to the second answer mode by answer mode.
2. terminal according to claim 1, is characterized in that, the embodiment that answer mode is set to the first answer mode by described setting unit is:
Answer mode is set to click answer mode by described setting unit; Or,
The embodiment that answer mode is set to the second answer mode by described setting unit is:
Answer mode is set to slip answer mode by described setting unit.
3. terminal according to claim 2, is characterized in that,
Described acquiring unit, also under described slip answer mode, obtains the second light intensity value of current environment;
Described judging unit, also for judging whether described second light intensity value is greater than described predetermined threshold value;
Described setting unit, also for when described second light intensity value is greater than described predetermined threshold value, is adjusted to click answer mode by current answer mode by the answer mode that slides.
4. terminal according to claim 3, is characterized in that, described terminal also comprises:
Start unit, for when answer mode being set to slip answer mode, starting timer and starting timing;
Described acquiring unit, specifically for when the timing duration of described timer reaches preset duration, obtains the second light intensity value of current environment.
5. the terminal according to claim 2 ~ 4 any one, is characterized in that, described terminal also comprises and highlights unit, wherein:
Described acquiring unit, also under described click answer mode, obtains the caller ID that described incoming call is corresponding;
Described judging unit, also for judging whether described caller ID is contained in the address list number of local terminal;
Describedly highlight unit, if be contained in the address list number of local terminal for described caller ID, then highlight and answer button under described click answer mode.
6. terminal according to claim 5, is characterized in that,
Describedly highlight unit, if be not also contained in the address list number of local terminal for described caller ID, then highlight the hang up button under described click answer mode.
7. terminal according to claim 6, is characterized in that, described in highlight the embodiment of answering button that unit highlights under described click answer mode and be:
The described unit that highlights, according to default display size, amplifies the button of answering under described click answer mode, or
The described unit that highlights flashes with predeterminated frequency and answers button under described click answer mode;
The described embodiment highlighting the hang up button that unit highlights under described click answer mode is:
The described unit that highlights, according to default display size, amplifies the hang up button under described click answer mode, or
The described unit that highlights flashes hang up button under described click answer mode with predeterminated frequency.
8. the terminal according to claim 2 ~ 4 any one, is characterized in that, described terminal also comprises:
First detecting unit, for detecting user to the touch operation of answering button or hang up button under described click answer mode;
Described acquiring unit, also carries out the finger print information to be verified of described touch operation input for obtaining user;
Described judging unit, also for judge described finger print information to be verified whether with preset fingerprint information match;
First on-unit, if judge that user carries out the finger print information to be verified of touch operation input and described preset fingerprint information match to answering button for described judging unit, then connects described incoming call;
First hangs up unit, if judge that user carries out the finger print information to be verified of touch operation input and described preset fingerprint information match to hang up button for described judging unit, then hangs up described incoming call.
9. the terminal according to claim 2 ~ 4 any one, is characterized in that, described terminal also comprises:
Second detecting unit, for detect user whether in preset time period under described click answer mode answer button or hang up button has carried out the touch operation of preset times;
Second on-unit, if carried out the touch operation of preset times to the button of answering under described click answer mode for user in preset time period, has then connected described incoming call;
Second hangs up unit, if carried out the touch operation of preset times to the hang up button under described click answer mode for user in preset time period, then hangs up described incoming call.
10. the terminal according to claim 2 ~ 4 any one, is characterized in that,
Described acquiring unit, also under described click answer mode, obtains the screen backlight brightness value of local terminal, and obtains the 3rd light intensity value of current environment;
Described setting unit, also for according to the screen backlight brightness value of described local terminal and described 3rd light intensity value, answers the color of button or described hang up button described in arranging.
CN201510227621.8A 2015-05-06 2015-05-06 Terminal Pending CN104881278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510227621.8A CN104881278A (en) 2015-05-06 2015-05-06 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510227621.8A CN104881278A (en) 2015-05-06 2015-05-06 Terminal

Publications (1)

Publication Number Publication Date
CN104881278A true CN104881278A (en) 2015-09-02

Family

ID=53948785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510227621.8A Pending CN104881278A (en) 2015-05-06 2015-05-06 Terminal

Country Status (1)

Country Link
CN (1) CN104881278A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872205A (en) * 2016-03-18 2016-08-17 联想(北京)有限公司 Information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571438A (en) * 2003-07-16 2005-01-26 明基电通股份有限公司 Method and apparatus for controlling light source of telephone key-press
CN101547255A (en) * 2009-01-20 2009-09-30 宇龙计算机通信科技(深圳)有限公司 Method and system for handling incoming calls and touch screen mobile terminal
CN102034060A (en) * 2010-12-23 2011-04-27 东莞宇龙通信科技有限公司 Method and system for controlling operation access, and mobile terminal
CN102238287A (en) * 2011-08-05 2011-11-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying mobile terminal according to environment data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571438A (en) * 2003-07-16 2005-01-26 明基电通股份有限公司 Method and apparatus for controlling light source of telephone key-press
CN101547255A (en) * 2009-01-20 2009-09-30 宇龙计算机通信科技(深圳)有限公司 Method and system for handling incoming calls and touch screen mobile terminal
CN102034060A (en) * 2010-12-23 2011-04-27 东莞宇龙通信科技有限公司 Method and system for controlling operation access, and mobile terminal
CN102238287A (en) * 2011-08-05 2011-11-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying mobile terminal according to environment data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872205A (en) * 2016-03-18 2016-08-17 联想(北京)有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN103428368B (en) Method and device for realizing silent incoming call of intelligent terminal
CN104158972A (en) Method for calling third-party application in conversation process and user terminal
CN103546635A (en) Incoming-call processing method and incoming-call processing device
CN107302493B (en) Message processing method, message processing device and intelligent terminal
CN105245672A (en) Method and system for rapidly calling contact
CN111104180B (en) Application program optimization method and device, storage medium and electronic equipment
CN105262881A (en) Communication control method and electronic equipment
CN105227775A (en) A kind of voice incoming call processing method and device
US8922491B2 (en) Method and apparatus enabling keystroke acceleration
CN105893908A (en) Two-dimensional code image identification method and device
CN105425958A (en) Caller ID (Identity) prompting method, caller ID prompting device and mobile terminal
CN105450867A (en) Communication method and device based on picture information
CN106331307A (en) Method and apparatus for controlling hanging up and mobile device
CN104881278A (en) Terminal
CN104571812B (en) Information processing method and electronic equipment
CN104767880A (en) Communication number management method
CN105791517A (en) Call ending method and mobile terminal
CN104883442A (en) Answering mode setting method
CN106681644B (en) Multi-open application method and system thereof
CN104503736A (en) Information prompt method and device
CN105549736B (en) Income prompting method, device and mobile terminal
CN106888324A (en) The processing method and processing device of missed call
CN105763719A (en) Information processing method and communication device
CN107864275B (en) Application setting method and device, mobile terminal and computer readable storage medium
CN112771499A (en) Message loading method, message loading device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150902