CN104142773B - A kind of method and terminal of terminal screen locking - Google Patents

A kind of method and terminal of terminal screen locking Download PDF

Info

Publication number
CN104142773B
CN104142773B CN201310162508.7A CN201310162508A CN104142773B CN 104142773 B CN104142773 B CN 104142773B CN 201310162508 A CN201310162508 A CN 201310162508A CN 104142773 B CN104142773 B CN 104142773B
Authority
CN
China
Prior art keywords
terminal
program
key
touch
closing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310162508.7A
Other languages
Chinese (zh)
Other versions
CN104142773A (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201310162508.7A priority Critical patent/CN104142773B/en
Priority to PCT/CN2013/082949 priority patent/WO2014180081A1/en
Publication of CN104142773A publication Critical patent/CN104142773A/en
Application granted granted Critical
Publication of CN104142773B publication Critical patent/CN104142773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides the methods and terminal of a kind of terminal screen locking.Method includes: the program for detecting terminal foreground and being carrying out;If described program is Multimedia Program, the membrane keyboard and the mechanical key unrelated with described program of the terminal are closed in a manner of actively and/or passively.User can be avoided when experiencing terminal program using the solution of the present invention, surprisingly touching influences brought by membrane keyboard or mechanical key.

Description

Terminal screen locking method and terminal
Technical Field
The invention relates to the technical field of terminals and provides a terminal screen locking method and a terminal.
Background
With the rapid development of communication services, the requirements of customers on the handheld terminal are higher and higher, and the requirements not only on functions but also on user experience are high. The terminal is additionally provided with the touch key, so that the appearance attractiveness and the use convenience of the terminal equipment are improved, the use times of mechanical keys are reduced, and the user experience is improved.
However, while improving the user experience, there is also a possibility that the touch key is touched unintentionally. Touch keys generally provide functions such as: exiting the current software, returning to the main interface or switching to other interfaces, and when the keys are touched by mistake, the corresponding software of the terminal system or the system can execute the corresponding function, thereby causing the problems of exiting the software or exiting the screen and the like.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for locking a screen of a terminal and the terminal, which can avoid the influence caused by accidental touch of a touch key or a mechanical key when a user experiences a terminal program.
In order to solve the above technical problem, an embodiment of the present invention provides a method for locking a screen of a terminal, including:
detecting a program being executed by a terminal foreground;
and if the program is a multimedia program, closing a touch key of the terminal and a mechanical key irrelevant to the program in an active and/or passive mode.
Wherein the step of closing the touch key of the terminal and the mechanical key unrelated to the program in a passive manner comprises:
and closing a touch key of the terminal and a mechanical key irrelevant to the program according to the operation information of the user.
Wherein the step of actively closing the touch key of the terminal and the mechanical key unrelated to the program comprises:
and if the operation information of the user is not detected within the preset time of the program execution, closing a touch key of the terminal and a mechanical key irrelevant to the program.
Wherein, the closing the touch key of the terminal and the mechanical key unrelated to the program in an active and/or passive mode further comprises the following steps:
and restoring the closed touch key and mechanical key according to the operation information of the user.
Wherein, the step of restoring the touch key and the mechanical key that have been closed according to the operation information of the user includes:
setting at least one trigger area in the screen range of the terminal;
and when the condition that the user touches all the trigger areas simultaneously and the touch time reaches a preset threshold is detected, restoring the closed touch keys and mechanical keys.
The method for setting at least one trigger area in the screen range of the terminal comprises the following steps:
at least one trigger area is arranged above the program display position.
Wherein the method further comprises:
and when the program exits, restoring the closed touch key and mechanical key.
An embodiment of the present invention further provides a terminal having a touch screen, including:
the detection module is used for detecting the program being executed by the terminal foreground;
and the closing module is used for closing the touch key of the terminal and the mechanical key irrelevant to the program in an active/passive mode if the program is a multimedia program.
Wherein the shutdown module comprises:
and the passive closing submodule is used for closing the touch key of the terminal and the mechanical key irrelevant to the program by detecting the operation information of the user.
Wherein the shutdown module comprises:
and the active closing submodule is used for closing a touch key of the terminal and a mechanical key irrelevant to the program if the operation information of the user is not detected within the preset time of the program execution.
Wherein, the terminal further includes:
and the first recovery module is used for recovering the closed touch key and the mechanical key according to the operation information of the user.
Wherein the first recovery module comprises:
the setting submodule is used for setting at least one trigger area in the screen range of the terminal;
and the recovery submodule is used for recovering the closed touch keys and mechanical keys when the condition that the user touches all the trigger areas simultaneously and the touching time reaches a preset threshold is detected.
Wherein the setting submodule is specifically configured to:
at least one trigger area is arranged above the program display position.
Wherein, the terminal further includes:
and the second restoring module is used for restoring the closed touch key and the mechanical key when the program exits.
The scheme of the invention has the following beneficial effects:
the method and the terminal provided by the invention have the advantages that the terminal is probably not required to be operated for a long time when the user experiences the multimedia program, so that the touch key of the terminal and the mechanical key irrelevant to the multimedia program can be closed in an active and/or passive mode, and the influence on the experience process caused by the mistaken touch of the user is prevented.
Drawings
FIG. 1 is a schematic diagram illustrating a method for locking a screen of a terminal according to the present invention;
FIG. 2 is a schematic diagram of a terminal vertical screen display program operation;
FIG. 3 is a schematic diagram of the operation of a landscape display program according to the present invention;
FIG. 4 is a diagram of a detection process after locking the terminal in the present invention;
FIG. 5 is a flowchart illustrating unlocking a screen lock on a terminal according to the present invention;
FIG. 6 is a flowchart of the present invention for initiating an unlock interface detection mechanism;
fig. 7 is a schematic structural diagram of a terminal according to the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, a method for locking a screen of a terminal includes:
step 1, detecting a program being executed by a terminal foreground;
and 2, if the program is a multimedia program, closing a touch key of the terminal and a mechanical key irrelevant to the program in an active and/or passive mode.
The method considers that the user may not need to operate the terminal for a long time when experiencing the multimedia program, so that the touch key of the terminal and the mechanical key irrelevant to the running multimedia program can be closed in an active and/or passive mode, and the influence on the experience process caused by the mistaken touch of the user is prevented.
Specifically, in the above embodiment of the present invention, the step 2 of passively turning off the touch key of the terminal and the mechanical key unrelated to the program includes:
and step 21, closing the touch keys of the terminal and the mechanical keys irrelevant to the program according to the operation information of the user. The method can meet the selection requirement of a user, and the user can decide whether to close the touch key of the terminal and the mechanical key irrelevant to the program (for example, the volume key and the camera key of the terminal belong to the mechanical keys, when the terminal executes the music playing program, the volume key can control the sound size, so the terminal is not closed, and the camera key does not play any role in the music playing program, and the current program is switched to the photographing program due to mistaken collision, so the terminal is closed).
Specifically, in the above embodiment of the present invention, the step 2 of actively turning off the touch key of the terminal and the mechanical key unrelated to the program includes:
and if the operation information of the user is not detected within the preset time of the program execution, closing a touch key of the terminal and a mechanical key irrelevant to the program. The method can automatically close the touch key of the terminal and the mechanical key irrelevant to the program in the program execution process, so the operation is more convenient and quicker.
Furthermore, in the above embodiment of the present invention, step 2 is followed by:
and 3, restoring the closed touch keys and mechanical keys according to the operation information of the user. Wherein, the user can restore through the keys of the terminal and/or the touch screen.
The embodiment of the present invention further provides a specific method with respect to step 3, including:
step 31, setting at least one trigger area in the screen range of the terminal;
and step 32, when it is detected that the user touches all the trigger areas simultaneously and the touch time reaches a preset threshold, restoring the closed touch keys and mechanical keys.
Specifically, in the above embodiment of the present invention, step 31 includes:
at least one trigger area is arranged above the program display position. As shown in fig. 2, wherein 1, 2, 3, and 4 are touch keys, a display screen of the terminal can be divided into A, B, C, D4 areas, and when the terminal is in a vertical screen playing program, taking into account the habits of users, the triggering areas can be set near a and/or B to reduce the probability of mistaken touch by the users; while the terminal is in landscape play, as shown in fig. 3, the trigger area may be set near B and/or D.
Furthermore, in the above embodiment of the present invention, the method further includes:
and 4, when the program exits, restoring the closed touch key and mechanical key.
The following is a detailed description of the specific implementation of the above method:
post-lock detection process
As shown in fig. 4, the following steps are performed:
step 401, starting a screen locking opening process (II);
step 402, obtaining user operation information;
step 403, judging whether the application program runs, if so, performing step 404, otherwise, returning to step 402;
step 404, judging whether the user operation information is to be unlocked, if so, performing step 405, otherwise, performing step 402;
step 405, popping up an unlocking interface, and setting a trigger area; it should be noted that the unlocking interface is preferably a modeless window, and does not affect the operation of the current running program interface;
step 406, starting a process (III) of an unlocking interface detection mechanism;
step 407, determining whether the touch area is a trigger area, if yes, performing step 408, and if not, returning to step 402;
step 408, judging whether the touch time reaches a preset threshold, if so, performing step 409, otherwise, returning to step 402;
step 409, unlocking (i.e. restoring the touch key and the mechanical key which are closed);
step 410, closing the popped unlocking interface, and returning to step 402;
the steps in the above embodiment are an unlocking process, when a user operates unlocking, if a current program is still executed, a screen of the terminal displays an unlocking interface, the unlocking interface includes a trigger area, and when the user touches the trigger area and meets conditions, the closed touch key and mechanical key in the terminal can be restored.
Second, open the screen locking procedure
As shown in fig. 5, the following steps are performed:
step 500, acquiring the content of the current screen display page;
step 501, analyzing the content of the page, judging whether the current program is a multimedia program, if so, performing step 502, otherwise, returning to step 500;
step 502, whether the current page is locked and detected, if yes, the step 500 is returned, otherwise, the step 503 is performed;
step 503, setting the current multimedia program as the monitoring object for monitoring;
step 504, starting a timing detection mechanism;
step 505, in a set time, judging whether the operation information of the user is detected, if so, performing step 506, otherwise, performing step 507;
step 506, judging whether the monitoring object exists, if so, returning to step 504, otherwise, returning to step 500;
step 507, locking the screen (namely closing the touch key and the mechanical key irrelevant to the program);
step 508, judging whether the monitored object exists, if yes, returning to step 504, otherwise, releasing the lock screen and returning to step 500.
The above steps are embodiments in which the terminal automatically locks, and after determining that the currently executed program is a multimedia program, a timing detection mechanism is started, and operation information of the user is not detected within a timing time, so that it can be inferred that the user does not need to operate the terminal at the moment, and then the terminal is locked.
Third, starting the detection mechanism of the unlocking interface
As shown in fig. 6, the following steps are performed:
step 600, acquiring a monitoring object (and a multimedia program currently executed by a terminal);
step 601, judging whether a monitoring object exists, if so, performing step 602, otherwise, performing step 603;
step 602, judging whether a preset waiting time is reached, if so, performing step 604, and if not, performing step 603;
step 603, judging whether an unlocking interface exists, if so, returning to the step 601, otherwise, performing the step 604;
step 604, closing the unlocking interface;
step 605, the process flow of the unlock detection mechanism is exited, and the process flow goes to step 402.
The above steps are embodiments of detection after the screen locking interface is started, and in a period of time after the screen locking interface is started, if the user does not further operate unlocking (i.e. touch the trigger area), the unlocking interface is closed.
In conclusion, the method of the invention can prevent the influence of the mistaken touch on the experience of the user by closing the touch key and the mechanical key irrelevant to the current multimedia program; in addition, the whole process is reasonable in design, and inconvenience can not be brought to normal use of the terminal by a user.
As shown in fig. 7, an embodiment of the present invention further provides a terminal having a touch screen, including:
the detection module is used for detecting the program being executed by the terminal foreground;
and the closing module is used for closing the touch key of the terminal and the mechanical key irrelevant to the program in an active/passive mode if the program is a multimedia program.
The device considers that the user does not need to operate the terminal for a long time when experiencing the multimedia program, so that the touch key of the terminal and the mechanical key irrelevant to the running multimedia program can be closed in an active and/or passive mode, and the influence on the experience process caused by the mistaken touch of the user is prevented.
Specifically, in the above embodiment of the present invention, the closing module includes:
and the passive closing submodule is used for closing the touch key of the terminal and the mechanical key irrelevant to the program according to the operation information of the user. The passive closing submodule can meet the selection requirement of a user, and can determine whether to close the touch key of the terminal and the mechanical key irrelevant to the program.
Specifically, in the above embodiment of the present invention, the closing module includes:
and the active closing submodule is used for closing a touch key of the terminal and a mechanical key irrelevant to the program if the operation information of the user is not detected within the preset time of the program execution. The active closing submodule can automatically close the touch key of the terminal and the mechanical key irrelevant to the program in the program execution process, so that the operation is more convenient and quicker.
Furthermore, in the above embodiment of the present invention, the terminal further includes:
and the first recovery module is used for recovering the closed touch key and the mechanical key according to the operation information of the user.
Specifically, the first recovery module may include:
the setting submodule is used for setting at least one trigger area in the screen range of the terminal;
and the recovery submodule is used for recovering the closed touch keys and mechanical keys when the condition that the user touches all the trigger areas simultaneously and the touching time reaches a preset threshold is detected.
Wherein the setting submodule is specifically configured to:
at least one trigger area is arranged above the program display position.
Furthermore, in the above embodiment of the present invention, the terminal further includes:
and the second restoring module is used for restoring the closed touch key and the mechanical key when the program exits.
Obviously, the above embodiment is a terminal embodiment corresponding to the terminal screen locking method in the present invention, and the terminal screen locking method can achieve the technical effect, and the terminal of this embodiment can also achieve the technical effect.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for locking a screen of a terminal is characterized by comprising the following steps:
detecting a program being executed by a terminal foreground;
if the program is a multimedia program, closing a touch key of the terminal and a mechanical key irrelevant to the program in an active and/or passive mode; wherein,
the closing of the touch key of the terminal in an active and/or passive manner and the mechanical key unrelated to the program further comprises the following steps:
restoring the closed touch key and mechanical key according to the operation information of the user; wherein the restoring the touch key and the mechanical key that have been turned off according to the operation information of the user includes:
setting at least one trigger area in the screen range of the terminal;
and when the condition that the user touches all the trigger areas simultaneously and the touch time reaches a preset threshold is detected, restoring the closed touch keys and mechanical keys.
2. The method for locking the screen of the terminal according to claim 1, wherein the step of turning off the touch key and the mechanical key unrelated to the program in a passive manner comprises:
and closing a touch key of the terminal and a mechanical key irrelevant to the program according to the operation information of the user.
3. The method for locking the screen of the terminal according to claim 1, wherein the step of actively turning off the touch key and the mechanical key unrelated to the program of the terminal comprises:
and if the operation information of the user is not detected within the preset time of the program execution, closing a touch key of the terminal and a mechanical key irrelevant to the program.
4. The method for locking the screen of the terminal according to claim 1, wherein the step of setting not less than one trigger area in the screen range of the terminal comprises:
at least one trigger area is arranged above the program display position.
5. The method for locking the screen of the terminal according to claim 1, further comprising:
and when the program exits, restoring the closed touch key and mechanical key.
6. A terminal having a touch screen, comprising:
the detection module is used for detecting the program being executed by the terminal foreground;
the closing module is used for closing a touch key of the terminal and a mechanical key irrelevant to the program in an active/passive mode if the program is a multimedia program;
a first restoring module for restoring the touch key and the mechanical key that have been turned off according to the operation information of the user, wherein the first restoring module includes:
the setting submodule is used for setting at least one trigger area in the screen range of the terminal;
and the recovery submodule is used for recovering the closed touch keys and mechanical keys when the condition that the user touches all the trigger areas simultaneously and the touching time reaches a preset threshold is detected.
7. The terminal of claim 6, wherein the shutdown module comprises:
and the passive closing submodule is used for closing the touch key of the terminal and the mechanical key irrelevant to the program by detecting the operation information of the user.
8. The terminal of claim 6, wherein the shutdown module comprises:
and the active closing submodule is used for closing a touch key of the terminal and a mechanical key irrelevant to the program if the operation information of the user is not detected within the preset time of the program execution.
9. The terminal of claim 6, wherein the setup submodule is specifically configured to:
at least one trigger area is arranged above the program display position.
10. The terminal of claim 6, further comprising:
and the second restoring module is used for restoring the closed touch key and the mechanical key when the program exits.
CN201310162508.7A 2013-05-06 2013-05-06 A kind of method and terminal of terminal screen locking Active CN104142773B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310162508.7A CN104142773B (en) 2013-05-06 2013-05-06 A kind of method and terminal of terminal screen locking
PCT/CN2013/082949 WO2014180081A1 (en) 2013-05-06 2013-09-04 Screen locking method for terminal and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310162508.7A CN104142773B (en) 2013-05-06 2013-05-06 A kind of method and terminal of terminal screen locking

Publications (2)

Publication Number Publication Date
CN104142773A CN104142773A (en) 2014-11-12
CN104142773B true CN104142773B (en) 2019-09-10

Family

ID=51851966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310162508.7A Active CN104142773B (en) 2013-05-06 2013-05-06 A kind of method and terminal of terminal screen locking

Country Status (2)

Country Link
CN (1) CN104142773B (en)
WO (1) WO2014180081A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893886A (en) * 2016-04-01 2016-08-24 乐视控股(北京)有限公司 System locking method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761660A (en) * 2012-06-12 2012-10-31 中兴通讯股份有限公司 Locking method method and device for mobile terminal
CN102902453A (en) * 2012-08-07 2013-01-30 北京小米科技有限责任公司 Display method and device for control panel of player
CN102981717A (en) * 2012-11-12 2013-03-20 东莞宇龙通信科技有限公司 Terminal and touch key-press locking method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101537706B1 (en) * 2009-04-16 2015-07-20 엘지전자 주식회사 Mobile terminal and control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761660A (en) * 2012-06-12 2012-10-31 中兴通讯股份有限公司 Locking method method and device for mobile terminal
CN102902453A (en) * 2012-08-07 2013-01-30 北京小米科技有限责任公司 Display method and device for control panel of player
CN102981717A (en) * 2012-11-12 2013-03-20 东莞宇龙通信科技有限公司 Terminal and touch key-press locking method

Also Published As

Publication number Publication date
WO2014180081A1 (en) 2014-11-13
CN104142773A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
WO2017211062A1 (en) Method for quickly launching application from lock screen, and mobile terminal
US20190361544A1 (en) Triggering Method and Wireless Handheld Device
EP2975499B1 (en) Method and apparatus for preventing misoperation on touchscreen equipped mobile device
KR101909805B1 (en) Method, system for processing figerprint input information and mobile terminal
WO2019157804A1 (en) Method and apparatus for fingerprint unlocking
CN103034446B (en) A kind of is the unblock of electronic installation operation interface and the method and apparatus switching theme
CN101882046A (en) Touch screen unlocking method and system thereof and touch screen device
CN103995642B (en) A kind of management method and mobile terminal of mobile terminal
CN103870181A (en) Handheld device control method, handheld device control device and handheld device
CN105320542B (en) A kind of method and apparatus that mobile terminal exits abnormal interface
CN104765557B (en) A kind of method and device for reducing misoperation of touch screen
TWI675329B (en) Information image display method and device
WO2014121730A1 (en) Electronic device and screen unlocking method thereof
US11366577B2 (en) Method for presentation by terminal device, and terminal device
WO2017185466A1 (en) Intelligent terminal operating method and system
WO2022089355A1 (en) Electronic device control method and electronic device
CN103064622A (en) Screen unlocking method and device for mobile terminal
CN105302369B (en) Method and system for preventing or reducing misoperation of touch screen
CN112947829B (en) Misoperation processing method and device, electronic equipment and readable storage medium
CN104572075B (en) Intelligent terminal information display method and intelligent terminal
CN107741793B (en) Method and device for preventing touch screen from being touched by mistake
CN105827803A (en) Incoming call processing method and mobile terminal
WO2017161761A1 (en) Method and terminal for starting app
CN103677551A (en) Information processing method and electronic device
TWI545495B (en) System and method for operating touch screens

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190809

Address after: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Applicant after: Nanjing Zhongxing New Software Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant