CN105607724A - Terminal control method and terminal - Google Patents

Terminal control method and terminal Download PDF

Info

Publication number
CN105607724A
CN105607724A CN201510968217.6A CN201510968217A CN105607724A CN 105607724 A CN105607724 A CN 105607724A CN 201510968217 A CN201510968217 A CN 201510968217A CN 105607724 A CN105607724 A CN 105607724A
Authority
CN
China
Prior art keywords
checkout gear
collection period
terminal
data
collection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510968217.6A
Other languages
Chinese (zh)
Inventor
李海林
胡平
谢振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510968217.6A priority Critical patent/CN105607724A/en
Publication of CN105607724A publication Critical patent/CN105607724A/en
Pending legal-status Critical Current

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
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Abstract

Embodiments of the invention provide a terminal control method and a terminal. The method comprises the steps of obtaining detection data acquired by a detection apparatus of the terminal and obtaining a first acquisition period currently adopted by the detection apparatus; when the detection data meets a preset condition, expanding the first acquisition period to a second acquisition period; and controlling the detection apparatus to perform data acquisition according to the second acquisition period. With the adoption of the method, the data acquisition period of the detection apparatus can be dynamically adjusted, so that the battery life of the terminal is prolonged.

Description

A kind of terminal control method and terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of terminal control method and terminal.
Background technology
Along with the development of the communication technology and electronic technology, intelligent terminal (for example: mobile phone, flat board, intelligenceEnergy bracelet etc.) closely bound up with daily life, its function is more and more and more and more intelligent,Can in without manually operated situation, realize partial function, for example, screen automatic rotation function, screenAutomatic brightness adjustment function etc. But, this class function be sensor checkout gear by terminal constantlyImage data realizes, if long continuous collecting data can increase the power consumption of terminal, has reducedThe flying power of terminal.
Summary of the invention
The embodiment of the present invention provides a kind of terminal control method and terminal, number that can dynamic adjustments checkout gearAccording to collection period.
Embodiment of the present invention first aspect provides a kind of terminal control method, comprising:
Obtain the detection data that the checkout gear of terminal gathers, and obtain the current employing of described checkout gearThe first collection period;
When described detection data meet when pre-conditioned, described the first collection period is extended to the second collection weekPhase;
Control described checkout gear and carry out data acquisition according to described the second collection period.
Embodiment of the present invention second aspect provides a kind of terminal, comprising:
Data capture unit, the detection data that gather for obtaining the checkout gear of terminal;
Cycle acquiring unit, also for obtaining the first collection period of the current employing of described checkout gear;
Cycle expanding unit, when pre-conditioned for meeting when described detection data, gathers week by described firstPhase is extended to the second collection period;
Control module, carries out data acquisition for controlling described checkout gear according to described the second collection period.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, controls checkout gear and carries out data acquisition according to the second collection period.The data collection cycle of the detection Data Dynamic adjusting detecting device that can gather according to checkout gear.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, institute in describing embodiment belowNeed the accompanying drawing using to be briefly described, apparently, the accompanying drawing in the following describes is of the present invention oneA little embodiment, for those of ordinary skill in the art, are not paying under the prerequisite of creative work, alsoCan obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of terminal control method of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of terminal control method that provides of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another terminal control method of providing of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of terminal of providing of the embodiment of the present invention;
Fig. 5 is the structural representation of the another kind of terminal that provides of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of terminal of providing of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, intactly description, obviously, described embodiment is the present invention's part embodiment, instead of allEmbodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not paying creative laborThe every other embodiment obtaining under moving prerequisite, belongs to the scope of protection of the invention.
The terminal control method that the embodiment of the present invention provides and terminal can be applied to the control scene to mobile phoneIn, for example: obtain the detection data that the checkout gear of mobile phone gathers, and obtain that checkout gear is current to be adoptedWith the first collection period, meet when pre-conditioned when detecting data, the first collection period is extended to secondCollection period, controls checkout gear and carries out data acquisition according to the second collection period. Can be according to checkout gearThe data collection cycle of the detection Data Dynamic adjusting detecting device gathering, and then the continuation of the journey that has improved mobile phoneAbility.
The terminal that the embodiment of the present invention relates to can be any equipment that possesses communication and memory function, for example:Panel computer, mobile phone, electronic reader, remote controller, personal computer (PersonalComputer, PC),Notebook computer, mobile unit, Web TV, wearable device etc. have the smart machine of network function.
Below in conjunction with accompanying drawing 1-accompanying drawing 3, the terminal control method that the embodiment of the present invention is provided is situated between in detailContinue.
Refer to Fig. 1, for the embodiment of the present invention provides a kind of schematic flow sheet of terminal control method. As figureShown in 1, the described method of the embodiment of the present invention can comprise the following steps S101-step S103.
S101, obtains the detection data that the checkout gear of terminal gathers, and obtains described checkout gear and work asThe first collection period of front employing.
Concrete, terminal is obtained the detection data that the checkout gear of terminal gathers. Wherein, described detection dressPutting can be any one checkout gear of terminal inner, and checkout gear can be about luminous intensity, terminal rotatingThe checkout gear of direction and angle, terminal screen show state etc., for example optical sensor collection light intensity valueThe data of data, gravity sensor acquisition terminal direction of rotation etc. The inspection that is getting checkout gear and gatherAfter surveying data, described terminal is obtained the first collection period of the current employing of described checkout gear. Described firstCollection period can be the time interval of the acquisition testing data of described checkout gear acquiescence, can be also by instituteState the time interval of the acquisition testing data of terminal setting.
S102, when described detection data meet when pre-conditioned, is extended to second by described the first collection periodCollection period.
Concrete, when described detection data meet when pre-conditioned, described terminal is by described the first collection periodBe extended to the second collection period. In optional scheme, described pre-conditioned can referring to by described checkout gearThe amplitude of variation of detection data gathering is less, illustrate terminal within a period of time in metastableEnvironment or state, described terminal can expand collection period to reduce the times of collection in the unit interval; Or,Refer to that the detection data that gathered by described checkout gear do not exceed predetermined threshold value, described predetermined threshold value is to represent inspectionSurvey device and adjust the threshold value of collection period, predetermined threshold value can be set voluntarily by described terminal. The invention processThe specific implementation that in example, described the first collection period is extended to the second collection period can be according to default ratioExample expands, and can be also in the data collection cycle of a default N quantity, and the first collection period is expandedTo second collection period larger than described the first collection period. In feasible scheme, if described terminal settingThe maximum collection period of checkout gear, before described the first collection period is extended to the second collection period,Judge whether described the first collection period is maximum collection period, does not if so, carry out the step of expansion, andControlling described checkout gear continues to carry out data acquisition according to the first collection period; If not, described in execution is incited somebody to actionThe first collection period is extended to the step of the second collection period.
S103, controls described checkout gear and carries out data acquisition according to described the second collection period.
Concrete, checkout gear carries out data acquisition according to described the second collection period described in described terminal control.In optional scheme, after the described checkout gear of control carries out data acquisition according to described the second collection period,Described terminal can continue to obtain the detection data that described checkout gear gathers, with Real-Time Monitoring checkout gear,For example, the detection data that described terminal can gather according to checkout gear described in Preset Time interval acquiring. ThisSample can dynamic adjustments checkout gear data collection cycle, and then improved the flying power of terminal.
It should be noted that, in the embodiment of the present invention, use collection period to represent the acquisition testing number of checkout gearAccording to the time interval, or can use frequency acquisition to represent the times of collection in unit interval of checkout gear,It is equivalent in meaning that both express, and in embodiments of the present invention this do not limited.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, controls checkout gear and carries out data acquisition according to the second collection period.The data collection cycle of the detection Data Dynamic adjusting detecting device that can gather according to checkout gear, and thenImprove the flying power of terminal.
Refer to Fig. 2, for the embodiment of the present invention provides the schematic flow sheet of another kind of terminal control method. AsShown in Fig. 2, the described method of the embodiment of the present invention can comprise the following steps S201-step S206.
S201, at least two of checkout gear continuous acquisition that obtain terminal are detected data.
Concrete, in the time that described checkout gear is optical sensor or gravity sensor, described terminal is obtained detectionAt least two of device continuous acquisition are detected data. For example, described terminal is obtained optical sensor continuous acquisitionAt least two light intensity value; Or described terminal is obtained at least two terminals of gravity sensor continuous acquisitionAngle with gravity direction.
S202, obtains the first collection period of the current employing of described checkout gear.
Concrete, described terminal is obtained the first collection period of the current employing of described checkout gear. Described firstCollection period can be the time interval of the acquisition testing data of described checkout gear acquiescence, can be also by instituteState the time interval of the acquisition testing data of terminal setting.
S203, at least two are detected any two absolute values that detect the difference of data in data and are described in judgementThe no predetermined threshold value that is less than.
Concrete, at least two are detected any two differences that detect data in data described in described terminal judgesAbsolute value whether be less than predetermined threshold value, in order to determine the variation of the detection data that gathered by described checkout gearAmplitude. When judged result is when being, illustrate that terminal is in metastable luminous intensity within a period of timeEnvironment in, or there is not variation by a relatively large margin in the angle of terminal and gravity direction within a period of time,Perform step S204; When judged result is while being no, illustrate that terminal is in unstable within a period of timeThe environment of luminous intensity in, or the angle of terminal and gravity direction has occurred more significantly within a period of timeThe variation of degree, performs step S206.
S204, is extended to the second collection period by described the first collection period.
Concrete, when described at least two absolute values that detect any two differences that detect data in data littleIn the time of predetermined threshold value, described the first collection period is extended to the second collection period by described terminal. The present invention is realExecute in example, described the first collection period is extended to the specific implementation of the second collection period can be according to defaultRatio expands, and can be also in the data collection cycle of a default N quantity, and the first collection period is expandedLarge to second collection period larger than described the first collection period. In feasible scheme, if described terminal is establishedPut the maximum collection period of checkout gear, described the first collection period is extended to the second collection period itBefore, judge whether described the first collection period is maximum collection period, does not if so, carry out the step of expansion,And control described checkout gear and continue to carry out data acquisition according to the first collection period; If not, carry out instituteState the step that the first collection period is extended to the second collection period.
S205, controls described checkout gear and carries out data acquisition according to described the second collection period.
Concrete, checkout gear carries out data acquisition according to described the second collection period described in described terminal control.In optional scheme, after the described checkout gear of control carries out data acquisition according to described the second collection period,Described terminal can continue to obtain at least two detection data of checkout gear continuous acquisition, detects with Real-Time MonitoringDevice, for example, the detection number that described terminal can gather according to checkout gear described in Preset Time interval acquiringAccording to. Data collection cycle that like this can dynamic adjustments checkout gear, and then improved the flying power of terminal.
S206, is contracted to the 3rd collection period by described the first collection period, and controls described checkout gear and pressCarry out data acquisition according to described the 3rd collection period.
Concrete, when described at least two absolute values that detect any two differences that detect data in data notWhile being less than predetermined threshold value, described the first collection period is contracted to the 3rd collection period by described terminal, and controlDescribed checkout gear carries out data acquisition according to described the 3rd collection period. In the embodiment of the present invention by describedOne collection period is contracted to the specific implementation of the 3rd collection period and can dwindles according to preset ratio, also canTo be in the data collection cycle of a default N quantity, the first collection period is contracted to than described firstThe 3rd collection period that collection period is little. In feasible scheme, if described terminal is provided with checkout gearMinimum collection period, before described the first collection period is contracted to the 3rd collection period, judges described theWhether one collection period is minimum collection period, does not if so, carry out the step of dwindling, and controls described inspectionSurveying device continues to carry out data acquisition according to the first collection period; If not, carry out and gather week by described firstPhase is contracted to the step of the 3rd collection period.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, and control checkout gear and carry out data acquisition according to the second collection period,Do not meet when pre-conditioned when detecting data, the first collection period is contracted to the 3rd collection period, and controlsCheckout gear carries out data acquisition according to the 3rd collection period. The inspection that can gather according to checkout gear like thisSurvey the data collection cycle of Data Dynamic adjusting detecting device, improve the flying power of terminal, and then improvedIntelligent and the convenience of terminal.
Refer to Fig. 3, for the embodiment of the present invention provides the schematic flow sheet of another kind of terminal control method. AsShown in Fig. 3, the described method of the embodiment of the present invention can comprise the following steps S301-step S304.
S301, obtains the detection data that the checkout gear of terminal gathers, when described checkout gear is screen shapeWhen state checkout gear, described detection data comprise screen state data and environmental data, described environmental data bagDraw together temperature value and the humidity value of the current environment of living in of described terminal.
Concrete, in the time that described checkout gear is screen state checkout gear, terminal is obtained checkout gear and is adoptedThe detection data of collection, wherein, described detection data comprise screen state data and environmental data, described screenStatus data comprises that can screen normal display data, and described environmental data comprises the current ring of living in of described terminalThe temperature value in border and humidity value. Described environmental data can pass through interconnection network, obtains described terminal seatThe environmental data of reason position, can also obtain the current institute of described terminal by temperature sensor and humidity sensorTemperature value and the humidity value of place's environment.
S302, obtains the first collection period of the current employing of described checkout gear.
Concrete, described terminal is obtained the first collection period of the current employing of described checkout gear. Described firstCollection period can be the time interval of the acquisition testing data of described checkout gear acquiescence, can be also by instituteState the time interval of the acquisition testing data of terminal setting.
S303, in the time that described temperature value is greater than preset temperature value and described humidity value and is less than default humidity value, willDescribed the first collection period is extended to the second collection period.
Concrete, in the time that described temperature value is greater than preset temperature value and described humidity value and is less than default humidity value,Described the first collection period is extended to the second collection period by described terminal. In actual conditions, terminal has canCan be because static cause the touch-screen entanglement of terminal, so need by control screen state checkout gear according toThe first collection period carries out the data of data acquisition screen state, but static is often in dry environmentThe probability producing is higher, and the probability producing is in a humid environment lower. Therefore, logical in the embodiment of the present inventionCross preset temperature value and default humidity value regulates the data collection cycle of screen state checkout gear. SeparatelyIn the embodiment of the present invention, described the first collection period is extended to the specific implementation of the second collection period outward,Can expand according to preset ratio; Also can be in the data collection cycle of a default N quantity, byOne collection period is extended to second collection period larger than described the first collection period; Can also design temperature modelThe data collection cycle enclose, humidity range being corresponding, determines corresponding according to gathered temperature value, humidity valueData collection cycle. In feasible scheme, if described terminal is provided with the maximum collection period of checkout gear,Before described the first collection period is extended to the second collection period, whether judge described the first collection periodFor maximum collection period, if so, do not carry out the step of expansion, and control described checkout gear continue according toThe first collection period carries out data acquisition; If not, carry out and described the first collection period is extended to second adoptsThe step in collection cycle.
S304, controls described checkout gear and carries out data acquisition according to described the second collection period.
Concrete, checkout gear carries out data acquisition according to described the second collection period described in described terminal control.In optional scheme, after the described checkout gear of control carries out data acquisition according to described the second collection period,Described terminal can continue to obtain the detection data that described checkout gear gathers, with Real-Time Monitoring checkout gear,For example, the detection data that described terminal can gather according to checkout gear described in Preset Time interval acquiring. ThisSample can dynamic adjustments checkout gear data collection cycle, and then improved the flying power of terminal.
In feasible scheme, when described detection data do not meet describedly when pre-conditioned, gather described firstCycle is contracted to the 3rd collection period, and controls described checkout gear according to described the 3rd collection period numberAccording to collection. For example,, when described temperature value is less than or equal to preset temperature value and described humidity value is more than or equal toWhen default humidity value, described the first collection period is contracted to the 3rd collection period by described terminal, and control instituteState checkout gear and carry out data acquisition according to described the 3rd collection period. Wherein, by described the first collection periodThe specific implementation that is contracted to the 3rd collection period is analogous to and described the first collection period is extended to second adoptsThe mode in collection cycle. Be less than default wet when described temperature value is less than or equal to preset temperature value and described humidity valueDegree value or described temperature value are greater than preset temperature value and described humidity value is more than or equal to while presetting humidity value,Described terminal can not regulate by collection period.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, and control checkout gear and carry out data acquisition according to the second collection period,Do not meet when pre-conditioned when detecting data, the first collection period is contracted to the 3rd collection period, and controlsCheckout gear carries out data acquisition according to the 3rd collection period. The inspection that can gather according to checkout gear like thisSurvey the data collection cycle of Data Dynamic adjusting detecting device, improve the flying power of terminal, and then improvedIntelligent and the convenience of terminal.
Below in conjunction with accompanying drawing 4-accompanying drawing 6, the terminal that the embodiment of the present invention is provided describes in detail. NeedIllustrate, the terminal shown in accompanying drawing 4-accompanying drawing 6, for carrying out Fig. 1 of the present invention-embodiment illustrated in fig. 3Method, for convenience of explanation, only shows the part relevant to the embodiment of the present invention, and concrete ins and outs are notDisclose, please refer to the embodiment shown in Fig. 1-Fig. 3 of the present invention.
Refer to Fig. 4, for the embodiment of the present invention provides a kind of structural representation of terminal. As shown in Figure 4,The described terminal 1 of the embodiment of the present invention can comprise: data capture unit 11, cycle acquiring unit 12, weekPhase expanding unit 13 and control module 14.
Data capture unit 11, the detection data that gather for obtaining the checkout gear of terminal.
In specific implementation, the detection data that the checkout gear that described data capture unit 11 obtains terminal gathers.Wherein, described checkout gear can be any one checkout gear of terminal inner, checkout gear can be aboutThe checkout gear of luminous intensity, terminal rotating direction and angle, terminal screen show state etc., for example light sensingDevice gathers data, the data of gravity sensor acquisition terminal direction of rotation etc. of light intensity value.
Cycle acquiring unit 12, also for obtaining the first collection period of the current employing of described checkout gear.
In specific implementation, described cycle acquiring unit 12 is obtained first of the current employing of described checkout gear and is gatheredCycle. Described the first collection period can be the time interval of the acquisition testing data of described checkout gear acquiescence,Also it can be the time interval of the acquisition testing data set by described terminal.
Cycle expanding unit 13, when pre-conditioned for meeting when described detection data, gathers described firstCycle is extended to the second collection period.
In specific implementation, when described detection data meet when pre-conditioned, described cycle expanding unit 13 is by instituteState the first collection period and be extended to the second collection period. In optional scheme, described pre-conditioned can referring toThe amplitude of variation of the detection data that gathered by described checkout gear is less, illustrates that terminal is within a period of timeIn metastable environment or state, described cycle expanding unit 13 can expand collection period to reduce listTimes of collection in bit time; Or, refer to that the detection data that gathered by described checkout gear do not exceed defaultThreshold value, described predetermined threshold value is the threshold value that represents checkout gear adjustment collection period, predetermined threshold value can be by instituteStating terminal sets voluntarily. In the embodiment of the present invention, described the first collection period is extended to the second collection periodSpecific implementation can expand according to preset ratio, can be also the data acquisition in a default N quantityIn cycle, the first collection period is extended to second collection period larger than described the first collection period. FeasibleScheme in, if described terminal is provided with the maximum collection period of checkout gear, by described first gatherCycle judges whether described the first collection period is maximum collection period before being extended to the second collection period,If so, do not carry out the step of expansion, and control described checkout gear and continue to carry out according to the first collection periodData acquisition; If not, carry out the step that described the first collection period is extended to the second collection period.
Control module 14, carries out data acquisition for controlling described checkout gear according to described the second collection period.
In specific implementation, described control module 14 is controlled described checkout gear and is entered according to described the second collection periodRow data acquisition. In optional scheme, carry out according to described the second collection period at the described checkout gear of controlAfter data acquisition, can continue executing data acquiring unit 11, with Real-Time Monitoring checkout gear, for example, canThe detection data that gather according to checkout gear described in Preset Time interval acquiring. Like this can dynamic adjustments inspectionSurvey the data collection cycle of device, and then improved the flying power of terminal.
It should be noted that, in the embodiment of the present invention, use collection period to represent the acquisition testing number of checkout gearAccording to the time interval, or can use frequency acquisition to represent the times of collection in unit interval of checkout gear,It is equivalent in meaning that both express, and in embodiments of the present invention this do not limited.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, controls checkout gear and carries out data acquisition according to the second collection period.The data collection cycle of the detection Data Dynamic adjusting detecting device that can gather according to checkout gear, and thenImprove the flying power of terminal.
Refer to Fig. 5, for the embodiment of the present invention provides a kind of structural representation of terminal. As shown in Figure 5,The described terminal 1 of the embodiment of the present invention can comprise: data capture unit 11, cycle acquiring unit 12, weekPhase expanding unit 13, control module 14 and cycle are dwindled unit 15.
Data capture unit 11, the detection data that gather for obtaining the checkout gear of terminal.
In specific implementation, the detection data that the checkout gear that described data capture unit 11 obtains terminal gathers.In an embodiment, in the time that described checkout gear is optical sensor or gravity sensor, described data acquisition listData detect specifically at least two of checkout gear continuous acquisition of obtaining terminal in unit. Another embodimentIn, in the time that described checkout gear is screen state checkout gear, described detection data comprise screen state dataAnd environmental data, described environmental data comprises temperature value and the humidity value of the current environment of living in of described terminal.
Cycle acquiring unit 12, also for obtaining the first collection period of the current employing of described checkout gear.
Cycle expanding unit 13, when pre-conditioned for meeting when described detection data, gathers described firstCycle is extended to the second collection period.
In specific implementation, when described detection data meet when pre-conditioned, described cycle expanding unit 13 is by instituteState the first collection period and be extended to the second collection period. In optional scheme, described pre-conditioned can referring toThe amplitude of variation of the detection data that gathered by described checkout gear is less, illustrates that terminal is within a period of timeIn metastable environment or state, described cycle expanding unit 13 can expand collection period to reduce listTimes of collection in bit time; Or, refer to that the detection data that gathered by described checkout gear do not exceed defaultThreshold value, described predetermined threshold value is the threshold value that represents checkout gear adjustment collection period, predetermined threshold value can be by instituteStating terminal sets voluntarily. In an embodiment, in the time that described checkout gear is optical sensor or gravity sensor,Described cycle expanding unit 13 when described at least two detect any two differences that detect data in data absolutelyWhen value is less than to predetermined threshold value, described the first collection period is extended to the second collection period. Another enforcementIn example, in the time that described checkout gear is screen state checkout gear, described cycle expanding unit 13 is when described temperatureDegree value is greater than preset temperature value and described humidity value is less than while presetting humidity value, and described the first collection period is expandedGreatly to the second collection period.
Control module 14, carries out data acquisition for controlling described checkout gear according to described the second collection period.
In specific implementation, described control module 14 is controlled described checkout gear and is entered according to described the second collection periodRow data acquisition. In optional scheme, carry out according to described the second collection period at the described checkout gear of controlAfter data acquisition, can continue executing data acquiring unit 11, with Real-Time Monitoring checkout gear.
Cycle is dwindled unit 15, described when pre-conditioned for not meeting when described detection data, by describedOne collection period is contracted to the 3rd collection period.
In specific implementation, when described detection data do not meet describedly when pre-conditioned, the described cycle is dwindled unitDescribed the first collection period is contracted to the 3rd collection period by 15. In an embodiment, when described at least twoWhen in detection data, the absolute value of the difference of any two detection data is not less than predetermined threshold value, described terminal willDescribed the first collection period is contracted to the 3rd collection period. In another embodiment, when described temperature value is less thanOr when equaling preset temperature value and described humidity value and being more than or equal to default humidity value, described terminal is by described theOne collection period is contracted to the 3rd collection period.
Described control module 14, also for controlling described checkout gear according to described the 3rd collection period numberAccording to collection.
In specific implementation, dwindle unit in the described cycle described the first collection period is contracted to the 3rd collection weekAfter phase, described control module 14 is controlled described checkout gear and is carried out data acquisition according to described the 3rd collection periodCollection.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, and control checkout gear and carry out data acquisition according to the second collection period,Do not meet when pre-conditioned when detecting data, the first collection period is contracted to the 3rd collection period, and controlsCheckout gear carries out data acquisition according to the 3rd collection period. The inspection that can gather according to checkout gear like thisSurvey the data collection cycle of Data Dynamic adjusting detecting device, improve the flying power of terminal, and then improvedIntelligent and the convenience of terminal.
Referring to Fig. 6, the structural representation of a kind of terminal providing for the embodiment of the present invention. As shown in Figure 6, instituteState terminal 1000 and comprise at least one processor 1001, for example CPU, at least one communication bus 1002,User interface 1003, network interface 1004 and memory 1005. Wherein, described communication bus 1002 forRealize the connection communication between these assemblies. User interface 1003 can comprise display screen, keyboard. Network connectsMouth 1004 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard. Memory1005 can be high-speed RAM memory, also can the unsettled memory (non-volatile of right and wrongMemory), for example at least one magnetic disc store. Memory 1005 can also be optionally at least one positionIn the storage device away from aforementioned processing device 1001. As a kind of memory 1005 of computer-readable storage mediumIn can comprise operating system, network communication module, Subscriber Interface Module SIM and data process application.
In the terminal 1000 shown in Fig. 6, processor 1001 can be for calling storage in memory 1005Data process application, and specifically carry out following steps:
Obtain the detection data that the checkout gear of terminal gathers, and obtain the current employing of described checkout gearThe first collection period;
When described detection data meet when pre-conditioned, described the first collection period is extended to the second collection weekPhase;
Control described checkout gear and carry out data acquisition according to described the second collection period.
In one embodiment, described checkout gear comprises optical sensor, gravity sensor and screen state inspectionAny in survey device.
In one embodiment, in the time that described checkout gear is optical sensor or gravity sensor, described processingThe detection data that device 1001 gathers at the checkout gear that obtains terminal described in execution, concrete execution obtained terminalAt least two of checkout gear continuous acquisition detect data.
Described processor 1001 described meets when pre-conditioned when described detection data carrying out, by described firstCollection period is extended to the second collection period, and concrete execution detected in data any two when described at least twoWhen the absolute value of the difference of detection data is less than predetermined threshold value, described the first collection period is extended to second and adoptsThe collection cycle.
In one embodiment, in the time that described checkout gear is screen state checkout gear, described detection dataComprise screen state data and environmental data, described environmental data comprises the temperature of the current environment of living in of described terminalDegree value and humidity value; The detection that described processor 1001 gathers at the checkout gear that obtains terminal described in executionData, concrete at least two detection data carrying out the checkout gear continuous acquisition of obtaining terminal.
Described processor 1001 described meets when pre-conditioned when described detection data carrying out, by described firstCollection period is extended to the second collection period, concrete carry out when described temperature value be greater than preset temperature value and described inWhen humidity value is less than default humidity value, described the first collection period is extended to the second collection period.
In one embodiment, described processor 1001 is also carried out following steps:
When described detection data do not meet describedly when pre-conditioned, described the first collection period is contracted to the 3rdCollection period, and control described checkout gear and carry out data acquisition according to described the 3rd collection period.
In embodiments of the present invention, the detection data that gather by obtaining the checkout gear of terminal, and obtainGet the first collection period of the current employing of checkout gear, meet when pre-conditioned when detecting data, adopt firstThe collection cycle is extended to the second collection period, controls checkout gear and carries out data acquisition according to the second collection period.The data collection cycle of the detection Data Dynamic adjusting detecting device that can gather according to checkout gear, and thenImprove the flying power of terminal.
Module described in the embodiment of the present invention or unit, can pass through universal integrated circuit, for example CPU(CentralProcessingUnit, central processing unit), or by ASIC (ApplicationSpecificIntegratedCircuit, special IC) realize.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Module in embodiment of the present invention terminal or unit can merge according to actual needs, divide and deleteSubtract.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,Be can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a calculatingIn machine read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory,Or random store-memory body (RandomAccessMemory, RAM) etc. ROM).
Above disclosed only for preferred embodiment of the present invention, certainly can not with this limit the present invention itInterest field, the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this right of the present inventionScope, the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (10)

1. a terminal control method, is characterized in that, comprising:
Obtain the detection data that the checkout gear of terminal gathers, and obtain the current employing of described checkout gearThe first collection period;
When described detection data meet when pre-conditioned, described the first collection period is extended to the second collection weekPhase;
Control described checkout gear and carry out data acquisition according to described the second collection period.
2. method according to claim 1, is characterized in that, described checkout gear comprise optical sensor,Any in gravity sensor and screen state checkout gear.
3. method according to claim 2, is characterized in that, when described checkout gear is optical sensorOr when gravity sensor, described in obtain the detection data that the checkout gear of terminal gathers, comprising:
Obtain at least two detection data of the checkout gear continuous acquisition of terminal;
Describedly meet when pre-conditioned when described detection data, described the first collection period is extended to second and adoptsIn the collection cycle, comprising:
When described at least two absolute values that detect the difference of any two detection data in data are less than default thresholdWhen value, described the first collection period is extended to the second collection period.
4. method according to claim 2, is characterized in that, when described checkout gear is screen stateWhen checkout gear, described detection data comprise screen state data and environmental data, and described environmental data comprisesTemperature value and the humidity value of the current environment of living in of described terminal;
Describedly meet when pre-conditioned when described detection data, described the first collection period is extended to second and adoptsIn the collection cycle, comprising:
In the time that described temperature value is greater than preset temperature value and described humidity value and is less than default humidity value, by described theOne collection period is extended to the second collection period.
5. according to the method described in claim 1-4 any one, it is characterized in that, also comprise:
When described detection data do not meet describedly when pre-conditioned, described the first collection period is contracted to the 3rdCollection period, and control described checkout gear and carry out data acquisition according to described the 3rd collection period.
6. a terminal, is characterized in that, comprising:
Data capture unit, the detection data that gather for obtaining the checkout gear of terminal;
Cycle acquiring unit, also for obtaining the first collection period of the current employing of described checkout gear;
Cycle expanding unit, when pre-conditioned for meeting when described detection data, gathers week by described firstPhase is extended to the second collection period;
Control module, carries out data acquisition for controlling described checkout gear according to described the second collection period.
7. terminal according to claim 6, is characterized in that, described checkout gear comprise optical sensor,Any in gravity sensor and screen state checkout gear.
8. terminal according to claim 7, is characterized in that, when described checkout gear is optical sensorOr when gravity sensor, described data capture unit is specifically for obtaining the checkout gear continuous acquisition of terminalAt least two are detected data;
Described cycle expanding unit detects any two detection data in data specifically for working as described at least twoThe absolute value of difference while being less than predetermined threshold value, described the first collection period is extended to the second collection period.
9. terminal according to claim 7, is characterized in that, when described checkout gear is screen stateWhen checkout gear, described detection data comprise screen state data and environmental data, and described environmental data comprisesTemperature value and the humidity value of the current environment of living in of described terminal;
Specifically for working as, described temperature value is greater than preset temperature value to described cycle expanding unit and described humidity value is littleIn the time of default humidity value, described the first collection period is extended to the second collection period.
10. according to the terminal described in claim 6-9 any one, it is characterized in that, also comprise:
Cycle is dwindled unit, described when pre-conditioned for not meeting when described detection data, by described firstCollection period is contracted to the 3rd collection period;
Described control module, also carries out data for controlling described checkout gear according to described the 3rd collection periodGather.
CN201510968217.6A 2015-12-22 2015-12-22 Terminal control method and terminal Pending CN105607724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510968217.6A CN105607724A (en) 2015-12-22 2015-12-22 Terminal control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510968217.6A CN105607724A (en) 2015-12-22 2015-12-22 Terminal control method and terminal

Publications (1)

Publication Number Publication Date
CN105607724A true CN105607724A (en) 2016-05-25

Family

ID=55987713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510968217.6A Pending CN105607724A (en) 2015-12-22 2015-12-22 Terminal control method and terminal

Country Status (1)

Country Link
CN (1) CN105607724A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106801974A (en) * 2016-12-30 2017-06-06 山东中烟工业有限责任公司 One grow tobacco balance between thermostatic constant wet control system and its method
CN108616970A (en) * 2016-12-28 2018-10-02 中国电信股份有限公司 Internet-of-things terminal dormancy period adjusting method, internet-of-things terminal and server
CN110312983A (en) * 2018-06-29 2019-10-08 深圳力维智联技术有限公司 Information collecting method, system and storage medium
CN110426641A (en) * 2019-08-05 2019-11-08 浙江大华技术股份有限公司 Electric quantity of power supply detection device, power supply unit and electronic equipment
CN110794092A (en) * 2019-10-28 2020-02-14 珠海格力电器股份有限公司 Sensor, control method, device and equipment thereof, and air quality monitoring equipment
CN111432012A (en) * 2020-03-30 2020-07-17 浙江每日互动网络科技股份有限公司 Asynchronous communication method, device, system, terminal and computer readable storage medium
CN113992523A (en) * 2020-07-12 2022-01-28 华为技术有限公司 Data acquisition method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164150A (en) * 1996-01-16 1997-11-05 国际商业机器公司 Low-power stand by mode for remote sensing device
US20110113274A1 (en) * 2008-06-25 2011-05-12 Nxp B.V. Electronic device, a method of controlling an electronic device, and system on-chip
CN104930660A (en) * 2015-06-24 2015-09-23 北京奇虎科技有限公司 Air state monitoring method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1164150A (en) * 1996-01-16 1997-11-05 国际商业机器公司 Low-power stand by mode for remote sensing device
US20110113274A1 (en) * 2008-06-25 2011-05-12 Nxp B.V. Electronic device, a method of controlling an electronic device, and system on-chip
CN104930660A (en) * 2015-06-24 2015-09-23 北京奇虎科技有限公司 Air state monitoring method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616970A (en) * 2016-12-28 2018-10-02 中国电信股份有限公司 Internet-of-things terminal dormancy period adjusting method, internet-of-things terminal and server
CN108616970B (en) * 2016-12-28 2021-05-14 中国电信股份有限公司 Internet of things terminal sleep period adjusting method, internet of things terminal and server
CN106801974A (en) * 2016-12-30 2017-06-06 山东中烟工业有限责任公司 One grow tobacco balance between thermostatic constant wet control system and its method
CN110312983A (en) * 2018-06-29 2019-10-08 深圳力维智联技术有限公司 Information collecting method, system and storage medium
CN110312983B (en) * 2018-06-29 2023-05-09 深圳力维智联技术有限公司 Information acquisition method, system and storage medium
CN110426641A (en) * 2019-08-05 2019-11-08 浙江大华技术股份有限公司 Electric quantity of power supply detection device, power supply unit and electronic equipment
CN110794092A (en) * 2019-10-28 2020-02-14 珠海格力电器股份有限公司 Sensor, control method, device and equipment thereof, and air quality monitoring equipment
CN111432012A (en) * 2020-03-30 2020-07-17 浙江每日互动网络科技股份有限公司 Asynchronous communication method, device, system, terminal and computer readable storage medium
CN113992523A (en) * 2020-07-12 2022-01-28 华为技术有限公司 Data acquisition method and equipment

Similar Documents

Publication Publication Date Title
CN105607724A (en) Terminal control method and terminal
EP2908209B1 (en) Charging control method and device
CN104424895B (en) Display backlight method of adjustment and its backlight regulation apparatus
CN104618588A (en) Method for regulating terminal screen brightness
CN101853102B (en) Automatic generating method and system of configuration parameters of touch control equipment
CN107463403A (en) Course control method, device, storage medium and electronic equipment
CN105302308A (en) Intelligent wrist wearing device and automatic screen turn-on method and system therefor
CN103823626B (en) Method and device for regulating display contents and electronic equipment
US20170153681A1 (en) Contactless turning on of iot devices using mobile phone camera light source
CN102842291B (en) A kind of back light adjusting system based on obverse face detection and method
CN108769506B (en) Image acquisition method and device, mobile terminal and computer readable medium
CN103050097B (en) Method and device for regulating brightness of backlight lamp
CN107111882B (en) Stripe set searching method, device and system
CN109036243A (en) Intelligent display screen control device and method
CN105704785A (en) Network searching method, device and mobile terminal
CN104793742A (en) Shooting previewing method and device
CN107154807A (en) Data transfer control method, device and mobile terminal
CN105227776A (en) backlight intelligent adjusting method and device
CN106454100A (en) Focusing method and device and mobile terminal
KR102207110B1 (en) Initiation Method For Memory And Electronic Device supporting the same
CN107302633A (en) application control method, device, storage medium and electronic equipment
CN103037099B (en) Mobile phone photographing preview method and device
CN105743602A (en) Method and system for preventing radio frequency signal from interfering USB (Universal Serial Bus) data transmission
CN103631502A (en) Display content adjusting method and device and electronic equipment
CN103473145A (en) Terminal crash reset method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication