WO2019056274A1 - Method for making phone call in screen locked state, mobile terminal, and readable storage medium - Google Patents

Method for making phone call in screen locked state, mobile terminal, and readable storage medium Download PDF

Info

Publication number
WO2019056274A1
WO2019056274A1 PCT/CN2017/102778 CN2017102778W WO2019056274A1 WO 2019056274 A1 WO2019056274 A1 WO 2019056274A1 CN 2017102778 W CN2017102778 W CN 2017102778W WO 2019056274 A1 WO2019056274 A1 WO 2019056274A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
instruction
dialing
lock screen
mobile terminal
Prior art date
Application number
PCT/CN2017/102778
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 深圳传音通讯有限公司
Priority to CN201780095106.6A priority Critical patent/CN111108739A/en
Priority to PCT/CN2017/102778 priority patent/WO2019056274A1/en
Publication of WO2019056274A1 publication Critical patent/WO2019056274A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention belongs to the field of electronic information technology, and in particular, to a method for making a call when the screen is locked, a mobile terminal, and a readable storage medium.
  • the main object of the present invention is to provide a method for making a call in a lock screen state, a terminal device, and a readable storage medium, aiming at solving the problem that the user wants to make a call quickly when the mobile terminal is in a lock screen state.
  • the present invention provides a method of making a call while in a lock screen state, the method comprising the steps of:
  • the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface
  • the preset pressing instruction includes a preset pressing time threshold and a preset pressing number
  • determining whether the current pressing instruction is a preset pressing instruction specifically includes:
  • the mobile terminal When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
  • the preset dialing interface includes a common contact list, where the common contact list is used to store a preset phone number and a contact identifier corresponding to the preset phone number;
  • determining the number to be dialed according to the dialing instruction, and performing a telephone call to the to-be-called dialing number according to the to-be-called dialing number specifically includes:
  • the preset dialing interface comprises a brightness adjustment slider
  • the method includes:
  • the brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
  • the method further includes: in response to the dialing instruction input by the user in the preset dialing interface, the method further includes:
  • the method further includes: in response to the dialing instruction input by the user in the preset dialing interface, the method further includes:
  • the mobile terminal is in a lock screen state and when the preset position is pressed, determining whether the current pressing instruction is a preset pressing instruction, specifically includes:
  • the preset dialing interface is displayed, which specifically includes:
  • the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
  • the present invention further provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a call in a lock screen state stored on the memory and operable on the processor
  • the program, the program for making a call when the screen is locked, is a step of implementing a method of making a call while in a lock screen state as described in any of the above.
  • the mobile terminal further includes: a brightness sensor, wherein the brightness sensor is configured to monitor a current ambient brightness value.
  • the present invention also provides a storage medium on which a program for making a call when the screen is locked is stored, and the program for making a call when the screen is locked is implemented by the processor.
  • the present invention determines whether the current pressing instruction is a preset pressing instruction when the mobile terminal is in the lock screen state and is pressed in the preset position; and displays the preset dialing interface when the current pressing instruction is the preset pressing instruction;
  • the dialing instruction input by the user in the preset dialing interface determines the number to be dialed according to the dialing instruction, and makes a telephone call to the to-be dialed number, so that the user can also be in the first time when the mobile terminal is in the lock screen state. Quickly make a call to the designated contact.
  • FIG. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a first embodiment of placing a call in a lock screen state according to the present invention
  • FIG. 3 is a schematic flow chart of a second embodiment of making a call in a lock screen state according to the present invention.
  • FIG. 4 is a schematic flow chart of a third embodiment of making a call in a lock screen state according to the present invention.
  • FIG. 5 is a schematic flow chart of a fourth embodiment of making a call in a lock screen state according to the present invention.
  • FIG. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention.
  • the mobile terminal may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005, and a brightness sensor 1006.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the mobile terminal structure shown in FIG. 1 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
  • a memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a program for making a call when the screen is locked.
  • the mobile terminal may be a smart phone, a tablet computer, or the like, which is not limited in this embodiment.
  • the network interface 1004 is mainly used for data communication with the background server;
  • the brightness sensor 1006 is configured to collect or monitor the current ambient brightness value;
  • the user interface 1003 is mainly used for data interaction with the user;
  • the processor 1001 and the memory 1005 in the mobile terminal of the present invention may be disposed in a mobile terminal.
  • the mobile terminal invokes a program for making a call when the lock screen state is stored in the memory 1005 through the processor 1001, and performs the following operations:
  • the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface
  • processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
  • the mobile terminal When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
  • processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
  • the brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
  • processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
  • the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
  • the beneficial effect of the embodiment is that when the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, it is determined whether the current pressing instruction is a preset pressing instruction; when the current pressing instruction is a preset pressing instruction, displaying the preset a dialing interface; in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number, thereby enabling the user to be in a lock screen state when the mobile terminal is in a lock screen state
  • FIG. 2 is a schematic flowchart of a first embodiment of placing a call in a lock screen state according to the present invention.
  • the method includes the following steps:
  • the mobile terminal takes a mobile phone as an example, and the processor of the mobile phone is used as an execution subject;
  • the preset position may be set in a power button of the mobile phone (ie, a power button of the mobile phone); the preset pressing command includes a preset pressing time threshold and a preset pressing number, and the preset pressing time threshold is set in this embodiment. Set the preset number of presses to two times in the range of 0 to 2 seconds;
  • the processor of the mobile phone determines that the current pressing command is a preset pressing command, and displays the preset dialing interface.
  • the lock screen interface when the mobile phone senses the current pressing instruction of the user, the lock screen interface is displayed; when the current pressing instruction is a preset pressing instruction, the mobile phone in this embodiment may be according to the current pressing instruction.
  • the lock screen interface is replaced with a preset dial interface, and the preset dial interface is displayed.
  • S30 Determine, according to the dialing instruction, a number to be dialed according to the dialing instruction input by the user in the preset dialing interface, and make a telephone call to the to-be dialed number.
  • the preset dialing interface may include a common contact list of the user, where the common contact list is used to store a preset phone number and a contact identifier corresponding to the preset phone number (such as a contact Name);
  • the processor of the mobile phone acquires the contact identifier selected by the user in the contact list of the preset dialing interface according to the dialing instruction in response to the dialing instruction input by the user in the preset dialing interface; Determining a to-be-diascribed number according to the selected contact identifier, and performing a telephone call to the to-be-called number according to the to-be-called dialed number.
  • the embodiment may further set a dial input box on the preset dial interface, and set a virtual key combination of the first set of numeric keys 1-9 near the dial input box to facilitate the user in the mobile phone. When you lock the screen, you can directly enter the number to dial.
  • the number of the frequently used contact can be quickly dialed.
  • the user opens the mode, the user can add the common contact and lock the screen, and the user can enter the mobile phone twice without having to unlock the mobile phone.
  • Directly dialing a frequently used contact or dialing up a common contact list reduces the cumbersome operation of the user and solves the problem that the user cannot quickly make a call when the mobile terminal is in a lock screen state, thereby causing the user to be in a lock screen state on the mobile terminal.
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of a method for making a call when the screen is locked.
  • the first embodiment of the method for making a call when the screen is locked in the embodiment, the preset dial interface includes a brightness adjustment slider;
  • the method further includes:
  • the brightness of the phone setting usually includes the brightness of the main screen and the brightness of the lock screen.
  • the two brightnesses are the same value, and the two brightnesses are the same.
  • Only the screen can be adjusted according to the environment itself, and the brightness of the lock screen is fixed.
  • the user In order to change the brightness of the lock screen, the user must manually set the brightness value of the lock screen brightness after unlocking the mobile phone in the lock screen state.
  • the mobile phone is unlocked, and the strong light may affect the user's dialing operation.
  • the preset dialing interface in this embodiment includes a brightness adjustment slider; when the current pressing instruction of the user is a preset pressing instruction, the mobile phone displays the brightness adjustment slider in the preset dialing interface, in response to the user's brightness Adjusting an adjustment command of the slider, and adjusting brightness of the preset dialing interface according to the adjustment instruction.
  • the mobile terminal displays the brightness adjustment slider of the preset dialing interface according to the preset pressing instruction, and responds to the adjustment instruction of the brightness adjustment slider by the user, and the preset dialing interface according to the adjustment instruction.
  • the brightness is adjusted, and the internship is convenient for the user to directly make a quick call without unlocking the lock screen of the mobile phone in a relatively strong environment, thereby further improving the user experience.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for making a call when the screen is locked.
  • the method further includes:
  • S032 Adjust a brightness of the preset dialing interface according to the current ambient brightness value.
  • the mobile terminal ie, the mobile phone
  • the brightness sensor is configured to monitor a current ambient brightness value
  • the brightness of the phone setting usually includes the brightness of the main screen and the brightness of the lock screen, and the brightness of the lock screen is fixed.
  • the user In order to change the brightness of the lock screen, the user must manually set the brightness value of the lock screen brightness after unlocking the mobile phone in the lock screen state.
  • the user holds the mobile phone in a particularly strong environment (such as walking in the open air when the sun is strong at noon in summer), he wants to make a quick call, and the mobile phone is unlocked, because the light is too strong, the user cannot see the mobile phone.
  • the content displayed on the screen (usually the user does not set the brightness of the lock screen to the maximum brightness when the phone is locked, which is more power-consuming); at this time, the mobile phone obtains the current brightness of the current sun through the brightness sensor (ie, the current environment) Brightness value), because the brightness of the light is too strong at this time, the processor of the mobile phone sets the brightness value under the lock screen state of the mobile phone to the maximum according to the obtained current ambient brightness value.
  • the processor of the mobile phone can appropriately adjust the brightness of the preset dial interface according to the obtained current ambient brightness value, so that One can save the power of the mobile phone, and at the same time help to protect the user's vision.
  • the mobile terminal obtains the current ambient brightness value according to the preset pressing instruction, and adjusts the brightness of the preset dialing interface according to the current ambient brightness value, thereby being able to solve the problem that the user wants to directly and quickly when the mobile phone is in the lock screen state. Calling the phone, but because the light is too strong to see the content displayed on the screen of the mobile phone, the user can not dial the number, further improving the user experience.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for making a call when the screen is locked.
  • the method further includes:
  • S310 Determine, according to the preset pressing instruction, whether a current state of the mobile terminal is in a flight mode, and if yes, set the current state to a normal mode.
  • the user wants to make a call and must unlock the lock screen state of the mobile phone, and then manually set the current state of the mobile phone to the normal mode to make a call. If you want to solve the problem that the user wants to make a quick call when the mobile phone is in the lock screen state, you must ensure that the mobile phone is not in the flight mode at this time.
  • the processor of the mobile phone determines, according to the preset pressing command, whether the current state of the mobile terminal is in a flight mode, and if so, sets the current state to a normal mode, thereby being able to solve the user's
  • the mobile phone is in the lock screen state, it wants to make a quick call directly.
  • the mobile phone since the mobile phone is set to the flight mode and the mobile phone is in a non-communication state, the user cannot dial the number, which further improves the user experience.
  • the present invention further provides a storage medium, wherein the storage medium stores a call program when the screen lock state is stored, and when the call program is executed by the processor in the lock screen state, the following operations are implemented:
  • the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface
  • the mobile terminal When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
  • the brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
  • the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
  • the beneficial effect of the embodiment is that when the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, it is determined whether the current pressing instruction is a preset pressing instruction; when the current pressing instruction is a preset pressing instruction, displaying the preset a dialing interface; in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number, thereby enabling the user to be in a lock screen state when the mobile terminal is in a lock screen state
  • the embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course hardware, but in many cases the former is a better implementation.
  • the present invention The technical solution in essence or the contribution to the prior art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, light).
  • the disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the present invention are a method for making a phone call in a screen locked state, a mobile terminal, and a readable storage medium, the method comprising: when a mobile terminal is in a screen locked state and is pressed at a pre-set position, determining whether a current press instruction is a pre-set press instruction; when the current press instruction is the pre-set press instruction, displaying a pre-set dialing interface; and in response to a dialing instruction inputted by a user in the pre-set dialing interface, determining a number to be dialed according to the dialing instruction, and calling the number, solving the problem that the user cannot make a phone call quickly when the mobile terminal is in the screen locked state, thereby enabling the user to call a designated contact quickly at a first time when the mobile terminal is in the screen locked state.

