CN103763596A - State switching method and device - Google Patents

State switching method and device Download PDF

Info

Publication number
CN103763596A
CN103763596A CN201410004998.2A CN201410004998A CN103763596A CN 103763596 A CN103763596 A CN 103763596A CN 201410004998 A CN201410004998 A CN 201410004998A CN 103763596 A CN103763596 A CN 103763596A
Authority
CN
China
Prior art keywords
operational order
time difference
time
terminal
time point
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.)
Granted
Application number
CN201410004998.2A
Other languages
Chinese (zh)
Other versions
CN103763596B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201410004998.2A priority Critical patent/CN103763596B/en
Publication of CN103763596A publication Critical patent/CN103763596A/en
Application granted granted Critical
Publication of CN103763596B publication Critical patent/CN103763596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a state switching method which includes the steps of recording a time point which is carried by an operation instruction and used for operation of a terminal when the operation instruction is detected; monitoring a time difference between a current time point and the time point for operation of the terminal in real time; if the time difference between the current time point and the time point for operation of the terminal is larger than or equal to a preset threshold, controlling the terminal to be switched to an idle state. The invention further discloses a state switching device. By means of the state switching method and device, the terminal can be intelligently controlled to be switched to the idle state according to duration of operation, and the state switching method saves electricity, reduces loss of the terminal and prolongs the service life of the terminal.

Description

A kind of state switching method and device
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of state switching method and device.
Background technology
Development along with electronic technology, application based on digital TV terminal, computer, mobile terminal etc. also constantly increases, for example can watch program with digital TV terminal, can surf the Net with mobile terminal, can utilize computer to play games or surf the web etc.
In to the use procedure of terminal, need to carry out different operations to terminal, here the digital TV terminal of take describes as example, for example, we are when utilizing digital TV terminal to watch program, can carry out zapping to digital TV terminal, regulate volume or projection video disc etc., but after digital TV terminal is operated, may not close digital TV terminal power supply because being busy with other thing, make the long-time start of digital TV terminal but not use, so not only waste is electric, and lossy to digital TV terminal, reduced the useful life of digital TV terminal.
Summary of the invention
The embodiment of the present invention provides a kind of state switching method and device, can realize control of intelligent terminal and switch to idle condition, and this state switching method is not only saved electricity, and reduces the loss to terminal, extends the useful life of terminal.
The embodiment of the present invention provides a kind of state switching method, comprising:
When operational order being detected, record the entrained time point that terminal is operated of described operational order;
Time difference between real-time listening current point in time and the described time point that terminal is operated;
If the time difference between described current point in time and the described time point that terminal is operated is greater than or equal to predetermined threshold value, control terminal switches to idle condition.
Correspondingly, the embodiment of the present invention also provides a kind of state switching device, comprising:
Logging modle, for when operational order being detected, records the entrained time point that terminal is operated of described operational order;
Monitor module, for the time difference between real-time listening current point in time and the described time point that terminal is operated;
Control module, if be greater than or equal to predetermined threshold value for the time difference between described current point in time and the described time point that terminal is operated, control terminal switches to idle condition.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of state switching method of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of state switching method that provides of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another state switching method of providing of the embodiment of the present invention;
Fig. 4 be the embodiment of the present invention provide a kind of memory time difference approach schematic flow sheet;
Fig. 5 is the structural representation of a kind of state switching device of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of the another kind of state switching device that provides of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of memory module of providing of the embodiment of the present invention;
Fig. 8 is a kind of structural representation that receives acquiring unit that the embodiment of the present invention provides.
Embodiment
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 clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The state switching device of the embodiment of the present invention can be Set Top Box, also can be television set, also can be computer terminal etc., idle condition described in the embodiment of the present invention can be screen protection state or other holding states, it is mainly to waste electricity in order to reduce because start shooting always that the state of the embodiment of the present invention switches object, in the situation that not using, terminal can not switched to idle condition, reduce the service time of terminal etc. yet, extend the useful life of terminal.
Please refer to Fig. 1, the schematic flow sheet of a kind of state switching method providing for the embodiment of the present invention; As described in Figure 1, a kind of state switching method described in the present embodiment comprises step:
S100, when operational order being detected, records the entrained time point that terminal is operated of described operational order;
In specific embodiment, operational order can comprise any operation that terminal is carried out, here the terminal of take describes as television set as example, for example television set is carried out zapping, regulates volume, shows video disc etc., after terminal is operated, have the operational order generation of carrying the particular type of this operation and the information such as time point of this operation at once, when this operational order being detected, this operational order is resolved, and obtain the time point that terminal is operated entrained in this operational order, record the time point that terminal is operated.
S101, the time difference between real-time listening current point in time and the described time point that terminal is operated;
In specific embodiment, after corresponding operational order being detected, time difference between the time point that terminal is operated that needs real-time listening current point in time and record, it should be noted that, the real-time listening here can be constantly to monitor always, also can be that cycle regular hour is set, according to set time cycle monitoring, for example can be set the time cycle of 5S, time difference between the time point that terminal is operated of just monitoring a current point in time and record after the time cycle of 5S, this time difference reflected terminal is operated after time of maintaining of this operation.
S102, if the time difference between described current point in time and the described time point that terminal is operated is greater than or equal to predetermined threshold value, control terminal switches to idle condition.
In specific embodiment, predetermined threshold value can be that user uses the set predetermined threshold value of custom of terminal according to oneself, also can be time difference maximum in all time differences of storing in time difference database, here continuing take digital TV terminal switches to screen protection state and describes as example, user is before using, can be according to oneself using the custom of television terminal that a predetermined threshold value is set, for example can arrange 2 hours is predetermined threshold value, when the time difference between current point in time and time point that terminal is operated is greater than or equal to 2 hours, control figure television terminal switches to screen protection state, after entering screen protection state, screen shows animation always, in holding state, reach like this object of power saving, if predetermined threshold value is that maximum time of storing in time difference database is during difference, when the time difference between current point in time and time point that terminal is operated is greater than or equal to maximum time of storing in time difference database during difference, control figure television terminal switches to screen protection state.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Please refer to Fig. 2, the schematic flow sheet of the another kind of state switching method providing for the embodiment of the present invention; As described in Figure 2, a kind of state switching method described in the present embodiment comprises step:
S200 stores at least one time difference in described time difference database.
In specific embodiment, if predetermined threshold value is the maximum time difference of storing in time difference database, need in time difference database, to store a plurality of time differences in advance, it should be noted that, the time difference here can be the time difference between the time point of any two operations that terminal is operated, also can be the time difference between the time point of adjacent two operations, the time difference of storing in database has reflected user's use habit, predetermined threshold value is the maximum time difference in all time differences of storing in database, this, difference be the limit in user's use habit maximum time.
Further, can upgrade the time difference of storing in time difference database, Delete Expired data, whether concrete update method is to judge in time difference database and exist and do not have the special data using (such as within 15 days, there is no the special data of use, to refer generally to maximum data for a long time, need in time to filter out the number of days that user does not have start), if there is the special data that there is no use for a long time, Delete Expired data, dynamically update time difference database.
S201, when operational order being detected, records the entrained time point that terminal is operated of described operational order;
In specific embodiment, embodiment of the present invention step S201, please refer to the embodiment step S100 shown in Fig. 1, at this, does not repeat.
S202, the time difference between real-time listening current point in time and the described time point that terminal is operated;
In specific embodiment, embodiment of the present invention step S202, please refer to the embodiment step S101 shown in Fig. 1, at this, does not repeat.
S203, if the time difference between described current point in time and the described time point that terminal is operated is greater than or equal to predetermined threshold value, control terminal switches to idle condition.
In specific embodiment, embodiment of the present invention step S203, please refer to the embodiment step S102 shown in Fig. 1, at this, does not repeat.
S204, time difference between described current point in time and the described time point that terminal is operated reaches Preset Time value, when the time difference between described current point in time and the described time point that terminal is operated is less than described predetermined threshold value, delete the maximum time difference at least one time difference of storing in described current time difference data storehouse, and control terminal switches to idle condition.
In specific embodiment, Preset Time value can be set according to the use habit of oneself by user, the object that arranges of this Preset Time value is the existence that has the time difference of non-user custom itself in the time difference in order to prevent from storing in database, here continuing take digital TV terminal enters screen protection state and describes as example, if the maximum time difference of storing in database is the behavior of non-user own, but other user is while watching film, the maximum time difference 5 hours recording, user's custom is to look at news or see a collection TV play, user uses the time of terminal not reach 5 hours, be not reach predetermined threshold value, at this moment, if be provided with the Preset Time value of 2 hours before user, if be that time difference between current point in time and the time point of operation reaches 2 hours, the maximum time difference (predetermined threshold value) of storing in database is deleted for 5 hours, maximum time difference after deleting in current database is set to predetermined threshold value, control terminal enters screen protection state simultaneously.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Please refer to Fig. 3, the schematic flow sheet of another state switching method providing for the embodiment of the present invention; As described in Figure 3, a kind of state switching method described in the present embodiment comprises step:
S300, receives at least one operational order, obtains the time difference of each operational order in described at least one operational order;
In specific embodiment, to memory time in time difference database during difference, first need to receive a plurality of operational orders, and each operational order all carries the time point of operation, according to the time point of each operation in received operational order, calculate the time difference corresponding to each operational order, it should be noted that, this time difference can be time point in this operational order and the time difference between this time point that operates adjacent previous operation, and calculated time difference is defined as to the time difference of this operational order, the corresponding time difference of such operational order.
S301, is stored to described time difference database by the time difference of each operational order in described at least one operational order.
In specific embodiment, the time difference of each calculated operational order is stored, concrete storage mode can be that the time difference of all operations instruction is stored in a time difference database, it should be noted that, because the time difference that different operational orders is corresponding may be identical, so before the time difference of each operational order of storage, need to judge and in time difference database, whether store this numerical value, if having stored this numerical value does not need again this value storage to time difference database, if do not store this time difference, this time difference is stored in time difference database.
S302, when operational order being detected, records the entrained time point that terminal is operated of described operational order;
In specific embodiment, embodiment of the present invention step S302, please refer to the embodiment step S100 shown in Fig. 1, at this, does not repeat.
S303, the time difference between real-time listening current point in time and the described time point that terminal is operated;
In specific embodiment, embodiment of the present invention step S303, please refer to the embodiment step S101 shown in Fig. 1, at this, does not repeat.
S304, if the time difference between described current point in time and the described time point that terminal is operated is greater than or equal to predetermined threshold value, control terminal switches to idle condition.
In specific embodiment, embodiment of the present invention step S304, please refer to the embodiment step S102 shown in Fig. 1, at this, does not repeat.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Please refer to Fig. 4, provide for the embodiment of the present invention a kind of memory time difference approach schematic flow sheet; As described in Figure 4, a kind of memory time of the difference approach described in the present embodiment comprises step:
S400, receives at least one operational order;
In specific embodiment, to memory time in database during difference, need to receive a plurality of operational orders, in this operational order, carry the time point of operation and the type of operation, the type of operation is divided into screen protection state of operation and non-screen protection state of operation, it should be noted that, screen protection state of operation type is that this operation is the terminal operation that user carries out under screen protection state, screen protection state of operation can be to remove screen saver operation, non-screen protection state of operation is that this operation is the operation of carrying out under the non-screen protection state of terminal, for example, terminal is carried out zapping, regulated volume etc.
S401, obtains in described at least one operational order the entrained time point that terminal is operated in each operational order;
In specific embodiment, parse the entrained time point that terminal is operated from obtained operational order, concrete analysis mode can be time point corresponding position in operational order of making an appointment terminal being operated.
S402, according to the sequencing of the described time point that terminal is operated, sorts described at least one operational order;
In specific embodiment, according to the sequencing of the time point that terminal is operated parsing in operational order, operational order is sorted, it should be noted that, if storage operation instruction is to store according to the order receiving, operational order is to arrange according to the sequencing of operation.
S403, obtains after described sequence adjacent operational order corresponding to each operational order at least one operational order, and described adjacent operational order is the operational order of sequence before described operational order;
In specific embodiment, obtain the adjacent operational order of rear each operational order of sequence, this adjacent operational order is the operational order of sequence before operational order.
S404, judges whether the action type of described adjacent operational order is non-screen protection state of operation;
In specific embodiment, whether the action type that judges the adjacent operational order of each operational order is non-screen protection state of operation, it should be noted that, the operational order of the time point sequence that the adjacent operational order of each operational order is operation before operational order, non-screen protection state of operation is that this operation is the operation of carrying out under the non-screen protection state of terminal, for example, terminal is carried out zapping, regulated volume etc.
S405, determines adjacent non-screen saver operation instruction corresponding to each operational order in described at least one operational order according to judged result;
In specific embodiment, the judged result whether need according to the adjacent operational order of each operational order of judging be non-screen protection state of operation is determined the adjacent non-screen saver operation instruction of each operational order, it should be noted that, adjacent non-screen saver operation instruction is nearest from operational order and the operational order of the non-screen protection state of operation type of time point before the operating time of operational order point, a corresponding adjacent non-screen saver operation instruction of operational order, the adjacent non-screen saver operation instruction that different operational orders may be corresponding identical.
Further, according to judged result, determine that the method for the adjacent non-screen saver operation instruction that each operational order is corresponding is specially:
If the action type of described adjacent operational order is non-screen protection state of operation, described adjacent operational order is defined as to the adjacent non-screen saver operation instruction that described operational order is corresponding;
If the action type of the adjacent operational order of operational order is screen protection state of operation, after described sequence at least one operational order, to sort before described operational order, and be defined as from the operational order of a nearest non-screen protection state of operation type of described operational order the adjacent non-screen saver operation instruction that described operational order is corresponding.
S406, calculate the time difference between the time point of the adjacent non-screen saver operation instruction that the time point of each operational order in described at least one operational order is corresponding with described each operational order, and the time difference of each operational order at least one operational order described in the time difference between the time point of the time point of each operational order in described at least one operational order adjacent non-screen saver operation instruction corresponding with described each operational order is defined as.
In specific embodiment, calculate the time difference between the time point of the adjacent non-screen saver operation instruction that the time point of each operational order is corresponding with each operational order, and calculated time difference is defined as to the time difference of operational order, it should be noted that, between the time point of the time point of an operational order and an adjacent non-screen saver operation instruction, calculate, obtain a time difference, this time difference is the time difference of this operational order, and adjacent non-screen saver operation instruction is the adjacent non-screen saver operation instruction that this operational order is corresponding.
S407, is stored to described time difference database by the time difference of each operational order in described at least one operational order.
In specific embodiment, embodiment of the present invention step S407, please refer to the embodiment step S301 that Fig. 3 shows, at this, does not repeat.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Set forth the specific implementation of a kind of state switching device that the embodiment of the present invention provides below.
Please refer to Fig. 5, the structural representation of a kind of state switching device providing for the embodiment of the present invention.As shown in Figure 5, a kind of state switching device described in the present embodiment comprises: logging modle 100, monitoring module 101 and control module 102.
Logging modle 100, for when operational order being detected, records the entrained time point that terminal is operated of described operational order;
In specific embodiment, operational order can comprise any operation that terminal is carried out, here the terminal of take describes as television set as example, for example television set is carried out to zapping, regulate volume, projection video disc etc., after terminal is operated, have the operational order generation of carrying the particular type of this operation and the information such as time point of this operation at once, when this operational order being detected, 100 pairs of these operational orders of logging modle are resolved, and obtain the time point that terminal is operated entrained in this operational order, the time point that record operates terminal.
Monitor module 101, for the time difference between real-time listening current point in time and the described time point that terminal is operated;
In specific embodiment, after corresponding operational order being detected, monitor that module 101 needs real-time listening current point in time and the time point that terminal is operated that records between time difference, it should be noted that, the real-time listening here can be constantly to monitor always, also can be that cycle regular hour is set, according to set time cycle monitoring, for example can be set the time cycle of 5S, time difference between the time point that terminal is operated of just monitoring a current point in time and record after the time cycle of 5S, this time difference reflected terminal is operated after time of maintaining of this operation.
Control module 102, if be greater than or equal to predetermined threshold value for the time difference between described current point in time and the described time point that terminal is operated, control terminal switches to idle condition.
In specific embodiment, predetermined threshold value can be that user uses the set predetermined threshold value of custom of terminal according to oneself, also can be time difference maximum in all time differences of storing in time difference database, here continuing take digital TV terminal switches to screen protection state and describes as example, user is before using, can be according to oneself using the custom of television terminal that a predetermined threshold value is set, for example can arrange 2 hours is predetermined threshold value, when the time difference between current point in time and time point that terminal is operated is greater than or equal to 2 hours, control module 102 control figure television terminals switch to screen protection state, after entering screen protection state, screen shows animation always, in holding state, reach like this object of power saving, if predetermined threshold value is that maximum time of storing in time difference database is during difference, when the time difference between current point in time and time point that terminal is operated is greater than or equal to maximum time of storing in time difference database during difference, control module 102 control figure television terminals switch to screen protection state.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Please refer to Fig. 6, the structural representation of the another kind of state switching device providing for the embodiment of the present invention.As shown in Figure 6, the another kind of state switching device described in the present embodiment comprises: logging modle 100, monitoring module 101, control module 102, memory module 103 and deletion control module 104; Wherein logging modle 100, monitoring module 101 and control module 102 please refer to the description of Fig. 5, do not repeat them here.
Memory module 103, for storing at least one time difference to described time difference database;
In specific embodiment, if predetermined threshold value is the maximum time difference of storing in time difference database, memory module 103 needs in time difference database, to store a plurality of time differences in advance, it should be noted that, the time difference here can be the time difference between the time point of any two operations that terminal is operated, also can be the time difference between the time point of adjacent two operations, the time difference of storing in database has reflected user's use habit, predetermined threshold value is the maximum time difference in all time differences of storing in database, this, difference be the limit in user's use habit maximum time.
Further, memory module 103 can be upgraded the time difference of storing in time difference database, Delete Expired data, concrete update method is, judge in time difference database and whether exist and there is no the special data using for a long time (such as within 15 days, there is no the special data of use, refer generally to maximum data, need in time to filter out the number of days that user does not have start), if there is the special data that there is no use for a long time, Delete Expired data, dynamically update time difference database.
Delete control module 104, for the time difference between described current point in time and the described time point that terminal is operated, reach Preset Time value, when the time difference between described current point in time and the described time point that terminal is operated is less than described predetermined threshold value, delete the maximum time difference at least one time difference of storing in described current time difference data storehouse, and control terminal switches to idle condition.
In specific embodiment, Preset Time value can be set according to the use habit of oneself by user, the object that arranges of this Preset Time value is the existence that has the time difference of non-user custom itself in the time difference in order to prevent from storing in database, here continuing take digital TV terminal enters screen protection state and describes as example, if the maximum time difference of storing in database is the behavior of non-user own, but other user is while watching film, the maximum time difference 5 hours recording, user's custom is to look at news or see a collection TV play, user uses the time of terminal not reach 5 hours, be not reach predetermined threshold value, at this moment, if be provided with the Preset Time value of 2 hours before user, if be that time difference between current point in time and the time point of operation reaches 2 hours, deleting control module 104 deletes the maximum time difference (predetermined threshold value) of storing in database for 5 hours, maximum time difference after deleting in current database is set to predetermined threshold value, control terminal enters screen protection state simultaneously.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Please refer to Fig. 7, the structural representation of a kind of memory module providing for the embodiment of the present invention, as shown in Figure 7, a kind of memory module 103 described in the present embodiment comprises and receives acquiring unit 1030 and memory cell 1031.
Receive acquiring unit 1030, for receiving at least one operational order, obtain the time difference of each operational order in described at least one operational order;
In specific embodiment, to memory time in time difference database during difference, first receive acquiring unit 1030 and need to receive a plurality of operational orders, and each operational order all carries the time point of operation, according to the time point of each operation in received operational order, calculate the time difference corresponding to each operational order, it should be noted that, this time difference can be time point in this operational order and the time difference between this time point that operates adjacent previous operation, and calculated time difference is defined as to the time difference of this operational order, the corresponding time difference of such operational order.
Memory cell 1031, for being stored to the time difference of described at least one each operational order of operational order described time difference database.
In specific embodiment, memory cell 1031 is stored the time difference of each calculated operational order, concrete storage mode can be that the time difference of all operations instruction is stored in a time difference database, it should be noted that, because the time difference that different operational orders is corresponding may be identical, so before the time difference of each operational order of storage, memory cell 1031 need to judge in time difference database, whether to have stored this numerical value, if having stored this numerical value does not need again this value storage to time difference database, if do not store this time difference, this time difference is stored in time difference database.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
Please refer to Fig. 8, a kind of structural representation that receives acquiring unit providing for the embodiment of the present invention, as shown in Figure 8, a kind of reception acquiring unit 1030 described in the present embodiment comprises that reception subelement 10300, first obtains subelement 10301, sequence subelement 10302, second obtains subelement 10303, judgment sub-unit 10304, determines subelement 10305 and computation subunit 10306.
Receive subelement 10300, for receiving at least one operational order;
In specific embodiment, to memory time in database during difference, receive subelement 10300 and need to receive a plurality of operational orders, in this operational order, carry the time point of operation and the type of operation, the type of operation is divided into screen protection state of operation and non-screen protection state of operation, it should be noted that, screen protection state of operation type is that this operation is the terminal operation that user carries out under screen protection state, screen protection state of operation can be to remove screen saver operation, non-screen protection state of operation is that this operation is the operation of carrying out under the non-screen protection state of terminal, for example terminal is carried out to zapping, regulate volume etc.
First obtains subelement 10301, for obtaining the entrained time point that terminal is operated in described each operational order of at least one operational order;
In specific embodiment, first obtains subelement 10301 parses the entrained time point that terminal is operated from obtained operational order, and concrete analysis mode can be time point corresponding position in operational order of making an appointment terminal being operated.
Sequence subelement 10302, for according to the sequencing of the described time point that terminal is operated, sorts described at least one operational order;
In specific embodiment, sequence subelement 10302 is according to the sequencing of the time point that terminal is operated parsing in operational order, operational order is sorted, it should be noted that, if storage operation instruction is to store according to the order receiving, operational order is to arrange according to the sequencing of operation.
Second obtains subelement 10303, and for obtaining adjacent operational order corresponding to each operational order of at least one operational order after described sequence, described adjacent operational order is the operational order of sequence before described operational order;
In specific embodiment, second obtains the adjacent operational order that subelement 10303 obtains rear each operational order of sequence, and this adjacent operational order is the operational order of sequence before operational order.
Judgment sub-unit 10304, for judging whether the action type of described adjacent operational order is non-screen protection state of operation;
In specific embodiment, judgment sub-unit 10304 judges whether the action type of the adjacent operational order of each operational order is non-screen protection state of operation, it should be noted that, the operational order of the time point sequence that the adjacent operational order of each operational order is operation before operational order, non-screen protection state of operation is that this operation is the operation of carrying out under the non-screen protection state of terminal, for example, terminal is carried out zapping, regulated volume etc.
Determine subelement 10305, for determine described adjacent non-screen saver operation instruction corresponding to each operational order of at least one operational order according to judged result;
In specific embodiment, determine that subelement 10305 judged result whether need according to the adjacent operational order of each operational order of judging be non-screen protection state of operation determines the adjacent non-screen saver operation instruction of each operational order, it should be noted that, adjacent non-screen saver operation instruction is nearest from operational order and the operational order of the non-screen protection state of operation type of time point before the operating time of operational order point, a corresponding adjacent non-screen saver operation instruction of operational order, different operational orders may the identical adjacent non-screen saver operation instruction of correspondence.
Further, according to judged result, determine that the method for the adjacent non-screen saver operation instruction that each operational order is corresponding is specially:
If the action type of described adjacent operational order is non-screen protection state of operation, described adjacent operational order is defined as to the adjacent non-screen saver operation instruction that described operational order is corresponding;
If the action type of the adjacent operational order of operational order is screen protection state of operation, after described sequence at least one operational order, to sort before described operational order, and be defined as from the operational order of a nearest non-screen protection state of operation type of described operational order the adjacent non-screen saver operation instruction that described operational order is corresponding.
Computation subunit 10306, for calculating the time difference between the time point of the adjacent non-screen saver operation instruction that the time point of described at least one each operational order of operational order is corresponding with described each operational order, and the time difference of each operational order at least one operational order described in the time difference between the time point of the time point of each operational order in described at least one operational order adjacent non-screen saver operation instruction corresponding with described each operational order is defined as.
In specific embodiment, computation subunit 10306 is calculated the time difference between the time point of the adjacent non-screen saver operation instruction that the time point of each operational order is corresponding with each operational order, and calculated time difference is defined as to the time difference of operational order, it should be noted that, between the time point of the time point of an operational order and an adjacent non-screen saver operation instruction, calculate, obtain a time difference, this time difference is the time difference of this operational order, adjacent non-screen saver operation instruction is the adjacent non-screen saver operation instruction that this operational order is corresponding.
In the embodiment of the present invention, according to the time difference between current point in time and time point that terminal is operated and the comparative result of predetermined threshold value, control of intelligent terminal switches to idle condition, this state switching method not only can be saved electricity, and reduce the loss to terminal, extend the useful life of terminal.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when 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-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
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 delete.
The parts such as the microcontroller of the embodiment of the present invention, can be with universal integrated circuit (as central processor CPU), or realizes with application-specific integrated circuit (ASIC) (ASIC).
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and 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 (12)

1. a state switching method, is characterized in that, described method comprises:
When operational order being detected, record the entrained time point that terminal is operated of described operational order;
Time difference between real-time listening current point in time and the described time point that terminal is operated;
If the time difference between described current point in time and the described time point that terminal is operated is greater than or equal to predetermined threshold value, control terminal switches to idle condition.
2. the method for claim 1, it is characterized in that, described idle condition is specially screen protection state, described predetermined threshold value is specially the maximum time difference at least one time difference of storing in current time difference data storehouse, described when operational order being detected, before recording the entrained time point that terminal is operated of described operational order, also comprise:
In described time difference database, store at least one time difference.
3. method as claimed in claim 2, is characterized in that, describedly in described time difference database, stores at least one time difference, comprising:
Receive at least one operational order, obtain the time difference of each operational order in described at least one operational order;
The time difference of each operational order in described at least one operational order is stored to described time difference database.
4. method as claimed in claim 3, is characterized in that, described operational order carries time point that terminal is operated and the type of described operation, and the type of described operation comprises screen protection state of operation and non-screen protection state of operation;
The described time difference that obtains each operational order in described at least one operational order, comprising:
Obtain in described at least one operational order the entrained time point that terminal is operated in each operational order;
According to the sequencing of the described time point that terminal is operated, described at least one operational order is sorted;
Obtain after described sequence adjacent operational order corresponding to each operational order at least one operational order, described adjacent operational order is the operational order of sequence before described operational order;
Whether the action type that judges described adjacent operational order is non-screen protection state of operation;
According to judged result, determine adjacent non-screen saver operation instruction corresponding to each operational order in described at least one operational order;
Calculate the time difference between the time point of the adjacent non-screen saver operation instruction that the time point of each operational order in described at least one operational order is corresponding with described each operational order, and the time difference of each operational order at least one operational order described in the time difference between the time point of the time point of each operational order in described at least one operational order adjacent non-screen saver operation instruction corresponding with described each operational order is defined as.
5. method as claimed in claim 4, is characterized in that, described according to adjacent non-screen saver operation instruction corresponding to each operational order in definite described at least one operational order of judged result, comprising:
If the action type of described adjacent operational order is non-screen protection state of operation, described adjacent operational order is defined as to the adjacent non-screen saver operation instruction that described operational order is corresponding;
If the action type of described adjacent operational order is screen protection state of operation, after described sequence at least one operational order, to sort before described operational order, and be defined as from the operational order of a nearest non-screen protection state of operation type of described operational order the adjacent non-screen saver operation instruction that described operational order is corresponding.
6. the method as described in claim 2 to 5 any one, is characterized in that, described method also comprises:
Time difference between described current point in time and the described time point that terminal is operated reaches Preset Time value, when the time difference between described current point in time and the described time point that terminal is operated is less than described predetermined threshold value, delete the maximum time difference at least one time difference of storing in described current time difference data storehouse, and control terminal switches to idle condition.
7. a state switching device, is characterized in that, described device comprises:
Logging modle, for when operational order being detected, records the entrained time point that terminal is operated of described operational order;
Monitor module, for the time difference between real-time listening current point in time and the described time point that terminal is operated;
Control module, if be greater than or equal to predetermined threshold value for the time difference between described current point in time and the described time point that terminal is operated, control terminal switches to idle condition.
8. device as claimed in claim 7, is characterized in that, described idle condition is specially screen protection state, and described predetermined threshold value is specially the maximum time difference at least one time difference of storing in current time difference data storehouse, and described device also comprises:
Memory module, for storing at least one time difference to described time difference database.
9. device as claimed in claim 8, is characterized in that, described memory module comprises:
Receive acquiring unit, for receiving at least one operational order, obtain the time difference of each operational order in described at least one operational order;
Memory cell, for being stored to the time difference of described at least one each operational order of operational order described time difference database.
10. device as claimed in claim 9, is characterized in that, described operational order carries time point that terminal is operated and the type of described operation, and the type of described operation comprises screen protection state of operation and non-screen protection state of operation; Described reception acquiring unit comprises:
Receive subelement, for receiving at least one operational order;
First obtains subelement, for obtaining the entrained time point that terminal is operated in described each operational order of at least one operational order;
Sequence subelement, for according to the sequencing of the described time point that terminal is operated, sorts described at least one operational order;
Second obtains subelement, and for obtaining adjacent operational order corresponding to each operational order of at least one operational order after described sequence, described adjacent operational order is the operational order of sequence before described operational order;
Judgment sub-unit, for judging whether the action type of described adjacent operational order is non-screen protection state of operation;
Determine subelement, for determine described adjacent non-screen saver operation instruction corresponding to each operational order of at least one operational order according to judged result;
Computation subunit, for calculating the time difference between the time point of the adjacent non-screen saver operation instruction that the time point of described at least one each operational order of operational order is corresponding with described each operational order, and the time difference of each operational order at least one operational order described in the time difference between the time point of the time point of each operational order in described at least one operational order adjacent non-screen saver operation instruction corresponding with described each operational order is defined as.
11. devices as claimed in claim 10, it is characterized in that, if described definite subelement is non-screen protection state of operation specifically for the action type of described adjacent operational order, described adjacent operational order is defined as to the adjacent non-screen saver operation instruction that described operational order is corresponding;
If the action type of described adjacent operational order is screen protection state of operation, after described sequence at least one operational order, to sort before described operational order, and be defined as from the operational order of a nearest non-screen protection state of operation type of described operational order the adjacent non-screen saver operation instruction that described operational order is corresponding.
12. devices as described in claim 8 to 11 any one, is characterized in that, described device also comprises:
Delete control module, for the time difference between described current point in time and the described time point that terminal is operated, reach Preset Time value, when the time difference between described current point in time and the described time point that terminal is operated is less than described predetermined threshold value, delete the maximum time difference at least one time difference of storing in described current time difference data storehouse, and control terminal switches to idle condition.
CN201410004998.2A 2014-01-06 2014-01-06 A kind of state switching method and device Active CN103763596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410004998.2A CN103763596B (en) 2014-01-06 2014-01-06 A kind of state switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410004998.2A CN103763596B (en) 2014-01-06 2014-01-06 A kind of state switching method and device

Publications (2)

Publication Number Publication Date
CN103763596A true CN103763596A (en) 2014-04-30
CN103763596B CN103763596B (en) 2017-08-15

Family

ID=50530744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410004998.2A Active CN103763596B (en) 2014-01-06 2014-01-06 A kind of state switching method and device

Country Status (1)

Country Link
CN (1) CN103763596B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376624A (en) * 2015-11-10 2016-03-02 浪潮软件集团有限公司 Standby processing method of set top box and set top box
CN105704561A (en) * 2016-03-25 2016-06-22 青岛海信电器股份有限公司 Screen protection launching method, screen protection device, and intelligent terminal
CN106028027A (en) * 2016-06-01 2016-10-12 乐视控股(北京)有限公司 Method and device for detecting signal operation duration
CN107046654A (en) * 2016-02-05 2017-08-15 腾讯科技(深圳)有限公司 A kind of application state detection method and its equipment
CN107105346A (en) * 2017-04-13 2017-08-29 深圳创维-Rgb电子有限公司 A kind of intelligent television standby control method and system
CN110264184A (en) * 2019-06-28 2019-09-20 Oppo(重庆)智能科技有限公司 Pay control method and Related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878253A (en) * 2006-04-07 2006-12-13 深圳创维-Rgb电子有限公司 TV set energy-saving method
CN101610300A (en) * 2009-06-16 2009-12-23 中兴通讯股份有限公司 The control method of backlight of mobile terminal and device
CN103186225A (en) * 2011-12-31 2013-07-03 联想(北京)有限公司 State switching method and device for electronic equipment
US20130229337A1 (en) * 2012-03-02 2013-09-05 Kabushiki Kaisha Toshiba Electronic device, electronic device controlling method, computer program product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878253A (en) * 2006-04-07 2006-12-13 深圳创维-Rgb电子有限公司 TV set energy-saving method
CN101610300A (en) * 2009-06-16 2009-12-23 中兴通讯股份有限公司 The control method of backlight of mobile terminal and device
CN103186225A (en) * 2011-12-31 2013-07-03 联想(北京)有限公司 State switching method and device for electronic equipment
US20130229337A1 (en) * 2012-03-02 2013-09-05 Kabushiki Kaisha Toshiba Electronic device, electronic device controlling method, computer program product

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376624A (en) * 2015-11-10 2016-03-02 浪潮软件集团有限公司 Standby processing method of set top box and set top box
CN107046654A (en) * 2016-02-05 2017-08-15 腾讯科技(深圳)有限公司 A kind of application state detection method and its equipment
CN107046654B (en) * 2016-02-05 2020-02-18 腾讯科技(深圳)有限公司 Application state detection method and device
CN105704561A (en) * 2016-03-25 2016-06-22 青岛海信电器股份有限公司 Screen protection launching method, screen protection device, and intelligent terminal
CN105704561B (en) * 2016-03-25 2019-04-09 青岛海信电器股份有限公司 A kind of screen protection starting method, screen protective device and intelligent terminal
CN106028027A (en) * 2016-06-01 2016-10-12 乐视控股(北京)有限公司 Method and device for detecting signal operation duration
CN107105346A (en) * 2017-04-13 2017-08-29 深圳创维-Rgb电子有限公司 A kind of intelligent television standby control method and system
CN110264184A (en) * 2019-06-28 2019-09-20 Oppo(重庆)智能科技有限公司 Pay control method and Related product
CN110264184B (en) * 2019-06-28 2021-07-23 Oppo(重庆)智能科技有限公司 Payment control method and related product

