CN104133620A - Method and device for controlling screen locking time - Google Patents

Method and device for controlling screen locking time Download PDF

Info

Publication number
CN104133620A
CN104133620A CN201310396365.6A CN201310396365A CN104133620A CN 104133620 A CN104133620 A CN 104133620A CN 201310396365 A CN201310396365 A CN 201310396365A CN 104133620 A CN104133620 A CN 104133620A
Authority
CN
China
Prior art keywords
screen locking
software
locking time
foremost
terminal
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
CN201310396365.6A
Other languages
Chinese (zh)
Other versions
CN104133620B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310396365.6A priority Critical patent/CN104133620B/en
Publication of CN104133620A publication Critical patent/CN104133620A/en
Application granted granted Critical
Publication of CN104133620B publication Critical patent/CN104133620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for controlling the screen locking time. The method comprises the following steps that: whether a terminal screen operates software or not is detected; if the condition that the terminal screen operates the software is detected, the software screen locking time of the forefront end software of the terminal screen is obtained; the current screen locking time of the terminal is obtained; and if the current screen locking time is smaller than the software screen locking time, the current screen locking time is regulated into the software screen locking time. The method and the device provided by the invention can overcome the defects that a user frequently and manually switches the screen locking time to cause high consumption of the electric quantity of a terminal battery.

Description

A kind of method and device of controlling the screen locking time
Technical field
The present invention relates to communication technical field, be specifically related to screen locking technical field, relate in particular to a kind of method and device of controlling the screen locking time.
Background technology
At present, all multi-terminal equipments (for example panel computer, smart mobile phone, personal digital assistant) are for avoiding maloperation and saving battery electric quantity, conventionally all possess automatic screen locking function,, when user does not carry out any operation to terminal for a long time, automatically the screen of terminal is extinguished and locked.The time spending when user stops the operation of terminal to terminal screen automatic distinguishing and locks is the screen locking time.Generally the screen locking time of terminal is changeless, is a default value (for example 20 seconds).But the changeless screen locking time is not also suitable for some special scene that user uses.For example, when user carrys out reading data by the reading application software in terminal, need to extend the shorter screen locking time of terminal acquiescence; When user wants the more effective unnecessary trouble of avoiding that maloperation brings, need to shorten the longer screen locking time of terminal acquiescence.
For this reason, in existing technology, some terminal can make the user can be according to the different use scenes manual switchover screen locking time.For example, when the reading application software on user opens a terminal is carried out reading data, terminal can provide an interactive interface, for user, is set the screen locking time under reading model, when the reading application software on user closes a terminal finishes to read, it is default value that terminal can provide another interactive interface to switch the screen locking time for user.When if user uses in terminal some special application program in succession, need the manual switchover screen locking time frequently, have a strong impact on user experience, and be unfavorable for saving power for terminal.
Summary of the invention
In view of above reason, the embodiment of the present invention proposes a kind of method and device of controlling the screen locking time, solves the technical matters that above background technology is partly mentioned.
On the one hand, the embodiment of the present invention provides a kind of method of controlling the screen locking time, and described method comprises:
Detection is at the software foremost of terminal operating;
Obtain this software screen locking time of software foremost;
Obtain the current screen locking time of terminal;
The current screen locking time of more described terminal and the software screen locking time of described software foremost;
If described current screen locking time and described software screen locking asynchronism(-nization), be adjusted into the described software screen locking time by the described current screen locking time.
On the one hand, the embodiment of the present invention also provides a kind of device of controlling the screen locking time, and described device comprises:
Software detection module, for detection of the software foremost at terminal operating;
Software screen locking time-obtaining module, for obtaining this software screen locking time of software foremost;
Current screen locking time-obtaining module, for obtaining the current screen locking time of terminal;
Screen locking time comparison module, for the current screen locking time of more described terminal and the software screen locking time of described software foremost;
Screen locking time regulating module, if for described current screen locking time and described software screen locking asynchronism(-nization), is adjusted into the described software screen locking time by the described current screen locking time.
Compared to prior art, during the software screen locking asynchronism(-nization) of the current screen locking time of the embodiment of the present invention by comparison terminal and software foremost, the current screen locking time of terminal is adjusted into the software screen locking time, thereby has overcome manual switchover screen locking time and then expend the drawback of more terminal battery electricity quantity frequently because of user.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
A kind of schematic flow sheet of controlling the method for screen locking time that Fig. 1 provides for first embodiment of the invention;
A kind of schematic flow sheet of controlling the method for screen locking time that Fig. 2 provides for second embodiment of the invention;
A kind of structural representation of controlling the device of screen locking time that Fig. 3 provides for fourth embodiment of the invention;
A kind of structural representation of controlling the device of screen locking time that Fig. 4 provides for fifth embodiment of the invention;
Fig. 5 is the structural representation that can be used for implementing the present invention program's terminal.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not full content.
Fig. 1 shows the first embodiment of the present invention.
A kind of schematic flow sheet of controlling the method for screen locking time that Fig. 1 provides for first embodiment of the invention.The method is illustrated to be applied in the terminal with screen locking function, and these terminals include but not limited to smart mobile phone, panel computer, personal digital assistant, pocket computer on knee etc.Referring to Fig. 1, described method comprises:
Step S101, detect the software foremost at terminal operating.
In the present embodiment, can be by a poll process of registration, every Preset Time, detect once the software foremost at terminal operating, also can when opening foremost software, user detect this software.While planting detection mode before adopting, the large I of Preset Time is set automatically by system, and the interval time that also can user be set by man-machine interaction is as Preset Time.In order more to approach real-time sense terminals screen, whether have the software moving, and to system, do not make in cumbrous situation, preferred, by system, automatically setting Preset Time is 2 seconds.Be understandable that, Preset Time can be adjusted according to user's user demand, such as being set to 3 seconds, 4 seconds or 5 seconds.
Step S102, obtain this software screen locking time of software foremost.
When the software foremost of operation being detected in terminal, obtain the sign of software foremost, according to this sign, obtain the software screen locking time of software foremost.Wherein, software is by unique a software that active user used in all softwares of terminal screen operation foremost.For example, terminal screen detected and moving text edit software, instant communication software, browser software, wherein text edit software is used by terminal user, and other two softwares are all in minimized state, and software foremost is now text edit software.
In the present embodiment, obtaining the step of the software screen locking time of software foremost can further comprise: first from preset corresponding relation list, search the corresponding scene of software foremost, obtain again the corresponding software screen locking time of described corresponding scene as software screen locking time of software foremost, wherein preset corresponding relation list records at least one scene and the software identification corresponding with each scene in described at least one scene; Or
Directly from preset software screen locking time list, search the screen locking time of software foremost, wherein software screen locking time list records at least one software identification and the software screen locking time corresponding with every software identification in described at least one software identification.
Step S103, the current screen locking time of obtaining terminal.
The current screen locking time of step S104, comparison terminal and foremost the software screen locking time of software.
If the current screen locking time of step S105 terminal and the software screen locking asynchronism(-nization) of software foremost, be adjusted into the software screen locking time of software foremost the current screen locking time of terminal.
Suitable in order to realize current screen locking time and the current software foremost of terminal, getting the current screen locking time of terminal and foremost after software screen locking time of software, two obtained times are compared, judge that whether the current screen locking time of terminal is consistent with the software screen locking time of software foremost, if not, be adjusted into the software screen locking time of software foremost the current screen locking time of terminal.
Certainly those of ordinary skill in the art should understand, when the software screen locking time phase difference of the current screen locking time of terminal and software foremost being detected when little, without the current time to terminal again, adjust, and the screen locking time of switching terminal can impact the stability of system frequently, one of the present embodiment preferred embodiment in, when the current screen locking time of judgement terminal and the software screen locking asynchronism(-nization) of software foremost, whether the current screen locking time that also can further judge terminal is less than the software screen locking time of software foremost, and be less than default first threshold with the difference of the software screen locking time of software foremost, if, just the current screen locking time of terminal is adjusted into the software screen locking time of software foremost, or
When the current screen locking time of judgement terminal and the software screen locking asynchronism(-nization) of software foremost, whether the current screen locking time that also can further judge terminal is greater than the software screen locking time of software foremost, and be greater than default Second Threshold with the difference of the software screen locking time of software foremost, if so, just the current screen locking time of terminal is adjusted into the software screen locking time of software foremost.
For example, the current screen locking time of the terminal of obtaining is 5 seconds, the software screen locking time of software is 20 seconds foremost, default first threshold is-5, Second Threshold is+5, the current screen locking time (5 seconds) that judges terminal is less than the software screen locking time of software (20 seconds) foremost, and is less than first threshold-5 with difference-15 of the software screen locking time of software (20 seconds) foremost, now the current screen locking time of terminal is adjusted into 20 seconds.
Consider that terminal user is sometimes because of maloperation switching terminal screen software foremost frequently, or open a terminal screen foremost after software within very short time (for example 2 seconds) just close, now without the screen locking time to terminal, adjust.One of the present embodiment preferred embodiment in, whether terminal, when execution step S101, also comprises: detect the software foremost of terminal operating in predetermined duration length and all belong to a software.If so, perform step S102.
The technical scheme that first embodiment of the invention provides, during software screen locking asynchronism(-nization) by the current screen locking time of comparison terminal and software foremost, the current screen locking time of terminal is adjusted into the software screen locking time, thereby make terminal to switch automatically the current screen locking time according to software foremost, overcome manual switchover screen locking time and then expend the drawback of more terminal battery electricity quantity frequently because of user.
Fig. 2 shows the second embodiment of the present invention.
A kind of schematic flow sheet of controlling the method for screen locking time that Fig. 2 provides for second embodiment of the invention.The method is illustrated to be applied in the terminal with screen locking function, and these terminals include but not limited to smart mobile phone, panel computer, personal digital assistant, pocket computer on knee etc.Referring to Fig. 2, described method comprises:
Step S201, the software foremost of operation in terminal, whether detected.
In the present embodiment, can be by a poll process of registration, every Preset Time, detect once the software foremost at terminal operating.When the software foremost of operation being detected in terminal, execution step S202, otherwise execution step S204.
Step S202, search in preset corresponding relation list, whether there is the corresponding scene of software foremost.
In the present embodiment, software is by unique a software that active user used in all softwares of terminal screen operation foremost.Preset corresponding relation list records at least one scene and the software identification corresponding with each scene in described at least one scene.Wherein, software identification can be the MD5(Message-Digest5 of software path, dbase or software, informative abstract 5) various forms such as value grade.For example, following table is the preset a kind of corresponding relation list of terminal:
Preset corresponding relation list can acquire from server, also can be by a personal-machine interactive interface is provided, and the dependent instruction that reception user inputs on this interface generates.One of the present embodiment preferred embodiment in, periodically from server, obtain scene software matrix, according to scene software matrix, upgrade preset corresponding relation list.This renewal process can adopt comprehensive local preset corresponding relation list mode that covers, and also preset corresponding relation list and the up-to-date scene software matrix obtaining in this locality can be compared, and only revises the list item mode of changing unit.
In terminal, detect after the software foremost of operation, first obtain the software identification of software foremost, then search the corresponding scene that whether has obtained software identification in preset corresponding relation list, if, execution step S203, otherwise execution step S204.It should be noted that, the software identification of the software foremost that the every software identification in preset corresponding relation list and terminal are obtained should be unified in form mutually.For example, when MD5 value that every software identification of preset corresponding relation list records is each software, the software identification of the software foremost that terminal is obtained also should be the MD5 value of this software.
Step S203, obtain the corresponding software screen locking time of described corresponding scene as software screen locking time of software foremost.
When the software foremost of operation detected in terminal, and search while there is the corresponding scene of obtained software identification in preset corresponding relation list, obtain the corresponding software screen locking time of described corresponding scene, execution step S205.
Step S204, obtain acquiescence the screen locking time as software screen locking time of software foremost.
When the software foremost of operation not detected in terminal or searching while whether there is the corresponding scene of obtained software identification in preset corresponding relation list, the screen locking time of directly obtaining acquiescence, as terminal software screen locking time of software foremost, is continued execution step S205.
Step S205, the current screen locking time of obtaining terminal.
The current screen locking time of step S206, comparison terminal and foremost the software screen locking time of software;
If the current screen locking time of step S207 terminal and the foremost absolute value of the difference of the software screen locking time of software are greater than default threshold value, the current screen locking time is adjusted into the software screen locking time.
The technical scheme that second embodiment of the invention provides, according to default corresponding relation list, search the corresponding scene of software foremost, obtain the corresponding software screen locking time of this scene, when the absolute value of the judgement current screen locking time of terminal and the difference of software screen locking time is greater than default threshold value, the current screen locking time of terminal is adjusted into the software screen locking time, thereby make the terminal can be according to the corresponding scene of software foremost from the moving current screen locking of the switching time, overcome manual switchover screen locking time and then expend the drawback of more terminal battery electricity quantity frequently because of user, and avoided switching frequently the impact of screen locking time on system stability, by the scene software matrix obtaining from server, upgrade default corresponding relation list, can under more scenes, regulate the screen locking time of terminal, promote user and experience.
Fig. 3 shows the third embodiment of the present invention.
A kind of structural representation of controlling the device of screen locking time that Fig. 3 provides for third embodiment of the invention.Referring to Fig. 3, described device comprises:
Software detection module 301, for detection of the software foremost at terminal operating;
Software screen locking time-obtaining module 302, for obtaining this software screen locking time of software foremost;
Current screen locking time-obtaining module 303, for obtaining the current screen locking time of terminal;
Screen locking time comparison module 304, for the current screen locking time of more described terminal and the software screen locking time of described software foremost;
Screen locking time regulating module 305, for when described current screen locking time and the described software screen locking asynchronism(-nization), is adjusted into the described software screen locking time by the described current screen locking time.
In the present embodiment, software detection module 301 can be by a poll process of registration, every Preset Time, detects once the software foremost at terminal operating, also can when user opens foremost software, to this software, detect.While planting detection mode before adopting, the large I of Preset Time is set automatically by software detection module 301, and the interval time that also can user be set by man-machine interaction is as Preset Time.In order more to approach real-time sense terminals screen, whether have the software moving, and to system, do not make in cumbrous situation, preferred, by software detection module 301, automatically setting Preset Time is 2 seconds.Be understandable that, Preset Time can be adjusted according to user's user demand, such as being set to 3 seconds, 4 seconds or 5 seconds.
When software detection module 301 is when terminal detects the software foremost of operation, software screen locking time-obtaining module 302 is obtained the sign of software foremost, according to this sign, obtains the software screen locking time of software foremost.Wherein, software is by unique a software that active user used in all softwares of terminal screen operation foremost.
In the present embodiment, software screen locking time-obtaining module 302 the software screen locking of obtaining software foremost during the time specifically for: first from preset corresponding relation list, search the corresponding scene of software foremost, obtain again the corresponding software screen locking time of described corresponding scene as software screen locking time of software foremost, wherein preset corresponding relation list records at least one scene and the software identification corresponding with each scene in described at least one scene; Or
Directly from preset software screen locking time list, search the screen locking time of software foremost, wherein software screen locking time list records at least one software identification and the software screen locking time corresponding with every software identification in described at least one software identification.
Suitable in order to realize current screen locking time and the current software foremost of terminal, after current screen locking time-obtaining module 303 gets the software screen locking time that current screen locking time of terminal and software screen locking time-obtaining module 302 get software foremost, screen locking time comparison module 304 is compared two obtained times, judge that whether the current screen locking time of terminal is consistent with the software screen locking time of software foremost, if not, screen locking time regulating module 305 is adjusted into the software screen locking time of software foremost by the current screen locking time of terminal.
Certainly those of ordinary skill in the art should understand, when screen locking time comparison module 304 detects the software screen locking time phase difference of the current screen locking time of terminal and software foremost when little, screen locking time regulating module 305 is adjusted without the current time to terminal again, and the screen locking time of switching terminal can impact the stability of system frequently, one of the present embodiment preferred embodiment in, when the software screen locking asynchronism(-nization) of the current screen locking time of screen locking time comparison module 304 judgement terminals and software foremost, whether the current screen locking time that also can further judge terminal is less than the software screen locking time of software foremost, and be less than default first threshold with the difference of the software screen locking time of software foremost, if, screen locking time regulating module 305 is just adjusted into the software screen locking time of software foremost by the current screen locking time of terminal, or
When the software screen locking asynchronism(-nization) of the current screen locking time of screen locking time comparison module 304 judgement terminals and software foremost, whether the current screen locking time that also can further judge terminal is greater than the software screen locking time of software foremost, and be greater than default Second Threshold with the difference of the software screen locking time of software foremost, if so, screen locking time regulating module 305 is just adjusted into the software screen locking time of software foremost by the current screen locking time of terminal.
Consider that terminal user is sometimes because of maloperation switching terminal screen software foremost frequently, or open a terminal screen foremost after software within very short time (for example 2 seconds) just close, now without the screen locking time to terminal, adjust.One of the present embodiment preferred embodiment in, software detection module 301 also for: detect the software foremost of terminal operating in predetermined duration length and whether all belong to a software.If so, software screen locking time-obtaining module 302 is obtained this software screen locking time of software foremost.
The technical scheme that third embodiment of the invention provides, during software screen locking asynchronism(-nization) by the current screen locking time of comparison terminal and software foremost, the current screen locking time of terminal is adjusted into the software screen locking time, thereby make terminal to switch automatically the current screen locking time according to software foremost, overcome manual switchover screen locking time and then expend the drawback of more terminal battery electricity quantity frequently because of user.
Fig. 4 shows the fourth embodiment of the present invention.
A kind of structural representation of controlling the device of screen locking time that Fig. 4 provides for fourth embodiment of the invention.Referring to Fig. 4, described device comprises:
Software detection module 401, for detection of the software foremost at terminal operating, when not when terminal detects the software foremost of operation, obtains the acquiescence screen locking time of terminal as the described software screen locking time;
Software screen locking time-obtaining module 402, comprising: scene is searched subelement 4021, for when the software foremost of operation being detected in terminal, and the corresponding scene of software foremost described in searching from preset corresponding relation list; Time is obtained subelement 4022, for obtaining the corresponding software screen locking time of described corresponding scene as this software screen locking time of software foremost;
Current screen locking time-obtaining module 403, for obtaining the current screen locking time of terminal;
Screen locking time comparison module 404, for the current screen locking time of more described terminal and the software screen locking time of described software foremost;
Screen locking time regulating module 405, while being greater than default threshold value for the absolute value of the difference when described current screen locking time and described software screen locking time, is adjusted into the described software screen locking time by the described current screen locking time.
In the present embodiment, software detection module 401 can be by a poll process of registration, every Preset Time, detects once the software foremost at terminal operating.Software is by unique a software that active user used in all softwares of terminal screen operation foremost.Preset corresponding relation list records at least one scene and the software identification corresponding with each scene in described at least one scene.Wherein, software identification can be the MD5(Message-Digest5 of software path, dbase or software, informative abstract 5) various forms such as value grade.
In the present embodiment, software screen locking time-obtaining module 402 also comprises list update subelement (not shown), preset corresponding relation list can be acquired from server by list update subelement, also can be by a personal-machine interactive interface is provided, the dependent instruction that reception user inputs on this interface generates.One of the present embodiment preferred embodiment in, list update subelement periodically obtains scene software matrix from server, according to scene software matrix, upgrades preset corresponding relation list.This renewal process can adopt comprehensive local preset corresponding relation list mode that covers, and also preset corresponding relation list and the up-to-date scene software matrix obtaining in this locality can be compared, and only revises the list item mode of changing unit.
In software detection module 401, detect after the software foremost of operation, scene is searched subelement 4021 and is first obtained the software identification of software foremost, then search the corresponding scene that whether has obtained software identification in preset corresponding relation list, if, time obtains subelement 4022 and obtains the corresponding software screen locking time of described corresponding scene as this software screen locking time of software foremost, the acquiescence screen locking time of if not, obtaining terminal is as the described software screen locking time.It should be noted that, the software identification of the software foremost that the every software identification in preset corresponding relation list and terminal are obtained should be unified in form mutually.For example, when MD5 value that every software identification of preset corresponding relation list records is each software, the software identification that scene is searched the software foremost that subelement 4021 obtains also should be the MD5 value of this software.
The technical scheme that fourth embodiment of the invention provides, according to default corresponding relation list, search the corresponding scene of software foremost, obtain the corresponding software screen locking time of this scene, when the absolute value of the judgement current screen locking time of terminal and the difference of software screen locking time is greater than default threshold value, the current screen locking time of terminal is adjusted into the software screen locking time, thereby make the terminal can be according to the corresponding scene of software foremost from the moving current screen locking of the switching time, overcome manual switchover screen locking time and then expend the drawback of more terminal battery electricity quantity frequently because of user, and avoided switching frequently the impact of screen locking time on system stability, by the scene software matrix obtaining from server, upgrade default corresponding relation list, can under more scenes, regulate the screen locking time of terminal, promote user and experience.
Fig. 5 is the structural representation that can be used for implementing the present invention program's terminal.Referring to Fig. 5, terminal 50 can comprise the parts such as storer 501, input block 502, processor 503, display unit 504, communicator 505.
Storer 501 is stored software program and the module of the method for the control screen locking time of realizing embodiment of the present invention proposition.
Input block 502 receives numeral or the note information of input, and generation arranges with user or function is controlled relevant Trackpad, keyboard, mouse, the input of control lever signal.
The data that processor 503 is stored in the software program of storer 501 and is obtained input block 502 by operation, thus various function application and data processing carried out.
Display unit 504 can be used for the information of being inputted by user that video-stream processor 503 provides or the various graphical user interface of the information that offers user and terminal 50, and these graphical user interface can consist of figure, text, icon, video and its combination in any.
Communicator 505 can be used for transmitting and receive data by the Wireless/wired communication technology, wherein wireless communication technology includes but not limited to CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), the technology such as GPRS (General Packet Radio Service, general packet radio service).
It will be understood by those skilled in the art that the not restriction of structure paired terminal of the terminal structure shown in Fig. 5, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.
All or part of content in the technical scheme that above embodiment provides can realize by software programming, its software program is stored in the storage medium can read, storage medium such as the hard disk in computing machine, computer readable memory, CD or floppy disk etc.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (12)

1. a method of controlling the screen locking time, is characterized in that, described method comprises:
Detection is at the software foremost of terminal operating;
Obtain this software screen locking time of software foremost;
Obtain the current screen locking time of terminal;
The current screen locking time of more described terminal and the software screen locking time of described software foremost;
If described current screen locking time and described software screen locking asynchronism(-nization), be adjusted into the described software screen locking time by the described current screen locking time.
2. the method for control screen locking time according to claim 1, is characterized in that, described in obtain this foremost the step of the software screen locking time of software comprise:
The corresponding scene of software foremost described in searching from preset corresponding relation list;
Obtain the corresponding software screen locking time of described corresponding scene as this software screen locking time of software foremost.
3. the method for control screen locking time according to claim 2, is characterized in that, periodically from server, obtains scene software matrix, according to described scene software matrix, upgrades described corresponding relation list.
4. the method for control screen locking time according to claim 1, it is characterized in that, described detection comprises at the software foremost of terminal operating: if the software foremost of operation do not detected in terminal, obtain the acquiescence screen locking time of terminal as the described software screen locking time.
5. according to the method for the control screen locking time described in any one in claim 1-4, it is characterized in that, if described current screen locking time and described software screen locking asynchronism(-nization), the described current screen locking time is adjusted into the described software screen locking time, comprise: if the described current screen locking time be less than the described software screen locking time, and the difference of described current screen locking time and described software screen locking time is less than predetermined threshold value, the described current screen locking time is adjusted into the described software screen locking time.
6. according to the method for the control screen locking time described in any one in claim 1-4, it is characterized in that, if described current screen locking time and described software screen locking asynchronism(-nization), the described current screen locking time is adjusted into the described software screen locking time, comprise: if the described current screen locking time be greater than the described software screen locking time, and the difference of described current screen locking time and described software screen locking time is greater than predetermined threshold value, the described current screen locking time is adjusted into the described software screen locking time.
7. a device of controlling the screen locking time, is characterized in that, described device comprises:
Software detection module, for detection of the software foremost at terminal operating;
Software screen locking time-obtaining module, for obtaining this software screen locking time of software foremost;
Current screen locking time-obtaining module, for obtaining the current screen locking time of terminal;
Screen locking time comparison module, for the current screen locking time of more described terminal and the software screen locking time of described software foremost;
Screen locking time regulating module, if for described current screen locking time and described software screen locking asynchronism(-nization), is adjusted into the described software screen locking time by the described current screen locking time.
8. the device of control screen locking time according to claim 7, is characterized in that, described software screen locking time-obtaining module further comprises:
Scene is searched subelement, the corresponding scene of software foremost described in searching for the corresponding relation list from preset;
Time is obtained subelement, for obtaining the corresponding software screen locking time of described corresponding scene as this software screen locking time of software foremost.
9. the device of control screen locking time according to claim 8, it is characterized in that, described software screen locking time-obtaining module also comprises scene update subelement, for periodically obtaining scene software matrix from server, according to described scene software matrix, upgrades described corresponding relation list.
10. the device of control screen locking time according to claim 7, is characterized in that, described software detection module also for, when not when terminal detects the software foremost of operation, obtain the acquiescence screen locking time of terminal as the described software screen locking time.
11. according to the device of the control screen locking time described in any one in claim 7-10, it is characterized in that, described screen locking time regulating module specifically for: if the described current screen locking time be less than the described software screen locking time, and the difference of described current screen locking time and described software screen locking time is less than predetermined threshold value, the described current screen locking time is adjusted into the described software screen locking time.
12. according to the device of the control screen locking time described in any one in claim 7-10, it is characterized in that, described screen locking time regulating module specifically for: if the described current screen locking time be greater than the described software screen locking time, and the difference of described current screen locking time and described software screen locking time is greater than predetermined threshold value, the described current screen locking time is adjusted into the described software screen locking time.
CN201310396365.6A 2013-09-03 2013-09-03 Method and device for controlling screen locking time Active CN104133620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310396365.6A CN104133620B (en) 2013-09-03 2013-09-03 Method and device for controlling screen locking time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310396365.6A CN104133620B (en) 2013-09-03 2013-09-03 Method and device for controlling screen locking time

Publications (2)

Publication Number Publication Date
CN104133620A true CN104133620A (en) 2014-11-05
CN104133620B CN104133620B (en) 2015-07-01

Family

ID=51806315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310396365.6A Active CN104133620B (en) 2013-09-03 2013-09-03 Method and device for controlling screen locking time

Country Status (1)

Country Link
CN (1) CN104133620B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549857A (en) * 2015-10-31 2016-05-04 东莞酷派软件技术有限公司 Control method for electronic terminal and electronic terminal
CN105607834A (en) * 2015-12-22 2016-05-25 小米科技有限责任公司 Screen control method and apparatus as well as terminal
CN106293730A (en) * 2016-08-03 2017-01-04 珠海市魅族科技有限公司 A kind of determination method of screen locking time and terminal
CN106528149A (en) * 2016-10-28 2017-03-22 珠海市魅族科技有限公司 Screen locking method and device
CN107526601A (en) * 2017-09-05 2017-12-29 北京珠穆朗玛移动通信有限公司 A kind of mobile terminal method of adjustment, mobile terminal and storage medium
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium
US11671919B2 (en) 2015-05-08 2023-06-06 Honor Device Co., Ltd. Setting information configuration method, terminal, and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662779A (en) * 2012-03-09 2012-09-12 浙江大学城市学院 Method and apparatus for preventing handheld device from locking screen automatically in use
CN102662816A (en) * 2012-03-21 2012-09-12 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
CN103019688A (en) * 2012-11-21 2013-04-03 中兴通讯股份有限公司 Terminal and screen control method for terminal in reading mode
US20130187753A1 (en) * 2012-01-20 2013-07-25 Research In Motion Limited Predictive Context-Aware Dynamic Lock Screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130187753A1 (en) * 2012-01-20 2013-07-25 Research In Motion Limited Predictive Context-Aware Dynamic Lock Screen
CN102662779A (en) * 2012-03-09 2012-09-12 浙江大学城市学院 Method and apparatus for preventing handheld device from locking screen automatically in use
CN102662816A (en) * 2012-03-21 2012-09-12 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
CN103019688A (en) * 2012-11-21 2013-04-03 中兴通讯股份有限公司 Terminal and screen control method for terminal in reading mode

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11671919B2 (en) 2015-05-08 2023-06-06 Honor Device Co., Ltd. Setting information configuration method, terminal, and server
CN105549857A (en) * 2015-10-31 2016-05-04 东莞酷派软件技术有限公司 Control method for electronic terminal and electronic terminal
CN105549857B (en) * 2015-10-31 2018-12-25 东莞酷派软件技术有限公司 A kind of control method and electric terminal of electric terminal
CN105607834A (en) * 2015-12-22 2016-05-25 小米科技有限责任公司 Screen control method and apparatus as well as terminal
CN105607834B (en) * 2015-12-22 2019-02-12 小米科技有限责任公司 Screen control method, device and terminal
CN106293730A (en) * 2016-08-03 2017-01-04 珠海市魅族科技有限公司 A kind of determination method of screen locking time and terminal
CN106528149A (en) * 2016-10-28 2017-03-22 珠海市魅族科技有限公司 Screen locking method and device
CN107526601A (en) * 2017-09-05 2017-12-29 北京珠穆朗玛移动通信有限公司 A kind of mobile terminal method of adjustment, mobile terminal and storage medium
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104133620B (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN104133620B (en) Method and device for controlling screen locking time
US10891142B2 (en) Method and device for preloading application, storage medium, and terminal device
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
CN108595228B (en) Application program prediction model establishing method and device, storage medium and mobile terminal
US20190347107A1 (en) Method for Preloading Application, Storage Medium, and Terminal
CN108958830B (en) Application program starting method and device, storage medium and terminal
EP3575961B1 (en) Method and apparatus for updating application prediction model, storage medium, and terminal
WO2019119985A1 (en) Method for preloading application, storage medium, and terminal device
CN108804153B (en) Application program preloading method and device, storage medium and terminal
EP3026538A1 (en) Method and apparatus for controlling display of electronic device
CN108958828B (en) Application program preloading method and device, storage medium and terminal
CN103581758A (en) Interface display method and intelligent terminal equipment of application product platform
CN105630628A (en) Application restoration method and apparatus
CN102968335A (en) Terminal and terminal memory management method
CN108762844B (en) Application program preloading method and device, storage medium and terminal
CN105354097A (en) Data operation method and device based on clipboard and electronic equipment
CN105812565A (en) Self-adaptive desktop management system and method of external connection display of smart phone
CN105575086A (en) Display apparatus, controlling method and display system
CN108710512B (en) Application program preloading method and device, storage medium and intelligent terminal
CN103902011A (en) Electronic device controlling method and electronic device
CN101950234B (en) Information display method and system of full-screen input application program
CN111813305A (en) Application program starting method and device
CN102360303A (en) Method for upgrading handheld terminal software, and handheld terminal
CN112764611B (en) Application program control method and device and electronic equipment
CN105549857B (en) A kind of control method and electric terminal of electric 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200826

Address after: 518000 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.