Description

在锁屏状态时拨打电话的方法、移动终端及可读存储介质  Method for making a call while in a lock screen state, mobile terminal and readable storage medium
技术领域Technical field
本发明属于电子信息技术领域,尤其涉及一种在锁屏状态时拨打电话的方法、移动终端及可读存储介质。The present invention belongs to the field of electronic information technology, and in particular, to a method for making a call when the screen is locked, a mobile terminal, and a readable storage medium.
背景技术Background technique
现有技术在已经设置常用联系人快捷拨号的前提下,手机处于锁屏状态未解锁时是没办法拨打其他联系人的,只能拨打紧急电话,如:110,如果想要拨打其他联系人的电话就必须要先对手机的锁屏状态进行解锁才能实现,从用户体验角度考虑是不利于用户实际操作的。In the prior art, under the premise that the hotkey of the frequently used contact has been set, when the mobile phone is in the lock screen state and is not unlocked, there is no way to dial other contacts, and only an emergency call can be made, such as: 110, if you want to dial other contacts. The phone must first unlock the lock screen state of the mobile phone, which is not conducive to the actual operation of the user from the perspective of user experience.
发明内容Summary of the invention
本发明的主要目的在于提供了一种在锁屏状态时拨打电话的方法、终端设备,及可读存储介质,旨在解决用户想要在移动终端处于锁屏状态时不能快速拨打电话的问题。The main object of the present invention is to provide a method for making a call in a lock screen state, a terminal device, and a readable storage medium, aiming at solving the problem that the user wants to make a call quickly when the mobile terminal is in a lock screen state.
为实现上述目的,本发明提供了一种在锁屏状态时拨打电话的方法,所述方法包括以下步骤:To achieve the above object, the present invention provides a method of making a call while in a lock screen state, the method comprising the steps of:
移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed in the preset position, determining whether the current pressing instruction is a preset pressing instruction;
在所述当前按压指令为预设按压指令时,展示预设拨号界面;When the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface;
响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫。And in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number.
优选地,所述预设按压指令包括预设按压时间阈值和预设按压次数;Preferably, the preset pressing instruction includes a preset pressing time threshold and a preset pressing number;
相应地,所述移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令,具体包括:Correspondingly, when the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, determining whether the current pressing instruction is a preset pressing instruction, specifically includes:
移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令在预设按压时间阈值内是否达到预设按压次数,若是,则判定所述当前按压指令为预设按压指令。When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
优选地,所述预设拨号界面包括常用联系人列表,所述常用联系人列表用于存储预设电话号码以及与所述预设电话号码对应的联系标识;Preferably, the preset dialing interface includes a common contact list, where the common contact list is used to store a preset phone number and a contact identifier corresponding to the preset phone number;
相应地,所述响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫,具体包括:Correspondingly, in response to the dialing instruction input by the user in the preset dialing interface, determining the number to be dialed according to the dialing instruction, and performing a telephone call to the to-be-called dialing number according to the to-be-called dialing number, specifically includes:
响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令获取所述用户在预设拨号界面的联系人列表中选定的联系标识;And acquiring, according to the dialing instruction, the contact identifier selected by the user in the contact list of the preset dialing interface according to the dialing instruction input by the user in the preset dialing interface;
根据选定的联系标识确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫。Determining a to-be-diascribed number according to the selected contact identifier, and performing a telephone call to the to-be-called number according to the to-be-called dialed number.
优选地,所述预设拨号界面包括亮度调节滑块;Preferably, the preset dialing interface comprises a brightness adjustment slider;
相应地,所述响应于用户在所述预设拨号界面中输入的拨号指令之前,所述方法包括:Correspondingly, before the user inputs the dialing instruction in the preset dialing interface, the method includes:
响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节。The brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
优选地,所述响应于用户在所述预设拨号界面中输入的拨号指令之前,所述方法还包括:Preferably, the method further includes: in response to the dialing instruction input by the user in the preset dialing interface, the method further includes:
根据所述预设按压指令获取当前环境亮度值;Obtaining a current ambient brightness value according to the preset pressing instruction;
根据所述当前环境亮度值对所述预设拨号界面的亮度进行调整。Adjusting the brightness of the preset dialing interface according to the current ambient brightness value.
优选地,所述响应于用户在所述预设拨号界面中输入的拨号指令之前,所述方法还包括:Preferably, the method further includes: in response to the dialing instruction input by the user in the preset dialing interface, the method further includes:
根据所述预设按压指令判断所述移动终端的当前状态是否处于飞航模式,若是,则将所述当前状态设置为正常模式。Determining, according to the preset pressing instruction, whether the current state of the mobile terminal is in a flight mode, and if yes, setting the current state to a normal mode.
优选地,所述移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令,具体包括:Preferably, the mobile terminal is in a lock screen state and when the preset position is pressed, determining whether the current pressing instruction is a preset pressing instruction, specifically includes:
移动终端处于锁屏状态且在预设位置被按压时,对锁屏界面进行显示;判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, displaying the lock screen interface; determining whether the current pressing instruction is a preset pressing instruction;
相应地,所述在所述当前按压指令为预设按压指令时,展示预设拨号界面,具体包括:Correspondingly, when the current pressing instruction is a preset pressing instruction, the preset dialing interface is displayed, which specifically includes:
在所述当前按压指令为预设按压指令时,根据所述当前按压指令将所述锁屏界面替换为预设拨号界面,并对所述预设拨号界面进行展示。When the current pressing instruction is a preset pressing instruction, the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
此外,为实现上述目的,本发明还提出一种移动终端,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的在锁屏状态时拨打电话的程序,所述锁屏状态时拨打电话的程序为实现如上文任一项所述的在锁屏状态时拨打电话的方法的步骤。In addition, in order to achieve the above object, the present invention further provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a call in a lock screen state stored on the memory and operable on the processor The program, the program for making a call when the screen is locked, is a step of implementing a method of making a call while in a lock screen state as described in any of the above.
相应地,所述移动终端还包括:亮度感应器,所述亮度感应器用于监测当前环境亮度值。Correspondingly, the mobile terminal further includes: a brightness sensor, wherein the brightness sensor is configured to monitor a current ambient brightness value.
此外,为实现上述目的,本发明还提出一种存储介质,所述存储介质上存储有在锁屏状态时拨打电话的程序,所述在锁屏状态时拨打电话的程序被处理器执行时实现如上文任一项所述的在锁屏状态时拨打电话的方法的步骤。In addition, in order to achieve the above object, the present invention also provides a storage medium on which a program for making a call when the screen is locked is stored, and the program for making a call when the screen is locked is implemented by the processor. The step of the method of making a call while in the lock screen state as described in any of the preceding claims.
本发明在移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;在所述当前按压指令为预设按压指令时,展示预设拨号界面;响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫,进而使得用户在移动终端处于锁屏状态时也能够第一时间快速拨打电话给指定联系人。The present invention determines whether the current pressing instruction is a preset pressing instruction when the mobile terminal is in the lock screen state and is pressed in the preset position; and displays the preset dialing interface when the current pressing instruction is the preset pressing instruction; The dialing instruction input by the user in the preset dialing interface determines the number to be dialed according to the dialing instruction, and makes a telephone call to the to-be dialed number, so that the user can also be in the first time when the mobile terminal is in the lock screen state. Quickly make a call to the designated contact.
附图说明DRAWINGS
图1为本发明实施例方案涉及的硬件运行环境的移动终端结构示意图;1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention;
图2为本发明一种在锁屏状态时拨打电话第一实施例的流程示意图;2 is a schematic flow chart of a first embodiment of placing a call in a lock screen state according to the present invention;
图3为本发明一种在锁屏状态时拨打电话第二实施例的流程示意图;3 is a schematic flow chart of a second embodiment of making a call in a lock screen state according to the present invention;
图4为本发明一种在锁屏状态时拨打电话第三实施例的流程示意图;4 is a schematic flow chart of a third embodiment of making a call in a lock screen state according to the present invention;
图5为本发明一种在锁屏状态时拨打电话第四实施例的流程示意图。FIG. 5 is a schematic flow chart of a fourth embodiment of making a call in a lock screen state according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参照图1,图1为本发明实施例方案涉及的硬件运行环境的移动终端结构示意图。Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention.
如图1所示,该移动终端可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005,亮度感应器1006。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the mobile terminal may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005, and a brightness sensor 1006. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 1 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
如图1所示,作为一种存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及在锁屏状态时拨打电话的程序。As shown in FIG. 1, a memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a program for making a call when the screen is locked.
所述移动终端可以智能手机、平板电脑等,本实施例对此不加以限制。The mobile terminal may be a smart phone, a tablet computer, or the like, which is not limited in this embodiment.
在图1所示的移动终端中,网络接口1004主要用于与后台服务器进行数据通信;亮度感应器1006,配置为采集或监测当前环境亮度值;用户接口1003主要用于与用户进行数据交互;本发明移动终端中的处理器1001、存储器1005可以设置在移动终端中,所述移动终端通过处理器1001调用存储器1005中存储的在锁屏状态时拨打电话的程序,并执行以下操作:In the mobile terminal shown in FIG. 1 , the network interface 1004 is mainly used for data communication with the background server; the brightness sensor 1006 is configured to collect or monitor the current ambient brightness value; the user interface 1003 is mainly used for data interaction with the user; The processor 1001 and the memory 1005 in the mobile terminal of the present invention may be disposed in a mobile terminal. The mobile terminal invokes a program for making a call when the lock screen state is stored in the memory 1005 through the processor 1001, and performs the following operations:
移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed in the preset position, determining whether the current pressing instruction is a preset pressing instruction;
在所述当前按压指令为预设按压指令时,展示预设拨号界面;When the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface;
响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫。And in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number.
进一步地,处理器1001可以调用存储器1005中存储的在锁屏状态时拨打电话程序,还执行以下操作:Further, the processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令在预设按压时间阈值内是否达到预设按压次数,若是,则判定所述当前按压指令为预设按压指令。When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
进一步地,处理器1001可以调用存储器1005中存储的在锁屏状态时拨打电话程序,还执行以下操作:Further, the processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令获取所述用户在预设拨号界面的联系人列表中选定的联系标识;And acquiring, according to the dialing instruction, the contact identifier selected by the user in the contact list of the preset dialing interface according to the dialing instruction input by the user in the preset dialing interface;
根据选定的联系标识确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫。Determining a to-be-diascribed number according to the selected contact identifier, and performing a telephone call to the to-be-called number according to the to-be-called dialed number.
进一步地,处理器1001可以调用存储器1005中存储的在锁屏状态时拨打电话程序,还执行以下操作:Further, the processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节。The brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
进一步地,处理器1001可以调用存储器1005中存储的在锁屏状态时拨打电话程序,还执行以下操作:Further, the processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
根据所述预设按压指令获取当前环境亮度值;Obtaining a current ambient brightness value according to the preset pressing instruction;
根据所述当前环境亮度值对所述预设拨号界面的亮度进行调整。Adjusting the brightness of the preset dialing interface according to the current ambient brightness value.
进一步地,处理器1001可以调用存储器1005中存储的在锁屏状态时拨打电话程序,还执行以下操作:Further, the processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
根据所述预设按压指令判断所述移动终端的当前状态是否处于飞航模式,若是,则将所述当前状态设置为正常模式。Determining, according to the preset pressing instruction, whether the current state of the mobile terminal is in a flight mode, and if yes, setting the current state to a normal mode.
进一步地,处理器1001可以调用存储器1005中存储的在锁屏状态时拨打电话程序,还执行以下操作:Further, the processor 1001 can call the phone program stored in the lock screen state stored in the memory 1005, and also perform the following operations:
移动终端处于锁屏状态且在预设位置被按压时,对锁屏界面进行显示;判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, displaying the lock screen interface; determining whether the current pressing instruction is a preset pressing instruction;
在所述当前按压指令为预设按压指令时,根据所述当前按压指令将所述锁屏界面替换为预设拨号界面,并对所述预设拨号界面进行展示。When the current pressing instruction is a preset pressing instruction, the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
本实施例的有益效果是:移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;在所述当前按压指令为预设按压指令时,展示预设拨号界面;响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫,进而使得用户在移动终端处于锁屏状态时能够第一时间快速拨打电话给指定联系人。The beneficial effect of the embodiment is that when the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, it is determined whether the current pressing instruction is a preset pressing instruction; when the current pressing instruction is a preset pressing instruction, displaying the preset a dialing interface; in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number, thereby enabling the user to be in a lock screen state when the mobile terminal is in a lock screen state Ability to quickly make calls to designated contacts in the first place.
基于上述硬件结构,提出本发明在锁屏状态时拨打电话实施例。Based on the above hardware structure, the embodiment of the present invention for making a call when the screen is locked is proposed.
参照图2,图2为本发明一种在锁屏状态时拨打电话第一实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flowchart of a first embodiment of placing a call in a lock screen state according to the present invention.
本实施例中,所述方法包括以下步骤:In this embodiment, the method includes the following steps:
S10:移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;S10: when the mobile terminal is in a lock screen state and is pressed in the preset position, determining whether the current pressing instruction is a preset pressing instruction;
需要说明的是,本实施例以移动终端以手机为例,并以手机的处理器作为执行主体;It should be noted that, in this embodiment, the mobile terminal takes a mobile phone as an example, and the processor of the mobile phone is used as an execution subject;
所述预设位置可以设置在手机的电源键(即手机的power键);所述预设按压指令包括预设按压时间阈值和预设按压次数,本实施例将所述预设按压时间阈值设置为0到2秒范围内,将预设按压次数设置为两次;The preset position may be set in a power button of the mobile phone (ie, a power button of the mobile phone); the preset pressing command includes a preset pressing time threshold and a preset pressing number, and the preset pressing time threshold is set in this embodiment. Set the preset number of presses to two times in the range of 0 to 2 seconds;
S20:在所述当前按压指令为预设按压指令时,展示预设拨号界面;S20: displaying a preset dialing interface when the current pressing instruction is a preset pressing instruction;
可理解的是,本实施例中,例如在手机处于锁屏状态时,用户想不通过对手机的锁屏状态进行解锁而是在锁屏状态下直接给常用联系人拨打电话,当用户在0到2秒范围内按压将手机的电源键按压两次时,手机的处理器会判断出当前按压指令是为预设按压指令,并对预设拨号界面进行展示。It can be understood that, in this embodiment, for example, when the mobile phone is in the lock screen state, the user wants not to unlock the lock screen state of the mobile phone but directly dials the call to the common contact in the lock screen state, when the user is at 0. When the power button of the mobile phone is pressed twice within 2 seconds, the processor of the mobile phone determines that the current pressing command is a preset pressing command, and displays the preset dialing interface.
在具体实现中,当手机的感应到用户的当前按压指令时,会对锁屏界面进行显示;在所述当前按压指令为预设按压指令时,本实施例中手机可以根据所述当前按压指令将所述锁屏界面替换为预设拨号界面,并对所述预设拨号界面进行展示。通过这种直接将所述锁屏界面替换为预设拨号界面的方式,能够更加方便用户拨打电话,避免用户在拨号时触碰到锁屏界面的锁屏滑块。In a specific implementation, when the mobile phone senses the current pressing instruction of the user, the lock screen interface is displayed; when the current pressing instruction is a preset pressing instruction, the mobile phone in this embodiment may be according to the current pressing instruction. The lock screen interface is replaced with a preset dial interface, and the preset dial interface is displayed. By directly replacing the lock screen interface with the preset dial interface, the user can make the call more convenient, and the user can avoid the lock screen slider of the lock screen interface when dialing.
S30:响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫。S30: Determine, according to the dialing instruction, a number to be dialed according to the dialing instruction input by the user in the preset dialing interface, and make a telephone call to the to-be dialed number.
可理解的是,所述预设拨号界面可以包括用户的常用的联系人列表,所述常用联系人列表用于存储预设电话号码以及与所述预设电话号码对应的联系标识(比如联系人的姓名);It can be understood that the preset dialing interface may include a common contact list of the user, where the common contact list is used to store a preset phone number and a contact identifier corresponding to the preset phone number (such as a contact Name);
在具体实现中,手机的处理器响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令获取所述用户在预设拨号界面的联系人列表中选定的联系标识;根据选定的联系标识确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫。当然,本实施例还可以在所述所述预设拨号界面上设置一个拨号输入框,在所述拨号输入框附近设置上一组数字键为1-9的虚拟按键组合,以方便用户在手机锁屏时可以直接输入号码进行拨号。In a specific implementation, the processor of the mobile phone acquires the contact identifier selected by the user in the contact list of the preset dialing interface according to the dialing instruction in response to the dialing instruction input by the user in the preset dialing interface; Determining a to-be-diascribed number according to the selected contact identifier, and performing a telephone call to the to-be-called number according to the to-be-called dialed number. Certainly, the embodiment may further set a dial input box on the preset dial interface, and set a virtual key combination of the first set of numeric keys 1-9 near the dial input box to facilitate the user in the mobile phone. When you lock the screen, you can directly enter the number to dial.
本实施例能够在手机处于锁屏状态时快速拨打常用联系人的号码,用户在开启该模式的状态下添加常用联系人后锁屏,无需解锁进入手机,可以通过连续两次点击Power键的方式直接拨打常用联系人或者调出常用联系人列表,减少了用户的繁琐操作,解决了用户想要在移动终端处于锁屏状态时不能快速拨打电话的问题,进而使得用户在移动终端处于锁屏状态时能够第一时间快速拨打电话给指定联系人。In this embodiment, when the mobile phone is in the lock screen state, the number of the frequently used contact can be quickly dialed. When the user opens the mode, the user can add the common contact and lock the screen, and the user can enter the mobile phone twice without having to unlock the mobile phone. Directly dialing a frequently used contact or dialing up a common contact list reduces the cumbersome operation of the user and solves the problem that the user cannot quickly make a call when the mobile terminal is in a lock screen state, thereby causing the user to be in a lock screen state on the mobile terminal. When you can quickly make a call to a designated contact in the first place.
参照图3,图3为本发明在锁屏状态时拨打电话的方法的第二实施例的流程示意图。基于上述在锁屏状态时拨打电话的方法的第一实施例,本实施例中,所述预设拨号界面包括亮度调节滑块;Referring to FIG. 3, FIG. 3 is a schematic flowchart diagram of a second embodiment of a method for making a call when the screen is locked. The first embodiment of the method for making a call when the screen is locked, in the embodiment, the preset dial interface includes a brightness adjustment slider;
相应地,所述步骤S30之前,所述方法还包括:Correspondingly, before the step S30, the method further includes:
S03:响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节;S03: responsive to the adjustment instruction of the brightness adjustment slider by the user, adjusting the brightness of the preset dial interface according to the adjustment instruction;
可理解的是,通常手机设置的亮度包括主屏幕亮度和锁屏亮度,两个亮度是同一个数值,两个亮度是一样的。只是屏幕能根据环境自身调节,锁屏亮度就是固定的。要想锁屏亮度改变,用户就必须在对处于锁屏状态的手机解锁后手动设置锁屏亮度的亮度值。而当用户手持手机在光线较强的环境下想快速拨打电话,而此时手机处于解锁状态,由于光线较强可能影响到用户的拨号操作。Understandably, the brightness of the phone setting usually includes the brightness of the main screen and the brightness of the lock screen. The two brightnesses are the same value, and the two brightnesses are the same. Only the screen can be adjusted according to the environment itself, and the brightness of the lock screen is fixed. In order to change the brightness of the lock screen, the user must manually set the brightness value of the lock screen brightness after unlocking the mobile phone in the lock screen state. When the user holds the mobile phone and wants to make a quick call in a relatively strong environment, the mobile phone is unlocked, and the strong light may affect the user's dialing operation.
本实施例中的预设拨号界面包括亮度调节滑块;在用户的当前按压指令为预设按压指令时,手机对预设拨号界面中的亮度调节滑块进行展示,响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节。The preset dialing interface in this embodiment includes a brightness adjustment slider; when the current pressing instruction of the user is a preset pressing instruction, the mobile phone displays the brightness adjustment slider in the preset dialing interface, in response to the user's brightness Adjusting an adjustment command of the slider, and adjusting brightness of the preset dialing interface according to the adjustment instruction.
本实施例移动终端根据预设按压指令对预设拨号界面的亮度调节滑块进行展示,响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节,进而能够实习便于用户在光线较强的环境下不用对手机锁屏解锁而直接快速拨打电话,进一步地提高了用户的体验。In this embodiment, the mobile terminal displays the brightness adjustment slider of the preset dialing interface according to the preset pressing instruction, and responds to the adjustment instruction of the brightness adjustment slider by the user, and the preset dialing interface according to the adjustment instruction. The brightness is adjusted, and the internship is convenient for the user to directly make a quick call without unlocking the lock screen of the mobile phone in a relatively strong environment, thereby further improving the user experience.
参照图4,图4为本发明在锁屏状态时拨打电话的方法的第三实施例的流程示意图。基于上述在锁屏状态时拨打电话的方法的第一实施例,所述步骤S30之前,所述方法还包括:Referring to FIG. 4, FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for making a call when the screen is locked. In the first embodiment of the method for making a call when the screen is locked, the method further includes:
S031:根据所述预设按压指令获取当前环境亮度值;S031: Acquire a current ambient brightness value according to the preset pressing instruction;
S032:根据所述当前环境亮度值对所述预设拨号界面的亮度进行调整。S032: Adjust a brightness of the preset dialing interface according to the current ambient brightness value.
需要说明的是,本实施例中,所述移动终端(即手机)上设有亮度感应器,所述亮度感应器用于监测当前环境亮度值;It should be noted that, in this embodiment, the mobile terminal (ie, the mobile phone) is provided with a brightness sensor, and the brightness sensor is configured to monitor a current ambient brightness value;
可理解的是,通常手机设置的亮度包括主屏幕亮度和锁屏亮度,锁屏亮度就是固定的。要想锁屏亮度改变,用户就必须在对处于锁屏状态的手机解锁后手动设置锁屏亮度的亮度值。而当用户手持手机在光线特别强的环境下(比如夏天中午太阳光最强的时候在露天上行走)想快速拨打电话,而此时手机处于解锁状态,由于光线过于强导致用户看不到手机屏幕中显示的内容(通常手机在锁屏时用户一般不会将锁屏亮度设置为最大亮度,这样比较耗电);此时手机通过亮度感应器实时地获取当前太阳的光照亮度(即当前环境亮度值),由于此时光照亮度太强,手机的处理器会根据获取的当前环境亮度值将手机锁屏状态下的亮度值设置为最大。Understandably, the brightness of the phone setting usually includes the brightness of the main screen and the brightness of the lock screen, and the brightness of the lock screen is fixed. In order to change the brightness of the lock screen, the user must manually set the brightness value of the lock screen brightness after unlocking the mobile phone in the lock screen state. When the user holds the mobile phone in a particularly strong environment (such as walking in the open air when the sun is strong at noon in summer), he wants to make a quick call, and the mobile phone is unlocked, because the light is too strong, the user cannot see the mobile phone. The content displayed on the screen (usually the user does not set the brightness of the lock screen to the maximum brightness when the phone is locked, which is more power-consuming); at this time, the mobile phone obtains the current brightness of the current sun through the brightness sensor (ie, the current environment) Brightness value), because the brightness of the light is too strong at this time, the processor of the mobile phone sets the brightness value under the lock screen state of the mobile phone to the maximum according to the obtained current ambient brightness value.
当然,当用户夜间行走时,当手机锁屏状态下的亮度值是大于当前环境亮度值时,手机的处理器可以根据获取的当前环境亮度值将预设拨号界面的亮度适当地调小,这样一来可以节省手机的电量,同时对保护用户的视力有一定的帮助。Of course, when the user walks at night, when the brightness value of the mobile phone lock screen state is greater than the current ambient brightness value, the processor of the mobile phone can appropriately adjust the brightness of the preset dial interface according to the obtained current ambient brightness value, so that One can save the power of the mobile phone, and at the same time help to protect the user's vision.
本实施例移动终端根据预设按压指令获取当前环境亮度值,并根据所述当前环境亮度值对所述预设拨号界面的亮度进行调整,进而能够解决用户在手机处于锁屏状态时想直接快速拨打电话,但又由于光线太强而看不到手机屏幕显示的内容导致用户无法拨号的问题,进一步地提高了用户的体验。In this embodiment, the mobile terminal obtains the current ambient brightness value according to the preset pressing instruction, and adjusts the brightness of the preset dialing interface according to the current ambient brightness value, thereby being able to solve the problem that the user wants to directly and quickly when the mobile phone is in the lock screen state. Calling the phone, but because the light is too strong to see the content displayed on the screen of the mobile phone, the user can not dial the number, further improving the user experience.
参照图5,图5为本发明在锁屏状态时拨打电话的方法的第四实施例的流程示意图。基于上述在锁屏状态时拨打电话的方法的第一实施例,所述步骤S30之前,所述方法还包括:Referring to FIG. 5, FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for making a call when the screen is locked. In the first embodiment of the method for making a call when the screen is locked, the method further includes:
S310:根据所述预设按压指令判断所述移动终端的当前状态是否处于飞航模式,若是,则将所述当前状态设置为正常模式。S310: Determine, according to the preset pressing instruction, whether a current state of the mobile terminal is in a flight mode, and if yes, set the current state to a normal mode.
可理解的是,通常当手机处于锁屏状态且处于飞航模式时,用户想要打电话必须对手机的锁屏状态进行解锁,再手动将手机的当前状态设置为正常模式,才能拨打电话。如果要解决用户想要在手机处于锁屏状态时不能快速拨打电话的问题,必须保证此时手机不是处于飞航模式。Understandably, when the mobile phone is in the lock screen state and is in the flight mode, the user wants to make a call and must unlock the lock screen state of the mobile phone, and then manually set the current state of the mobile phone to the normal mode to make a call. If you want to solve the problem that the user wants to make a quick call when the mobile phone is in the lock screen state, you must ensure that the mobile phone is not in the flight mode at this time.
本实施例中,手机的处理器会根据所述预设按压指令判断出所述移动终端的当前状态是否处于飞航模式,若是,则将所述当前状态设置为正常模式,进而能够解决用户在手机处于锁屏状态时想直接快速拨打电话,但由于手机已设置成飞航模式而使得手机处于非通讯状态导致用户无法拨号的问题,进一步地提高了用户的体验。In this embodiment, the processor of the mobile phone determines, according to the preset pressing command, whether the current state of the mobile terminal is in a flight mode, and if so, sets the current state to a normal mode, thereby being able to solve the user's When the mobile phone is in the lock screen state, it wants to make a quick call directly. However, since the mobile phone is set to the flight mode and the mobile phone is in a non-communication state, the user cannot dial the number, which further improves the user experience.
此外,本发明还提供一种存储介质,其特征在于,所述存储介质上存储有在锁屏状态时拨打电话程序,所述在锁屏状态时拨打电话程序被处理器执行时实现如下操作:In addition, the present invention further provides a storage medium, wherein the storage medium stores a call program when the screen lock state is stored, and when the call program is executed by the processor in the lock screen state, the following operations are implemented:
移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed in the preset position, determining whether the current pressing instruction is a preset pressing instruction;
在所述当前按压指令为预设按压指令时,展示预设拨号界面;When the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface;
响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫。And in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number.
进一步地,在锁屏状态时拨打电话程序被处理器执行时还实现如下操作:Further, when the calling program is executed by the processor in the lock screen state, the following operations are also implemented:
移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令在预设按压时间阈值内是否达到预设按压次数,若是,则判定所述当前按压指令为预设按压指令。When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
进一步地,在锁屏状态时拨打电话程序被处理器执行时还实现如下操作:Further, when the calling program is executed by the processor in the lock screen state, the following operations are also implemented:
响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令获取所述用户在预设拨号界面的联系人列表中选定的联系标识;And acquiring, according to the dialing instruction, the contact identifier selected by the user in the contact list of the preset dialing interface according to the dialing instruction input by the user in the preset dialing interface;
根据选定的联系标识确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫。Determining a to-be-diascribed number according to the selected contact identifier, and performing a telephone call to the to-be-called number according to the to-be-called dialed number.
进一步地,在锁屏状态时拨打电话程序被处理器执行时还实现如下操作:Further, when the calling program is executed by the processor in the lock screen state, the following operations are also implemented:
响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节。The brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
进一步地,在锁屏状态时拨打电话程序被处理器执行时还实现如下操作:Further, when the calling program is executed by the processor in the lock screen state, the following operations are also implemented:
根据所述预设按压指令获取当前环境亮度值;Obtaining a current ambient brightness value according to the preset pressing instruction;
根据所述当前环境亮度值对所述预设拨号界面的亮度进行调整。Adjusting the brightness of the preset dialing interface according to the current ambient brightness value.
进一步地,在锁屏状态时拨打电话程序被处理器执行时还实现如下操作:Further, when the calling program is executed by the processor in the lock screen state, the following operations are also implemented:
根据所述预设按压指令判断所述移动终端的当前状态是否处于飞航模式,若是,则将所述当前状态设置为正常模式。Determining, according to the preset pressing instruction, whether the current state of the mobile terminal is in a flight mode, and if yes, setting the current state to a normal mode.
进一步地,在锁屏状态时拨打电话程序被处理器执行时还实现如下操作:Further, when the calling program is executed by the processor in the lock screen state, the following operations are also implemented:
移动终端处于锁屏状态且在预设位置被按压时,对锁屏界面进行显示;判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, displaying the lock screen interface; determining whether the current pressing instruction is a preset pressing instruction;
在所述当前按压指令为预设按压指令时,根据所述当前按压指令将所述锁屏界面替换为预设拨号界面,并对所述预设拨号界面进行展示。When the current pressing instruction is a preset pressing instruction, the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
本实施例的有益效果是:移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;在所述当前按压指令为预设按压指令时,展示预设拨号界面;响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫,进而使得用户在移动终端处于锁屏状态时能够第一时间快速拨打电话给指定联系人。The beneficial effect of the embodiment is that when the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, it is determined whether the current pressing instruction is a preset pressing instruction; when the current pressing instruction is a preset pressing instruction, displaying the preset a dialing interface; in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number, thereby enabling the user to be in a lock screen state when the mobile terminal is in a lock screen state Ability to quickly make calls to designated contacts in the first place.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者***不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者***所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者***中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的 技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光 盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Those skilled in the art can clearly understand the above by the description of the above embodiments. The embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course hardware, but in many cases the former is a better implementation. Based on such understanding, the present invention The technical solution in essence or the contribution to the prior art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, light). The disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种在锁屏状态时拨打电话的方法,其特征在于,所述方法包括: A method for making a call while in a lock screen state, the method comprising:
    移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed in the preset position, determining whether the current pressing instruction is a preset pressing instruction;
    在所述当前按压指令为预设按压指令时,展示预设拨号界面;When the current pressing instruction is a preset pressing instruction, displaying a preset dialing interface;
    响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,对所述待拨打号码进行电话呼叫。And in response to the dialing instruction input by the user in the preset dialing interface, determining a number to be dialed according to the dialing instruction, and making a telephone call to the to-be dialed number.
  2. 如权利要求1所述的方法,其特征在于,所述预设按压指令包括预设按压时间阈值和预设按压次数;The method according to claim 1, wherein the preset pressing instruction comprises a preset pressing time threshold and a preset pressing number;
    相应地,所述移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令,具体包括:Correspondingly, when the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, determining whether the current pressing instruction is a preset pressing instruction, specifically includes:
    移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令在预设按压时间阈值内是否达到预设按压次数,若是,则判定所述当前按压指令为预设按压指令。When the mobile terminal is in the lock screen state and is pressed in the preset position, it is determined whether the current pressing command reaches the preset pressing number within the preset pressing time threshold, and if yes, it is determined that the current pressing instruction is a preset pressing instruction.
  3. 如权利要求1所述的方法,其特征在于,所述预设拨号界面包括常用联系人列表,所述常用联系人列表用于存储预设电话号码以及与所述预设电话号码对应的联系标识;The method according to claim 1, wherein the preset dialing interface comprises a common contact list, and the common contact list is configured to store a preset phone number and a contact identifier corresponding to the preset phone number. ;
    相应地,所述响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫,具体包括:Correspondingly, in response to the dialing instruction input by the user in the preset dialing interface, determining the number to be dialed according to the dialing instruction, and performing a telephone call to the to-be-called dialing number according to the to-be-called dialing number, specifically includes:
    响应于用户在所述预设拨号界面中输入的拨号指令,根据所述拨号指令获取所述用户在预设拨号界面的联系人列表中选定的联系标识;And acquiring, according to the dialing instruction, the contact identifier selected by the user in the contact list of the preset dialing interface according to the dialing instruction input by the user in the preset dialing interface;
    根据选定的联系标识确定待拨打号码,根据所述待拨打号码对所述待拨打号码进行电话呼叫。Determining a to-be-diascribed number according to the selected contact identifier, and performing a telephone call to the to-be-called number according to the to-be-called dialed number.
  4. 如权利要求1所述的方法,其特征在于,所述预设拨号界面包括亮度调节滑块;The method of claim 1 wherein said preset dialing interface comprises a brightness adjustment slider;
    相应地,所述响应于用户在所述预设拨号界面中输入的拨号指令之前,所述方法包括:Correspondingly, before the user inputs the dialing instruction in the preset dialing interface, the method includes:
    响应于用户对所述亮度调节滑块的调节指令,根据所述调节指令对所述预设拨号界面的亮度进行调节。The brightness of the preset dialing interface is adjusted according to the adjustment instruction in response to an adjustment instruction of the brightness adjustment slider by a user.
  5. 如权利要求1所述的方法,其特征在于,所述响应于用户在所述预设拨号界面中输入的拨号指令之前,所述方法还包括:The method of claim 1, wherein the method further comprises: responsive to a dialing instruction input by the user in the preset dialing interface, the method further comprising:
    根据所述预设按压指令获取当前环境亮度值;Obtaining a current ambient brightness value according to the preset pressing instruction;
    根据所述当前环境亮度值对所述预设拨号界面的亮度进行调整。Adjusting the brightness of the preset dialing interface according to the current ambient brightness value.
  6. 如权利要求1所述的方法,其特征在于,所述响应于用户在所述预设拨号界面中输入的拨号指令之前,所述方法还包括:The method of claim 1, wherein the method further comprises: responsive to a dialing instruction input by the user in the preset dialing interface, the method further comprising:
    根据所述预设按压指令判断所述移动终端的当前状态是否处于飞航模式,若是,则将所述当前状态设置为正常模式。Determining, according to the preset pressing instruction, whether the current state of the mobile terminal is in a flight mode, and if yes, setting the current state to a normal mode.
  7. 如权利要求1所述的方法,其特征在于,所述移动终端处于锁屏状态且在预设位置被按压时,判断当前按压指令是否为预设按压指令,具体包括:The method of claim 1, wherein the mobile terminal is in a lock screen state and when the preset position is pressed, determining whether the current pressing instruction is a preset pressing instruction, specifically comprising:
    移动终端处于锁屏状态且在预设位置被按压时,对锁屏界面进行显示;判断当前按压指令是否为预设按压指令;When the mobile terminal is in the lock screen state and is pressed when the preset position is pressed, displaying the lock screen interface; determining whether the current pressing instruction is a preset pressing instruction;
    相应地,所述在所述当前按压指令为预设按压指令时,展示预设拨号界面,具体包括:Correspondingly, when the current pressing instruction is a preset pressing instruction, the preset dialing interface is displayed, which specifically includes:
    在所述当前按压指令为预设按压指令时,根据所述当前按压指令将所述锁屏界面替换为预设拨号界面,并对所述预设拨号界面进行展示。When the current pressing instruction is a preset pressing instruction, the lock screen interface is replaced with a preset dialing interface according to the current pressing instruction, and the preset dialing interface is displayed.
  8. 一种移动终端,其特征在于,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的在锁屏状态时拨打电话的程序,所述锁屏状态时拨打电话的程序为实现如权利要求1-7任一项所述的在锁屏状态时拨打电话的方法的步骤。 A mobile terminal, comprising: a memory, a processor, and a program stored on the memory and operable on the processor to make a call when in a lock screen state, the lock screen The procedure for making a call while the state is the step of implementing the method of making a call while in the lock screen state according to any of claims 1-7.
  9. 如权利要求8所述的一种移动终端,其特征在于,所述移动终端还包括:亮度感应器,所述亮度感应器用于监测当前环境亮度值。A mobile terminal according to claim 8, wherein the mobile terminal further comprises: a brightness sensor, wherein the brightness sensor is configured to monitor a current ambient brightness value.
  10. 一种存储介质,其特征在于,所述存储介质上存储有在锁屏状态时拨打电话的程序,所述在锁屏状态时拨打电话的程序被处理器执行时实现如权利要求1-7任一项所述的在锁屏状态时拨打电话的方法的步骤。 A storage medium, characterized in that the storage medium stores a program for making a call when the screen is locked, and the program for making a call when the screen is locked is executed by the processor to implement any of claims 1-7. A method of a method of making a call while in a lock screen state.
PCT/CN2017/102778 2017-09-21 2017-09-21 Method for making phone call in screen locked state, mobile terminal, and readable storage medium WO2019056274A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780095106.6A CN111108739A (en) 2017-09-21 2017-09-21 Method for making call in screen locking state, mobile terminal and readable storage medium
PCT/CN2017/102778 WO2019056274A1 (en) 2017-09-21 2017-09-21 Method for making phone call in screen locked state, mobile terminal, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102778 WO2019056274A1 (en) 2017-09-21 2017-09-21 Method for making phone call in screen locked state, mobile terminal, and readable storage medium

Publications (1)

Publication Number Publication Date
WO2019056274A1 true WO2019056274A1 (en) 2019-03-28

Family

ID=65810026

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102778 WO2019056274A1 (en) 2017-09-21 2017-09-21 Method for making phone call in screen locked state, mobile terminal, and readable storage medium

Country Status (2)

Country Link
CN (1) CN111108739A (en)
WO (1) WO2019056274A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090205041A1 (en) * 2008-02-08 2009-08-13 Steven Charles Michalske Emergency Information Access on Portable Electronic Devices
CN103795854A (en) * 2013-12-03 2014-05-14 河南博仕达通信技术有限公司 Method and apparatus for dialing quick contacts in mobile phone locked screen interface
CN103973859A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 Dialing method and device and mobile terminal
CN104184862A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Rapid communication method and device
CN105138268A (en) * 2015-08-28 2015-12-09 广东欧珀移动通信有限公司 Adjusting method and system for display terminal screen brightness
CN105304064A (en) * 2015-11-03 2016-02-03 广东欧珀移动通信有限公司 Method and system for regulating brightness of electronic equipment screen
CN106231113A (en) * 2016-08-22 2016-12-14 维沃移动通信有限公司 A kind of Dialing Method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210249A (en) * 2015-05-07 2016-12-07 小米科技有限责任公司 Intelligent terminal's mode switching method and device
CN105187642B (en) * 2015-08-26 2019-08-16 努比亚技术有限公司 The device and method of fast dialing telephone in the state of the lock screen
CN105120095A (en) * 2015-08-28 2015-12-02 上海卓易科技股份有限公司 Airplane mode control method and control device, and mobile terminal
CN105245672A (en) * 2015-10-30 2016-01-13 上海斐讯数据通信技术有限公司 Method and system for rapidly calling contact

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090205041A1 (en) * 2008-02-08 2009-08-13 Steven Charles Michalske Emergency Information Access on Portable Electronic Devices
CN103973859A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 Dialing method and device and mobile terminal
CN104184862A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Rapid communication method and device
CN103795854A (en) * 2013-12-03 2014-05-14 河南博仕达通信技术有限公司 Method and apparatus for dialing quick contacts in mobile phone locked screen interface
CN105138268A (en) * 2015-08-28 2015-12-09 广东欧珀移动通信有限公司 Adjusting method and system for display terminal screen brightness
CN105304064A (en) * 2015-11-03 2016-02-03 广东欧珀移动通信有限公司 Method and system for regulating brightness of electronic equipment screen
CN106231113A (en) * 2016-08-22 2016-12-14 维沃移动通信有限公司 A kind of Dialing Method and mobile terminal

Also Published As

Publication number Publication date
CN111108739A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
WO2017206456A1 (en) Method and apparatus for presenting video image in video call
WO2019174090A1 (en) Screenshot file sharing control method, apparatus and device, and computer storage medium
WO2016141667A1 (en) Network connection control method and system for mobile terminal
WO2018233352A1 (en) Data transmission method, device, terminal and computer-readable storage medium
WO2019161598A1 (en) Method, apparatus and device for interacting instant messaging with mail, and storage medium
WO2016101441A1 (en) File synchronization method and system
WO2019114587A1 (en) Information processing method and apparatus for virtual reality terminal, and readable storage medium
WO2018161601A1 (en) Screen backlight adjusting method, device, storage medium and electronic device
WO2019233190A1 (en) Display terminal-based text-to-speech conversion method, display terminal, and storage medium
WO2016090775A1 (en) Synchronous operation method and system for short message data
WO2016123898A1 (en) Short message managing method and mobile terminal thereof
WO2018145597A1 (en) Mobile terminal-based screen light-supplementing photographing method and system, and mobile terminal
WO2019037542A1 (en) Television source preview method and apparatus, and computer-readable storage medium
WO2017185647A1 (en) Softsim-based imsi number management and calling methods, server and network side device
WO2019114565A1 (en) Air conditioner adjusting method and device, and storage medium
WO2016013693A1 (en) Terminal apparatus and control method for terminal apparatus
WO2019137219A1 (en) Method and device for adjusting brightness for video call, and computer storage medium
WO2019056274A1 (en) Method for making phone call in screen locked state, mobile terminal, and readable storage medium
WO2019041356A1 (en) Method, apparatus, and computer readable storage medium for handling power loss of terminal
WO2019047077A1 (en) White balance processing method of terminal, and terminal and computer-readable storage medium
WO2020078383A1 (en) Bluetooth connection-based mode switching method, apparatus and system, and bluetooth device
WO2019041183A1 (en) Anti-screen spying method for mobile terminal, mobile terminal and storage medium
WO2018169323A1 (en) Electronic device and control method therefor
WO2020134003A1 (en) Input method for smart television, smart television, mobile terminal and storage medium
WO2019047022A1 (en) Wifi sharing method, mobile terminal, and computer readable 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: 17925851

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17925851

Country of ref document: EP

Kind code of ref document: A1