Also Published As

Publication number Publication date
CN103763596B (en) 2017-08-15

Similar Documents

Publication Publication Date Title
CN103763596A (en) State switching method and device
CN105338368A (en) Method, device and system for converting live stream of video into on-demand data
CN109947497B (en) Application program preloading method and device, storage medium and mobile terminal
CN106201686A (en) Management method, device and the terminal of application
CN105554550A (en) Video playing method and device
CN103699338B (en) A kind of method and apparatus downloading data
CN103024729B (en) The method of data backup, Apparatus and system
CN104380769A (en) Information reminding method, apparatus, and electronic terminal
CN104853081A (en) Breakpoint filming method, device and mobile terminal
CN102098389A (en) Method and device for automatically reminding schedule as well as terminal equipment
CN104267795A (en) Capacity management method, capacity management device and electronic equipment
CN104836783A (en) Data transmission method, device and system
CN105045516A (en) Method and terminal for switching working mode
CN105227890A (en) Video call method and device
CN106022108A (en) Synchronous management method and terminal device
CN105208071A (en) Mobile terminal data deletion method and mobile terminal
CN105224421A (en) Data backup method and device and electronic equipment
CN109416662A (en) Use the selective flash memory compression/de-compression of storage utilization rate ring
CN103577145A (en) Sound volume processing device and method for electronic equipment, and electronic system
CN105323643A (en) Control device for realizing fast switching of television channels and television applications
CN111478388A (en) Electronic product, battery discharge protection method, device and medium
CN103746835A (en) Data downloading method and apparatus
CN105262890A (en) Information update control system and method for applications on portable electronic device
CN104376859A (en) Automatic playlist adjusting method and network music player
CN104301824A (en) Drive-by-wire device, controller, method and device

Legal Events

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

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant