WO2021057614A1 - Method and apparatus for controlling mobile terminal, and computer device and storage medium - Google Patents

Method and apparatus for controlling mobile terminal, and computer device and storage medium Download PDF

Info

Publication number
WO2021057614A1
WO2021057614A1 PCT/CN2020/116166 CN2020116166W WO2021057614A1 WO 2021057614 A1 WO2021057614 A1 WO 2021057614A1 CN 2020116166 W CN2020116166 W CN 2020116166W WO 2021057614 A1 WO2021057614 A1 WO 2021057614A1
Authority
WO
WIPO (PCT)
Prior art keywords
lock
lock mode
mode
control
interface
Prior art date
Application number
PCT/CN2020/116166
Other languages
French (fr)
Chinese (zh)
Inventor
欧阳叶慧
Original Assignee
深圳市万普拉斯科技有限公司
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 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2021057614A1 publication Critical patent/WO2021057614A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the technical field of mobile terminals, and in particular to a control method, device, computer equipment, and storage medium of a mobile terminal.
  • This application provides a control method, device, computer equipment, and storage medium of a mobile terminal.
  • a control method of a mobile terminal includes:
  • the lock mode is entered for a preset period of time, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  • the entering the lock mode when detecting that the timing time arrives includes:
  • a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode;
  • This application also provides a control device for a mobile terminal, including:
  • the timing time acquisition module is used to acquire the preset timing time for entering the lock mode
  • the lock mode activation module is used to enter the lock mode when the timing time is detected and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal Set to disabled state.
  • the present application also provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • the lock mode is entered for a preset period of time, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  • This application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the lock mode is entered for a preset period of time, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  • FIG. 1 is an application environment diagram of a control method of a mobile terminal in an embodiment
  • FIG. 2 is a schematic flowchart of a control method of a mobile terminal in an embodiment
  • FIG. 3 is a schematic flowchart of a control method of a mobile terminal in another embodiment
  • Figure 4 is a schematic diagram of a lock mode interface in an embodiment
  • Figure 5 is a schematic diagram of a lock information interface in an embodiment
  • FIG. 6 is a schematic flowchart of a control method of a mobile terminal in another embodiment
  • FIG. 7 is a structural block diagram of a control device of a mobile terminal in an embodiment
  • Fig. 8 is an internal structure diagram of a computer device in an embodiment.
  • the mobile terminal can block application messages within a set period of time, so as to avoid interference and influence caused by various applications within a certain period of time.
  • the existing mobile terminal control method does not support this function.
  • the mobile terminal control method provided in this application can be applied to the application environment as shown in FIG. 1.
  • the user can turn on the switch to enter the lock mode regularly in the lock mode setting item of the mobile terminal.
  • the default state of the switch is the off state, and the timing time corresponding to the lock mode is set.
  • the mobile terminal obtains the timing time set by the user, and when it detects that the timing time has arrived, it enters the lock mode and continues for a preset time period.
  • the command input function of the mobile terminal is set to a disabled state.
  • the mobile terminal can be, but is not limited to, various smart portable devices such as smart phones and tablet computers.
  • a method for controlling a mobile terminal is provided. Taking the method applied to the mobile terminal in FIG. 1 as an example for description, the method includes the following steps:
  • Step 202 Acquire a preset timing time for entering the lock mode.
  • the user can turn on the switch to enter the lock mode regularly in the lock mode setting item, and set the timing time corresponding to the lock mode.
  • the mobile terminal After the mobile terminal enters the locked mode, the user cannot normally use the mobile terminal to browse webpages, scan Weibo, watch videos, etc.
  • a realistic application scenario is to force users to go to bed early.
  • the fixed time of the lock mode corresponds to the time to fall asleep.
  • the latest fall asleep time by default shall not be later than 12 o’clock in the morning of the day.
  • the latest fall asleep time can be based on The requirements of operational activities have changed.
  • Step 204 When it is detected that the timing time is reached, enter the lock mode and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  • the command input function includes functions realized through command input methods such as screens, buttons, voice assistants, etc., so that users cannot interact with mobile terminals, so that users cannot browse web pages, scan Weibo, watch videos, etc. through mobile terminals.
  • the mobile terminal when the mobile terminal is in the locked mode, the notification received by the mobile terminal is shielded and the locked mode interface is displayed, and the mobile terminal is prohibited from exiting the locked mode interface before reaching the end time of the locked mode.
  • the mobile terminal In the locked mode, the mobile terminal blocks all notifications received. All floating notifications, alert sounds, breathing lights, vibrations, control center, status bar, virtual buttons, physical buttons, gestures, and voice/video calls from third-party applications will be blocked. At the same time, media sounds, alarm sounds, and mobile phone calls will be blocked. The ringtones are all set to volume 0.
  • the lock mode the mobile terminal displays the lock mode interface, and it is forbidden to exit the lock mode interface before the end time of the lock mode is reached.
  • the above control method of the mobile terminal by acquiring the preset timing time for entering the lock mode, when the timing time is detected, the mobile terminal enters the lock mode for a preset period of time.
  • the mobile terminal When the mobile terminal is in the lock mode, the mobile terminal’s The command input function is set to the disabled state, so that the user can turn on the lock mode regularly.
  • the command input function of the mobile terminal After entering the lock mode, the command input function of the mobile terminal is disabled, and the user cannot interact with the mobile terminal, so that the user cannot use the mobile terminal normally, which can block each
  • the interference and influence caused by this kind of terminal application are not affected by the mobile terminal and concentrate on handling other affairs.
  • entering the lock mode includes: step 302, when the timing time is detected, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with unlocking Mode control; step 303, when no touch operation on the unlocking mode control is detected within the preset time, enter the lock mode; after displaying the countdown interface for entering the lock mode, it further includes: step 304, when the preset time is in When a touch operation on the unlocking mode control is detected within, the countdown interface of the lock mode is exited, and the lock mode reminder control is displayed based on the preset time range.
  • the mobile terminal When the timing time arrives, the mobile terminal displays a countdown interface to enter the lock mode, specifically, for example, an interface that counts down to 3 seconds. There is a cancel lock mode control on the countdown screen of the lock mode. After the mobile terminal enters the lock mode, the lock mode cannot be exited even if it is shut down or restarted. The user can click the cancel lock mode control to cancel the lock mode to avoid entering the lock mode by mistake. mode.
  • the mobile terminal When no touch operation on the unlocking mode control is detected within the preset time period, for example, the user does not click the unlocking mode control on the interface that counts down to 3 seconds, at this time, the mobile terminal enters the locked mode.
  • the mobile terminal officially enters the lock mode, shields all notifications received by the mobile terminal, displays the lock mode interface, and prohibits exiting the lock mode interface before reaching the end time of the lock mode.
  • the lock mode reminder control is displayed based on the preset time range.
  • a touch operation on the unlock mode control is detected within the preset time, for example, the user clicks the unlock mode control on the interface for a countdown of 3 seconds.
  • the mobile terminal will not enter the locked mode and exit the locked mode countdown interface ,
  • the user can use the mobile terminal normally, and the mobile terminal displays a lock mode reminder control.
  • the specific form of the lock mode reminder control can be to display a permanent early bed reminder notification to remind the user to go to bed early.
  • the user can click the lock mode reminder control to make the mobile terminal enter the lock mode.
  • the lock mode reminder control is displayed within the preset time range, and will be automatically hidden after a certain period of time. For example, from 12 am to 5 am, if the mobile terminal does not enter the lock mode, the mobile terminal always displays the resident early bed reminder notification, and automatically hides the early bed notification after 5 am.
  • the lock mode interface displays the duration information of the current lock mode; when it is detected that the duration information reaches the preset lock duration, exit the lock mode .
  • the locked mode interface will always be displayed on the forefront.
  • the AOD (Always On Display) or password lock interface will not be displayed.
  • the display content of the lock mode interface includes time, power, information about the length of time the lock mode has been turned on or countdown of the lock time, camera function entrance (cannot use album), and emergency call function entrance.
  • the method further includes: obtaining the opening duration of the lock mode; displaying the lock information interface according to the opening duration, and the lock information interface is provided with a lock theme event input control and a lock information sharing control; obtaining through lock theme events
  • the locked theme event entered by the input control will display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared.
  • the locked information includes the activation duration of the lock mode and the locked theme event.
  • the opening duration of the locked mode refers to the time from entering the locked mode to exiting the locked mode, and the locked subject event refers to the things completed during the opening of the locked mode.
  • the lock theme event input control can input what is done during the lock mode is on, and the user can click the lock information sharing control to complete the sharing of the locked information.
  • the lock information can specifically include: "In the 20 minutes of goodbye to the phone, I am enjoying life intently". What is done during the lock mode activation period can be input by the user through the lock theme event input control when the lock information interface is displayed.
  • the lock theme event can be selected from the existing options, or it can be user-defined input.
  • after entering the lock mode it further includes: when a shutdown request or a restart request is received, the shutdown request or the restart request is not processed, or when the device is restarted and the time after the startup has not reached the end time of the lock mode To keep the lock mode turned on.
  • the mobile terminal After the mobile terminal enters the locked mode, it cannot exit the locked mode even if it is shut down or restarted.
  • the mobile terminal can exit the locked mode only when the lock time is reached.
  • the phone enters the lock mode regularly, only the functions of answering calls, emergency calls, and taking photos will be enabled. Other functions will be blocked by the system. Even if the phone is restarted or turned off and then turned on during the lock mode, the lock mode cannot be exited.
  • the set lock mode time the phone exits the lock mode and automatically restores the state of use before the lock mode was turned on.
  • the method before entering the lock mode, further includes: displaying the lock duration setting interface, receiving feedback information of the lock duration setting interface; generating the lock duration of the lock mode according to the feedback information of the lock duration setting interface; entering the lock mode and continuing to preset
  • the set time period includes: enter the lock mode and continue to lock the length of time.
  • the user can set the duration of the lock mode activation through the lock duration setting interface.
  • the lock duration setting interface is displayed on the mobile terminal. The user sets the lock duration for the lock mode on the displayed lock duration setting interface.
  • the mobile terminal After the feedback information is obtained on the lock duration setting interface, the mobile terminal generates the lock duration according to the feedback information on the lock duration setting interface.
  • the mobile terminal When it is detected that the time is reached , The mobile terminal enters the lock mode and continues to lock for a period of time. For example, if the user clicks the switch in the lock mode setting item, the mobile terminal will pop up the lock duration setting interface, and the user can set the lock duration for this time the lock mode is turned on in the lock duration setting interface.
  • the method further includes: step 602, displaying a reminder mode setting interface, and receiving feedback information on the reminding mode setting interface; step 604, at the timing time At the preset time before arrival, the lock mode reminder control is displayed based on the feedback information of the reminder mode setting interface; entering the lock mode includes: step 606, when the activation operation of the lock mode reminder control is detected, the lock mode is entered.
  • the user can select the reminding method to enter the lock mode through the reminding method setting interface.
  • the reminding method is resident notification by default. The user sets the reminding method for turning on the lock mode this time in the displayed reminding method setting interface.
  • the mobile terminal After obtaining the feedback information in the reminding method setting interface, the mobile terminal displays the lock mode reminder control based on the feedback information of the reminding method setting interface based on the feedback information.
  • the mobile terminal After the user sets the timing time corresponding to the lock mode and before the timing time arrives, for example, 1 hour before the set timing time, the mobile terminal displays the lock mode reminder control, such as the permanent notification ahead of 1 hour before the set time. The hour is triggered and cannot be swiped to delete. The user can click the lock mode reminder control on the mobile terminal to make the mobile terminal enter the lock mode.
  • the method further includes: when the activation operation of the lock mode reminder control is not detected, keep displaying the lock mode reminder control until the preset time is reached Click to hide the lock mode reminder control.
  • the mobile terminal will not enter the lock mode.
  • the lock mode reminder control is displayed within the preset time range, and will be automatically hidden after a certain period of time. For example, from 12 am to 5 am, if the mobile terminal does not enter the lock mode, the mobile terminal keeps displaying the resident early bed reminder notification, and automatically hides the early bed notification after 5 am.
  • a control device of a mobile terminal includes: a timing time acquisition module 702 and a lock mode activation module 704.
  • the timing time acquisition module 702 is configured to acquire the preset timing time for entering the lock mode.
  • the lock mode activation module 704 is configured to enter the lock mode when it is detected that the time is reached, and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  • the lock mode activation module is also used to display a countdown interface for entering the lock mode when it is detected that the timing time has elapsed.
  • the countdown interface is provided with a control for canceling the lock mode; when the unlocking is not detected within the preset time period
  • the mode control enters the lock mode when the mode control is touched;
  • the control device of the mobile terminal also includes a lock reminder module, which is used to exit the lock mode countdown interface when a touch operation on the unlock mode control is detected within a preset time period , And display the lock mode reminder control based on the preset time range.
  • the lock mode activation module is also used to display the duration information of the current lock mode on the lock mode interface in the lock mode; the control device of the mobile terminal also includes a lock mode exit module for detecting When the duration information reaches the preset lock duration, the lock mode is exited.
  • the control device of the mobile terminal further includes a lock information sharing module for obtaining the opening duration of the lock mode; a lock information interface is displayed according to the opening duration, and the lock information interface is provided with a lock theme event input control and a lock information sharing control ; Obtain the locked theme event input through the locked theme event input control, and display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared, and the locked information includes the opening duration of the lock mode and Lock the subject event.
  • a lock information sharing module for obtaining the opening duration of the lock mode
  • a lock information interface is displayed according to the opening duration, and the lock information interface is provided with a lock theme event input control and a lock information sharing control ;
  • control device of the mobile terminal further includes a lock duration acquisition module, configured to display a lock duration setting interface, and receive feedback information of the lock duration setting interface; generate the lock duration of the lock mode according to the feedback information of the lock duration setting interface;
  • the lock mode activation module is also used to enter the lock mode and continue to lock for a long time.
  • control device of the mobile terminal further includes a reminder mode acquisition module, which is used to display the reminder mode setting interface and receive feedback information of the reminder mode setting interface; the preset time before the scheduled time arrives, based on the reminder mode setting interface
  • the feedback information shows the lock mode reminder control; the lock mode opening module is also used to enter the lock mode when the activation operation of the lock mode reminder control is detected.
  • control device of the mobile terminal further includes a lock reminder holding module, which is used to keep displaying the lock mode reminder control when the activation operation of the lock mode reminder control is not detected, until the preset time point is reached, hide the lock Mode reminder control.
  • a lock reminder holding module which is used to keep displaying the lock mode reminder control when the activation operation of the lock mode reminder control is not detected, until the preset time point is reached, hide the lock Mode reminder control.
  • control device of the mobile terminal further includes a lock mode maintaining module, which is used to not process the shutdown request or the restart request when a shutdown request or a restart request is received, or the time is not reached after the restart and the restart. At the end time of the lock mode, the lock mode remains on.
  • the lock mode activation module is also used to shield the notification received by the mobile terminal and display the lock mode interface when the mobile terminal is in the lock mode, and prohibit the mobile terminal from exiting the lock mode until the end time of the lock mode is reached.
  • the lock mode interface is described.
  • Each module in the above-mentioned control device of the mobile terminal can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided, and the computer device may be a mobile terminal.
  • FIG. 8 provides an internal structure diagram of a mobile terminal.
  • the mobile terminal includes a processor, a memory, and a display screen connected through a system bus.
  • the processor is used to provide computing and control capabilities.
  • the memory includes a non-volatile storage medium and internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the method executed by the mobile terminal in FIG. 1 may be specifically completed by the processor of the mobile terminal, that is, a method for controlling the mobile terminal is implemented when a computer program is executed by the processor.
  • FIG. 8 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied.
  • the specific mobile terminal may include More or fewer parts than shown in the figure, or some parts are combined, or have a different arrangement of parts.
  • a computer device including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: acquiring a preset timing time for entering a locked mode; When the timing time arrives, it enters the lock mode and continues for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  • the processor executes the computer program, the following steps are also implemented: when the time is detected, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode; When the touch operation on the unlock mode control is reached, the lock mode is entered; when the touch operation on the unlock mode control is detected within the preset time, the countdown interface of the lock mode is exited, and the lock is displayed based on the preset time range Mode reminder control.
  • the processor further implements the following steps when executing the computer program: in the lock mode, the lock mode interface displays the duration information of the current lock mode; when it is detected that the duration information reaches the preset lock duration, Exit lock mode.
  • the processor when the processor executes the computer program, the processor further implements the following steps: obtaining the opening duration of the lock mode; displaying the lock information interface according to the opening duration, and the locking information interface is provided with a lock theme event input control and a lock information sharing control; The locked theme event entered by the lock theme event input control will display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared.
  • the locked information includes the opening duration of the lock mode and the locked theme event .
  • the processor further implements the following steps when executing the computer program: displaying the lock duration setting interface, receiving feedback information of the lock duration setting interface; generating the lock duration of the lock mode according to the feedback information of the lock duration setting interface; entering the lock mode And continue to lock the length of time.
  • the processor further implements the following steps when executing the computer program: displaying the reminding mode setting interface, and receiving feedback information on the reminding mode setting interface; at the preset time before the timing time arrives, setting the interface feedback information based on the reminding mode
  • the lock mode reminder control is displayed; when the activation operation of the lock mode reminder control is detected, the lock mode is entered.
  • the processor further implements the following steps when executing the computer program: when the activation operation of the lock mode reminder control is not detected, keep displaying the lock mode reminder control until the preset time point is reached, hide the lock mode reminder control .
  • the processor further implements the following steps when executing the computer program: when a shutdown request or a restart request is received, the shutdown request or restart request is not processed, or when the computer is restarted and the time has not reached the locked mode after the restart At the end of the time, keep the lock mode on.
  • the processor further implements the following steps when executing the computer program: when the mobile terminal is in the locked mode, it shields the notifications received by the mobile terminal and displays the locked mode interface, and prohibits until the end time of the locked mode is reached. The mobile terminal exits the locked mode interface.
  • a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the following steps are also implemented: obtaining a preset timing time for entering the lock mode; when the timing time is detected When it arrives, it enters the locked mode and continues for a preset time period, wherein when the mobile terminal is in the locked mode, the command input function of the mobile terminal is set to a disabled state.
  • the following steps are also implemented: when it is detected that the time is reached, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode; When a touch operation on the unlock mode control is detected, the lock mode is entered; when a touch operation on the unlock mode control is detected within the preset time, the countdown interface of the lock mode is exited and displayed based on the preset time range Lock mode reminder control.
  • the lock mode interface displays the duration information of the current lock mode; when it is detected that the duration information reaches the preset lock duration To exit the lock mode.
  • the following steps are further implemented: acquiring the opening duration of the lock mode; displaying a lock information interface according to the opening duration, and the locking information interface is provided with a lock theme event input control and a lock information sharing control;
  • the locked theme event input through the locked theme event input control will display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared.
  • the locked information includes the opening duration of the lock mode and the locked theme event.
  • the following steps are further implemented: display the lock duration setting interface, receive feedback information of the lock duration setting interface; generate the lock duration of the lock mode according to the feedback information of the lock duration setting interface; enter the lock Mode and keep locked for a long time.
  • the following steps are also implemented: display the reminder mode setting interface, and receive the feedback information of the reminder mode setting interface; the preset time before the timing time arrives, based on the reminder mode setting interface feedback The information displays the lock mode reminder control; when the activation operation of the lock mode reminder control is detected, the lock mode is entered.
  • the following steps are further implemented: when the activation operation of the lock mode reminder control is not detected, the lock mode reminder control is kept displayed until the preset time point is reached, and the lock mode reminder is hidden Control.
  • the following steps are also implemented: when a shutdown request or a restart request is received, the shutdown request or restart request is not processed, or the computer program is restarted and the time has not reached the locked mode after the restart At the end of the time, keep the lock mode turned on.
  • the following steps are further implemented: when the mobile terminal is in the locked mode, the notification received by the mobile terminal is shielded and the locked mode interface is displayed, and before the end time of the locked mode is reached, Prohibit the mobile terminal from exiting the locked mode interface.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

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

Abstract

The present application relates to the technical field of mobile terminals, and in particular to a method and apparatus for controlling a mobile terminal, and a computer device and a storage medium. The method in one embodiment comprises: acquiring a preset timed time at which a locked mode is entered, and when it is detected that the timed time is reached, a mobile terminal entering the locked mode and staying in same for a preset time period, wherein when the mobile terminal is in the locked mode, an instruction input function of the mobile terminal is set to be in a disabled state.

Description

移动终端的控制方法、装置、计算机设备和存储介质Control method, device, computer equipment and storage medium of mobile terminal
本申请要求2019年09月24日递交的、标题为“移动终端的控制方法、装置、计算机设备和存储介质”、申请号为2019109047862的中国申请,其公开内容通过引用全部结合在本申请中。。This application requires a Chinese application filed on September 24, 2019, titled "Mobile Terminal Control Method, Device, Computer Equipment, and Storage Medium", with an application number of 2019109047862, the disclosure of which is fully incorporated into this application by reference. .
技术领域Technical field
本申请涉及移动终端技术领域,特别是涉及一种移动终端的控制方法、装置、计算机设备和存储介质。This application relates to the technical field of mobile terminals, and in particular to a control method, device, computer equipment, and storage medium of a mobile terminal.
背景技术Background technique
随着科学技术的发展,智能手机、平板等移动终端在人们的生产生活中得到了广泛的应用,可以通过移动终端获取各种资讯或者学习各种技能等,这些都极大地方便了人们的生产生活。With the development of science and technology, mobile terminals such as smart phones and tablets have been widely used in people's production and life. You can obtain various information or learn various skills through mobile terminals, which greatly facilitates people's production. life.
受限于终端用户的自我控制力,用户容易长时间地使用智能终端,比如有些用户沉迷于移动终端的游戏,花费大量时间刷微博、微信、短视频等应用,无形中占用睡眠时间,这样给用户带来了很大的伤害。Limited by the self-control of terminal users, users are likely to use smart terminals for a long time. For example, some users are addicted to mobile terminal games and spend a lot of time on Weibo, WeChat, short video and other applications, which invisibly occupy sleep time. It has caused great harm to users.
发明内容Summary of the invention
本申请提供一种移动终端的控制方法、装置、计算机设备和存储介质。This application provides a control method, device, computer equipment, and storage medium of a mobile terminal.
一种移动终端的控制方法,包括:A control method of a mobile terminal includes:
获取进入锁定模式的预设定时时间;Obtain the preset timing time for entering the lock mode;
当检测到所述定时时间到达时,进入所述锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,所述移动终端的指令输入功能设为停用状态。When it is detected that the timing time is reached, the lock mode is entered for a preset period of time, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
在一个实施例中,所述当检测到所述定时时间到达时,进入所述锁定模式包括:In an embodiment, the entering the lock mode when detecting that the timing time arrives includes:
当检测到所述定时时间到达时,显示进入锁定模式的倒计时界面,所述倒计时界面设有取消锁定模式控件;When it is detected that the timing time is reached, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode;
当在预设时长内未检测到对所述取消锁定模式控件的触控操作时,进入 所述锁定模式;Entering the lock mode when no touch operation on the unlocking mode control is detected within a preset time period;
所述显示进入锁定模式的倒计时界面之后,还包括:After displaying the countdown interface for entering the lock mode, it further includes:
当在预设时长内检测到对所述取消锁定模式控件的触控操作时,退出所述锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。When a touch operation on the unlocking mode control is detected within a preset time period, the countdown interface of the lock mode is exited, and the lock mode reminder control is displayed based on the preset time range.
本申请还提供一种移动终端的控制装置,包括:This application also provides a control device for a mobile terminal, including:
定时时间获取模块,用于获取进入锁定模式的预设定时时间;The timing time acquisition module is used to acquire the preset timing time for entering the lock mode;
锁定模式开启模块,用于当检测到所述定时时间到达时,进入所述锁定模式,并持续预设时间段,其中,当所述移动终端处于锁定模式时,所述移动终端的指令输入功能设为停用状态。The lock mode activation module is used to enter the lock mode when the timing time is detected and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal Set to disabled state.
本申请还提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:The present application also provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
获取进入锁定模式的预设定时时间;Obtain the preset timing time for entering the lock mode;
当检测到所述定时时间到达时,进入所述锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,所述移动终端的指令输入功能设为停用状态。When it is detected that the timing time is reached, the lock mode is entered for a preset period of time, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:This application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取进入锁定模式的预设定时时间;Obtain the preset timing time for entering the lock mode;
当检测到所述定时时间到达时,进入所述锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,所述移动终端的指令输入功能设为停用状态。When it is detected that the timing time is reached, the lock mode is entered for a preset period of time, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
本发明的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the present invention are set forth in the following drawings and description. Other features, objects and advantages of the present invention will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更好地描述和说明本申请的实施例,可参考一幅或多幅附图,但用于描述附图的附加细节或示例不应当被认为是对本申请的发明创造、目前所描述的实施例或优选方式中任何一者的范围的限制。In order to better describe and illustrate the embodiments of the present application, one or more drawings may be referred to, but the additional details or examples used to describe the drawings should not be considered as the invention and the implementation of the present description of the present application. The scope of any one of the examples or preferred modes is limited.
图1为一个实施例中移动终端的控制方法的应用环境图;FIG. 1 is an application environment diagram of a control method of a mobile terminal in an embodiment;
图2为一个实施例中移动终端的控制方法的流程示意图;FIG. 2 is a schematic flowchart of a control method of a mobile terminal in an embodiment;
图3为另一个实施例中移动终端的控制方法的流程示意图;FIG. 3 is a schematic flowchart of a control method of a mobile terminal in another embodiment;
图4为一个实施例中锁定模式界面的示意图;Figure 4 is a schematic diagram of a lock mode interface in an embodiment;
图5为一个实施例中锁定信息界面的示意图;Figure 5 is a schematic diagram of a lock information interface in an embodiment;
图6为又一个实施例中移动终端的控制方法的流程示意图;FIG. 6 is a schematic flowchart of a control method of a mobile terminal in another embodiment;
图7为一个实施例中移动终端的控制装置的结构框图;FIG. 7 is a structural block diagram of a control device of a mobile terminal in an embodiment;
图8为一个实施例中计算机设备的内部结构图。Fig. 8 is an internal structure diagram of a computer device in an embodiment.
具体实施方式detailed description
有用户提出希望移动终端能够在设定的一定时间内屏蔽应用程序的消息,以避免在一定时间内受到各种应用程序带来的干扰和影响。然而现有移动终端控制方法并不支持这项功能。Some users have proposed that the mobile terminal can block application messages within a set period of time, so as to avoid interference and influence caused by various applications within a certain period of time. However, the existing mobile terminal control method does not support this function.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
本申请提供的移动终端的控制方法,可以应用于如图1所示的应用环境中。用户可以在移动终端的锁定模式设置项中开启定时进入锁定模式的开关,该开关默认状态为关闭状态,设定锁定模式对应的定时时间。移动终端获取用户设定的定时时间,当检测到定时时间到达时,进入锁定模式,并持续预设时间段。当移动终端处于锁定模式时,移动终端的指令输入功能设为停用状态。其中,移动终端可以但不限于是各种智能手机和平板电脑等智能便携设备。The mobile terminal control method provided in this application can be applied to the application environment as shown in FIG. 1. The user can turn on the switch to enter the lock mode regularly in the lock mode setting item of the mobile terminal. The default state of the switch is the off state, and the timing time corresponding to the lock mode is set. The mobile terminal obtains the timing time set by the user, and when it detects that the timing time has arrived, it enters the lock mode and continues for a preset time period. When the mobile terminal is in the locked mode, the command input function of the mobile terminal is set to a disabled state. Among them, the mobile terminal can be, but is not limited to, various smart portable devices such as smart phones and tablet computers.
在一个实施例中,如图2所示,提供了一种移动终端的控制方法,以该方法应用于图1中的移动终端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a method for controlling a mobile terminal is provided. Taking the method applied to the mobile terminal in FIG. 1 as an example for description, the method includes the following steps:
步骤202,获取进入锁定模式的预设定时时间。Step 202: Acquire a preset timing time for entering the lock mode.
用户可以在锁定模式设置项中开启定时进入锁定模式的开关,设定锁定模式对应的定时时间。移动终端进入锁定模式后,用户无法正常使用移动终端浏览网页、刷微博、观看视频等。一个现实的应用场景为强制用户早睡,此时,锁定模式的定时时间即对应入睡时间,比如,最晚入睡时间默认不得晚于当日的凌晨12点,非必要地,最晚入睡时间可以根据运营活动需求发生改变。The user can turn on the switch to enter the lock mode regularly in the lock mode setting item, and set the timing time corresponding to the lock mode. After the mobile terminal enters the locked mode, the user cannot normally use the mobile terminal to browse webpages, scan Weibo, watch videos, etc. A realistic application scenario is to force users to go to bed early. At this time, the fixed time of the lock mode corresponds to the time to fall asleep. For example, the latest fall asleep time by default shall not be later than 12 o’clock in the morning of the day. Optionally, the latest fall asleep time can be based on The requirements of operational activities have changed.
步骤204,当检测到定时时间到达时,进入锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,移动终端的指令输入功能设为停用状态。Step 204: When it is detected that the timing time is reached, enter the lock mode and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
当设定的锁定模式定时时间到达时,移动终端进入锁定模式并持续预设时间段,此时,停用移动终端的指令输入功能。指令输入功能包括通过屏幕、按键、语音助手等指令输入方式实现的功能,这样用户无法与移动终端进行交互,从而使用户无法通过移动终端浏览网页、刷微博、观看视频等。When the set lock mode timing time arrives, the mobile terminal enters the lock mode and continues for a preset time period. At this time, the command input function of the mobile terminal is disabled. The command input function includes functions realized through command input methods such as screens, buttons, voice assistants, etc., so that users cannot interact with mobile terminals, so that users cannot browse web pages, scan Weibo, watch videos, etc. through mobile terminals.
进一步地,当移动终端处于锁定模式时,屏蔽移动终端接收到的通知,并显示锁定模式界面,且在到达锁定模式的结束时间之前,禁止移动终端退出锁定模式界面。移动终端在锁定模式下,屏蔽接收到的所有通知。所有的悬浮通知、提示音、呼吸灯、振动、控制中心、状态栏、虚拟按键、实体按键、手势、第三方应用的语音/视频来电将全部被屏蔽,同时,媒体音、闹钟音、手机来电铃声全部被置为音量0。在锁定模式下,移动终端显示锁定模式界面,且在到达锁定模式的结束时间之前,禁止退出锁定模式界面。Further, when the mobile terminal is in the locked mode, the notification received by the mobile terminal is shielded and the locked mode interface is displayed, and the mobile terminal is prohibited from exiting the locked mode interface before reaching the end time of the locked mode. In the locked mode, the mobile terminal blocks all notifications received. All floating notifications, alert sounds, breathing lights, vibrations, control center, status bar, virtual buttons, physical buttons, gestures, and voice/video calls from third-party applications will be blocked. At the same time, media sounds, alarm sounds, and mobile phone calls will be blocked. The ringtones are all set to volume 0. In the lock mode, the mobile terminal displays the lock mode interface, and it is forbidden to exit the lock mode interface before the end time of the lock mode is reached.
上述移动终端的控制方法,通过获取进入锁定模式的预设定时时间,当检测到定时时间到达时,移动终端进入锁定模式,并持续预设时间段,当移动终端处于锁定模式时,移动终端的指令输入功能设为停用状态,这样用户可以定时开启锁定模式,进入锁定模式后移动终端的指令输入功能停用,用户无法与移动终端进行交互,这样用户无法正常使用移动终端,从而可以屏蔽各种终端应用带来的干扰和影响,不受移动终端影响专心处理其他事务。The above control method of the mobile terminal, by acquiring the preset timing time for entering the lock mode, when the timing time is detected, the mobile terminal enters the lock mode for a preset period of time. When the mobile terminal is in the lock mode, the mobile terminal’s The command input function is set to the disabled state, so that the user can turn on the lock mode regularly. After entering the lock mode, the command input function of the mobile terminal is disabled, and the user cannot interact with the mobile terminal, so that the user cannot use the mobile terminal normally, which can block each The interference and influence caused by this kind of terminal application are not affected by the mobile terminal and concentrate on handling other affairs.
在一个实施例中,如图3所示,当检测到定时时间到达时,进入锁定模式包括:步骤302,当检测到定时时间到达时,显示进入锁定模式的倒计时界面,倒计时界面设有取消锁定模式控件;步骤303,当在预设时长内未检测到对取消锁定模式控件的触控操作时,进入锁定模式;显示进入锁定模式的倒计时界面之后,还包括:步骤304,当在预设时长内检测到对取消锁定模式控件的触控操作时,退出锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。当定时时间到达时,移动终端显示进入锁定模式的倒计时界面,具体地,比如倒计时3秒的界面。在锁定模式的倒计时界面设有取消锁定模式控件,由于移动终端进入锁定模式后,即使关机或重启也无法退出锁定模式,用户可以通过点击取消锁定模式控件取消进入锁定模式, 以避免误操作进入锁定模式。In one embodiment, as shown in FIG. 3, when the timing time is detected, entering the lock mode includes: step 302, when the timing time is detected, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with unlocking Mode control; step 303, when no touch operation on the unlocking mode control is detected within the preset time, enter the lock mode; after displaying the countdown interface for entering the lock mode, it further includes: step 304, when the preset time is in When a touch operation on the unlocking mode control is detected within, the countdown interface of the lock mode is exited, and the lock mode reminder control is displayed based on the preset time range. When the timing time arrives, the mobile terminal displays a countdown interface to enter the lock mode, specifically, for example, an interface that counts down to 3 seconds. There is a cancel lock mode control on the countdown screen of the lock mode. After the mobile terminal enters the lock mode, the lock mode cannot be exited even if it is shut down or restarted. The user can click the cancel lock mode control to cancel the lock mode to avoid entering the lock mode by mistake. mode.
当在预设时长内未检测到对取消锁定模式控件的触控操作时,比如用户在倒计时3秒的界面没有点击取消锁定模式控件,此时,移动终端进入锁定模式。移动终端正式进入锁定模式,屏蔽移动终端接收到的所有通知,显示锁定模式界面,且在到达锁定模式的结束时间之前,禁止退出锁定模式界面。When no touch operation on the unlocking mode control is detected within the preset time period, for example, the user does not click the unlocking mode control on the interface that counts down to 3 seconds, at this time, the mobile terminal enters the locked mode. The mobile terminal officially enters the lock mode, shields all notifications received by the mobile terminal, displays the lock mode interface, and prohibits exiting the lock mode interface before reaching the end time of the lock mode.
当在预设时长内检测到对取消锁定模式控件的触控操作时,退出锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。当在预设时长内检测到对取消锁定模式控件的触控操作时,比如用户在倒计时3秒的界面点击取消锁定模式控件,此时,移动终端不会进入锁定模式,退出锁定模式的倒计时界面,用户可以正常使用移动终端,并且移动终端显示锁定模式提醒控件,锁定模式提醒控件的具体表现形式可以是显示常驻的早睡提醒通知,以提醒用户早睡。用户可以通过点击该锁定模式提醒控件,以使移动终端进入锁定模式。该锁定模式提醒控件在预设时间范围内显示,超过一定时间后会自动隐藏。比如,在凌晨12点至凌晨5点,如果移动终端未进入锁定模式,那么移动终端一直显示常驻的早睡提醒通知,而在凌晨5点后自动隐藏该早睡通知。When a touch operation on the unlock mode control is detected within the preset time period, the countdown interface of the lock mode is exited, and the lock mode reminder control is displayed based on the preset time range. When a touch operation on the unlock mode control is detected within the preset time, for example, the user clicks the unlock mode control on the interface for a countdown of 3 seconds. At this time, the mobile terminal will not enter the locked mode and exit the locked mode countdown interface , The user can use the mobile terminal normally, and the mobile terminal displays a lock mode reminder control. The specific form of the lock mode reminder control can be to display a permanent early bed reminder notification to remind the user to go to bed early. The user can click the lock mode reminder control to make the mobile terminal enter the lock mode. The lock mode reminder control is displayed within the preset time range, and will be automatically hidden after a certain period of time. For example, from 12 am to 5 am, if the mobile terminal does not enter the lock mode, the mobile terminal always displays the resident early bed reminder notification, and automatically hides the early bed notification after 5 am.
在一个实施例中,进入锁定模式之后,还包括:在锁定模式下,锁定模式界面上显示本次锁定模式已开启的时长信息;当检测到时长信息到达预设的锁定时长时,退出锁定模式。移动终端在锁定模式下,锁定模式界面将始终显示在最前面,此时不显示AOD(Always On Display,息屏显示)或者密码锁界面。如图4所示,锁定模式界面的显示内容包括时间、电量、锁定模式已开启的时长信息或者锁定时间的倒计时、相机功能入口(无法使用相册)、紧急呼叫功能入口。In one embodiment, after entering the lock mode, it further includes: in the lock mode, the lock mode interface displays the duration information of the current lock mode; when it is detected that the duration information reaches the preset lock duration, exit the lock mode . When the mobile terminal is in the locked mode, the locked mode interface will always be displayed on the forefront. At this time, the AOD (Always On Display) or password lock interface will not be displayed. As shown in Fig. 4, the display content of the lock mode interface includes time, power, information about the length of time the lock mode has been turned on or countdown of the lock time, camera function entrance (cannot use album), and emergency call function entrance.
在一个实施例中,退出锁定模式之后,还包括:获取锁定模式的开启时长;根据开启时长显示锁定信息界面,锁定信息界面设有锁定主题事件输入控件以及锁定信息分享控件;获取通过锁定主题事件输入控件输入的锁定主题事件,将锁定主题事件显示于锁定信息界面;当检测到对锁定信息分享控件的点击操作时,分享锁定信息,锁定信息包括锁定模式的开启时长以及锁定主题事件。锁定模式的开启时长是指从进入锁定模式到退出锁定模式的时长,锁定主题事件是指在锁定模式开启期间完成的事情。用户可以通过锁定 主题事件输入控件输入在锁定模式开启期间完成的事情,用户可以通过点击锁定信息分享控件,完成对锁定信息的分享。如图5所示,在锁定信息界面,锁定信息具体可以包括:“暂别手机的20分钟里,我在专注地享受生活”。锁定模式开启期间完成的事情可以是在显示锁定信息界面时,由用户通过锁定主题事件输入控件输入,具体可以从已有的选项中选择锁定主题事件,也可以是用户自定义输入。In one embodiment, after exiting the lock mode, the method further includes: obtaining the opening duration of the lock mode; displaying the lock information interface according to the opening duration, and the lock information interface is provided with a lock theme event input control and a lock information sharing control; obtaining through lock theme events The locked theme event entered by the input control will display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared. The locked information includes the activation duration of the lock mode and the locked theme event. The opening duration of the locked mode refers to the time from entering the locked mode to exiting the locked mode, and the locked subject event refers to the things completed during the opening of the locked mode. The user can use the lock theme event input control to input what is done during the lock mode is on, and the user can click the lock information sharing control to complete the sharing of the locked information. As shown in Figure 5, in the lock information interface, the lock information can specifically include: "In the 20 minutes of goodbye to the phone, I am enjoying life intently". What is done during the lock mode activation period can be input by the user through the lock theme event input control when the lock information interface is displayed. Specifically, the lock theme event can be selected from the existing options, or it can be user-defined input.
在一个实施例中,进入锁定模式之后,还包括:当接收到关机请求或重启请求时,对关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达锁定模式的结束时间时,保持开启锁定模式。移动终端进入锁定模式后,即使关机或重启也无法退出锁定模式,在锁定时间到达时,移动终端才可以退出锁定模式。手机定时进入锁定模式,将只开放接听电话、紧急呼叫和拍照功能,其它的功能都会被系统封锁,即使在锁定模式过程中重新启动手机或者关机再开启手机,都无法退出锁定模式。在达到设定的锁定模式时间,手机退出锁定模式,且自动恢复开启锁定模式前的使用状态。In one embodiment, after entering the lock mode, it further includes: when a shutdown request or a restart request is received, the shutdown request or the restart request is not processed, or when the device is restarted and the time after the startup has not reached the end time of the lock mode To keep the lock mode turned on. After the mobile terminal enters the locked mode, it cannot exit the locked mode even if it is shut down or restarted. The mobile terminal can exit the locked mode only when the lock time is reached. When the phone enters the lock mode regularly, only the functions of answering calls, emergency calls, and taking photos will be enabled. Other functions will be blocked by the system. Even if the phone is restarted or turned off and then turned on during the lock mode, the lock mode cannot be exited. When the set lock mode time is reached, the phone exits the lock mode and automatically restores the state of use before the lock mode was turned on.
在一个实施例中,进入锁定模式之前,还包括:显示锁定时长设置界面,接收锁定时长设置界面的反馈信息;根据锁定时长设置界面的反馈信息生成锁定模式的锁定时长;进入锁定模式并持续预设时间段包括:进入锁定模式并持续锁定时长。用户可以通过锁定时长设置界面设置开启锁定模式的时长,在移动终端开启锁定模式之前,移动终端上显示锁定时长设置界面。用户在显示的锁定时长设置界面设置本次开启锁定模式的锁定时长,在锁定时长设置界面获取到反馈信息后,移动终端根据锁定时长设置界面的反馈信息生成锁定时长,当检测到定时时间到达时,移动终端进入锁定模式并持续锁定时长。比如,用户点击锁定模式设置项中的开关,移动终端将弹出锁定时长设置界面,用户可以在锁定时长设置界面设置本次开启锁定模式的锁定时长。In one embodiment, before entering the lock mode, the method further includes: displaying the lock duration setting interface, receiving feedback information of the lock duration setting interface; generating the lock duration of the lock mode according to the feedback information of the lock duration setting interface; entering the lock mode and continuing to preset The set time period includes: enter the lock mode and continue to lock the length of time. The user can set the duration of the lock mode activation through the lock duration setting interface. Before the mobile terminal turns on the lock mode, the lock duration setting interface is displayed on the mobile terminal. The user sets the lock duration for the lock mode on the displayed lock duration setting interface. After the feedback information is obtained on the lock duration setting interface, the mobile terminal generates the lock duration according to the feedback information on the lock duration setting interface. When it is detected that the time is reached , The mobile terminal enters the lock mode and continues to lock for a period of time. For example, if the user clicks the switch in the lock mode setting item, the mobile terminal will pop up the lock duration setting interface, and the user can set the lock duration for this time the lock mode is turned on in the lock duration setting interface.
在一个实施例中,如图6所示,获取进入锁定模式的预设定时时间之后,还包括:步骤602,显示提醒方式设置界面,接收提醒方式设置界面的反馈信息;步骤604,在定时时间到达前的预设时间,基于提醒方式设置界面的反馈信息显示锁定模式提醒控件;进入锁定模式包括:步骤606,当检测到对锁定模式提醒控件的启用操作时,进入锁定模式。用户可以通过提醒方式设置界面选择进入锁定模式的提醒方式,比如,提醒方式默认为常驻通知。 用户在显示的提醒方式设置界面设置本次开启锁定模式的提醒方式,在提醒方式设置界面获取到反馈信息后,移动终端根据提醒方式设置界面的反馈信息,基于反馈信息显示锁定模式提醒控件。在用户设定好锁定模式对应的定时时间之后,定时时间到达之前,比如在设定的定时时间前1个小时,移动终端显示锁定模式提醒控件,比如常驻通知提前于设定时间之前的1个小时被触发,且不可被滑动删除。用户可以通过点击移动终端上的锁定模式提醒控件,使得移动终端进入锁定模式。In one embodiment, as shown in FIG. 6, after obtaining the preset timing time for entering the lock mode, the method further includes: step 602, displaying a reminder mode setting interface, and receiving feedback information on the reminding mode setting interface; step 604, at the timing time At the preset time before arrival, the lock mode reminder control is displayed based on the feedback information of the reminder mode setting interface; entering the lock mode includes: step 606, when the activation operation of the lock mode reminder control is detected, the lock mode is entered. The user can select the reminding method to enter the lock mode through the reminding method setting interface. For example, the reminding method is resident notification by default. The user sets the reminding method for turning on the lock mode this time in the displayed reminding method setting interface. After obtaining the feedback information in the reminding method setting interface, the mobile terminal displays the lock mode reminder control based on the feedback information of the reminding method setting interface based on the feedback information. After the user sets the timing time corresponding to the lock mode and before the timing time arrives, for example, 1 hour before the set timing time, the mobile terminal displays the lock mode reminder control, such as the permanent notification ahead of 1 hour before the set time. The hour is triggered and cannot be swiped to delete. The user can click the lock mode reminder control on the mobile terminal to make the mobile terminal enter the lock mode.
在一个实施例中,基于提醒方式设置界面的反馈信息显示锁定模式提醒控件之后,还包括:当未检测到对锁定模式提醒控件的启用操作时,保持显示锁定模式提醒控件,直至到达预设时间点,隐藏锁定模式提醒控件。当没有检测到用户对移动终端上显示的锁定模式提醒控件的启用操作时,即用户没有点击移动终端上的锁定模式提醒控件,移动终端不会进入锁定模式。该锁定模式提醒控件在预设时间范围内显示,超过一定时间后会自动隐藏。比如,在凌晨12点至凌晨5点,如果移动终端未进入锁定模式,移动终端保持显示常驻的早睡提醒通知,而在凌晨5点后自动隐藏该早睡通知。In one embodiment, after displaying the lock mode reminder control based on the feedback information of the reminder mode setting interface, the method further includes: when the activation operation of the lock mode reminder control is not detected, keep displaying the lock mode reminder control until the preset time is reached Click to hide the lock mode reminder control. When the user's activation operation of the lock mode reminder control displayed on the mobile terminal is not detected, that is, the user does not click the lock mode reminder control on the mobile terminal, the mobile terminal will not enter the lock mode. The lock mode reminder control is displayed within the preset time range, and will be automatically hidden after a certain period of time. For example, from 12 am to 5 am, if the mobile terminal does not enter the lock mode, the mobile terminal keeps displaying the resident early bed reminder notification, and automatically hides the early bed notification after 5 am.
应该理解的是,虽然图2、3、6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、3、6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2, 3, and 6 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order for the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Figures 2, 3, and 6 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps Or the execution order of the stages is not necessarily carried out sequentially, but may be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在一个实施例中,如图7所示,提供了一种移动终端的控制装置,移动终端的控制装置包括:定时时间获取模块702锁定模式开启模块704。定时时间获取模块702,用于获取进入锁定模式的预设定时时间。锁定模式开启模块704,用于当检测到定时时间到达时,进入锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,移动终端的指令输入功能设为停用状态。In one embodiment, as shown in FIG. 7, a control device of a mobile terminal is provided. The control device of the mobile terminal includes: a timing time acquisition module 702 and a lock mode activation module 704. The timing time acquisition module 702 is configured to acquire the preset timing time for entering the lock mode. The lock mode activation module 704 is configured to enter the lock mode when it is detected that the time is reached, and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
在一个实施例中,锁定模式开启模块还用于当检测到定时时间到达时,显示进入锁定模式的倒计时界面,倒计时界面设有取消锁定模式控件;当在预设时长内未检测到对取消锁定模式控件的触控操作时,进入锁定模式;移动终端的控制装置还包括锁定提醒模块,用于当在预设时长内检测到对取消锁定模式控件的触控操作时,退出锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。In one embodiment, the lock mode activation module is also used to display a countdown interface for entering the lock mode when it is detected that the timing time has elapsed. The countdown interface is provided with a control for canceling the lock mode; when the unlocking is not detected within the preset time period The mode control enters the lock mode when the mode control is touched; the control device of the mobile terminal also includes a lock reminder module, which is used to exit the lock mode countdown interface when a touch operation on the unlock mode control is detected within a preset time period , And display the lock mode reminder control based on the preset time range.
在一个实施例中,锁定模式开启模块还用于在锁定模式下,在锁定模式界面上显示本次锁定模式已开启的时长信息;移动终端的控制装置还包括锁定模式退出模块,用于当检测到时长信息到达预设的锁定时长时,退出锁定模式。In one embodiment, the lock mode activation module is also used to display the duration information of the current lock mode on the lock mode interface in the lock mode; the control device of the mobile terminal also includes a lock mode exit module for detecting When the duration information reaches the preset lock duration, the lock mode is exited.
在一个实施例中,移动终端的控制装置还包括锁定信息分享模块,用于获取锁定模式的开启时长;根据开启时长显示锁定信息界面,锁定信息界面设有锁定主题事件输入控件以及锁定信息分享控件;获取通过锁定主题事件输入控件输入的锁定主题事件,将锁定主题事件显示于锁定信息界面;当检测到对锁定信息分享控件的点击操作时,分享锁定信息,锁定信息包括锁定模式的开启时长以及锁定主题事件。In one embodiment, the control device of the mobile terminal further includes a lock information sharing module for obtaining the opening duration of the lock mode; a lock information interface is displayed according to the opening duration, and the lock information interface is provided with a lock theme event input control and a lock information sharing control ; Obtain the locked theme event input through the locked theme event input control, and display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared, and the locked information includes the opening duration of the lock mode and Lock the subject event.
在一个实施例中,移动终端的控制装置还包括锁定时长获取模块,用于显示锁定时长设置界面,接收锁定时长设置界面的反馈信息;根据锁定时长设置界面的反馈信息生成锁定模式的锁定时长;锁定模式开启模块还用于进入锁定模式并持续锁定时长。In one embodiment, the control device of the mobile terminal further includes a lock duration acquisition module, configured to display a lock duration setting interface, and receive feedback information of the lock duration setting interface; generate the lock duration of the lock mode according to the feedback information of the lock duration setting interface; The lock mode activation module is also used to enter the lock mode and continue to lock for a long time.
在一个实施例中,移动终端的控制装置还包括提醒方式获取模块,用于显示提醒方式设置界面,接收提醒方式设置界面的反馈信息;在定时时间到达前的预设时间,基于提醒方式设置界面的反馈信息显示锁定模式提醒控件;锁定模式开启模块还用于当检测到对锁定模式提醒控件的启用操作时,进入锁定模式。In one embodiment, the control device of the mobile terminal further includes a reminder mode acquisition module, which is used to display the reminder mode setting interface and receive feedback information of the reminder mode setting interface; the preset time before the scheduled time arrives, based on the reminder mode setting interface The feedback information shows the lock mode reminder control; the lock mode opening module is also used to enter the lock mode when the activation operation of the lock mode reminder control is detected.
在一个实施例中,移动终端的控制装置还包括锁定提醒保持模块,用于当未检测到对锁定模式提醒控件的启用操作时,保持显示锁定模式提醒控件,直至到达预设时间点,隐藏锁定模式提醒控件。In one embodiment, the control device of the mobile terminal further includes a lock reminder holding module, which is used to keep displaying the lock mode reminder control when the activation operation of the lock mode reminder control is not detected, until the preset time point is reached, hide the lock Mode reminder control.
在一个实施例中,移动终端的控制装置还包括锁定模式保持模块,用于当接收到关机请求或重启请求时,对关机请求或重启请求不处理,或者在重 新开机、且开机后时间未到达锁定模式的结束时间时,保持开启锁定模式。In one embodiment, the control device of the mobile terminal further includes a lock mode maintaining module, which is used to not process the shutdown request or the restart request when a shutdown request or a restart request is received, or the time is not reached after the restart and the restart. At the end time of the lock mode, the lock mode remains on.
在一个实施例中,锁定模式开启模块还用于当移动终端处于锁定模式时,屏蔽移动终端接收到的通知,并显示锁定模式界面,且在到达锁定模式的结束时间之前,禁止移动终端退出所述锁定模式界面。In one embodiment, the lock mode activation module is also used to shield the notification received by the mobile terminal and display the lock mode interface when the mobile terminal is in the lock mode, and prohibit the mobile terminal from exiting the lock mode until the end time of the lock mode is reached. The lock mode interface is described.
关于移动终端的控制装置的具体限定可以参见上文中对于移动终端的控制方法的限定,在此不再赘述。上述移动终端的控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the control device of the mobile terminal, please refer to the above definition of the control method of the mobile terminal, which will not be repeated here. Each module in the above-mentioned control device of the mobile terminal can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是移动终端,图8提供了一种移动终端的内部结构图。该移动终端包括通过系统总线连接的处理器、存储器和显示屏。其中,该处理器用于提供计算和控制能力。该存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。在某些应用场景下,图1中移动终端执行的方法具体可以由该移动终端的处理器来完成,即计算机程序被处理器执行时实现一种移动终端的控制方法。In one embodiment, a computer device is provided, and the computer device may be a mobile terminal. FIG. 8 provides an internal structure diagram of a mobile terminal. The mobile terminal includes a processor, a memory, and a display screen connected through a system bus. Among them, the processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. In some application scenarios, the method executed by the mobile terminal in FIG. 1 may be specifically completed by the processor of the mobile terminal, that is, a method for controlling the mobile terminal is implemented when a computer program is executed by the processor.
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的移动终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. The specific mobile terminal may include More or fewer parts than shown in the figure, or some parts are combined, or have a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取进入锁定模式的预设定时时间;当检测到定时时间到达时,进入锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,移动终端的指令输入功能设为停用状态。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: acquiring a preset timing time for entering a locked mode; When the timing time arrives, it enters the lock mode and continues for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当检测到定时时间到达时,显示进入锁定模式的倒计时界面,倒计时界面设有取消锁定模式控件;当在预设时长内未检测到对取消锁定模式控件的触控操作时, 进入锁定模式;当在预设时长内检测到对取消锁定模式控件的触控操作时,退出锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the time is detected, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode; When the touch operation on the unlock mode control is reached, the lock mode is entered; when the touch operation on the unlock mode control is detected within the preset time, the countdown interface of the lock mode is exited, and the lock is displayed based on the preset time range Mode reminder control.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:在锁定模式下,锁定模式界面上显示本次锁定模式已开启的时长信息;当检测到时长信息到达预设的锁定时长时,退出锁定模式。In one embodiment, the processor further implements the following steps when executing the computer program: in the lock mode, the lock mode interface displays the duration information of the current lock mode; when it is detected that the duration information reaches the preset lock duration, Exit lock mode.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取锁定模式的开启时长;根据开启时长显示锁定信息界面,锁定信息界面设有锁定主题事件输入控件以及锁定信息分享控件;获取通过锁定主题事件输入控件输入的锁定主题事件,将锁定主题事件显示于锁定信息界面;当检测到对锁定信息分享控件的点击操作时,分享锁定信息,锁定信息包括锁定模式的开启时长以及锁定主题事件。In one embodiment, when the processor executes the computer program, the processor further implements the following steps: obtaining the opening duration of the lock mode; displaying the lock information interface according to the opening duration, and the locking information interface is provided with a lock theme event input control and a lock information sharing control; The locked theme event entered by the lock theme event input control will display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared. The locked information includes the opening duration of the lock mode and the locked theme event .
在一个实施例中,处理器执行计算机程序时还实现以下步骤:显示锁定时长设置界面,接收锁定时长设置界面的反馈信息;根据锁定时长设置界面的反馈信息生成锁定模式的锁定时长;进入锁定模式并持续锁定时长。In one embodiment, the processor further implements the following steps when executing the computer program: displaying the lock duration setting interface, receiving feedback information of the lock duration setting interface; generating the lock duration of the lock mode according to the feedback information of the lock duration setting interface; entering the lock mode And continue to lock the length of time.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:显示提醒方式设置界面,接收提醒方式设置界面的反馈信息;在定时时间到达前的预设时间,基于提醒方式设置界面的反馈信息显示锁定模式提醒控件;当检测到对锁定模式提醒控件的启用操作时,进入锁定模式。In one embodiment, the processor further implements the following steps when executing the computer program: displaying the reminding mode setting interface, and receiving feedback information on the reminding mode setting interface; at the preset time before the timing time arrives, setting the interface feedback information based on the reminding mode The lock mode reminder control is displayed; when the activation operation of the lock mode reminder control is detected, the lock mode is entered.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当未检测到对锁定模式提醒控件的启用操作时,保持显示锁定模式提醒控件,直至到达预设时间点,隐藏锁定模式提醒控件。In one embodiment, the processor further implements the following steps when executing the computer program: when the activation operation of the lock mode reminder control is not detected, keep displaying the lock mode reminder control until the preset time point is reached, hide the lock mode reminder control .
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当接收到关机请求或重启请求时,对关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达锁定模式的结束时间时,保持开启锁定模式。In one embodiment, the processor further implements the following steps when executing the computer program: when a shutdown request or a restart request is received, the shutdown request or restart request is not processed, or when the computer is restarted and the time has not reached the locked mode after the restart At the end of the time, keep the lock mode on.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:当移动终端处于锁定模式时,屏蔽移动终端接收到的通知,并显示锁定模式界面,且在到达锁定模式的结束时间之前,禁止移动终端退出锁定模式界面。In one embodiment, the processor further implements the following steps when executing the computer program: when the mobile terminal is in the locked mode, it shields the notifications received by the mobile terminal and displays the locked mode interface, and prohibits until the end time of the locked mode is reached. The mobile terminal exits the locked mode interface.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时还实现以下步骤:获取进入锁定模式的预 设定时时间;当检测到定时时间到达时,进入锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,移动终端的指令输入功能设为停用状态。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are also implemented: obtaining a preset timing time for entering the lock mode; when the timing time is detected When it arrives, it enters the locked mode and continues for a preset time period, wherein when the mobile terminal is in the locked mode, the command input function of the mobile terminal is set to a disabled state.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当检测到定时时间到达时,显示进入锁定模式的倒计时界面,倒计时界面设有取消锁定模式控件;当在预设时长内未检测到对取消锁定模式控件的触控操作时,进入锁定模式;当在预设时长内检测到对取消锁定模式控件的触控操作时,退出锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when it is detected that the time is reached, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode; When a touch operation on the unlock mode control is detected, the lock mode is entered; when a touch operation on the unlock mode control is detected within the preset time, the countdown interface of the lock mode is exited and displayed based on the preset time range Lock mode reminder control.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:在锁定模式下,锁定模式界面上显示本次锁定模式已开启的时长信息;当检测到时长信息到达预设的锁定时长时,退出锁定模式。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in the lock mode, the lock mode interface displays the duration information of the current lock mode; when it is detected that the duration information reaches the preset lock duration To exit the lock mode.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取锁定模式的开启时长;根据开启时长显示锁定信息界面,锁定信息界面设有锁定主题事件输入控件以及锁定信息分享控件;获取通过锁定主题事件输入控件输入的锁定主题事件,将锁定主题事件显示于锁定信息界面;当检测到对锁定信息分享控件的点击操作时,分享锁定信息,锁定信息包括锁定模式的开启时长以及锁定主题事件。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: acquiring the opening duration of the lock mode; displaying a lock information interface according to the opening duration, and the locking information interface is provided with a lock theme event input control and a lock information sharing control; The locked theme event input through the locked theme event input control will display the locked theme event on the locked information interface; when a click operation on the locked information sharing control is detected, the locked information is shared. The locked information includes the opening duration of the lock mode and the locked theme event.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:显示锁定时长设置界面,接收锁定时长设置界面的反馈信息;根据锁定时长设置界面的反馈信息生成锁定模式的锁定时长;进入锁定模式并持续锁定时长。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: display the lock duration setting interface, receive feedback information of the lock duration setting interface; generate the lock duration of the lock mode according to the feedback information of the lock duration setting interface; enter the lock Mode and keep locked for a long time.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:显示提醒方式设置界面,接收提醒方式设置界面的反馈信息;在定时时间到达前的预设时间,基于提醒方式设置界面的反馈信息显示锁定模式提醒控件;当检测到对锁定模式提醒控件的启用操作时,进入锁定模式。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: display the reminder mode setting interface, and receive the feedback information of the reminder mode setting interface; the preset time before the timing time arrives, based on the reminder mode setting interface feedback The information displays the lock mode reminder control; when the activation operation of the lock mode reminder control is detected, the lock mode is entered.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当未检测到对锁定模式提醒控件的启用操作时,保持显示锁定模式提醒控件,直至到达预设时间点,隐藏锁定模式提醒控件。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the activation operation of the lock mode reminder control is not detected, the lock mode reminder control is kept displayed until the preset time point is reached, and the lock mode reminder is hidden Control.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当接收到关机请求或重启请求时,对关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达锁定模式的结束时间时,保持开启锁定模式。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when a shutdown request or a restart request is received, the shutdown request or restart request is not processed, or the computer program is restarted and the time has not reached the locked mode after the restart At the end of the time, keep the lock mode turned on.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:当移动 终端处于锁定模式时,屏蔽移动终端接收到的通知,并显示锁定模式界面,且在到达锁定模式的结束时间之前,禁止移动终端退出锁定模式界面。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the mobile terminal is in the locked mode, the notification received by the mobile terminal is shielded and the locked mode interface is displayed, and before the end time of the locked mode is reached, Prohibit the mobile terminal from exiting the locked mode interface.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the procedures of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their description is relatively specific and detailed, but they should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (18)

  1. 一种移动终端的控制方法,包括:A control method of a mobile terminal includes:
    获取进入锁定模式的预设定时时间;Obtain the preset timing time for entering the lock mode;
    当检测到所述定时时间到达时,进入所述锁定模式,并持续预设时间段,其中,当移动终端处于锁定模式时,所述移动终端的指令输入功能设为停用状态。When it is detected that the timing time is reached, the lock mode is entered and continues for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal is set to a disabled state.
  2. 根据权利要求1所述的方法,其中,所述当检测到所述定时时间到达时,进入所述锁定模式包括:The method according to claim 1, wherein the entering the lock mode when detecting that the timing time arrives comprises:
    当检测到所述定时时间到达时,显示进入锁定模式的倒计时界面,所述倒计时界面设有取消锁定模式控件;When it is detected that the timing time is reached, a countdown interface for entering the lock mode is displayed, and the countdown interface is provided with a control for canceling the lock mode;
    当在预设时长内未检测到对所述取消锁定模式控件的触控操作时,进入所述锁定模式;Entering the lock mode when no touch operation on the unlocking mode control is detected within a preset time period;
    所述显示进入锁定模式的倒计时界面之后,还包括:After displaying the countdown interface for entering the lock mode, it further includes:
    当在预设时长内检测到对所述取消锁定模式控件的触控操作时,退出所述锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。When a touch operation on the unlocking mode control is detected within a preset time period, the countdown interface of the lock mode is exited, and the lock mode reminder control is displayed based on the preset time range.
  3. 根据权利要求1所述的方法,其中,所述进入所述锁定模式之后,还包括:The method according to claim 1, wherein after the entering the lock mode, the method further comprises:
    在所述锁定模式下,所述锁定模式界面上显示本次锁定模式已开启的时长信息;In the lock mode, the lock mode interface displays information about the length of time that the lock mode has been activated this time;
    当检测到所述时长信息到达预设的锁定时长时,退出所述锁定模式。When it is detected that the duration information reaches the preset lock duration, exit the lock mode.
  4. 根据权利要求3所述的方法,其中,所述退出所述锁定模式之后,还包括:The method according to claim 3, wherein after the exiting the lock mode, the method further comprises:
    获取所述锁定模式的开启时长;Acquiring the opening duration of the lock mode;
    根据所述开启时长显示锁定信息界面,所述锁定信息界面设有锁定主题事件输入控件以及锁定信息分享控件;Displaying a lock information interface according to the opening time, and the lock information interface is provided with a lock theme event input control and a lock information sharing control;
    获取通过所述锁定主题事件输入控件输入的锁定主题事件,将所述锁定主题事件显示于所述锁定信息界面;Acquiring a locked theme event input through the locked theme event input control, and displaying the locked theme event on the lock information interface;
    当检测到对所述锁定信息分享控件的点击操作时,分享锁定信息,所述锁定信息包括锁定模式的开启时长以及锁定主题事件。When a click operation on the lock information sharing control is detected, the lock information is shared, and the lock information includes the opening duration of the lock mode and the lock theme event.
  5. 根据权利要求1所述的方法,其中,所述获取进入锁定模式的预设定 时时间之后,还包括:The method according to claim 1, wherein after said obtaining the preset time to enter the lock mode, the method further comprises:
    显示提醒方式设置界面,接收所述提醒方式设置界面的反馈信息;Display a reminder mode setting interface, and receive feedback information from the reminder mode setting interface;
    在所述定时时间到达前的预设时间,基于所述提醒方式设置界面的反馈信息显示锁定模式提醒控件;At a preset time before the timing time arrives, display a lock mode reminder control based on the feedback information of the reminder mode setting interface;
    所述进入所述锁定模式包括:当检测到对所述锁定模式提醒控件的启用操作时,进入所述锁定模式。The entering the lock mode includes: entering the lock mode when an activation operation on the lock mode reminder control is detected.
  6. 根据权利要求5所述的方法,其中,所述基于所述提醒方式设置界面的反馈信息显示锁定模式提醒控件之后,还包括:The method according to claim 5, wherein, after the lock mode reminder control is displayed based on the feedback information of the reminder mode setting interface, the method further comprises:
    当未检测到对所述锁定模式提醒控件的启用操作时,保持显示所述锁定模式提醒控件,直至到达预设时间点,隐藏所述锁定模式提醒控件。When the activation operation of the lock mode reminder control is not detected, the lock mode reminder control is kept displayed until the preset time point is reached, and the lock mode reminder control is hidden.
  7. 根据权利要求1所述的方法,其中,所述进入锁定模式之后,还包括:The method according to claim 1, wherein after the entering the lock mode, the method further comprises:
    当接收到关机请求或重启请求时,对所述关机请求或重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启锁定模式。When a shutdown request or a restart request is received, the shutdown request or restart request is not processed, or the lock mode is kept on when the device is restarted and the time after the turn-on has not reached the end time of the lock mode.
  8. 一种移动终端的控制装置,包括:A control device of a mobile terminal includes:
    定时时间获取模块,用于获取进入锁定模式的预设定时时间;The timing time acquisition module is used to acquire the preset timing time for entering the lock mode;
    锁定模式开启模块,用于当检测到所述定时时间到达时,进入所述锁定模式,并持续预设时间段,其中,当所述移动终端处于锁定模式时,所述移动终端的指令输入功能设为停用状态。The lock mode activation module is used to enter the lock mode when the timing time is detected and continue for a preset time period, wherein when the mobile terminal is in the lock mode, the command input function of the mobile terminal Set to disabled state.
  9. 根据权利要求8所述的控制装置,其中,所述锁定模式开启模块还用于当检测到定时时间到达时,显示进入锁定模式的倒计时界面,倒计时界面设有取消锁定模式控件;当在预设时长内未检测到对所述取消锁定模式控件的触控操作时,进入锁定模式;并且,所述控制装置还包括锁定提醒模块,用于当在预设时长内检测到对所述取消锁定模式控件的触控操作时,退出所述锁定模式的倒计时界面,并基于预设时间范围显示锁定模式提醒控件。The control device according to claim 8, wherein the lock mode activation module is further configured to display a countdown interface for entering the lock mode when the timing time is detected, and the countdown interface is provided with a control for canceling the lock mode; When a touch operation on the unlocking mode control is not detected within a period of time, the lock mode is entered; and the control device further includes a lock reminding module for detecting the unlocking mode within a preset period of time During the touch operation of the control, exit the countdown interface of the lock mode, and display the lock mode reminder control based on the preset time range.
  10. 根据权利要求8所述的控制装置,其中,所述锁定模式开启模块还用于在所述锁定模式下,在锁定模式界面上显示本次锁定模式已开启的时长信息;所述控制装置还包括锁定模式退出模块,用于当检测到时长信息到达预设的锁定时长时,退出所述锁定模式。8. The control device according to claim 8, wherein the lock mode activation module is further configured to display the duration information of the current lock mode on the lock mode interface in the lock mode; the control device further comprises The lock mode exit module is used to exit the lock mode when it is detected that the duration information reaches the preset lock duration.
  11. 根据权利要求8所述的控制装置,其中,所述控制装置还包括锁定 信息分享模块,用于获取所述锁定模式的开启时长;根据所述开启时长显示锁定信息界面,所述锁定信息界面设有锁定主题事件输入控件以及锁定信息分享控件;获取通过所述锁定主题事件输入控件输入的锁定主题事件,将所述锁定主题事件显示于所述锁定信息界面;当检测到对所述锁定信息分享控件的点击操作时,分享锁定信息,所述锁定信息包括锁定模式的开启时长以及锁定主题事件。The control device according to claim 8, wherein the control device further comprises a lock information sharing module for acquiring the opening duration of the lock mode; a lock information interface is displayed according to the opening duration, and the lock information interface is set to There are a locked theme event input control and a locked information sharing control; the locked theme event input through the locked theme event input control is acquired, and the locked theme event is displayed on the locked information interface; when it is detected that the locked information sharing When the control is clicked, the lock information is shared, and the lock information includes the opening duration of the lock mode and the lock theme event.
  12. 根据权利要求8所述的控制装置,其中,所述控制装置还包括锁定时长获取模块,用于显示锁定时长设置界面,接收所述锁定时长设置界面的反馈信息;根据锁定时长设置界面的所述反馈信息生成锁定模式的锁定时长;并且所述锁定模式开启模块还用于进入所述锁定模式并持续所述锁定时长。The control device according to claim 8, wherein the control device further comprises a lock duration acquisition module, configured to display a lock duration setting interface, and receive feedback information of the lock duration setting interface; according to the lock duration setting interface The feedback information generates the lock duration of the lock mode; and the lock mode activation module is also used to enter the lock mode and continue the lock duration.
  13. 根据权利要求9所述的控制装置,其中,所述控制装置还包括提醒方式获取模块,用于显示提醒方式设置界面,接收所述提醒方式设置界面的反馈信息;在所述定时时间到达前的预设时间,基于所述提醒方式设置界面的所述反馈信息显示所述锁定模式提醒控件;所述锁定模式开启模块还用于当检测到对所述锁定模式提醒控件的启用操作时,进入锁定模式。The control device according to claim 9, wherein the control device further comprises a reminder mode acquisition module, configured to display a reminder mode setting interface, and receive feedback information from the reminder mode setting interface; For a preset time, the lock mode reminder control is displayed based on the feedback information of the reminder mode setting interface; the lock mode activation module is also used to enter the lock mode when the activation operation of the lock mode reminder control is detected mode.
  14. 根据权利要求13所述的控制装置,其中,所述控制装置还包括锁定提醒保持模块,用于当未检测到对所述锁定模式提醒控件的所述启用操作时,保持显示所述锁定模式提醒控件,直至到达预设时间点,隐藏所述锁定模式提醒控件。The control device according to claim 13, wherein the control device further comprises a lock reminder maintaining module, configured to keep displaying the lock mode reminder when the activation operation of the lock mode reminder control is not detected Until the preset time point is reached, hide the lock mode reminder control.
  15. 根据权利要求8所述的控制装置,其中,所述控制装置还包括锁定模式保持模块,用于当接收到关机请求或重启请求时,对所述关机请求或所述重启请求不处理,或者在重新开机、且开机后时间未到达所述锁定模式的结束时间时,保持开启所述锁定模式。The control device according to claim 8, wherein the control device further comprises a lock mode maintaining module, which is configured to not process the shutdown request or the restart request, or when the shutdown request or the restart request is received, When rebooting and the time after booting does not reach the end time of the lock mode, the lock mode is kept on.
  16. 根据权利要求8所述的控制装置,其中,所述锁定模式开启模块还用于当所述移动终端处于所述锁定模式时,屏蔽所述移动终端接收到的通知,并显示所述锁定模式界面,且在到达所述锁定模式的结束时间之前,禁止所述移动终端退出所述锁定模式界面。The control device according to claim 8, wherein the lock mode activation module is further configured to shield the notification received by the mobile terminal when the mobile terminal is in the lock mode, and display the lock mode interface , And before the end time of the lock mode is reached, the mobile terminal is prohibited from exiting the lock mode interface.
  17. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。A computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of claims 1 to 7 when the computer program is executed.
  18. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述方法的步骤。A computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are realized.
PCT/CN2020/116166 2019-09-24 2020-09-18 Method and apparatus for controlling mobile terminal, and computer device and storage medium WO2021057614A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910904786.2 2019-09-24
CN201910904786.2A CN112631496B (en) 2019-09-24 2019-09-24 Control method and device of mobile terminal, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021057614A1 true WO2021057614A1 (en) 2021-04-01

Family

ID=75166693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/116166 WO2021057614A1 (en) 2019-09-24 2020-09-18 Method and apparatus for controlling mobile terminal, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN112631496B (en)
WO (1) WO2021057614A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442475A (en) * 2022-08-30 2022-12-06 维沃移动通信有限公司 Display method and display device
WO2024031439A1 (en) * 2022-08-10 2024-02-15 卓永红 Method and system for supporting aod function customization on app, and smart terminal device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314593A (en) * 2021-05-08 2022-11-08 深圳市万普拉斯科技有限公司 Mobile terminal control method, device, terminal and storage medium
CN113254096A (en) * 2021-05-10 2021-08-13 维沃移动通信有限公司 Timing control using method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461479A (en) * 2013-09-13 2015-03-25 腾讯科技(深圳)有限公司 Timing method and device
CN107948411A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal installation and computer-readable recording medium
CN109348044A (en) * 2018-09-18 2019-02-15 北京猎户星空科技有限公司 Control method, device, equipment and the storage medium of smart machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473015A (en) * 2013-09-22 2013-12-25 广东欧珀移动通信有限公司 Anti-addiction method and terminal
WO2019061525A1 (en) * 2017-09-30 2019-04-04 深圳传音通讯有限公司 Anti-theft processing method for mobile terminal, mobile terminal and readable storage medium
CN108965595A (en) * 2018-07-13 2018-12-07 深圳市万普拉斯科技有限公司 Method for controlling mobile terminal, readable storage medium storing program for executing and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461479A (en) * 2013-09-13 2015-03-25 腾讯科技(深圳)有限公司 Timing method and device
CN107948411A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal installation and computer-readable recording medium
CN109348044A (en) * 2018-09-18 2019-02-15 北京猎户星空科技有限公司 Control method, device, equipment and the storage medium of smart machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031439A1 (en) * 2022-08-10 2024-02-15 卓永红 Method and system for supporting aod function customization on app, and smart terminal device
CN115442475A (en) * 2022-08-30 2022-12-06 维沃移动通信有限公司 Display method and display device
CN115442475B (en) * 2022-08-30 2024-02-20 维沃移动通信有限公司 Display method and display device

Also Published As

Publication number Publication date
CN112631496A (en) 2021-04-09
CN112631496B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
WO2021057614A1 (en) Method and apparatus for controlling mobile terminal, and computer device and storage medium
US11727093B2 (en) Setting and terminating restricted mode operation on electronic devices
US10528434B2 (en) Method, device and terminal for restoring firmware program
CN106600229B (en) Calendar item reminding method and device
CN110995929B (en) Terminal control method, device, terminal and storage medium
WO2016090822A1 (en) Method and device for upgrading firmware
US20170104861A1 (en) Electronic device monitoring method and apparatus
US20130250734A1 (en) Suspendable alarms
TW201539236A (en) Authenticated release of data towards a device driver
JP2017518598A (en) Authority management method, apparatus, program, and recording medium
CN106354571B (en) Message reminding method and device
US20200396325A1 (en) Application switching method and terminal
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
KR102496058B1 (en) Scan method in wireless local area network and electronic device implementing the same
CN107783790B (en) Terminal awakening method and device
EP3754959B1 (en) Quick access to an application in the lock screen
WO2014166330A1 (en) Implementation method and device for alarm clock in electronic apparatus, and electronic apparatus
CN108965595A (en) Method for controlling mobile terminal, readable storage medium storing program for executing and mobile terminal
JP2017528927A (en) Method and apparatus for reminding in shutdown state
WO2018018361A1 (en) Calendar event creating method and device
CN110851057A (en) Method and device for configuring configuration options of BIOS
CN106201611B (en) Run the method and device of application
US10679026B2 (en) Method and device for controlling fingerprint sensor and storage medium
KR102303707B1 (en) Electronic device and operation method of thereof
WO2019196297A1 (en) User information control method and apparatus, and terminal device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20867455

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.08.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20867455

Country of ref document: EP

Kind code of ref document: A1