CN106095050B - The method for closing and device of sensor - Google Patents

The method for closing and device of sensor Download PDF

Info

Publication number
CN106095050B
CN106095050B CN201610379853.XA CN201610379853A CN106095050B CN 106095050 B CN106095050 B CN 106095050B CN 201610379853 A CN201610379853 A CN 201610379853A CN 106095050 B CN106095050 B CN 106095050B
Authority
CN
China
Prior art keywords
pressing operation
sensor
identifier set
mark
application
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
Application number
CN201610379853.XA
Other languages
Chinese (zh)
Other versions
CN106095050A (en
Inventor
黄宏用
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610379853.XA priority Critical patent/CN106095050B/en
Publication of CN106095050A publication Critical patent/CN106095050A/en
Priority to PCT/CN2017/086473 priority patent/WO2017206876A1/en
Application granted granted Critical
Publication of CN106095050B publication Critical patent/CN106095050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides the method for closing and device of a kind of sensor, method includes the following steps: obtaining the first identifier set for the application that sensor is used and the second identifier set for the sensor being currently running;When monitoring the pressing operation to operation and control interface, the mark of the application operated normally will be kept by being obtained from the first identifier set according to the pressing operation;The mark using corresponding sensor operated normally will be kept to remove from the second identifier set with described, to generate third logo collection;Close sensor corresponding with each mark in the third logo collection.The present invention has reduction power consumption, control precision height, operates beneficial effect that is convenient and improving user experience.

Description

The method for closing and device of sensor
Technical field
The present invention relates to the communications fields, more particularly to the method for closing and device of a kind of sensor.
Background technique
Currently, mobile phone has been current most the most frequently used most important electronic equipment of user, in mobile phone in it is various each The sensor device of sample, which is given, provides hardware foundation using pluralistic function.However, nonstandard sensor application method, such as Still hold sensor during standby not discharge, cause system can not suspend mode, sensor device continuous drain, hence it is evident that increases intelligence The stand-by power consumption of terminal.
Therefore, the prior art is defective, needs to improve.
Summary of the invention
The embodiment of the present invention provides the method for closing and device of a kind of sensor;To solve in existing mobile terminal device The higher defect of biosensor power consumption.
The embodiment of the present invention provides a kind of method for closing of sensor, comprising the following steps:
Obtain the first identifier set for the application that sensor is used and the second identifier collection for the sensor being currently running It closes;
When monitoring the pressing operation to operation and control interface, being obtained from the first identifier set according to the pressing operation will Keep the mark of the application operated normally;
The mark using corresponding sensor operated normally will be kept to move from the second identifier set with described It removes, to generate third logo collection;
Close sensor corresponding with each mark in the third logo collection.
In the method for closing of sensor of the present invention, when the pressing operation monitored to operation and control interface, root It is obtained from the first set according to the pressing operation and includes: by the identification of steps for the application that holding operates normally
When monitoring the first pressing operation to operation and control interface, the first identifier collection is shown according to first pressing operation It closes;
When monitoring the second pressing operation to the display area of first identifier set, according to second pressing operation from institute State the mark that the application that will be remained operational is selected in first identifier set.
In the method for closing of sensor of the present invention, first pressing operation monitored to operation and control interface When, the step of showing the first identifier set according to first pressing operation includes:
When monitoring the first pressing operation to operation and control interface, the third preset reference amount of first pressing operation is obtained;
When the third preset reference amount is greater than the first preset value, the first identifier collection is shown in the manipulation region It closes.
In the method for closing of sensor of the present invention, the first identifier that the application of sensor is used is being obtained Gather and the step of the second identifier set of the sensor that is currently running after, it is further comprising the steps of:
Order of classification is carried out to each mark in the first identifier set according to the first preset reference amount;
When the pressing operation monitored to operation and control interface, obtained from the first identifier set according to the pressing operation Take to include: the step of keeping the application operated normally
When monitoring the pressing operation to operation and control interface, the second preset reference amount of the pressing operation is obtained;
With the priority from advanced to rudimentary, selected from the first identifier set according to the second preset reference amount The mark of corresponding number is selected out, to obtain the mark for the application that will keep normal use.
In the method for closing of sensor of the present invention, the first preset reference amount is in the first identifier set Each mark corresponding to application frequency of use;Alternatively, the first preset reference amount is to be separately operable first mark Know the power consumption number of application corresponding to each mark in set.
In the method for closing of sensor of the present invention, the second preset reference amount is holding for the secondary pressing operation Continuous time or press pressure value.
The present invention also provides a kind of closing devices of sensor, comprising:
First obtains module, the biography for obtaining the first identifier set for the application that sensor is used and being currently running The second identifier set of sensor;
Second obtains module, when for monitoring the pressing operation to operation and control interface, according to the pressing operation from described the The mark of the application operated normally will be kept by obtaining in one logo collection;
Generation module, for that the mark using corresponding sensor operated normally will be kept from described second with described It is removed in logo collection, to generate third logo collection;
Closedown module, for closing sensor corresponding with each mark in the third logo collection.
In closing device of the present invention, the second acquisition module includes:
Display unit when for monitoring the first pressing operation to operation and control interface, is shown according to first pressing operation The first identifier set;
Selecting unit when monitoring the second pressing operation to the display area of first identifier set, second is pressed according to this Press operation selects the mark for the application that will be remained operational from the first identifier set.
In closing device of the present invention, the display unit includes:
Subelement being obtained, when for monitoring the first pressing operation to operation and control interface, obtaining first pressing operation Third preset reference amount;
Subelement is shown, for being shown in the manipulation region when the third preset reference amount is greater than the first preset value The first identifier set.
In closing device of the present invention, further includes:
Diversity module, for carrying out classification row to each mark in the first identifier set according to the first preset reference amount Sequence;
Described second, which obtains module, includes:
First acquisition unit, when for monitoring the pressing operation to operation and control interface, obtain the pressing operation second is pre- If reference quantity;
Second acquisition unit, with the priority from advanced to rudimentary, according to the second preset reference amount from described The mark of corresponding number is selected in one logo collection, to obtain the mark for the application that will keep normal use.
Compared to the prior art, the first identifier set and just of the application of sensor is used by obtaining by the present invention In the second identifier set of the sensor of operation;When monitoring the pressing operation to operation and control interface, according to the pressing operation from institute It states to obtain in first identifier set and will keep the mark of the application operated normally;The application operated normally institute will be kept right with described The mark for the sensor answered is removed from the second identifier set, to generate third logo collection;It closes and the third mark Know the corresponding sensor of each mark in set, closes the sensor being currently running to realize to realize and reduce power consumption Effect, also, due in advance filtering out the application for needing to operate normally when closing, it obtains and operates normally what the application needed Sensor, and the sensor is removed from second identifier set, so that not turning off needs in closure sensor normally makes Sensor has control accurate, improves the beneficial effect of user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the first preferred embodiment of the method for closing of sensor of the invention;
Fig. 2 is the flow chart of the second preferred embodiment of the method for closing of sensor of the invention;
Fig. 3 a is the structure chart of the first preferred embodiment of the closing device of sensor of the invention;
Fig. 3 b is the structure chart of the second preferred embodiment of the closing device of sensor of the invention.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the operation as performed by one or multi-section computer The step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, mentioned for several times wherein having It include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computer Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match again Set or in addition change in a manner familiar to those skilled in the art the running of the computer.The maintained data knot of the data Structure is the provider location of the memory, has the specific feature as defined in the data format.But the principle of the invention is with above-mentioned Text illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and Operation also may be implemented in hardware.
Embodiment one
Fig. 1 is please referred to, Fig. 1 is the flow chart of the first preferred embodiment of the method for closing of sensor of the invention.It is led To be applied in the equipment such as mobile terminal, such as mobile phone, IPAD.The method for closing of the sensor of this preferred embodiment includes following Step:
S101 obtains the first identifier set for the application that sensor is used and the second mark of the sensor that is currently running Know set;
S102, when monitoring the pressing operation to operation and control interface, according to the pressing operation from the first identifier set The mark of the application operated normally will be kept by obtaining;
S103 will keep the mark using corresponding sensor operated normally from the second identifier set with described Middle removal, to generate third logo collection;
S104 closes sensor corresponding with each mark in the third logo collection.
The following detailed description of the detailed process of each step of the method for closing of the sensor of this preferred embodiment.
In step S101, when current power consumption value that mobile terminal device detects itself is excessively high or charge value is too low or When person's CPU usage is excessively high, triggering obtains the operation of first identifier set and second identifier set.Wherein, the first identifier Set is name list or icon list of the application that sensor is used etc..The second identifier set is currently running The name list or icon list of sensor.
In step S102, in pressing operation of the monitoring to operation and control interface, the processing of investigation maloperation is carried out, When the pressure value of the pressing operation is too small or the duration of the pressing operation is too short, judge that this time operates as maloperation, Directly ignore the secondary pressing operation.Wherein, step S102 specifically includes following sub-step:
S1021 when monitoring the first pressing operation to operation and control interface, shows described first according to first pressing operation Logo collection.
Step S1021 is specially when monitoring the first pressing operation to operation and control interface, to obtain first pressing operation Third preset reference amount;When the third preset reference amount is greater than the first preset value, described the is shown in the manipulation region One logo collection.The third preset reference amount can be duration or press pressure value of the secondary pressing operation etc..
S1022 when monitoring the second pressing operation to the display area of first identifier set, is grasped according to second pressing Make the mark that the application that will be remained operational is selected from the first identifier set.For example, second pressing operation can be Multiple pressing operation in predetermined amount of time, each pressing operation can choose the mark of an application.For example, when being pressed into When the display area of the mark of the QQ, which is selected as the application that will keep operating normally.When the mark for being pressed into the wechat Display area when, which is selected as keeping the application operated normally.
In step s 103, it for example, user wishes to keep Amap normal use, keeps operating normally the Amap The alignment sensor needed operates normally, and therefore, which is removed from the second identifier set, to generate third Logo collection.
In step S104, when closing with the corresponding sensor of each mark, also to close all using the sensor It calls function and closes except the application for needing to keep operating normally in first identifier set, other application should all close, with Reduce power consumption and CPU usage.
From the foregoing, it will be observed that the present embodiment is by obtaining the first identifier set for the application that sensor is used and being currently running Sensor second identifier set;When monitoring the pressing operation to operation and control interface, according to the pressing operation from described first The mark of the application operated normally will be kept by obtaining in logo collection;By with it is described keep operate normally using corresponding biography The mark of sensor is removed from the second identifier set, to generate third logo collection;It closes and the third logo collection In the corresponding sensor of each mark, so that realizing that the sensor that be currently running is closed and had reduces the beneficial of power consumption Effect, also, due in advance filtering out the application for needing to operate normally when closing, it obtains and operates normally what the application needed Sensor, and the sensor is removed from second identifier set, so that not turning off needs in closure sensor normally makes Sensor has control accurate, improves the beneficial effect of user experience.
Embodiment two
Referring to figure 2., Fig. 2 is the flow chart of the second preferred embodiment of the method for closing of sensor of the invention.It is led To be applied in the equipment such as mobile terminal, such as mobile phone, IPAD.The method for closing of the sensor of this preferred embodiment includes following Step:
S201 obtains the first identifier set for the application that sensor is used and the second mark of the sensor that is currently running Know set;
S202 carries out order of classification to each mark in the first identifier set according to the first preset reference amount;
S203, when monitoring the pressing operation to operation and control interface, according to the pressing operation from the first identifier set The mark of the application operated normally will be kept by obtaining;
S204 will keep the mark using corresponding sensor operated normally from the second identifier set with described Middle removal, to generate third logo collection;
S205 closes sensor corresponding with each mark in the third logo collection.
The following detailed description of the detailed process of each step of the method for closing of the sensor of this preferred embodiment.
In step S201, when current power consumption value that mobile terminal device detects itself is excessively high or charge value is too low or When person's CPU usage is excessively high, triggering obtains the operation of first identifier set and second identifier set.Wherein, the first identifier Set is name list or icon list of the application that sensor is used etc..The second identifier set is currently running The name list or icon list of sensor.
In step S202, which can be answer corresponding with the mark in the first identifier set Used in power consumption number when operating normally, or it can be the use of application corresponding to each mark in the first identifier set Frequency.Multiple mark is arranged in the first identifier set to advanced sequence after classification with rudimentary.
In step S203, in pressing operation of the monitoring to operation and control interface, the processing of investigation maloperation is carried out, when When the pressure value of the pressing operation is too small or the duration of the pressing operation is too short, judge this time operation for maloperation, directly It connects and ignores the secondary pressing operation.Wherein, step S203 specifically includes following sub-step:
S2031 when monitoring the pressing operation to operation and control interface, obtains the second preset reference amount of the pressing operation;Its In, which can be the time of the secondary pressing, press pressure etc..
S2032, with the priority from advanced to rudimentary, according to the second preset reference amount from the first identifier collection The mark of corresponding number is selected in conjunction, to obtain the mark for the application that will keep normal use.
For example, when the time of the pressing is 1 second, being selected preferential when the second preset reference amount is the time of pressing Mark corresponding to the highest application of grade.When the compressing time is 2 seconds, highest priority and the second high application institute are selected Corresponding mark.When the compressing time is more than 5 seconds, the corresponding mark of all applications is directly selected.
When the second preset reference amount is the pressure value of pressing, also according to the size of the pressure value, correspondence is selected The mark of the application of quantity, and since the mark of an application of highest priority, it reduces step by step.
In step S204, for example, user wishes to keep Baidu map normal use, keep operating normally the Baidu map The alignment sensor needed operates normally, and therefore, which is removed from the second identifier set, to generate third Logo collection.
In S205, when closing with the corresponding sensor of each mark, all calling using the sensor are also closed Except the application for needing to keep operating normally in function and closing first identifier set, other application should all be closed, to reduce Power consumption and CPU usage.
From the foregoing, it will be observed that the present embodiment is by obtaining the first identifier set for the application that sensor is used and being currently running Sensor second identifier set;Each mark in the first identifier set is classified according to the first preset reference amount Sequence;When monitoring the pressing operation to operation and control interface, being obtained from the first identifier set according to the pressing operation will be protected Hold the mark of the application of normal operation;By with the mark using corresponding sensor for keeping operating normally from described the It is removed in two logo collections, to generate third logo collection;It closes corresponding with each mark in the third logo collection Sensor needs the sensor closed to realize the effect for reducing power consumption to close, also, due to the excellent of application program First grade is sorted, selection need to keep operating normally in application, can be by the reference quantity of pressing operation come from height Priority is quickly selected to low priority to be needed to retain the application operated normally, to obtain the sensing for needing to operate normally Device has and operates beneficial effect that is convenient, improving user experience.
Embodiment three
A referring to figure 3., Fig. 3 a are the structure chart of the first preferred embodiment of the closing device of sensor of the invention.Its It is mainly used in the equipment such as mobile terminal, such as mobile phone, IPAD.The closing device of the sensor of this preferred embodiment includes: First, which obtains module 301, second, obtains module 302, generation module 303 and closedown module 304.
Wherein, which is used to obtain the first identifier set and just for the application that sensor is used In the second identifier set of the sensor of operation.
When the second acquisition module 302 is used to monitor pressing operation to operation and control interface, according to the pressing operation from institute It states to obtain in first identifier set and will keep the mark of the application operated normally.Second acquisition module include: display unit and Selecting unit.It is aobvious according to first pressing operation when display unit is used to monitor the first pressing operation to operation and control interface Show the first identifier set;Selecting unit is used to monitor the second pressing operation to the display area of first identifier set When, the mark for the application that will be remained operational is selected from the first identifier set according to second pressing operation.
Wherein, display unit includes obtaining subelement and display subelement.The acquisition subelement is for monitoring to behaviour When controlling first pressing operation at interface, the third preset reference amount of first pressing operation is obtained.It shows that subelement is used to work as to be somebody's turn to do When third preset reference amount is greater than the first preset value, the first identifier set is shown in the manipulation region.
The generation module 303 with described for that will keep the mark using corresponding sensor operated normally from described It is removed in second identifier set, to generate third logo collection.
The closedown module 304 is for closing sensor corresponding with each mark in the third logo collection.
From the foregoing, it will be observed that the present embodiment is by obtaining the first identifier set for the application that sensor is used and being currently running Sensor second identifier set;When monitoring the pressing operation to operation and control interface, according to the pressing operation from described first The mark of the application operated normally will be kept by obtaining in logo collection;By with it is described keep operate normally using corresponding biography The mark of sensor is removed from the second identifier set, to generate third logo collection;It closes and the third logo collection In the corresponding sensor of each mark, so that realizing that the sensor that be currently running is closed and had reduces the beneficial of power consumption Effect, also, due in advance filtering out the application for needing to operate normally when closing, it obtains and operates normally what the application needed Sensor, and the sensor is removed from second identifier set, so that not turning off needs in closure sensor normally makes Sensor has control accurate, improves the beneficial effect of user experience.
Example IV
B referring to figure 3., Fig. 3 b are the structure chart of the first preferred embodiment of the closing device of sensor of the invention.Its It is mainly used in the equipment such as mobile terminal, such as mobile phone, IPAD.The closing device of the sensor of this preferred embodiment includes: First obtains module 301, diversity module 305, second obtains module 302, generation module 303 and closedown module 304.
Wherein, which is used to obtain the first identifier set and just for the application that sensor is used In the second identifier set of the sensor of operation.
Diversity module 305 is for being classified each mark in the first identifier set according to the first preset reference amount Sequence.
When the second acquisition module 302 is used to monitor pressing operation to operation and control interface, according to the pressing operation from institute It states to obtain in first identifier set and will keep the mark of the application operated normally.Second acquisition module includes: first acquisition unit And second acquisition unit.Wherein, when first acquisition unit is used to monitor the pressing operation to operation and control interface, the pressing is obtained Second preset reference amount of operation.Second acquisition unit is used for the priority from advanced to rudimentary, pre- according to described second If reference quantity selects the mark of corresponding number from the first identifier set, so that the application of normal use will be kept by obtaining Mark.
The generation module 303 with described for that will keep the mark using corresponding sensor operated normally from described It is removed in second identifier set, to generate third logo collection.
The closedown module 304 is for closing sensor corresponding with each mark in the third logo collection.
From the foregoing, it will be observed that the present embodiment is by obtaining the first identifier set for the application that sensor is used and being currently running Sensor second identifier set;Each mark in the first identifier set is classified according to the first preset reference amount Sequence;When monitoring the pressing operation to operation and control interface, being obtained from the first identifier set according to the pressing operation will be protected Hold the mark of the application of normal operation;By with the mark using corresponding sensor for keeping operating normally from described the It is removed in two logo collections, to generate third logo collection;It closes corresponding with each mark in the third logo collection Sensor needs the sensor closed to realize the effect for reducing power consumption to close, also, due to the excellent of application program First grade is sorted, selection need to keep operating normally in application, can be by the reference quantity of pressing operation come from height Priority is quickly selected to low priority to be needed to retain the application operated normally, to obtain the sensing for needing to operate normally Device has and operates beneficial effect that is convenient, improving user experience.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structure At the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipment It calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitable Sequence is relevant.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that Not all operation must exist in each embodiment provided in this article.
Moreover, word " preferred " used herein means serving as example, example or illustration.Feng Wen is described as " preferably " any aspect or design be not necessarily to be construed as than other aspect or design it is more advantageous.On the contrary, the use purport of word " preferred " Concept is being proposed in specific ways.Term "or" as used in this application is intended to mean the "or" for including and non-excluded "or".That is, unless specified otherwise or clear from the context, " X uses A or B " means that nature includes any one of arrangement. That is, if X uses A;X uses B;Or X uses A and B both, then " X uses A or B " is met in aforementioned any example.
Moreover, although the disclosure, this field skill has shown and described relative to one or more implementations Art personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all this The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element, Resource etc.) the various functions that execute, term for describing such components is intended to correspond to the specified function for executing the component The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structure The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure Through being disclosed relative to the only one in several implementations, but this feature can with such as can be to given or specific application For be expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (9)

1. a kind of method for closing of sensor, which comprises the following steps:
Obtain the first identifier set for the application that sensor is used and the second identifier set for the sensor being currently running;
When monitoring the pressing operation to operation and control interface, being obtained from the first identifier set according to the pressing operation will be kept The mark of the application of normal operation;
The mark using corresponding sensor operated normally will will be kept to remove from the second identifier set with described, To generate third logo collection;
Close sensor corresponding with each mark in the third logo collection;
Wherein, when the pressing operation monitored to operation and control interface, according to the pressing operation from the first identifier set It obtains and includes: by the step of mark for keeping the application operated normally
When monitoring the first pressing operation to operation and control interface, the first identifier set is shown according to first pressing operation, The reference quantity of first pressing operation includes duration or the press pressure value of pressing operation;
When monitoring the second pressing operation to the display area of first identifier set, according to second pressing operation from described The mark for the application that will be remained operational is selected in one logo collection.
2. the method for closing of sensor according to claim 1, which is characterized in that monitored to operation and control interface When one pressing operation, the step of showing the first identifier set according to first pressing operation, includes:
When monitoring the first pressing operation to operation and control interface, the third preset reference amount of first pressing operation is obtained;
When the third preset reference amount is greater than the first preset value, the first identifier set is shown in the manipulation region.
3. the method for closing of sensor according to claim 1, which is characterized in that sensor is used in the acquisition Application first identifier set and the sensor being currently running second identifier set the step of after, further include following step It is rapid:
Order of classification is carried out to each mark in the first identifier set according to the first preset reference amount;
When the pressing operation monitored to operation and control interface, being obtained from the first identifier set according to the pressing operation will Keep operate normally application the step of include:
When monitoring the pressing operation to operation and control interface, the second preset reference amount of the pressing operation is obtained;
With the priority from advanced to rudimentary, selected from the first identifier set according to the second preset reference amount The mark of corresponding number, to obtain the mark for the application that will keep normal use.
4. the method for closing of sensor according to claim 3, which is characterized in that the first preset reference amount be this The frequency of use of application corresponding to each mark in one logo collection;Alternatively, the first preset reference amount is to transport respectively The power consumption number of application corresponding to each mark in the row first identifier set.
5. the method for closing of sensor according to claim 3 or 4, which is characterized in that the second preset reference amount is The duration of pressing operation or press pressure value.
6. a kind of closing device of sensor characterized by comprising
First obtains module, the sensor for obtaining the first identifier set for the application that sensor is used and being currently running Second identifier set;
Second obtains module, when for monitoring the pressing operation to operation and control interface, is marked according to the pressing operation from described first Know to obtain in set and will keep the mark of the application operated normally;
Generation module, for that the mark using corresponding sensor operated normally will be kept from the second identifier with described It is removed in set, to generate third logo collection;
Closedown module, for closing sensor corresponding with each mark in the third logo collection;
Wherein, the second acquisition module includes:
Display unit, when for monitoring the first pressing operation to operation and control interface, shown according to first pressing operation described in First identifier set, the reference quantity of first pressing operation include duration or the press pressure value of pressing operation;
Selecting unit when for monitoring the second pressing operation to the display area of first identifier set, second is pressed according to this Press operation selects the mark for the application that will be remained operational from the first identifier set.
7. closing device according to claim 6, which is characterized in that the display unit includes:
Subelement being obtained, when for monitoring the first pressing operation to operation and control interface, obtaining the third of first pressing operation Preset reference amount;
Subelement is shown, described in being shown in the manipulation region when the third preset reference amount is greater than the first preset value First identifier set.
8. closing device according to claim 6, which is characterized in that further include:
Diversity module, for carrying out order of classification to each mark in the first identifier set according to the first preset reference amount;
Described second, which obtains module, includes:
First acquisition unit when for monitoring the pressing operation to operation and control interface, obtains the second default ginseng of the pressing operation It considers;
Second acquisition unit, for the priority from advanced to rudimentary, according to the second preset reference amount from described The mark of corresponding number is selected in one logo collection, to obtain the mark for the application that will keep normal use.
9. a kind of storage medium, which is characterized in that the storage medium stores a plurality of instruction, and a plurality of instruction is suitable for calculating When being run on machine, so that the computer executes the method for closing of the sensor as described in claim 1 to 5 any one.
CN201610379853.XA 2016-05-31 2016-05-31 The method for closing and device of sensor Active CN106095050B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610379853.XA CN106095050B (en) 2016-05-31 2016-05-31 The method for closing and device of sensor
PCT/CN2017/086473 WO2017206876A1 (en) 2016-05-31 2017-05-29 Sensor shutdown method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610379853.XA CN106095050B (en) 2016-05-31 2016-05-31 The method for closing and device of sensor

Publications (2)

Publication Number Publication Date
CN106095050A CN106095050A (en) 2016-11-09
CN106095050B true CN106095050B (en) 2019-02-01

Family

ID=57230626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610379853.XA Active CN106095050B (en) 2016-05-31 2016-05-31 The method for closing and device of sensor

Country Status (2)

Country Link
CN (1) CN106095050B (en)
WO (1) WO2017206876A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095050B (en) * 2016-05-31 2019-02-01 Oppo广东移动通信有限公司 The method for closing and device of sensor

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881910B2 (en) * 2005-05-02 2011-02-01 American Power Conversion Corporation Methods and systems for managing facility power and cooling
CN103179650B (en) * 2011-12-23 2015-11-25 国际商业机器公司 The EMS of the efficient service-oriented example in Internet of Things and method
US9807806B2 (en) * 2014-12-24 2017-10-31 Mediatek Inc. Method for accessing a network in electronic system and associated portable device
CN105302274B (en) * 2015-09-22 2018-12-04 广东欧珀移动通信有限公司 A kind of sensor control method and device
CN105278370B (en) * 2015-09-30 2018-03-20 小米科技有限责任公司 Energy-saving mode open method and device
CN106095050B (en) * 2016-05-31 2019-02-01 Oppo广东移动通信有限公司 The method for closing and device of sensor

Also Published As

Publication number Publication date
CN106095050A (en) 2016-11-09
WO2017206876A1 (en) 2017-12-07

Similar Documents

Publication Publication Date Title
CN104951340A (en) Information processing method and device
CN102681784A (en) Method and device for operating mobile terminal on basis of sensor, and mobile terminal
CN103390127B (en) Application program operation interface exits method, device and terminal
TW201209581A (en) Electronic device having operation mode dynamic adjusting mechanism and method of the same
CN104636240B (en) A kind of acquisition methods and terminal of information report
CN106331254B (en) A kind of protection processing method and processing device that mobile terminal falls
CN106095290B (en) The method for closing and device of sensor call function
CN104575537A (en) Music switching method and user equipment
CN105677533B (en) Application process monitoring method and application process monitoring device
CN105739847A (en) Intelligent electronic device and system and method for awakening screen of intelligent electronic device
CN106096391A (en) Process control method and user terminal
CN104023147B (en) A kind of method and system that make mobile terminal stablize dormancy
CN105159475A (en) Character input method and device
CN106095050B (en) The method for closing and device of sensor
CN104063316B (en) The method of testing and device of a kind of application
CN105224057B (en) A kind of Dynamic Configuration and system of battery of mobile terminal ID
CN105224405B (en) Input mode control method and device
CN106055362B (en) The method for closing and system of sensor calling function
CN103268320A (en) Method and device for storing image
CN108733474A (en) Switching method and device, mobile terminal equipment and readable storage medium
CN105786572B (en) Using installation position selection method and apply installation position selection device
CN104881297A (en) State machine management method and system
CN105867782A (en) Interface zooming method and apparatus as well as terminal device
CN106095049B (en) The method for closing and device of sensor calling function
CN105282718B (en) The predetermined mark methods of exhibiting of mobile network and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant