CN106331376A - Power saving method and mobile terminal - Google Patents
Power saving method and mobile terminal Download PDFInfo
- Publication number
- CN106331376A CN106331376A CN201610870932.0A CN201610870932A CN106331376A CN 106331376 A CN106331376 A CN 106331376A CN 201610870932 A CN201610870932 A CN 201610870932A CN 106331376 A CN106331376 A CN 106331376A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- acceleration
- gravity
- nfc
- module
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a power saving method and a mobile terminal. The method is applied to the mobile terminal comprising an NFC module. The method includes the steps that whether the mobile terminal is in a moved state or not is detected; if the mobile terminal is in the moved state, the distance between the mobile terminal and NFC equipment matched with the NFC module is acquired; if the distance is smaller than or equal to a preset distance threshold value, the NFC module is switched on; if the distance is larger than the preset distance threshold value, the NFC module is switched off. In this way, the operation intention of a user can be distinguished by detecting the moved state of the mobile terminal and the distance between the mobile terminal and the NFC equipment matched with the NFC module, and then on-off of the NFC module is controlled, so that active polling of the NFC module of the mobile terminal is of higher pertinence, unnecessary active polling time is shortened, and accordingly extra electricity consumption is reduced.
Description
Technical field
The present invention relates to the communications field, particularly relate to a kind of electricity saving method and mobile terminal.
Background technology
NFC (Near Field Communication, near field communication (NFC)) technology with existing noncontact intelligence
Energy card technique is compatible, and it has the features such as distance is near, bandwidth is high, energy consumption is low.NFC can provide various equipment room light, safe, fast
Speed and communicate automatically, be widely used in the fields such as gate inhibition, public transport, mobile-phone payment.When the NFC module of mobile terminal has the initiative
During pattern, NFC module is constantly in activation emission state, carrys out poll external NFC devices by continuous electromagnetic signals,
Cause extra power consumption, additionally consume the electricity of battery.Visible, existing mobile terminal has the initiative pattern in NFC module
Under add electric quantity consumption.
Summary of the invention
The embodiment of the present invention provides a kind of electricity saving method and mobile terminal, is in master in NFC module solving mobile terminal
The problem consuming extra electricity under dynamic model formula.
First aspect, embodiments provides a kind of electricity saving method, for including the mobile terminal of NFC module, and bag
Include:
Detect whether described mobile terminal is in by mobile status;
If described mobile terminal is in by mobile status, then obtain what described mobile terminal mated with described NFC module
Distance between NFC device;
If described distance is less than or equal to predeterminable range threshold value, then open described NFC module;
If described distance is more than described predeterminable range threshold value, then close described NFC module.
Second aspect, the embodiment of the present invention also provides for a kind of mobile terminal, and described mobile terminal includes NFC module, described
Mobile terminal also includes:
Detection module, is used for detecting whether described mobile terminal is in by mobile status;
Acquisition module, if being in by mobile status for described mobile terminal, then obtain described mobile terminal with described
Distance between the NFC device of NFC module coupling;
First control module, if for described distance less than or equal to predeterminable range threshold value, then opening described NFC module;
Second control module, if for described distance more than described predeterminable range threshold value, then closing described NFC module.
So, a kind of electricity saving method provided in the embodiment of the present invention and mobile terminal, the method is used for including NFC module
Mobile terminal, including: detect whether described mobile terminal is in by mobile status;If described mobile terminal is in by mobile shape
State, then obtain the distance between the NFC device that described mobile terminal mates with described NFC module;If described distance is less than
In predeterminable range threshold value, then open described NFC module;If described distance is more than described predeterminable range threshold value, then close described NFC
Module.So only need to be by detecting the NFC device mated by mobile status and mobile terminal of mobile terminal with NFC module
Between distance can pick out user operation be intended to, and then control NFC module opening and closing so that mobile terminal NFC module
Active poll more specific aim, decrease unnecessary active poll time, thus reduce extra electric quantity consumption.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in the embodiment of the present invention being described below
Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention,
For those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is the flow chart of the electricity saving method that first embodiment of the invention provides;
Fig. 2 is the flow chart of the electricity saving method that second embodiment of the invention provides;
Fig. 3 is one of structure chart of mobile terminal of third embodiment of the invention offer;
Fig. 4 is the structure chart of the detection module in the mobile terminal that third embodiment of the invention provides;
Fig. 5 is the structure chart of the acquisition module in the mobile terminal that third embodiment of the invention provides;
Fig. 6 is the two of the structure chart of the mobile terminal that third embodiment of the invention provides;
Fig. 7 is the structure chart of the mobile terminal that fourth embodiment of the invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
First embodiment
Seeing the flow chart that Fig. 1, Fig. 1 are the electricity saving methods that the embodiment of the present invention provides, this electricity saving method is used for including NFC
The mobile terminal of module, as it is shown in figure 1, comprise the following steps:
Step 101, detect whether described mobile terminal is in by mobile status.
It is said that in general, user goes to read electronic tag, read identity card, Card Reader or transmission close with other mobile phones with mobile terminal
During data, can carry out swiping the card or near action, mobile terminal must have a process being movable by the user, and now detection is mobile eventually
End by mobile status, swiping the card or near action of user can be distinguished to a certain extent.
If the described mobile terminal of step 102 is in by mobile status, then obtain described mobile terminal and with described NFC mould
Distance between the NFC device of Block-matching.
In embodiments of the present invention, only by detection mobile terminal can only be judged that mobile terminal exists by mobile status
The process that a motion is accelerated is had under the drive of user.User is when using mobile terminal to carry out swiping the card or near action, mobile
Terminal, will necessarily be the most close to the NFC device mated with described NFC module except there is moving process.If mobile terminal is not
The most suddenly accelerate mobile, and moving direction is close toward certain specific NFC device, can judge that user is currently in use mobile terminal
Carry out swiping the card or near action.The distance obtained in real time between mobile terminal and the NFC device matched with NFC module can make shifting
Dynamic terminal perception has the NFC device matched close to it, thus the operation picking out user is intended to.Concrete distance is surveyed
Amount can use range sensor, supersonic range finder or image first-class realization.
If the described distance of step 103 is less than or equal to predeterminable range threshold value, then open described NFC module.
When distance between mobile terminal and the NFC device matched with NFC module is less than or equal to predeterminable range threshold value,
This NFC device can be picked out and be the target NFC device of mobile terminal realization actively poll, now be then turned on NFC module pair
NFC device carries out actively poll, it is to avoid aimless active poll, decreases the time of actively poll, thus saves volume
Outer electric quantity consumption.
If the described distance of step 104 is more than described predeterminable range threshold value, then close described NFC module.
When distance between mobile terminal and the NFC device matched with NFC module is more than predeterminable range threshold value, then should
NFC device is not the most the target that mobile terminal is polled, and now closes NFC module, to reduce electric quantity consumption.Can manage
Solving, due to the requirement of NFC module confidentiality, generally when Card Reader or P2P transmit, NFC module requires to carry out at predeterminable range
Data exchange.In the embodiment of the present invention, this predeterminable range is preferably 30mm, both can ensure the effect that data are transmitted, meet again
The security requirements of NFC module.And because embodiment of the present invention solution is to judge whether opened NFC before carrying out data transmission
Module, described predeterminable range threshold value generally need to be more than this predeterminable range, and the NFC module of guarantee mobile terminal is carrying out data
Actively poll is had been started up during transmission.
In the embodiment of the present invention, above-mentioned mobile terminal any can possess the mobile terminal of NFC module, such as: mobile phone, flat
Plate computer (Tablet Personal Computer), kneetop computer (Laptop Computer), personal digital assistant
(personal digital assistant is called for short PDA), mobile Internet access device (Mobile Internet Device, MID)
Or Wearable device (Wearable Device) etc..
The electricity saving method of the embodiment of the present invention, for including the mobile terminal of NFC module, including: detect described mobile whole
Whether end is in by mobile status;If described mobile terminal is in by mobile status, then obtain described mobile terminal with described
Distance between the NFC device of NFC module coupling;If described distance is less than or equal to predeterminable range threshold value, then open described NFC mould
NFC device described in block actively poll;If described distance is more than predeterminable range threshold value, then close described NFC module.So only need to lead to
Cross the distance between the NFC device mated by mobile status and mobile terminal of detection mobile terminal with NFC module
The operation picking out user is intended to, and then controls NFC module opening and closing so that the active poll more pin of mobile terminal NFC module
To property, decrease unnecessary active poll time, thus reduce extra electric quantity consumption.
Second embodiment
Seeing the flow chart that Fig. 2, Fig. 2 are the electricity saving methods that the embodiment of the present invention provides, this electricity saving method is used for including NFC
The mobile terminal of module, as in figure 2 it is shown, comprise the following steps:
Step 201, detect whether described mobile terminal is in by mobile status.
It is said that in general, user goes to read electronic tag, read identity card, Card Reader or transmission close with other mobile phones with mobile terminal
During data, can carry out swiping the card or near action, mobile terminal must have a process being movable by the user, and now detection is mobile eventually
End by mobile status, swiping the card or near action of user can be distinguished to a certain extent.
Whether step 202, detection exist NFC device with described NFC mould in the range of the predeterminable range of described mobile terminal
Block-matching.
In general, detection device, can be necessarily centered by mobile terminal in view of the limitation of the detection range of device own
Predeterminable range in the range of the NFC device that around exists of detection whether mate with the NFC module in mobile terminal.
If the described mobile terminal of step 203 is in by mobile status and in the range of the predeterminable range of described mobile terminal
The NFC device mated with described NFC module detected, then obtain the distance between described mobile terminal and described NFC device.
In the embodiment of the present invention, detect that mobile terminal is in by mobile status and at the predeterminable range of described mobile terminal
In the range of when there is the NFC device mated with described NFC module, just open range unit between mobile terminal and NFC module
Distance measure, thus reduce non-essential range finding action, improve accuracy.
If the described distance of step 204 is less than or equal to predeterminable range threshold value, then open described NFC module.
When distance between the NFC device that mobile terminal mates with NFC module is less than or equal to predeterminable range threshold value, i.e.
This NFC device can be picked out and be the target NFC device of mobile terminal realization actively poll, now be then turned on NFC module to NFC
Equipment carries out actively poll, it is to avoid aimless active poll, decreases the time of actively poll, thus saves additional electric
Amount consumes.
If the described distance of step 205 is more than described predeterminable range threshold value, then close described NFC module.
When distance between mobile terminal and the NFC device matched with NFC module is more than predeterminable range threshold value, then should
NFC device is not the most the target that mobile terminal is polled, and now closes NFC module, to reduce electric quantity consumption.
It should be understood that due to the requirement of NFC module confidentiality, Card Reader or P2P transmit when, NFC module is usual
Require to carry out data exchange at predeterminable range.In the embodiment of the present invention, this predeterminable range is preferably 30mm, both can ensure that data pass
Defeated effect, meets again the security requirements of NFC module.And because embodiment of the present invention solution is to judge carrying out data biography
Whether opening NFC module before defeated, described predeterminable range threshold value generally need to be more than this predeterminable range, guarantee mobile terminal
NFC module has been started up when carrying out data transmission.During for reducing the transmission of NFC module data, mobile terminal sets with the NFC mated
The error of the distance between Bei, it is preferred that range unit and NFC module are near installing.
The electricity saving method of the embodiment of the present invention, for including the mobile terminal of NFC module, including: detect described mobile whole
Whether end is in by mobile status;Whether detection exists NFC device with described in the range of the predeterminable range of described mobile terminal
NFC module is mated;Detect by mobile status and in the range of the predeterminable range of described mobile terminal if described mobile terminal is in
To the NFC device mated with described NFC module, then obtain the distance between described mobile terminal and described NFC device;If it is described
Distance less than or equal to predeterminable range threshold value, then starts NFC device described in described NFC module actively poll;If described distance is more than
Described predeterminable range threshold value, then be placed in power down mode by described NFC module.So only need to being moved by detection mobile terminal
Distance between the NFC device that state and mobile terminal mate with NFC module can pick out the operation of user and be intended to, and enters
And control NFC module opening and closing so that and the active poll more specific aim of mobile terminal NFC module, decrease unnecessary active
Poll time, thus reduce extra electric quantity consumption.
Optionally, the step that whether described detection mobile terminal is in mobile status includes:
Obtain the acceleration of gravity of described mobile terminal;
If described acceleration of gravity is more than predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
In the embodiment of the present invention, the gravity sensor that the acceleration of gravity of mobile terminal can be carried by mobile terminal is surveyed
?.If mobile terminal mobile range is bigger so that its acceleration of gravity is more than predetermined acceleration threshold value, then can determine that described movement
Terminal is in the state being movable by the user, thus can determine whether that user has and carry out swiping the card or possible near the operation intention of action.Its
In, this predetermined acceleration threshold value presets according to artificial experience.
Optionally, the acceleration of gravity of described mobile terminal includes the first acceleration of gravity of X-direction, Y direction
Second acceleration of gravity and the 3rd acceleration of gravity of Z-direction, wherein said X-axis, Y-axis and Z axis are respectively presets three-dimensional straight
Three coordinate axess in angle coordinate system;
If described acceleration of gravity is more than predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile shape
The step of state, including:
If it is arbitrary heavy in described first acceleration of gravity, described second acceleration of gravity and described 3rd acceleration of gravity
Power acceleration is more than described predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
Generally under situation, include X-axis, Y-axis and three data of Z axis according to default three-dimensional cartesian coordinate system gravity sensor
Axle, thus the acceleration of gravity recorded includes the first acceleration of gravity of X-direction, the second acceleration of gravity of Y direction and Z
Axial 3rd acceleration of gravity.When the acceleration of gravity on the arbitrary axle of X-axis, Y-axis and Z axis exceedes predetermined acceleration threshold value
Time, it is determined that mobile terminal is in by mobile status, judges whether mobile terminal is in by the sensitivity of mobile status to increase.
Optionally, whether the described mobile terminal of described detection is in by before the step of mobile status, including:
Judge whether described mobile terminal is in bright screen state;
Whether the described mobile terminal of described detection is in by the step of mobile status, including:
If described mobile terminal is in bright screen state, then detect whether described mobile terminal is in by mobile status.
Owing to user often needs when the NFC module using mobile terminal carries out Card Reader or the transmission of P2P data will move in advance
Dynamic terminal is placed in unblock bright screen state, now by judging mobile terminal display screen whether bright screen, thus adds and opens NFC mould
The condition of block actively poll NFC device, improves the accuracy controlled further, reduces extra power consumption.
3rd embodiment
Seeing Fig. 3, Fig. 3 is the structure chart that the present invention implements the mobile terminal provided, and described mobile terminal 300 includes NFC
Module, as it is shown on figure 3, described mobile terminal 300 also includes:
Detection module 301, is used for detecting whether described mobile terminal is in by mobile status;
Acquisition module 302, if being in by mobile status for described mobile terminal, then obtains described mobile terminal and with institute
State the distance between the NFC device of NFC module coupling;
First control module 303, if for described distance less than or equal to predeterminable range threshold value, then opening described NFC module;
Second control module 304, if for described distance more than described predeterminable range threshold value, then closing described NFC module.
Optionally, as shown in Figure 4, described detection module 301, including:
Acquiring unit 3011, for obtaining the acceleration of gravity of described mobile terminal;
Determine unit 3012, if for described acceleration of gravity more than predetermined acceleration threshold value, it is determined that described mobile whole
End is in by mobile status.
Optionally, the acceleration of gravity of described mobile terminal includes the first acceleration of gravity of X-direction, Y direction
Second acceleration of gravity and the 3rd acceleration of gravity of Z-direction, wherein said X-axis, Y-axis and Z axis are respectively presets three-dimensional straight
Three coordinate axess in angle coordinate system;
Described determine unit, for described first acceleration of gravity, described second acceleration of gravity and described triple
In power acceleration, arbitrary acceleration of gravity is more than described predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile shape
State.
Optionally, as it is shown in figure 5, described acquisition module 302 includes:
Detector unit 3021, for detection whether exist in the range of the predeterminable range of described mobile terminal NFC device with
Described NFC module is mated;
Acquiring unit 3022, if for detecting that in the range of the predeterminable range of described mobile terminal NFC device is with described
NFC module is mated, then obtain the distance between described mobile terminal and described NFC device.
Optionally, as shown in Figure 6, described mobile terminal 300 also includes:
Judge module 305, is used for judging whether described mobile terminal is in bright screen state;
Whether described detection module 301, if being in bright screen state for described mobile terminal, then detect described mobile terminal
It is in by mobile status.
Mobile terminal 300 is capable of each process that in the embodiment of the method for Fig. 1 and Fig. 2, mobile terminal realizes, for keeping away
Exempt to repeat, repeat no more here.
The mobile terminal 300 of the embodiment of the present invention, described mobile terminal includes that NFC module, described mobile terminal also include:
First detection module, is used for detecting whether described mobile terminal is in by mobile status;Acquisition module, if for described mobile whole
End is in by mobile status, then obtain the distance between the NFC device that described mobile terminal mates with described NFC module;The
One control module, if for described distance less than or equal to predeterminable range threshold value, then opening described NFC module;Second control module,
If for described distance more than described predeterminable range threshold value, then closing described NFC module.So only need to be by detection mobile terminal
The NFC device mated with NFC module by mobile status and mobile terminal between distance can pick out the behaviour of user
Work is intended to, and then controls the opening and closing of NFC module so that the active poll more specific aim of mobile terminal NFC module, decreases not
Necessary active poll time, thus reduce extra electric quantity consumption.
4th embodiment
Seeing Fig. 7, Fig. 7 is the structure chart that the present invention implements the mobile terminal provided, as it is shown in fig. 7, mobile terminal 700 wraps
Include: at least one processor 701, memorizer 702, at least one network interface 704 and user interface 703.In mobile terminal 700
Each assembly be coupled by bus system 705.It is understood that bus system 705 is for realizing between these assemblies
Connect communication.Bus system 705, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.
But for the sake of understanding explanation, in the figure 7 various buses are all designated as bus system 705.Mobile terminal 700 also includes NFC
Module 706, wherein, NFC module 706 is connected with each assembly of mobile terminal by bus system 705.
Wherein, user interface 703 can include display, keyboard or pointing device (such as, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
The memorizer 702 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle
Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside the most slow
Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memorizer 702 of system and method described herein be intended to include but not limited to these and
The arbitrarily memorizer of other applicable type.
In some embodiments, memorizer 702 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 7022, comprises various application program, such as media
Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 7022.
In embodiments of the present invention, by calling program or the instruction of memorizer 702 storage, concrete, can be application
The program stored in program 7022 or instruction, processor 701 is used for:
Detect whether described mobile terminal is in by mobile status;
If described mobile terminal is in by mobile status, then obtain what described mobile terminal mated with described NFC module
Distance between NFC device;
If described distance is less than or equal to predeterminable range threshold value, then open described NFC module;
If described distance is more than described predeterminable range threshold value, then close described NFC module.
The method that the invention described above embodiment discloses can apply in processor 701, or is realized by processor 701.
Processor 701 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process
Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic
Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention
Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention
The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor
In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can
In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage
Medium is positioned at memorizer 702, and processor 701 reads the information in memorizer 702, completes the step of said method in conjunction with its hardware
Suddenly.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC
(ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, for performing other electronics list of herein described function
In unit or a combination thereof.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein
Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or
Processor is outside to be realized.
Optionally, whether the described detection mobile terminal that processor 701 performs is in and is included by the step of mobile status:
Obtain the acceleration of gravity of described mobile terminal;
If described acceleration of gravity is more than predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
Optionally, the acceleration of gravity of described mobile terminal includes the first acceleration of gravity of X-direction, Y direction
Second acceleration of gravity and the 3rd acceleration of gravity of Z-direction, wherein said X-axis, Y-axis and Z axis are respectively presets three-dimensional straight
Three coordinate axess in angle coordinate system;
If the described acceleration of gravity that processor 701 performs is more than predetermined acceleration threshold value, the most described mobile terminal
It is in by the step of mobile status, including:
If it is arbitrary heavy in described first acceleration of gravity, described second acceleration of gravity and described 3rd acceleration of gravity
Power acceleration is more than described predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
Optionally, the described mobile terminal of described acquisition that processor 701 performs sets with the NFC mated with described NFC module
The step of the distance between Bei, including:
Whether detection exists NFC device in the range of the predeterminable range of described mobile terminal mates with described NFC module;
If detecting in the range of the predeterminable range of described mobile terminal with described NFC module is mated, then obtain described shifting
Dynamic distance between terminal and described NFC device.
Optionally, processor 701 perform the described mobile terminal of described detection whether be in by the step of mobile status it
Before, including:
Judge whether described mobile terminal is in bright screen state;
Whether the described mobile terminal of described detection is in by the step of mobile status, including:
If described mobile terminal is in bright screen state, then detect whether described mobile terminal is in by mobile status.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
The mobile terminal 700 of the embodiment of the present invention, is used for detecting whether described mobile terminal is in by mobile status;If institute
State mobile terminal to be in by mobile status, then obtain between the NFC device that described mobile terminal mates with described NFC module
Distance;If described distance is less than or equal to predeterminable range threshold value, then open described NFC module;If described distance is preset more than described
Distance threshold, then close described NFC module.So only need to by detection mobile terminal by mobile status and mobile terminal with
With the distance between the NFC device of NFC module coupling can pick out the operation intention of user, and then control opening of NFC module
Close so that the active poll more specific aim of mobile terminal NFC module, decrease unnecessary active poll time, thus drop
Low extra electric quantity consumption.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes
Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually
Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel
Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other
Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only
A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme
Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (10)
1. an electricity saving method, for including the mobile terminal of NFC module, it is characterised in that including:
Detect whether described mobile terminal is in by mobile status;
If described mobile terminal is in by mobile status, then obtains described mobile terminal and set with the NFC mated with described NFC module
Distance between Bei;
If described distance is less than or equal to predeterminable range threshold value, then open described NFC module;
If described distance is more than described predeterminable range threshold value, then close described NFC module.
Method the most according to claim 1, it is characterised in that whether described detection mobile terminal is in by mobile status
Step includes:
Obtain the acceleration of gravity of described mobile terminal;
If described acceleration of gravity is more than predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
Method the most according to claim 2, it is characterised in that the acceleration of gravity of described mobile terminal includes X-direction
The first acceleration of gravity, the second acceleration of gravity of Y direction and the 3rd acceleration of gravity of Z-direction, wherein said X
Axle, Y-axis and Z axis are respectively presets three coordinate axess in three-dimensional cartesian coordinate system;
If described acceleration of gravity is more than predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status
Step, including:
If arbitrary gravity adds in described first acceleration of gravity, described second acceleration of gravity and described 3rd acceleration of gravity
Speed is more than described predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
Method the most according to claim 1, it is characterised in that the described mobile terminal of described acquisition with described NFC module
The step of the distance between the NFC device of coupling, including:
Whether detection exists NFC device in the range of the predeterminable range of described mobile terminal mates with described NFC module;
If detecting in the range of the predeterminable range of described mobile terminal, NFC device is mated with described NFC module, then obtain described
Distance between mobile terminal and described NFC device.
Method the most according to claim 1, it is characterised in that whether the described mobile terminal of described detection is in by mobile shape
Before the step of state, including:
Judge whether described mobile terminal is in bright screen state;
Whether the described mobile terminal of described detection is in by the step of mobile status, including:
If described mobile terminal is in bright screen state, then detect whether described mobile terminal is in by mobile status.
6. a mobile terminal, described mobile terminal includes NFC module, it is characterised in that described mobile terminal also includes:
Detection module, is used for detecting whether described mobile terminal is in by mobile status;
Acquisition module, if being in by mobile status for described mobile terminal, then obtains described mobile terminal and with described NFC mould
Distance between the NFC device of Block-matching;
First control module, if for described distance less than or equal to predeterminable range threshold value, then opening described NFC module;
Second control module, if for described distance more than described predeterminable range threshold value, then closing described NFC module.
Mobile terminal the most according to claim 6, it is characterised in that described detection module, including:
Acquiring unit, for obtaining the acceleration of gravity of described mobile terminal;
Determine unit, if for described acceleration of gravity more than predetermined acceleration threshold value, it is determined that described mobile terminal be in by
Mobile status.
Mobile terminal the most according to claim 7, it is characterised in that the acceleration of gravity of described mobile terminal includes X-axis
First acceleration of gravity in direction, the second acceleration of gravity of Y direction and the 3rd acceleration of gravity of Z-direction, Qi Zhongsuo
State X-axis, Y-axis and Z axis and be respectively three coordinate axess in default three-dimensional cartesian coordinate system;
Described determine unit, add for described first acceleration of gravity, described second acceleration of gravity and described 3rd gravity
In speed, arbitrary acceleration of gravity is more than described predetermined acceleration threshold value, it is determined that described mobile terminal is in by mobile status.
Mobile terminal the most according to claim 6, it is characterised in that described acquisition module includes:
Whether detector unit, exist NFC device with described NFC mould for detection in the range of the predeterminable range of described mobile terminal
Block-matching;
Acquiring unit, if for detecting that in the range of the predeterminable range of described mobile terminal NFC device is with described NFC module
Join, then obtain the distance between described mobile terminal and described NFC device.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
Judge module, is used for judging whether described mobile terminal is in bright screen state;
Described detection module, if being in bright screen state for described mobile terminal, then detect described mobile terminal whether be in by
Mobile status.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610870932.0A CN106331376A (en) | 2016-09-30 | 2016-09-30 | Power saving method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610870932.0A CN106331376A (en) | 2016-09-30 | 2016-09-30 | Power saving method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106331376A true CN106331376A (en) | 2017-01-11 |
Family
ID=57820709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610870932.0A Withdrawn CN106331376A (en) | 2016-09-30 | 2016-09-30 | Power saving method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106331376A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018205860A1 (en) * | 2017-05-08 | 2018-11-15 | 阿里巴巴集团控股有限公司 | Method and device for implementing near field triggering function |
CN110382806A (en) * | 2017-03-02 | 2019-10-25 | 开利公司 | Access control system with dynamic property tuning |
CN110515817A (en) * | 2019-08-22 | 2019-11-29 | 深圳前海环融联易信息科技服务有限公司 | A kind of equipment availability detection method, device, computer equipment and storage medium |
WO2020001109A1 (en) * | 2018-06-25 | 2020-01-02 | 阿里巴巴集团控股有限公司 | Data exchange method and apparatus, electronic device and portable device |
CN111031478A (en) * | 2019-12-30 | 2020-04-17 | 中国科学院寒区旱区环境与工程研究所 | Intelligent terminal positioning system and method and electronic equipment |
CN111541996A (en) * | 2020-04-20 | 2020-08-14 | 支付宝(杭州)信息技术有限公司 | Data interaction method, device and equipment based on ultra wide band |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130060687A1 (en) * | 2011-09-07 | 2013-03-07 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN103218889A (en) * | 2012-01-18 | 2013-07-24 | 联想(北京)有限公司 | Body-separating alarm terminal and realization method thereof |
CN103873101A (en) * | 2012-12-17 | 2014-06-18 | 鸿富锦精密工业(深圳)有限公司 | Near field communication terminal with power-saving function and power-saving method for near field communication terminal |
CN104284012A (en) * | 2014-06-14 | 2015-01-14 | 敦泰科技有限公司 | Method for judging conversation state and personal mobile communication terminal |
-
2016
- 2016-09-30 CN CN201610870932.0A patent/CN106331376A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130060687A1 (en) * | 2011-09-07 | 2013-03-07 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN103218889A (en) * | 2012-01-18 | 2013-07-24 | 联想(北京)有限公司 | Body-separating alarm terminal and realization method thereof |
CN103873101A (en) * | 2012-12-17 | 2014-06-18 | 鸿富锦精密工业(深圳)有限公司 | Near field communication terminal with power-saving function and power-saving method for near field communication terminal |
CN104284012A (en) * | 2014-06-14 | 2015-01-14 | 敦泰科技有限公司 | Method for judging conversation state and personal mobile communication terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110382806A (en) * | 2017-03-02 | 2019-10-25 | 开利公司 | Access control system with dynamic property tuning |
WO2018205860A1 (en) * | 2017-05-08 | 2018-11-15 | 阿里巴巴集团控股有限公司 | Method and device for implementing near field triggering function |
WO2020001109A1 (en) * | 2018-06-25 | 2020-01-02 | 阿里巴巴集团控股有限公司 | Data exchange method and apparatus, electronic device and portable device |
CN110515817A (en) * | 2019-08-22 | 2019-11-29 | 深圳前海环融联易信息科技服务有限公司 | A kind of equipment availability detection method, device, computer equipment and storage medium |
CN111031478A (en) * | 2019-12-30 | 2020-04-17 | 中国科学院寒区旱区环境与工程研究所 | Intelligent terminal positioning system and method and electronic equipment |
CN111541996A (en) * | 2020-04-20 | 2020-08-14 | 支付宝(杭州)信息技术有限公司 | Data interaction method, device and equipment based on ultra wide band |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331376A (en) | Power saving method and mobile terminal | |
CN106068487B (en) | The display of button-free activates | |
CN102656538B (en) | Automatically and controllable system operation | |
CN105431856A (en) | Mobile computing device and wearable computing device having automatic access mode control | |
CN104035389B (en) | Smart home control system | |
CN108808785A (en) | Electronic equipment charge control method, device, electronic equipment and storage medium | |
CN109075611B (en) | Wireless charging | |
CN104765551A (en) | Method, device and system for lightening mobile terminal screen | |
CN111338267A (en) | Robot hardware system and robot thereof | |
CN102855207B (en) | For the memory arbitrator of electronic communication device | |
CN204424983U (en) | Terminal leased by a kind of portable power source | |
CN106549451A (en) | A kind of wireless charging method and device | |
CN111489467A (en) | Intelligent door lock, system and unlocking method based on UWB | |
CN105867822A (en) | Information processing method and electronic equipment | |
CN105700626A (en) | Control method and electronic device | |
US11165272B2 (en) | Device charger attachment | |
CN108540658A (en) | Control method of electronic device, device, storage medium and electronic equipment | |
KR20220054108A (en) | Method and electronic device for providing fast charging | |
EP3277123A1 (en) | Smart bag with integrated display | |
CN107071704A (en) | The open method and device of the mode of operation of NFC chip | |
CN111599047A (en) | Intelligent door lock, system and door closing method based on UWB | |
CN106646085A (en) | Electric leakage test method, device and equipment | |
US20220107773A1 (en) | Methods and apparatus for external display power loss detection | |
CN110109529A (en) | SD card method for controlling power supply, device, storage medium and electronic equipment | |
CN103914900A (en) | Terminal extensible door control system based on CAN and network communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170111 |
|
WW01 | Invention patent application withdrawn after publication |