CN106227324B - A kind of control method and mobile terminal of mobile terminal - Google Patents
A kind of control method and mobile terminal of mobile terminal Download PDFInfo
- Publication number
- CN106227324B CN106227324B CN201610599431.3A CN201610599431A CN106227324B CN 106227324 B CN106227324 B CN 106227324B CN 201610599431 A CN201610599431 A CN 201610599431A CN 106227324 B CN106227324 B CN 106227324B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- nfc
- operating mode
- habit
- triggering
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of control methods of mobile terminal, applied to the mobile terminal with near-field communication NFC function, the control method includes: to judge whether the triggering of NFC operating mode is the trigger action for meeting predetermined trigger habit when detecting that NFC operating mode is triggered;If it is determined that not meet the trigger action of predetermined trigger habit, then the NFC function for controlling mobile terminal enters passive work mode, open state or closed state.The invention also discloses a kind of mobile terminals.Technical solution provided by the invention can be in user's inadvertent free NFC operating mode, and the active work mode or bidirectional operation mode for avoiding mobile terminal from entering in NFC operating mode reduce the electric quantity consumption of mobile terminal.
Description
Technical field
The present invention relates to the control methods and mobile terminal of field of communication technology more particularly to a kind of mobile terminal.
Background technique
NFC (Near Field Communication, near-field communication) is a kind of radio technology of short distance high frequency, can be
It is identified and exchanged data in short distance with compatible equipment.With the increasingly mature of NFC technique and its apparent advantage, moving
Dynamic field of terminal has very wide application prospect.
Wherein, NFC terminal mainly has there are three types of operating mode: active work mode, passive work mode and two-way operation
Mode.Under active work mode, NFC terminal can be used as a card reader, issue radiofrequency field go identification and read/write other
NFC terminal information;Under passive work mode, NFC terminal is then modeled into a card, it is only issued in other NFC terminals
Radiofrequency field in by dynamic response, by read/write information.Under bidirectional operation mode, NFC terminal both sides actively issue radiofrequency field
Point-to-point communication is established, at this time the existing read-write capability of NFC terminal, and there is the function of being read and write.
When terminal does not open NFC function, NFC function is in close state;When terminal opens NFC function, NFC function
Into open state, detects in effective distance and open the terminal of NFC function with the presence or absence of other;When two or more tools
There is the terminal of NFC function in effective distance, that is, can trigger certain above-mentioned NFC operating mode.Such as with NFC function mobile phone and
When bus card is put together, it is active work mode that mobile phone, which can be triggered, can read the information of bus card, and working as has NFC function
For the mobile phone of energy when subway is swiped the card, mobile phone can be in passive work mode, and the information of mobile phone is read by subway card reader.But sometimes
It is the act that user is not intended to that mobile phone, which is triggered into certain NFC operating mode, and it is active work mode or two-way for being especially triggered
Operating mode can make mobile phone generate additional power consumption, influence the cruise duration of mobile terminal.
Summary of the invention
The embodiment of the invention provides a kind of control method of mobile terminal and mobile terminals, to solve in the prior art,
In the occasion of non-NFC function operational requirements, the mobile terminal with NFC function is because entering active work mode or two-way operation mould
Formula and issue the problem of radiofrequency field causes additional electricity power consumption.
In a first aspect, a kind of control method of mobile terminal is provided, applied to the movement with near-field communication NFC function
Terminal, the control method include:
When detecting that NFC operating mode is triggered, judge whether the triggering of NFC operating mode is to meet predetermined trigger habit
Used trigger action;
If it is determined that then controlling mobile terminal work not meet the trigger action of predetermined trigger habit and entering NFC function
Passive work mode, open state or closed state.
Second aspect provides a kind of mobile terminal, comprising:
Judgment module, for when detecting that NFC operating mode is triggered, judge NFC operating mode triggering whether be
Meet the trigger action of predetermined trigger habit;
First control module, for determining that the triggering of NFC operating mode is not meet predetermined trigger when the judgment module
When the trigger action of habit, control mobile terminal enters the passive work mode, open state or closed state of NFC function.
In this way, technical solution provided in an embodiment of the present invention pass through judge NFC operating mode triggering whether be meet it is pre-
The trigger action of fixed triggering habit, so that it is determined that trigger action whether be user intentionally for it, however, it is determined that be the act that user is not intended to,
It then controls mobile terminal and does not enter active work mode or bidirectional operation mode, to reduce the electric quantity consumption of mobile terminal.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows the flow charts of the control method of the mobile terminal of first embodiment of the invention offer;
Fig. 2 indicates the flow chart of the control method for the mobile terminal that second embodiment of the invention provides;
Fig. 3 indicates the flow chart of the control method for the mobile terminal that third embodiment of the invention provides;
Fig. 4 indicates the block diagram for the mobile terminal that fourth embodiment of the invention provides;
Fig. 5 indicates another block diagram for the mobile terminal that fourth embodiment of the invention provides;
Fig. 6 indicates the block diagram for the mobile terminal that fifth embodiment of the invention provides;
Fig. 7 indicates the block diagram for the mobile terminal that sixth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
The embodiment of the invention provides a kind of control methods of mobile terminal, applied to near-field communication NFC function
Mobile terminal.Referring to Fig. 1, which includes:
S101, when detecting that NFC operating mode is triggered, judge NFC operating mode triggering whether be meet it is predetermined
Trigger the trigger action of habit.
When the NFC operating mode for detecting mobile terminal is triggered, it is first determined the triggering of NFC operating mode whether be
Whether user intentionally for it, that is, is false triggering.Wherein, pass through the triggering for judging NFC operating mode in the embodiment of the present invention
It whether is to meet the trigger action of predetermined trigger habit to determine whether for user intentionally for it.If the triggering of NFC operating mode
For the trigger action for meeting predetermined trigger habit, then it is assumed that be user intentionally for it, for the operation normally initiated;If NFC works
The triggering of mode is the trigger action for not meeting predetermined trigger habit, then it is assumed that is the act that user is not intended to, i.e. false triggering.
Wherein, judge whether the triggering of NFC operating mode meets the trigger action of predetermined trigger habit, can remember according to history
The use state for the mobile terminal that the user of the record sensor included to the use habit of NFC function, mobile terminal detects or
It is to be judged with the state of preset mobile terminal etc., the concrete mode embodiment of the present invention is without limiting.
S102, if it is determined that the triggering of NFC operating mode be do not meet predetermined trigger habit trigger action, then control movement
The NFC function of terminal enters passive work mode, open state or closed state.
When the triggering for determining NFC operating mode be do not meet predetermined trigger habit trigger action, that is, think NFC Working mould
The triggering of formula be user be not intended to act when, then control mobile terminal NFC function enter passive work mode, open state or
Closed state only need to be by dynamic response since passive work mode is identified and read without sending out radiofrequency field, therefore needs
The electricity to be consumed is low.If desired electric quantity consumption is further decreased, the NFC function that can directly control mobile terminal enters opening state
State or closed state can avoid the additional electric quantity consumption of mobile terminal in this way, guarantee the cruise duration of mobile terminal, promoted and used
The usage experience at family.Wherein, three kinds of modes can select according to actual needs.
It should be noted that open state described here is between closed state and to enter between NFC operating mode
State, open state are to detect in effective distance with the presence or absence of the state of other terminals for opening NFC function, it is understood that are
It is a kind of detecting state.
Further, when the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit, but mobile terminal
Self electric quantity condition or local environment condition can temporarily need not be right when can satisfy electrical demand of the user to mobile terminal
The NFC function of mobile terminal is intervened, that is, what is be triggered be which kind of operating mode then enters which kind of operating mode.Cause
This can further judge mobile whole when the triggering for determining NFC operating mode is not meet the trigger action of predetermined trigger habit
Whether the current state at end meets NFC working power supply conditions.If satisfied, then controlling mobile terminal enters the NFC being triggered
Operating mode;If not satisfied, the NFC function for then controlling mobile terminal enters passive work mode, open state or closes shape
State.
In conclusion technical solution provided in an embodiment of the present invention is by judging whether the triggering of NFC operating mode is symbol
Close the trigger action of predetermined trigger habit, so that it is determined that trigger action whether be user intentionally for it, if being considered, user is not intended to
Act, then the NFC function for controlling mobile terminal enters passive work mode, open state or closed state, to reduce movement
The electric quantity consumption of terminal promotes the usage experience of user.
Second embodiment
The embodiment of the invention provides a kind of control methods of mobile terminal, applied to near-field communication NFC function
Mobile terminal.Referring to fig. 2, which includes:
S201, when detecting that NFC operating mode is triggered, judge whether the NFC operating mode being triggered is to be started building
Operation mode.If it has, then into S205;If it has not, then entering S202.
When the NFC operating mode for detecting mobile terminal is triggered, whether the NFC operating mode being triggered is first determined whether
For passive work mode.Since passive work mode is identified and is read without sending out radiofrequency field, only need to by dynamic response,
The electricity for needing to consume is low, if therefore the NFC operating mode that is triggered is passive work mode, can control mobile terminal to enter
Passive work mode;If the NFC operating mode being triggered is non-passive operating mode, it is determined further.
If S202, the NFC operating mode being triggered are non-passive operating mode, judge that the triggering of NFC operating mode is
The no trigger action to meet predetermined trigger habit.If it has, then into S205;If it has not, then entering S203.
When the NFC operating mode being triggered is non-passive operating mode, determine whether the triggering of NFC operating mode is use
Whether family intentionally for it, that is, is false triggering.Intentionally for it if user, then it controls mobile terminal and enters the NFC being triggered
Operating mode;If the act that user is not intended to, then it is determined further.
Wherein, by judging whether the triggering of NFC operating mode is to meet what predetermined trigger was accustomed in the embodiment of the present invention
Trigger action determines whether for user intentionally for it.Judgment method includes but is not limited to following three kinds of modes:
Mode one obtains the geographical location that mobile terminal is presently in, and determines that the mobile terminal of historical record is in current
NFC operating mode when geographical location, however, it is determined that NFC operating mode and the NFC operating mode that currently triggers be different operating
Mode, it is determined that the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit.
For example, mobile terminal in the operating mode of A subway station is all Passive Mode in historical record, and this is in A subway
The NFC operating mode being triggered when standing is active work mode, then this is considered as the trigger action for not meeting predetermined trigger habit,
It is namely the act of user being not intended to.
Method two, the use state according to mobile terminal judge whether the triggering of NFC operating mode is to meet predetermined trigger
The trigger action of habit.
For example, whether being met the requirements according to the light that photosensitive sensor detects.If light is met the requirements, be considered as meet it is pre-
The trigger action of fixed triggering habit;If light is unsatisfactory for requiring, it is considered as the trigger action for not meeting predetermined trigger habit, because
Mobile terminal is likely to be in the pocket or knapsack in user at this time, and mobile terminal is used in non-user, wherein
Specific requirement can be arranged according to actual needs.
Or detect whether mobile terminal is in preset state according to gravity sensor.For example, if mobile terminal is in perpendicular
Straight state is then considered as the trigger action for meeting predetermined trigger habit;If mobile terminal is in other states such as inclination, is inverted, is anti-
Button etc. is then considered as the trigger action for not meeting predetermined trigger habit.Wherein, preset state can actually use habit according to user and set
It sets.
Or judge that the mobile terminal that gyroscope detects is presently in whether state is working into NFC for historical record
The use state of mobile terminal when mode.For example, being all hand generally using either mobile-phone payment is still swiped the card when NFC function
Machine screen upward, if detecting mobile phone screen downward when certain triggering NFC function, is considered as the touching for not meeting predetermined trigger habit
Hair operation.
It should be noted that the use state of mobile terminal is detected by sensor, to judge NFC operating mode
Whether triggering is to meet in the trigger action of predetermined trigger habit, including but not limited to above-mentioned photosensitive sensor, gravity sensor
And gyroscope, and the selection and use of sensor can design according to actual needs.
S203, if it is determined that the triggering of NFC operating mode be do not meet predetermined trigger habit trigger action, then judge to move
Whether the current residual electricity value of terminal is greater than default charge value.If it has, then into S205;If it has not, then entering S204.
When the triggering of NFC operating mode be do not meet predetermined trigger habit trigger action, but mobile terminal itself electricity
Amount condition can satisfy user to the electrical demand of mobile terminal, then need not temporarily can do to the NFC function of mobile terminal
In advance, the data processing amount of mobile terminal is reduced.Therefore, when the triggering for determining NFC operating mode is not meet predetermined trigger habit
Trigger action when, can further judge the current residual electricity value of mobile terminal and the size relation of default charge value.Wherein,
The value of default charge value can be arranged in user according to actual needs.
If S204, current residual electricity value are less than or equal to default charge value, control mobile terminal NFC function enter by
It starts building operation mode, open state or closed state.
If current residual electricity value is less than or equal to default charge value, illustrate that the self electric quantity condition of mobile terminal is discontented
The electrical demand of sufficient user, the then NFC function for controlling mobile terminal enter passive work mode, open state or close shape
State.Wherein, three kinds of modes can select according to actual needs.
S205, control mobile terminal enter the operating mode being triggered.
In conclusion technical solution provided in an embodiment of the present invention is by judging whether the triggering of NFC operating mode is symbol
Close the trigger action of predetermined trigger habit, so that it is determined that trigger action whether be user intentionally for it, if being considered, user is not intended to
Act, then further judge whether the self electric quantity value of mobile terminal meets the needs of user is to electricity, if not satisfied, then controlling
The NFC function of mobile terminal enters passive work mode, open state or closed state.By multiple judgement, rationally reduce
Extra power consuming operation promotes the usage experience of user.
3rd embodiment
The embodiment of the invention provides a kind of control methods of mobile terminal, applied to near-field communication NFC function
Mobile terminal.Referring to Fig. 3, which includes:
S301, when detecting that NFC operating mode is triggered, judge whether the NFC operating mode being triggered is to be started building
Operation mode.If it has, then into S305;If it has not, then entering S302.
When the NFC operating mode for detecting mobile terminal is triggered, whether the NFC operating mode being triggered is first determined whether
For passive work mode.Since passive work mode is identified and is read without sending out radiofrequency field, only need to by dynamic response,
The electricity for needing to consume is low, if therefore the NFC operating mode that is triggered is passive work mode, can control mobile terminal to enter
Passive work mode;If the NFC operating mode being triggered is non-passive operating mode, it is determined further.
If S302, the non-passive operating mode of NFC operating mode being triggered, judge NFC operating mode triggering whether
For the trigger action for meeting predetermined trigger habit.If it has, then into S305;If it has not, then entering S303.
When the NFC operating mode being triggered is non-passive operating mode, determine whether the triggering of NFC operating mode is use
Whether family intentionally for it, that is, is false triggering.Intentionally for it if user, then it controls mobile terminal and enters the NFC being triggered
Operating mode;If the act that user is not intended to, then it is determined further.
Wherein, by judging whether the triggering of NFC operating mode is to meet what predetermined trigger was accustomed in the embodiment of the present invention
Trigger action determines whether for user intentionally for it.Judgment method includes but is not limited to following three kinds of modes:
Mode one obtains the geographical location that mobile terminal is presently in, and determines that the mobile terminal of historical record is in current
NFC operating mode when geographical location, however, it is determined that NFC operating mode and the NFC operating mode that currently triggers be different operating
Mode, it is determined that the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit.
For example, mobile terminal in the operating mode of A subway station is all Passive Mode in historical record, and this is in A subway
The NFC operating mode being triggered when standing is active work mode, then this is considered as the trigger action for not meeting predetermined trigger habit,
It is namely the act of user being not intended to.
Method two, the use state according to mobile terminal judge whether the triggering of NFC operating mode is to meet predetermined trigger
The trigger action of habit.
For example, whether being met the requirements according to the light that photosensitive sensor detects.If light is met the requirements, be considered as meet it is pre-
The trigger action of fixed triggering habit;If light is unsatisfactory for requiring, it is considered as the trigger action for not meeting predetermined trigger habit, because
Mobile terminal is likely to be in the pocket or knapsack in user at this time, and mobile terminal is used in non-user, wherein
Specific requirement can be arranged according to actual needs.
Or detect whether mobile terminal is in preset state according to gravity sensor.For example, if mobile terminal is in perpendicular
Straight state is then considered as the trigger action for meeting predetermined trigger habit;If mobile terminal is in other states such as inclination, is inverted, is anti-
Button etc. is then considered as the trigger action for not meeting predetermined trigger habit.Wherein, preset state can actually use habit according to user and set
It sets.
Or judge that the mobile terminal that gyroscope detects is presently in whether state is working into NFC for historical record
The use state of mobile terminal when mode.For example, being all hand generally using either mobile-phone payment is still swiped the card when NFC function
Machine screen upward, if detecting mobile phone screen downward when certain triggering NFC function, is considered as the touching for not meeting predetermined trigger habit
Hair operation.
It should be noted that the use state of mobile terminal is detected by sensor, to judge NFC operating mode
Whether triggering is to meet sensor used in the trigger action of predetermined trigger habit, including but not limited to above-mentioned light sensor
Device, gravity sensor and gyroscope, and the selection and use of sensor can design according to actual needs.
S303, if it is determined that the triggering of NFC operating mode be do not meet predetermined trigger habit trigger action, then judge to move
Whether the geographical location that terminal is presently in is preset address or whether the currently used WiFi network of mobile terminal is default
WiFi network.If it has, then into S305;If it has not, then entering S304.
Wherein, preset address is can provide the address of power supply, such as user's family or company for mobile terminal.It is default
WiFi network can provide the WiFi network of power supply, such as user to can determine that mobile terminal is presently in address for mobile terminal
WiFi network or the WiFi network of company of family etc..Preset address and default WiFi net can select according to actual needs.
When the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit, but the locating ring of mobile terminal
Border condition can satisfy user to the electrical demand of mobile terminal, then need not temporarily can do to the NFC function of mobile terminal
In advance, the data processing amount of mobile terminal is reduced.Therefore, when the triggering for determining NFC operating mode is not meet predetermined trigger habit
Trigger action when, can further judge whether the current environment condition of mobile terminal meets user to the electricity of mobile terminal
Amount demand.
If the non-default address in the geographical location that S304, mobile terminal are presently in or the currently used WiFi of mobile terminal
The non-default WiFi network of network, the then NFC function for controlling mobile terminal enter passive work mode, open state or close shape
State.
If the non-default address in the geographical location that mobile terminal is presently in or mobile terminal it is currently used WiFi network it is non-
Default WiFi network, then illustrate the demand that mobile terminal local environment condition is unsatisfactory for user to electricity, then control mobile terminal
NFC function enter passive work mode, open state or closed state.Wherein, three kinds of modes can be selected according to actual needs
It selects.
S305, control mobile terminal enter the operating mode being triggered.
In conclusion technical solution provided in an embodiment of the present invention is by judging whether the triggering of NFC operating mode is symbol
Close the trigger action of predetermined trigger habit, so that it is determined that trigger action whether be user intentionally for it, if being considered, user is not intended to
Act, then further judge whether mobile terminal local environment condition meets the needs of user is to electricity, if not satisfied, then controlling
The NFC function of mobile terminal enters passive work mode, open state or closed state.By multiple judgement, rationally reduce
Extra power consuming operation promotes the usage experience of user.
Fourth embodiment
The embodiment of the invention provides a kind of mobile terminal, which has near-field communication NFC function.Referring to fig. 4,
The mobile terminal includes:
Judgment module 401, for when detecting that NFC operating mode is triggered, judge NFC operating mode triggering whether
For the trigger action for meeting predetermined trigger habit.
When the NFC operating mode for detecting mobile terminal is triggered, it is first determined the triggering of NFC operating mode whether be
Whether user intentionally for it, that is, is false triggering.Wherein, judge that NFC works by judgment module 401 in the embodiment of the present invention
Whether the triggering of mode is to meet the trigger action of predetermined trigger habit to determine whether for user intentionally for it.If NFC works
The triggering of mode is the trigger action for meeting predetermined trigger habit, then it is assumed that be user intentionally for it, for the operation normally initiated;
If the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit, then it is assumed that be the act that user is not intended to, i.e., accidentally touch
Hair.
Wherein, judge whether the triggering of NFC operating mode meets the trigger action of predetermined trigger habit, can remember according to history
The use state for the mobile terminal that the user of the record sensor included to the use habit of NFC function, mobile terminal detects or
It is to be judged with the state of preset mobile terminal etc., the concrete mode embodiment of the present invention is without limiting.
First control module 402, for determining that the triggering of NFC operating mode is not meet predetermined touching when judgment module 401
When sending out the trigger action of habit, the NFC function for controlling mobile terminal enters passive work mode, open state or closes shape
State.
When judgment module 401 determine NFC operating mode triggering be do not meet predetermined trigger habit trigger action, that is, recognize
Triggering for NFC operating mode be user be not intended to acts when, then the first control module 402 control mobile terminal NFC function into
Enter passive work mode, open state or closed state, since passive work mode is known without sending out radiofrequency field
Not and read, it only need to be by dynamic response, it is therefore desirable to which the electricity of consumption is low.If desired electric quantity consumption is further decreased, can directly be controlled
The NFC function of mobile terminal processed enters open state or closed state.It can avoid the additional electric quantity consumption of mobile terminal in this way,
In the cruise duration for guaranteeing mobile terminal, promote the usage experience of user.Wherein, three kinds of modes can select according to actual needs.
Further, referring to Fig. 5, which includes:
First judging unit 4011, for when detecting that NFC operating mode is triggered, judging that the NFC being triggered works
Whether mode is passive work mode.
When the NFC operating mode for detecting mobile terminal is triggered, quilt is judged by the first judging unit 4011 first
Whether the NFC operating mode of triggering is passive work mode.Since passive work mode is known without sending out radiofrequency field
Not and read, only need to be by dynamic response, the electricity for needing to consume is low, if therefore the NFC operating mode that is triggered is passive Working mould
Formula then can control mobile terminal to enter passive work mode;If the NFC operating mode being triggered is non-passive operating mode,
It is determined further.
Second judgment unit 4012, for determining that the NFC operating mode being triggered is non-quilt when the first judging unit 4011
Start building operation mode when, judge NFC operating mode triggering whether be meet predetermined trigger habit trigger action.
When the first judging unit 4011 determines that the NFC operating mode being triggered is non-passive operating mode, continue through
Second judgment unit 4012 judge NFC operating mode triggering whether be user intentionally for it, that is, whether be false triggering.If
Intentionally for it for user, then it controls mobile terminal and enters the NFC operating mode being triggered;If the act that user is not intended to, then carry out
The judgement of next step.
Further, referring to Fig. 5, which includes:
First processing units 4013, NFC work when for determining that the mobile terminal of historical record is in current geographic position
Operation mode.
The second processing unit 4014, NFC operating mode for being determined when first processing units 4013 with currently trigger
When NFC operating mode is different working modes, determine that the triggering of NFC operating mode is the triggering behaviour for not meeting predetermined trigger habit
Make.
It, can be according to NFC operating mode of the mobile terminal of historical record at a certain geographical location in the embodiment of the present invention
To determine that the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit.For example, mobile terminal in historical record
All it is Passive Mode in the operating mode of A subway station, and starts building based on the NFC operating mode that this is triggered in A subway station
Operation mode, then this is considered as the trigger action for not meeting predetermined trigger habit, that is, the act being not intended to for user.
Further, referring to Fig. 5, which includes:
Third judging unit 4015, for the use state according to mobile terminal, judge NFC operating mode triggering whether
For the trigger action for meeting predetermined trigger habit.
In the embodiment of the present invention, also it can determine that the triggering of NFC operating mode is according to the currently used state of mobile terminal
The no trigger action to meet predetermined trigger habit.
Specifically, referring to Fig. 5, which is specifically used for:
Whether met the requirements according to the light that photosensitive sensor detects.If light is met the requirements, it is considered as and meets predetermined touching
Send out the trigger action of habit;If light is unsatisfactory for requiring, it is considered as the trigger action for not meeting predetermined trigger habit, because at this time
Mobile terminal is likely to be in the pocket or knapsack in user, and mobile terminal is used in non-user, wherein specific
It is required that can be arranged according to actual needs.
Or detect whether mobile terminal is in preset state according to gravity sensor, if detecting, mobile terminal is in non-
Preset state, it is determined that the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit.For example, if mobile whole
Hold it is in a vertical state, then be considered as meet predetermined trigger habit trigger action;If mobile terminal be in other states as inclination,
Inversion, left-hand thread etc. are then considered as the trigger action for not meeting predetermined trigger habit.Wherein, preset state can make according to user is practical
It is arranged with habit.
Or the mobile terminal detected according to gyroscope be presently in state whether be historical record enter NFC work
The use state of mobile terminal when operation mode judges whether the triggering of NFC operating mode is the triggering for meeting predetermined trigger habit
Operation, if the mobile terminal detected be presently in the non-historical record of state into NFC operating mode when mobile terminal
Use state, it is determined that the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit.For example, generally using
Either mobile-phone payment is still swiped the card when NFC function, be all mobile phone screen upward, if certain triggering NFC function when detect it is in one's hands
Machine screen downward, is then considered as the trigger action for not meeting predetermined trigger habit.
Further, referring to Fig. 5, which includes:
4th judging unit 4021, for determining that the triggering of NFC operating mode is not meet predetermined touching when judgment module 401
When sending out the trigger action of habit, judge whether the current state of mobile terminal meets NFC working power supply conditions.
First control unit 4022, for determining that the current state of mobile terminal is unsatisfactory for when the 4th judging unit 4021
When NFC working power supply conditions, the NFC function for controlling mobile terminal enters passive work mode, open state or closing
State.
When the triggering of NFC operating mode be do not meet predetermined trigger habit trigger action, but mobile terminal itself electricity
Amount condition or local environment condition can temporarily need not be to mobile terminals when can satisfy electrical demand of the user to mobile terminal
NFC function intervened, therefore, can continue to judge whether the current state of mobile terminal meets by the 4th judging unit 4021
NFC working power supply conditions, if not satisfied, then by first control unit 4022 control mobile terminal NFC function enter by
It starts building operation mode, open state or closed state.
Specifically, referring to Fig. 5, the 4th judging unit 4021 includes:
First judgment sub-unit 40211, for judging the big of the current residual electricity value of mobile terminal and default charge value
Small relationship.
First processing subelement 40212, for when the first judgment sub-unit 40211 determine current residual electricity value be less than or
When equal to default charge value, determine that the current state of mobile terminal is unsatisfactory for NFC working power supply conditions.
When determining that current residual electricity value is less than or equal to default charge value, illustrate the self electric quantity condition of mobile terminal
It is unsatisfactory for the electrical demand of user, then can control the NFC function of mobile terminal to enter passive work mode, open state or pass
Closed state.
Further, referring to Fig. 5, the 4th judging unit 4021 includes:
Second judgment sub-unit 40213, for judging whether the geographical location that mobile terminal is presently in is preset address,
Or whether the currently used WiFi network of mobile terminal is default WiFi network.
Wherein, preset address is can provide the address of power supply, such as user's family or company for mobile terminal.It is default
WiFi network can provide the WiFi network of power supply, such as user to can determine that mobile terminal is presently in address for mobile terminal
WiFi network or the WiFi network of company of family etc..Preset address and default WiFi net can select according to actual needs.
When the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit, but the locating ring of mobile terminal
Border condition can satisfy user to the electrical demand of mobile terminal, then need not temporarily mobile terminal can be made to work in power down mode,
Reduce the data processing amount of mobile terminal.Therefore, when the triggering for determining NFC operating mode is not meet the touching of predetermined trigger habit
When hair operation, the electricity need whether the current environment condition of mobile terminal meets user to mobile terminal can be further judged
It asks.
Second processing subelement 40214, for determining the ground that mobile terminal is presently in when the second judgment sub-unit 40213
Manage the non-default address in position or the currently used non-default WiFi network of WiFi network of mobile terminal, it is determined that mobile terminal
Current state is unsatisfactory for NFC working power supply conditions.
If the second judgment sub-unit 40213 determines the non-default address in geographical location that mobile terminal is presently in, or mobile
The non-default WiFi network of the currently used WiFi network of terminal then illustrates that mobile terminal local environment condition is unsatisfactory for user to electricity
The demand of amount then can control the NFC function of mobile terminal to enter passive work mode, open state or closed state.
Further, referring to Fig. 5, the mobile terminal further include:
Second control module 403, for determining that the current state of mobile terminal meets NFC work when the 4th judging unit 4021
When making electricity supply conditions, control mobile terminal enters the NFC operating mode being triggered.
In conclusion mobile terminal provided in an embodiment of the present invention judges the touching of NFC operating mode by judgment module 401
Whether hair is the trigger action for meeting predetermined trigger habit, so that it is determined that trigger action whether be user intentionally for it, if thinking
It is the act that user is not intended to, then active work mode or two-way operation is prohibited from entering by the first control module 402 control mobile terminal
Mode, that is, the NFC function of control mobile terminal enter passive work mode, open state or closed state, to reduce
The electric quantity consumption of mobile terminal promotes the usage experience of user.
5th embodiment
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 600 shown in fig. 6 includes: at least
One processor 601, memory 602, at least one network interface 604 and user interface 603.It is each in mobile terminal 600
Component is coupled by bus system 605.It is understood that bus system 605 is logical for realizing the connection between these components
Letter.Bus system 605 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in Fig. 6 various buses are all designated as bus system 605.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of system and method described herein is intended to include but is not limited to these and arbitrarily its
It is suitble to the memory of type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application
The program or instruction stored in program 6022, processor 601 are used for when detecting that NFC operating mode is triggered, and judge NFC work
Whether the triggering of operation mode is the trigger action for meeting predetermined trigger habit, when the triggering for being determined as not meeting predetermined trigger habit
When operation, the NFC function for controlling mobile terminal enters passive work mode, open state or closed state.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 601 is also used to: when detecting that NFC operating mode is triggered, judging the NFC work being triggered
Whether operation mode is passive work mode, if not passive work mode, then judge NFC operating mode triggering whether be meet it is pre-
The trigger action of fixed triggering habit.
Optionally, processor 601 is also used to: determining the NFC when mobile terminal of historical record is in current geographic position
Operating mode, however, it is determined that NFC operating mode and the NFC operating mode that currently triggers be different working modes, it is determined that for not
Meet the trigger action of predetermined trigger habit.
Optionally, processor 601 is also used to: according to the use state of mobile terminal, judging that the triggering of NFC operating mode is
The no trigger action to meet predetermined trigger habit.
Optionally, whether processor 601 is also used to: being met the requirements according to the light that photosensitive sensor detects;According to gravity
Whether sensor detection mobile terminal is in preset state;Or according to gyroscope detect mobile terminal be presently in state whether be
Historical record into NFC operating mode when mobile terminal use state, judge whether the triggering of NFC operating mode is to meet
The trigger action of predetermined trigger habit.
Optionally, processor 601 is also used to: when being determined as not meeting the trigger action of predetermined trigger habit, judging to move
Whether the current state of dynamic terminal meets NFC working power supply conditions, when the current state of mobile terminal is unsatisfactory for NFC work
When electricity supply conditions, the NFC function for controlling mobile terminal enters passive work mode, open state or closed state.
Optionally, processor 601 is also used to: judging the current residual electricity value of mobile terminal and the size of default charge value
Relationship determines that the current state of mobile terminal is unsatisfactory for NFC work when current residual electricity value is less than or equal to default charge value
Make electricity supply conditions.
Optionally, processor 601 is also used to: judge whether the geographical location that mobile terminal is presently in is preset address,
Or whether the currently used WiFi network of mobile terminal is default WiFi network;Wherein, preset address be can be mobile terminal
The address of power supply is provided;Default WiFi network can provide electricity to can determine that mobile terminal is presently in address for mobile terminal
The WiFi network in source, if the WiFi that the non-default address in geographical location or mobile terminal that mobile terminal is presently in are currently used
The non-default WiFi network of network, it is determined that the current state of mobile terminal is unsatisfactory for NFC working power supply conditions.
Optionally, processor 601 is also used to: when the current state of mobile terminal meets NFC working power supply conditions,
Control mobile terminal enters the NFC operating mode being triggered.
Mobile terminal 600 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
Mobile terminal provided in an embodiment of the present invention, by judging whether the triggering of NFC operating mode is to meet predetermined touching
Send out the trigger action of habit, so that it is determined that trigger action whether be user intentionally for it, if being considered the act that user is not intended to, control
Mobile terminal processed is prohibited from entering active work mode or bidirectional operation mode, that is, the NFC function of control mobile terminal enters
Passive work mode, open state or closed state, to reduce the electric quantity consumption of mobile terminal, promote user uses body
It tests.
Sixth embodiment
Fig. 7 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7
700 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 700 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 701, memory 702, input
Unit 703, display unit 704, processor 706, voicefrequency circuit 707, WiFi (Wireless Fidelity) module 708 and electricity
Source 709.
Wherein, input unit 703 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 700 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 7031.Touch panel 7031, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 7031 such as finger, stylus), and according to pre-
The formula first set drives corresponding attachment device.Optionally, touch panel 7031 may include touch detecting apparatus and touch control
Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will
Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact
Coordinate, then give the processor 706, and order that processor 706 is sent can be received and executed.Furthermore, it is possible to using electricity
The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 7031.It is defeated in addition to touch panel 7031
Enter unit 703 can also include other input equipments 7032, other input equipments 7032 can include but is not limited to physical keyboard,
One of function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 704 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 700.Display unit 704 may include display panel 7041, optionally, can use LCD or organic
The forms such as light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 7041.
It should be noted that touch panel 7031 can cover display panel 7041, touch display screen is formed, when the touch display screen
After detecting touch operation on it or nearby, processor 706 is sent to determine the type of touch event, is followed by subsequent processing device
706 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 706 is the control centre of mobile terminal 700, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 7021, and calling storage
Data in second memory 7022 execute the various functions and processing data of mobile terminal 700, thus to mobile terminal
700 carry out integral monitoring.Optionally, processor 706 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 7021 in software program and/or module and/
Or the data in the second memory 7022, processor 706 are used for when detecting that NFC operating mode is triggered, and judge NFC work
Whether the triggering of operation mode is the trigger action for meeting predetermined trigger habit, when the triggering for being determined as not meeting predetermined trigger habit
When operation, the NFC function for controlling mobile terminal enters passive work mode, open state or closed state.
Optionally, processor 706 is also used to: when detecting that NFC operating mode is triggered, judging the NFC work being triggered
Whether operation mode is passive work mode, if not passive work mode, then judge NFC operating mode triggering whether be meet it is pre-
The trigger action of fixed triggering habit.
Optionally, processor 706 is also used to: determining the NFC when mobile terminal of historical record is in current geographic position
Operating mode, however, it is determined that NFC operating mode and the NFC operating mode that currently triggers be different working modes, it is determined that for not
Meet the trigger action of predetermined trigger habit.
Optionally, processor 706 is also used to: according to the use state of mobile terminal, judging that the triggering of NFC operating mode is
The no trigger action to meet predetermined trigger habit.
Optionally, whether processor 706 is also used to: being met the requirements according to the light that photosensitive sensor detects;According to gravity
Whether sensor detection mobile terminal is in preset state;Or according to gyroscope detect mobile terminal be presently in state whether be
Historical record into NFC operating mode when mobile terminal use state, judge whether the triggering of NFC operating mode is to meet
The trigger action of predetermined trigger habit.
Optionally, processor 706 is also used to: when being determined as not meeting the trigger action of predetermined trigger habit, judging to move
Whether the current state of dynamic terminal meets NFC working power supply conditions, when the current state of mobile terminal is unsatisfactory for NFC work
When electricity supply conditions, the NFC function for controlling mobile terminal enters passive work mode, open state or closed state.
Optionally, processor 706 is also used to: judging the current residual electricity value of mobile terminal and the size of default charge value
Relationship determines that the current state of mobile terminal is unsatisfactory for NFC work when current residual electricity value is less than or equal to default charge value
Make electricity supply conditions.
Optionally, processor 706 is also used to: judge whether the geographical location that mobile terminal is presently in is preset address,
Or whether the currently used WiFi network of mobile terminal is default WiFi network;Wherein, preset address be can be mobile terminal
The address of power supply is provided;Default WiFi network can provide electricity to can determine that mobile terminal is presently in address for mobile terminal
The WiFi network in source, if the WiFi that the non-default address in geographical location or mobile terminal that mobile terminal is presently in are currently used
The non-default WiFi network of network, it is determined that the current state of mobile terminal is unsatisfactory for NFC working power supply conditions.
Optionally, processor 706 is also used to: when the current state of mobile terminal meets NFC working power supply conditions,
Control mobile terminal enters the NFC operating mode being triggered.
Mobile terminal provided in an embodiment of the present invention, by judging whether the triggering of NFC operating mode is to meet predetermined touching
Send out the trigger action of habit, so that it is determined that trigger action whether be user intentionally for it, if being considered the act that user is not intended to, control
Mobile terminal processed is prohibited from entering active work mode or bidirectional operation mode, that is, the NFC function of control mobile terminal enters
Passive work mode, open state or closed state, to reduce the electric quantity consumption of mobile terminal, promote user uses body
It tests.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (16)
1. a kind of control method of mobile terminal, applied to the mobile terminal with near-field communication NFC function, which is characterized in that
The control method includes:
When detecting that NFC operating mode is triggered, judge whether the triggering of NFC operating mode is to meet what predetermined trigger was accustomed to
Trigger action;
If it is determined that the NFC function for then controlling mobile terminal enters passive work not meet the trigger action of predetermined trigger habit
Mode, open state or closed state;
Wherein, described when detecting that NFC operating mode is triggered, judge NFC operating mode triggering whether be meet it is predetermined
Trigger habit trigger action the step of include:
When detecting that NFC operating mode is triggered, judge whether the NFC operating mode being triggered is passive work mode;
If not passive work mode then judges whether the triggering of NFC operating mode is the trigger action for meeting predetermined trigger habit.
2. control method according to claim 1, which is characterized in that the triggering for judging NFC operating mode whether be
Meet predetermined trigger habit trigger action the step of include:
Determine the NFC operating mode when mobile terminal of historical record is in current geographic position;
If it is determined that NFC operating mode and the NFC operating mode that currently triggers be different working modes, it is determined that it is pre- not meet
The trigger action of fixed triggering habit.
3. control method according to claim 1, which is characterized in that the triggering for judging NFC operating mode whether be
Meet predetermined trigger habit trigger action the step of include:
According to the use state of the mobile terminal, judge whether the triggering of NFC operating mode is to meet what predetermined trigger was accustomed to
Trigger action.
4. control method according to claim 3, which is characterized in that the use state according to the mobile terminal,
Whether the triggering for judging NFC operating mode, which is the step of meeting the trigger action of predetermined trigger habit, includes:
Whether met the requirements according to the light that photosensitive sensor detects;
Detect whether the mobile terminal is in preset state according to gravity sensor;Or
According to gyroscope detect the mobile terminal be presently in state whether be historical record enter NFC operating mode when institute
The use state for stating mobile terminal judges whether the triggering of NFC operating mode is the trigger action for meeting predetermined trigger habit.
5. control method according to claim 1, which is characterized in that described if it is determined that not meet predetermined trigger habit
Trigger action then controls packet the step of the NFC function of mobile terminal enters passive work mode, open state or closed state
It includes:
If it is determined that then judging whether the current state of the mobile terminal meets not meet the trigger action of predetermined trigger habit
NFC working power supply conditions;
If the current state of the mobile terminal is unsatisfactory for NFC working power supply conditions, the NFC of the mobile terminal is controlled
Function enters passive work mode, starting state or closed state.
6. control method according to claim 5, which is characterized in that whether the current state for judging mobile terminal is full
The step of sufficient NFC working power supply conditions includes:
Judge the current residual electricity value of the mobile terminal and the size relation of default charge value;
If the current residual electricity value is less than or equal to the default charge value, it is determined that the current state of the mobile terminal
It is unsatisfactory for NFC working power supply conditions.
7. control method according to claim 5, which is characterized in that whether the current state for judging mobile terminal is full
The step of sufficient NFC working power supply conditions includes:
Judge whether the geographical location that the mobile terminal is presently in is that preset address or the mobile terminal are currently used
Whether WiFi network is default WiFi network;Wherein, the preset address is can provide the ground of power supply for the mobile terminal
Location;The default WiFi network can provide electricity to can determine that the mobile terminal is presently in address for the mobile terminal
The WiFi network in source;
If the non-default address in the geographical location that the mobile terminal is presently in or the currently used WiFi net of the mobile terminal
The non-default WiFi network of network, it is determined that the current state of the mobile terminal is unsatisfactory for NFC working power supply conditions.
8. control method according to claim 5, which is characterized in that determine that the triggering of NFC operating mode is used as and do not meet
The trigger action of predetermined trigger habit, then judge whether the current state of the mobile terminal meets NFC working power supply item
After the step of part, the control method further include:
If the current state of the mobile terminal meets NFC working power supply conditions, control the mobile terminal enter by
The NFC operating mode of triggering.
9. a kind of mobile terminal characterized by comprising
Judgment module, for when detecting that NFC operating mode is triggered, judging whether the triggering of NFC operating mode is to meet
The trigger action of predetermined trigger habit;
First control module, for determining that the triggering of NFC operating mode is not meet predetermined trigger habit when the judgment module
Trigger action when, the NFC function for controlling mobile terminal enters passive work mode, open state or closed state;
Wherein, the judgment module includes:
First judging unit, whether the NFC operating mode for when detecting that NFC operating mode is triggered, judging to be triggered
For passive work mode;
Second judgment unit, for determining that the NFC operating mode being triggered is non-passive Working mould when first judging unit
When formula, judge whether the triggering of NFC operating mode is the trigger action for meeting predetermined trigger habit.
10. mobile terminal according to claim 9, which is characterized in that the judgment module includes:
First processing units, NFC Working mould when for determining that the mobile terminal of historical record is in current geographic position
Formula;
The second processing unit, for when the NFC Working mould first processing units determining NFC operating mode and currently triggered
When formula is different working modes, determine that the triggering of NFC operating mode is the trigger action for not meeting predetermined trigger habit.
11. mobile terminal according to claim 9, which is characterized in that the judgment module includes:
Third judging unit judges whether the triggering of NFC operating mode is symbol for the use state according to the mobile terminal
Close the trigger action of predetermined trigger habit.
12. mobile terminal according to claim 11, which is characterized in that the third judging unit is specifically used for:
Whether met the requirements according to the light that photosensitive sensor detects;
Detect whether the mobile terminal is in preset state according to gravity sensor;Or
According to gyroscope detect the mobile terminal be presently in state whether be historical record enter NFC operating mode when institute
The use state for stating mobile terminal judges whether the triggering of NFC operating mode is the trigger action for meeting predetermined trigger habit.
13. mobile terminal according to claim 9, which is characterized in that first control module includes:
4th judging unit, for determining that the triggering of NFC operating mode is not meet predetermined trigger habit when the judgment module
Trigger action when, judge whether the current state of the mobile terminal meets NFC working power supply conditions;
First control unit, for determining that the current state of the mobile terminal is unsatisfactory for NFC work when the 4th judging unit
When making electricity supply conditions, the NFC function for controlling the mobile terminal enters passive work mode, open state or closes shape
State.
14. mobile terminal according to claim 13, which is characterized in that the 4th judging unit includes:
First judgment sub-unit, for judging the current residual electricity value of the mobile terminal and the size pass of default charge value
System;
First processing subelement, for determining that the current residual electricity value is less than or equal to institute when first judgment sub-unit
When stating default charge value, determine that the current state of the mobile terminal is unsatisfactory for NFC working power supply conditions.
15. mobile terminal according to claim 13, which is characterized in that the 4th judging unit includes:
Second judgment sub-unit, for judging whether the geographical location that the mobile terminal is presently in is preset address or institute
State whether the currently used WiFi network of mobile terminal is default WiFi network;Wherein, the preset address be can be described
The address of mobile terminal offer power supply;The default WiFi network be can determine that the mobile terminal is presently in address can
The WiFi network of power supply is provided for the mobile terminal;
Second processing subelement, for determining the geographical location that the mobile terminal is presently in when second judgment sub-unit
Non-default address or the currently used non-default WiFi network of WiFi network of the mobile terminal, it is determined that the mobile terminal
Current state be unsatisfactory for NFC working power supply conditions.
16. mobile terminal according to claim 15, which is characterized in that the mobile terminal further include:
Second control module, for determining that the current state of the mobile terminal meets NFC work when the 4th judging unit
When electricity supply conditions, controls the mobile terminal and enter the NFC operating mode being triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610599431.3A CN106227324B (en) | 2016-07-27 | 2016-07-27 | A kind of control method and mobile terminal of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610599431.3A CN106227324B (en) | 2016-07-27 | 2016-07-27 | A kind of control method and mobile terminal of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106227324A CN106227324A (en) | 2016-12-14 |
CN106227324B true CN106227324B (en) | 2019-05-17 |
Family
ID=57533041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610599431.3A Active CN106227324B (en) | 2016-07-27 | 2016-07-27 | A kind of control method and mobile terminal of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227324B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106650541A (en) * | 2016-12-30 | 2017-05-10 | 维沃移动通信有限公司 | Control method and mobile terminal |
CN109840759A (en) * | 2017-11-27 | 2019-06-04 | 北京聚利科技股份有限公司 | Car wireless terminal and oiling payment system |
US10667157B2 (en) * | 2018-06-03 | 2020-05-26 | Apple Inc. | Individualized adaptive wireless parameter tuning for streaming content |
CN110814517B (en) * | 2019-10-28 | 2022-05-24 | 大族激光科技产业集团股份有限公司 | Method, device, equipment and storage medium for controlling laser galvanometer welding |
CN111107219B (en) * | 2019-11-20 | 2021-06-22 | 维沃移动通信有限公司 | Control method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110600A (en) * | 2006-07-20 | 2008-01-23 | 晨星半导体股份有限公司 | Portable electronic apparatus and operating method thereof |
CN101790183A (en) * | 2010-01-25 | 2010-07-28 | 中兴通讯股份有限公司 | Mode selection method, mobile terminal and system |
CN104065399A (en) * | 2013-03-20 | 2014-09-24 | 华为终端有限公司 | Method, devices and system for negotiation work mode |
CN105472534A (en) * | 2014-09-24 | 2016-04-06 | 西安酷派软件科技有限公司 | Switching method and switching system of NFC working mode and terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9603090B2 (en) * | 2013-08-08 | 2017-03-21 | Apple Inc. | Management of near field communications using low power modes of an electronic device |
-
2016
- 2016-07-27 CN CN201610599431.3A patent/CN106227324B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110600A (en) * | 2006-07-20 | 2008-01-23 | 晨星半导体股份有限公司 | Portable electronic apparatus and operating method thereof |
CN101790183A (en) * | 2010-01-25 | 2010-07-28 | 中兴通讯股份有限公司 | Mode selection method, mobile terminal and system |
CN104065399A (en) * | 2013-03-20 | 2014-09-24 | 华为终端有限公司 | Method, devices and system for negotiation work mode |
CN105472534A (en) * | 2014-09-24 | 2016-04-06 | 西安酷派软件科技有限公司 | Switching method and switching system of NFC working mode and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106227324A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227324B (en) | A kind of control method and mobile terminal of mobile terminal | |
CN106469011B (en) | A kind of information display method and mobile terminal | |
US20230259231A1 (en) | Method and apparatus for a touch display | |
CN106775420B (en) | Application switching method and device and graphical user interface | |
CN106843739B (en) | A kind of display control method and mobile terminal of mobile terminal | |
CN106681623B (en) | A kind of sharing method and mobile terminal of screenshotss image | |
CN106325465B (en) | A kind of control method that screen is shown and mobile terminal | |
KR101510738B1 (en) | Apparatus and method for composing idle screen in a portable terminal | |
KR101838031B1 (en) | Method and apparatus for managing icon in portable terminal | |
US20190004669A1 (en) | Electronic device and method for controlling screen | |
CN105898705B (en) | A kind of method and mobile terminal of the scan frequency controlling WLAN | |
KR102248250B1 (en) | Man-machine interaction methods, devices and graphical user interfaces | |
CN106371745B (en) | A kind of interface switching method and mobile terminal | |
CN106909289B (en) | A kind of operating method and mobile terminal of application controls | |
KR101780499B1 (en) | Apparatus and method for controlling operation of mobile terminal | |
CN106095059A (en) | A kind of method reducing mobile terminal power consumption and mobile terminal | |
CN107423018B (en) | A kind of multi-screen display method and terminal | |
CN106406741B (en) | A kind of operation processing method and mobile terminal of mobile terminal | |
CN106325753B (en) | A kind of display methods and mobile terminal of payment interface | |
US20140035853A1 (en) | Method and apparatus for providing user interaction based on multi touch finger gesture | |
CN106843664A (en) | Display methods, display device and terminal | |
CN104750400A (en) | Terminal interface optimization operation method and terminal interface optimization operation device | |
CN106227488A (en) | The display packing of a kind of reminder message and mobile terminal | |
CN105893130B (en) | A kind of processing method and mobile terminal of application program for mobile terminal | |
CN106372894A (en) | Payment method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |