CN106055362B - The method for closing and system of sensor calling function - Google Patents

The method for closing and system of sensor calling function Download PDF

Info

Publication number
CN106055362B
CN106055362B CN201610379763.0A CN201610379763A CN106055362B CN 106055362 B CN106055362 B CN 106055362B CN 201610379763 A CN201610379763 A CN 201610379763A CN 106055362 B CN106055362 B CN 106055362B
Authority
CN
China
Prior art keywords
sensor
function
calls
pressure value
closing
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.)
Expired - Fee Related
Application number
CN201610379763.0A
Other languages
Chinese (zh)
Other versions
CN106055362A (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 CN201610379763.0A priority Critical patent/CN106055362B/en
Publication of CN106055362A publication Critical patent/CN106055362A/en
Priority to PCT/CN2017/086461 priority patent/WO2017206864A1/en
Application granted granted Critical
Publication of CN106055362B publication Critical patent/CN106055362B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Human Computer Interaction (AREA)

Abstract

The present invention provides the method for closing and system of a kind of sensor calling function, in terminal device, wherein method includes the following steps: pressing operation of the monitoring user to operation and control interface;Obtain the pressure value of the pressing operation;Sensor to be closed, which is obtained, according to the pressure value calls function set;Closing the sensor calls the sensor in function set to call function.The present invention calls function set by obtaining the size for the pressure value that user presses operation and control interface to select to close corresponding sensor, and then it closes corresponding sensor and calls function, to reach the beneficial effect for reducing power consumption, and, it determines that the sensor to be closed calls function set by press pressure value, there is beneficial effect simple to operate.

Description

The method for closing and system of sensor calling function
Technical field
The present invention relates to the communications fields, and the method for closing and system of function are called more particularly to a kind of sensor.
Background technique
In the prior art, user installs various third-party applications in the terminal devices such as mobile phone, but some third parties answer Meeting calling mobile phone hardware, such as various kinds of sensors.In some cases, since user is simultaneously in foreground and running background Multiple third-party applications, and multiple third-party application has invoked multiple sensors respectively and calls functions, and then runs Multiple sensors.The power that will lead to the terminal devices electricity consumption such as mobile phone in this way is too high, when reducing the continuation of the journey of the terminal device Between, affect the usage experience of user.Also, the way of function is called to will affect again if taking and directly closing all the sensors The normal use of user is unfavorable for improving user experience.
Therefore, the prior art is defective, needs to improve.
Summary of the invention
The embodiment of the present invention provides the closing and system of a kind of sensor calling function;Existed with solving existing terminal device Higher using power consumption when multiple sensors simultaneously and direct closing all the sensors call function to will affect user's normal use again The technical issues of.
The embodiment of the present invention provides a kind of method for closing of sensor calling function, is used in terminal device, including following Step:
User is monitored to the pressing operation of operation and control interface;
Obtain the pressure value of the pressing operation;
Sensor to be closed, which is obtained, according to the pressure value calls function set;
Closing the sensor calls the sensor in function set to call function.
In the method for closing that sensor of the present invention calls function, obtained according to the pressure value wait close described Sensor the step of calling function set after, and described close the sensor and call sensor in function set It is further comprising the steps of before the step of calling function:
Currently running Apply Names list is popped up according to the pressing operation;
The application for needing to operate normally is selected from the Apply Names list;
It obtains and calls function using relevant sensor to this, and call function from the biography the relevant sensor Sensor calls function set to remove.
In the method for closing that sensor of the present invention calls function, described popped up according to the pressing operation is applied The step of name list includes:
Obtain the compressing time of the pressing operation;
When the compressing time is greater than the predetermined time, the Apply Names list is popped up.
Sensor of the present invention call function method for closing in, it is described obtained according to the pressure value it is to be closed Sensor call function set the step of include:
When the pressure value is located at first interval, currently running power consumption is greater than to the sensor of the sensor of predetermined value It calls function to be added to sensor to be closed and calls function set;
When the pressure value is located at second interval, the sensor of currently running all the sensors is called into function addition Function set is called to sensor to be closed.
Sensor of the present invention call function method for closing in, it is described obtained according to the pressure value it is to be closed Sensor call function set the step of include:
Sensing when the pressure value is located at first interval, by currently running utilization rate lower than the sensor of predetermined value Device calls function to be added to sensor and calls function set;
When the pressure value is located at second interval, the sensor of currently running all the sensors is called into function addition Function set is called to sensor to be closed.
In the method for closing that sensor of the present invention calls function, pressing of the monitoring user to operation and control interface It is further comprising the steps of before the step of operation:
Detect the electric power or CPU usage of terminal device;
When the electric power or the CPU usage are greater than predetermined value, operation and control interface is popped up.
The present invention also provides the closing systems that a kind of sensor calls function, comprising:
Monitoring modular, for monitoring user to the pressing operation of operation and control interface;
First obtains module, for obtaining the pressure value of the pressing operation;
Second obtains module, calls function set for obtaining sensor to be closed according to the pressure value;
Closedown module calls the sensor in function set to call function for closing the sensor.
In the closing system that sensor of the present invention calls function, further includes:
Pop-up module, for popping up currently running Apply Names list according to the pressing operation;
Selecting module, for selecting the application for needing to operate normally from the Apply Names list;
Remove module, for obtain with this using relevant sensor calling function, and by the relevant sensor tune Function set is called to remove from the sensor with function.
In the closing system that sensor of the present invention calls function, the pop-up module includes:
First acquisition unit, for obtaining the compressing time of the pressing operation;
Unit is popped up, for popping up the Apply Names list when the compressing time is greater than the predetermined time.
In the closing system that sensor of the present invention calls function, the second acquisition module includes:
Second acquisition unit, for currently running utilization rate being lower than pre- when the pressure value is located at first interval The sensor of the sensor of definite value calls function to be added to sensor and calls function set;
Third acquiring unit is used for when the pressure value is located at second interval, by currently running all the sensors Sensor calls function to be added to sensor to be closed and calls function set.
Compared to the prior art, the present invention selects to want by the size of the pressure value of acquisition user's pressing operation and control interface It closes corresponding sensor and calls function set, and then close corresponding sensor and call function, reduce having for power consumption to reach Beneficial effect, also, determine that the sensor to be closed calls function set by press pressure value, it is simple to operate, and keep away Exempt from direct closing all the sensors and calls normal use of the function to influence user to terminal device.
Detailed description of the invention
Fig. 1 is the flow chart of the first preferred embodiment for the method for closing that sensor of the invention calls function;
Fig. 2 is the flow chart of the second preferred embodiment of the method for closing that sensor of the invention calls function;
Fig. 3 is the structure chart of the first preferred embodiment for the closing system that sensor of the invention calls function;
Fig. 4 is the structure chart of the second preferred embodiment of the closing system that sensor of the invention calls function.
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 process of the first preferred embodiment for the method for closing that sensor of the invention calls function Figure.This method is mainly used in the mobile terminal devices such as mobile phone, PAD, and the sensor of this preferred embodiment calls the closing of function Method the following steps are included:
S101, pressing operation of the monitoring user to operation and control interface;
S102 obtains the pressure value of the pressing operation;
S103 obtains sensor to be closed according to the pressure value and calls function set;
S104 closes the sensor and the sensor in function set is called to call function.
The following detailed description of the detailed process of each step of the method for closing of the sensor calling function of this preferred embodiment.
In step s101, it when the CPU usage of the terminal device is excessively high or electric power is excessively high, is set in the terminal Operation and control interface is popped up on standby screen, then, pressing operation of the real-time monitoring user to the operation and control interface.
In step s 102, it since the display screen of the terminal device uses pressure touch technology, is configured in screen quadrangle Force sensor, can perceive pressing dynamics.When obtaining the pressure value of the pressing operation, in order to avoid maloperation, Need to filter out unnecessary interference pressing, therefore, when detecting pressing operation, the pressure value needs for the pressing operation to be obtained are Pressing operation more than predetermined hold-time section is for example, at least 1 second or more, for those it is of short duration be, for example, less than 1 second by Press operation is filtered out as maloperation.
In step s 103, function is called to be divided into two classes all sensors according to scheduled rule, for example, according to Power consumption divides, and the sensor that will run the sensor that power consumption number is greater than predetermined value calls function to be divided into the first kind, will run The sensor that power consumption number is less than the sensor of predetermined value calls function to be divided into the second class.When the pressure for getting the secondary pressing operation After force value, according to the size of the pressure value, selection calls the sensor of currently running sensor in function, will belong to the A kind of sensor calls function to be added to sensor to be closed and calls function set, or will belong to the first kind and second The sensor of class calls function to be all added to sensor to be closed and calls function set.
Therefore, step S103 specifically includes following sub-step:
Currently running power consumption is greater than the sensor of predetermined value when the pressure value is located at first interval by S1031 Sensor calls function to be added to sensor to be closed and calls function set;
The sensor of currently running all the sensors is called letter when the pressure value is located at second interval by S1032 Number is added to sensor to be closed and calls function set.
In step S1031, which can be 0.20 N of 0.05 wild marjoram, when the pressure value is located in the section When, it calls function to be added to the sensor to be closed the sensor of the first kind divided according to power consumption and calls function set In.
In step S1032, which can be 0.50 N of 0.20 wild marjoram, when the pressure value is located in the section When, the sensor of the first kind divided according to power consumption and the second class calling function is added to the sensor tune to be closed With in function set.
Or divided according to utilization rate, call function to be divided into the first kind sensor that utilization rate is less than predetermined value, Function is called to be divided into the second class the sensor that utilization rate is greater than predetermined value, the calculating of the utilization rate can be for weekly or often The number of function is called within a month using the sensor.Therefore, step S103 specifically includes following sub-step:
Currently running utilization rate is lower than the sensor of predetermined value when the pressure value is located at first interval by S1033 Sensor call function be added to sensor call function set;
The sensor of currently running all the sensors is called letter when the pressure value is located at second interval by S1034 Number is added to sensor to be closed and calls function set.
In step S1033, which can be 0.20 N of 0.05 wild marjoram, when the pressure value is located in the section When, it calls function to be added to the sensor to be closed the sensor of the first kind divided according to utilization rate and calls function set In.
In step S1034, which can be 0.50 N of 0.20 wild marjoram, when the pressure value is located in the section When, the sensor of the first kind divided according to utilization rate and the second class calling function is added to the sensor to be closed It calls in function set.
It is to be appreciated that the percentage that all the sensors use total degree can also be accounted for according to each sensor access times It divides, calls function to be divided into the first kind sensor that access times percentage is less than the sensor of predetermined value, it will The sensor that access times percentage is higher than the sensor of predetermined value calls function to be divided into the second class.
In step S104, after getting the sensor calling function set wait close, by the sensor in the set Function is called to close, to close corresponding sensor.
In the present embodiment, corresponding to select to close by obtaining the size for the pressure value that user presses operation and control interface Sensor calls function set, and then closes corresponding sensor and call function, to reach the beneficial effect for reducing power consumption, and And determine that the sensor to be closed calls function set by press pressure value, there is beneficial effect simple to operate.
Embodiment two
Referring to figure 2., Fig. 2 is the process of the second preferred embodiment of the method for closing that sensor of the invention calls function Figure.Wherein, this preferred embodiment sensor call function method for closing the following steps are included:
S201, pressing operation of the monitoring user to operation and control interface;
S202 obtains the pressure value of the pressing operation;
S203 obtains sensor to be closed according to the pressure value and calls function set;
S204 pops up currently running Apply Names list according to the pressing operation;
S205 selects the application for needing to operate normally from the Apply Names list;
S206 is obtained and is called function using relevant sensor with this, and by the relevant sensor calling function from The sensor calls function set to remove.
S207 closes the sensor and the sensor in function set is called to call function.
The following detailed description of the detailed process of each step of the method for updating terminal software of this preferred embodiment.
In step s 201, it when the CPU usage of the terminal device is excessively high or electric power is excessively high, is set in the terminal Operation and control interface is popped up on standby screen, then, pressing operation of the real-time monitoring user to the operation and control interface.
In step S202, since the display screen of the terminal device uses pressure touch technology, configured in screen quadrangle Force sensor, can perceive pressing dynamics.When obtaining the pressure value of the pressing operation, in order to avoid maloperation, Need to filter out unnecessary interference pressing, therefore, when detecting pressing operation, the pressure value needs for the pressing operation to be obtained are Pressing operation more than predetermined hold-time section is for example, at least 1 second or more, for those it is of short duration be, for example, less than 1 second by Press operation is filtered out as maloperation.
In step 203, function is called to be divided into two classes all sensors according to scheduled rule, for example, according to Power consumption divides, and the sensor that will run the sensor that power consumption number is greater than predetermined value calls function to be divided into the first kind, will run The sensor that power consumption number is less than the sensor of predetermined value calls function to be divided into the second class.When the pressure for getting the secondary pressing operation After force value, according to the size of the pressure value, selection calls the sensor of currently running sensor in function, will belong to the A kind of sensor calls function to be added to sensor to be closed and calls function set, or will belong to the first kind and second The sensor of class calls function to be all added to sensor to be closed and calls function set.
Therefore, step S203 specifically includes following sub-step:
Currently running power consumption is greater than the sensor of predetermined value when the pressure value is located at first interval by S2031 Sensor calls function to be added to sensor to be closed and calls function set;
The sensor of currently running all the sensors is called letter when the pressure value is located at second interval by S2032 Number is added to sensor to be closed and calls function set.
In step S2031, which can be 0.20 N of 0.05 wild marjoram, when the pressure value is located in the section When, it calls function to be added to the sensor to be closed the sensor of the first kind divided according to power consumption and calls function set In.
In step S2032, which can be 0.50 N of 0.20 wild marjoram, when the pressure value is located in the section When, the sensor of the first kind divided according to power consumption and the second class calling function is added to the sensor tune to be closed With in function set.
Or divided according to utilization rate, call function to be divided into the first kind sensor that utilization rate is less than predetermined value, Function is called to be divided into the second class the sensor that utilization rate is greater than predetermined value, the calculating of the utilization rate can be for weekly or often The number of function is called within a month using the sensor.Therefore, step S103 specifically includes following sub-step:
Currently running utilization rate is lower than the sensor of predetermined value when the pressure value is located at first interval by S2033 Sensor call function be added to sensor call function set;
The sensor of currently running all the sensors is called letter when the pressure value is located at second interval by S2034 Number is added to sensor to be closed and calls function set.
In step S2033, which can be 0.20 N of 0.05 wild marjoram, when the pressure value is located in the section When, it calls function to be added to the sensor to be closed the sensor of the first kind divided according to utilization rate and calls function set In.
In step S2034, which can be 0.50 N of 0.20 wild marjoram, when the pressure value is located in the section When, the sensor of the first kind divided according to utilization rate and the second class calling function is added to the sensor to be closed It calls in function set.
In step S204, determined whether to pop up currently running Apply Names according to a certain characteristic of pressing operation List.For example, can be according to the compressing time of the pressing operation.Therefore, step S204 includes following sub-step:
S2041 obtains the compressing time of the pressing operation;
S2042 pops up the Apply Names list when the compressing time is greater than the predetermined time.
In step S2041, start timing when monitoring that the operation and control interface has pressing, until pressing terminates.Also, If effective time is not achieved in the time of the secondary pressing, to directly ignore the secondary pressing when the secondary pressing is judged as maloperation Operation, without being judged.
In step S2042, which is set as 2 seconds or 3 seconds, when pushed between be greater than the predetermined time when, The automatic spring Apply Names list enumerates the title for all applications being currently running in the Apply Names list, when When the compressing time is less than the predetermined time, the Apply Names list is not popped up.
In step S205, if due to all sensings directly closed in sensor calling function set to be closed Device calls function, it is possible to influence whether the function of current user's needs and application currently in use, therefore, it is necessary to will answer with this It calls function to call in function set from the sensor to be closed with the sensor for the sensor that is mutually related to remove.To not Influence the normal use of user.Selection needs the mode of the function of the application of normal use to have following two:
It chooses manually, user presses and then selects the application of the needs normal use, and terminal device obtains this and is used to screen Pressing operation to will need normal use application select.
Automatic to choose, terminal device detects the foreground application being currently running automatically, and the foreground application is determined as User currently needs the application of normal use.
In step S206, in the terminal device, pre-saves each application and be associated with reflecting for sensor List is penetrated, after selecting needs application to be used, finds out corresponding sensing from the map listing according to the Apply Names Device needs to call the sensor removed in function set to call function from the sensor to be closed to obtain.
In step S207, function set is called when getting sensor to be closed, and sensor to be used will be needed After calling function to remove from this collection, function is called to close the remaining sensor in the set, to close correspondence Sensor
It is to be appreciated that the percentage that all the sensors use total degree can also be accounted for according to each sensor access times It divides, calls function to be divided into the first kind sensor that access times percentage is less than the sensor of predetermined value, it will The sensor that access times percentage is higher than the sensor of predetermined value calls function to be divided into the second class.Further, exist It is further comprising the steps of before step S201:
Detect the electric power or CPU usage of terminal device;
When the electric power or the CPU usage are greater than predetermined value, operation and control interface is popped up.
Automatic and intelligent control is realized by the step, has the effect of improving user experience.
In the present embodiment, by the way that the sensor of sensor associated by application to be used will be needed to call function from wait close The sensor closed calls to be removed in function set, has the essence for further increasing and calling function for the sensor to be closed of selection True property, is conducive to further increase user experience.
Embodiment three
Referring to figure 3., Fig. 3 is the structure of the first preferred embodiment for the closing system that sensor of the invention calls function Figure.It includes: that monitoring modular 301, first obtains module 302, that the sensor of this preferred embodiment, which calls the closing system of function, Two obtain module 303 and closedown module 304.
Wherein, monitoring modular 301 is for monitoring user to the pressing operation of operation and control interface.When the CPU of the terminal device makes It is excessively high or when electric power is excessively high with rate, operation and control interface is popped up on the screen of the terminal device, then, real-time monitoring user To the pressing operation of the operation and control interface.
First acquisition module 302 is used to obtain the pressure value of the pressing operation.Since the display screen of the terminal device is adopted With pressure touch technology, it is configured with force sensor in screen quadrangle, pressing dynamics can be perceived.Obtain the pressing When the pressure value of operation, in order to avoid maloperation, need to filter out unnecessary interference pressing, therefore, when detecting pressing operation, The pressure value for the pressing operation to be obtained need be predetermined hold-time section or more pressing operation, be for example, at least 1 second or more, Of short duration for those is, for example, less than 1 second pressing operation, is filtered out as maloperation.
Second acquisition module 303, which is used to obtain sensor to be closed according to the pressure value, calls function set.
Closedown module 304 calls the sensor in function set to call function for closure sensor.Wherein, when getting After sensor wait close calls function set, function is called to close the sensor in the set, to close corresponding biography Sensor.
Specifically, function can be called to be divided into two classes all sensors according to scheduled rule, for example, according to function Consumption calls function to be divided into the first kind to divide, by the sensor for running the sensor that power consumption number is greater than predetermined value, will run function The sensor that consumption value is less than the sensor of predetermined value calls function to be divided into the second class.When the pressure for getting the secondary pressing operation After value, according to the size of the pressure value, selection calls the sensor of currently running sensor in function, will belong to first The sensor of class calls function to be added to sensor to be closed and calls function set, or will belong to the first kind and the second class Sensor call function to be all added to sensor to be closed to call function set.
Therefore, which specifically includes second acquisition unit and third acquiring unit.
Wherein, which is used for when the pressure value is located at first interval, and currently running power consumption is big It calls function to be added to sensor to be closed in the sensor of the sensor of predetermined value and calls function set.The first interval can 0.20 N of 0.05 wild marjoram is thought, when the pressure value is located in the section, by the sensor tune of the first kind divided according to power consumption It is added to the sensor to be closed with function to call in function set.
Third acquiring unit is used for when the pressure value is located at second interval, by the biography of currently running all the sensors Sensor calls function to be added to sensor to be closed and calls function set.The second interval can be 0.50 N of 0.20 wild marjoram, When the pressure value is located in the section, the sensor of the first kind divided according to power consumption and the second class calling function is added The sensor to be closed is added to call in function set.
Or divided according to utilization rate, call function to be divided into the first kind sensor that utilization rate is less than predetermined value, Function is called to be divided into the second class the sensor that utilization rate is greater than predetermined value, the calculating of the utilization rate can be for weekly or often The number of function is called within a month using the sensor.Therefore, the second acquisition specific 4th acquiring unit of module 303 and the 5th Acquiring unit.
Wherein, the 4th acquiring unit is used for when the pressure value is located at first interval, by currently running utilization rate Sensor lower than the sensor of predetermined value calls function to be added to sensor calling function set;The first interval can be 0.05 0.20 N of wild marjoram calls the sensor of the first kind divided according to utilization rate when the pressure value is located in the section Function is added to the sensor to be closed and calls in function set.
5th acquiring unit is used for when the pressure value is located at second interval, by currently running all the sensors Sensor calls function to be added to sensor to be closed and calls function set.The second interval can be 0.20 wild marjoram 0.50 The sensor of the first kind divided according to utilization rate and the second class is called letter when the pressure value is located in the section by ox Number is added to the sensor to be closed and calls in function set.
It is to be appreciated that the percentage that all the sensors use total degree can also be accounted for according to each sensor access times It divides, calls function to be divided into the first kind sensor that access times percentage is less than the sensor of predetermined value, it will The sensor that access times percentage is higher than the sensor of predetermined value calls function to be divided into the second class.
In the present embodiment, corresponding to select to close by obtaining the size for the pressure value that user presses operation and control interface Sensor calls function set, and then closes corresponding sensor and call function, to reach the beneficial effect for reducing power consumption, and And determine that the sensor to be closed calls function set by press pressure value, there is beneficial effect simple to operate.
Example IV
Referring to figure 4., Fig. 4 is the structure of the second preferred embodiment of the closing system that sensor of the invention calls function Figure.This preferred embodiment sensor call function closing system include: monitoring modular 401, first obtain module 402, Second obtains module 403, pop-up module 404, selecting module 405, remove module 406 and closedown module 407.
Wherein, monitoring modular 401 is for monitoring user to the pressing operation of operation and control interface.
First acquisition module 402 is used to obtain the pressure value of the pressing operation.
Second acquisition module 403, which is used to obtain sensor to be closed according to the pressure value, calls function set.
Pop-up module 404 is used to pop up currently running Apply Names list according to the pressing operation;
Selecting module 405 is used to select the application for needing to operate normally from the Apply Names list;
Remove module 406 for obtain with this using relevant sensor calling function, and by the relevant sensor Function is called to call function set to remove from the sensor.
Closedown module 407 is used to call the sensor in function set to call function for closure sensor.Wherein, when obtaining After getting the sensor calling function set wait close, function is called to close the sensor in the set, to close correspondence Sensor.
Specifically, which includes first acquisition unit and pop-up unit.
Wherein, which is used to obtain the compressing time of the pressing operation;Monitoring the operation and control interface Start timing when having pressing, until pressing terminates.If also, effective time is not achieved in the time of the secondary pressing, so that this time is pressed When pressure is judged as maloperation, directly ignore the secondary pressing operation, without being judged.
Unit is popped up to be used to pop up the Apply Names list when the compressing time is greater than the predetermined time.This is predetermined Time is set as 2 seconds or 3 seconds, when pushed between be greater than the predetermined time when, the automatic spring Apply Names list, the application name Claim to enumerate the titles of all applications being currently running in list, when the compressing time is less than the predetermined time, not bullet The Apply Names list out.
If calling all the sensors in function set to call function due to directly closing the sensor to be closed, have It may influence whether the function of current user's needs and application currently in use, therefore, it is necessary to will be mutually related with the application The sensor of sensor calls function to call in function set from the sensor to be closed and removes.To not influence user just It is often used.The selecting module 405 selection needs the mode of the function of the application of normal use to have following two:
It chooses manually, user presses and then selects the application of the needs normal use, and terminal device obtains this and is used to screen Pressing operation to will need normal use application select.
Automatic to choose, terminal device detects the foreground application being currently running automatically, and the foreground application is determined as User currently needs the application of normal use.
In the terminal device, pre-saves each application and be associated with the map listing of sensor, work as selection After needing application to be used out, corresponding sensor is found out from the map listing according to the Apply Names, so that obtaining needs The sensor removed in function set is called to call function from the sensor to be closed.
In the present embodiment, by the way that the sensor of sensor associated by application to be used will be needed to call function from wait close The sensor closed calls to be removed in function set, has the essence for further increasing and calling function for the sensor to be closed of selection True property, is conducive to further increase 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 sensor calls the method for closing of function, in terminal device, which comprises the following steps:
User is monitored to the pressing operation of operation and control interface;
Obtain the pressure value of the pressing operation;
Sensor to be closed, which is obtained, according to the pressure value calls function set;
Currently running Apply Names list is popped up according to the pressing operation;
The application for needing to operate normally is selected from the Apply Names list;
It obtains and calls function using relevant sensor to this, and call function from the sensor the relevant sensor It calls and is removed in function set;
Closing the sensor calls the sensor in function set to call function.
2. the method for closing that sensor according to claim 1 calls function, which is characterized in that described according to the pressing Operating the step of popping up Apply Names list includes:
Obtain the compressing time of the pressing operation;
When the compressing time is greater than the predetermined time, the Apply Names list is popped up.
3. the method for closing that sensor according to claim 1 calls function, which is characterized in that described according to the pressure value Obtaining the step of sensor to be closed calls function set includes:
When the pressure value is located at first interval, the sensor that currently running power consumption is greater than the sensor of predetermined value is called Function is added to sensor to be closed and calls function set;
When the pressure value is located at second interval, by the sensors of currently running all the sensors call function be added to The sensor of closing calls function set.
4. the method for closing that sensor according to claim 1 calls function, which is characterized in that described according to the pressure value Obtaining the step of sensor to be closed calls function set includes:
Sensor tune when the pressure value is located at first interval, by currently running utilization rate lower than the sensor of predetermined value It is added to sensor with function and calls function set;
When the pressure value is located at second interval, by the sensors of currently running all the sensors call function be added to The sensor of closing calls function set.
5. the method for closing that sensor according to claim 1 calls function, which is characterized in that the monitoring user is to behaviour It is further comprising the steps of before the step of controlling the pressing operation at interface:
Detect the electric power or CPU usage of terminal device;
When the electric power or the CPU usage are greater than predetermined value, operation and control interface is popped up.
6. the closing system that a kind of sensor calls function characterized by comprising
Monitoring modular, for monitoring user to the pressing operation of operation and control interface;
First obtains module, for obtaining the pressure value of the pressing operation;
Second obtains module, calls function set for obtaining sensor to be closed according to the pressure value;
Pop-up module, for popping up currently running Apply Names list according to the pressing operation;
Selecting module, for selecting the application for needing to operate normally from the Apply Names list;
Remove module calls function using relevant sensor to this for obtaining, and the relevant sensor is called letter Number calls function set to remove from the sensor;
Closedown module calls the sensor in function set to call function for closing the sensor.
7. the closing system that sensor according to claim 6 calls function, which is characterized in that the pop-up module packet It includes:
First acquisition unit, for obtaining the compressing time of the pressing operation;
Unit is popped up, for popping up the Apply Names list when the compressing time is greater than the predetermined time.
8. the closing system that sensor according to claim 6 calls function, which is characterized in that described second obtains module Include:
Second acquisition unit, for when the pressure value is located at first interval, currently running utilization rate to be lower than predetermined value Sensor sensor call function be added to sensor call function set;
Third acquiring unit is used for when the pressure value is located at second interval, by the sensing of currently running all the sensors Device calls function to be added to sensor to be closed and calls function set.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers When operation, so that the computer executes sensor described in any one of claim 1 to 5 such as and calls the method for closing of function.
CN201610379763.0A 2016-05-31 2016-05-31 The method for closing and system of sensor calling function Expired - Fee Related CN106055362B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610379763.0A CN106055362B (en) 2016-05-31 2016-05-31 The method for closing and system of sensor calling function
PCT/CN2017/086461 WO2017206864A1 (en) 2016-05-31 2017-05-29 Sensor calling function shutdown method and system, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610379763.0A CN106055362B (en) 2016-05-31 2016-05-31 The method for closing and system of sensor calling function

Publications (2)

Publication Number Publication Date
CN106055362A CN106055362A (en) 2016-10-26
CN106055362B true CN106055362B (en) 2019-05-17

Family

ID=57171709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610379763.0A Expired - Fee Related CN106055362B (en) 2016-05-31 2016-05-31 The method for closing and system of sensor calling function

Country Status (2)

Country Link
CN (1) CN106055362B (en)
WO (1) WO2017206864A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020908B (en) * 2016-05-31 2019-04-12 Oppo广东移动通信有限公司 A kind of function method for closing and device
CN106055362B (en) * 2016-05-31 2019-05-17 Oppo广东移动通信有限公司 The method for closing and system of sensor calling function

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation
CN105425934A (en) * 2014-07-16 2016-03-23 联发科技股份有限公司 Power-saving method and associated electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841786B (en) * 2011-06-24 2015-07-29 国基电子(上海)有限公司 The method of electronic equipment and setting process priority thereof
CN104735233B (en) * 2013-12-18 2017-08-25 中国移动通信集团公司 A kind of screen control method and device
CN105373405B (en) * 2015-11-26 2019-05-10 努比亚技术有限公司 The device and method of dynamically load application program
CN106055362B (en) * 2016-05-31 2019-05-17 Oppo广东移动通信有限公司 The method for closing and system of sensor calling function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation
CN105425934A (en) * 2014-07-16 2016-03-23 联发科技股份有限公司 Power-saving method and associated electronic device

Also Published As

Publication number Publication date
CN106055362A (en) 2016-10-26
WO2017206864A1 (en) 2017-12-07

Similar Documents

Publication Publication Date Title
CN104866526B (en) Intelligent terminal and method for recommending application program
CN107844189A (en) A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN104932963B (en) The method and device of management terminal
CN107622483A (en) A kind of image combining method and terminal
CN106775838A (en) Plug-in unitization downloads the method and system of application program installation kit
CN106055362B (en) The method for closing and system of sensor calling function
CN105487635A (en) Management method of applications running in background, and terminal
CN107404576A (en) Screen locking magazine browsing method, mobile terminal and computer-readable recording medium
CN109582385A (en) Application program launching method and device, storage medium and electronic equipment
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN104636240A (en) Method for acquiring information report and terminal
CN104572394A (en) Process monitoring method and device
CN106095290B (en) The method for closing and device of sensor call function
CN112099701A (en) Application icon processing method and device, storage medium and processor
CN106650409B (en) A kind of terminal control method and terminal
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN110222315A (en) A kind of data statistical approach, system and electronic equipment and storage medium
CN106502647A (en) A kind of method of split screen application compatible processing and terminal
CN105786572B (en) Using installation position selection method and apply installation position selection device
CN105549857A (en) Control method for electronic terminal and electronic terminal
CN105573610A (en) Spreadsheet operation methods and apparatuses
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN106776135A (en) A kind of data back up method and device
CN108984024B (en) Touch operation method and device, storage medium and electronic equipment
CN107918550A (en) A kind of method for USB device history service condition of auditing under linux system

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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190517