WO2016206161A1 - Incoming call processing method, terminal and protective cover - Google Patents

Incoming call processing method, terminal and protective cover Download PDF

Info

Publication number
WO2016206161A1
WO2016206161A1 PCT/CN2015/085219 CN2015085219W WO2016206161A1 WO 2016206161 A1 WO2016206161 A1 WO 2016206161A1 CN 2015085219 W CN2015085219 W CN 2015085219W WO 2016206161 A1 WO2016206161 A1 WO 2016206161A1
Authority
WO
WIPO (PCT)
Prior art keywords
incoming call
protective cover
terminal
interface
call interface
Prior art date
Application number
PCT/CN2015/085219
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 WO2016206161A1 publication Critical patent/WO2016206161A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • 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 relates to the field of communications, and in particular, to a method, a terminal, and a protective cover for call processing.
  • the existing terminal supports two modes of incoming calls by default, one is full-screen mode, that is, after the screen is turned off or the lock screen is triggered, the incoming call is a full-screen mode call; the other is the notification bar mode, that is, the user is at the terminal.
  • the incoming call will be presented in the form of a notification bar;
  • the user can usually answer or reject the operation in the specified area of the small window; but in the Android 5.0 system, the call cannot be made.
  • the interface of the full screen mode or the notification bar mode is switched to the display in the specified visual window area, the intelligent switching of the incoming call interface is realized, which brings great inconvenience to the user.
  • the embodiments of the present invention are directed to providing a method for incoming call processing, a terminal, and a protective cover for use with the terminal assembly, which at least solves the problems existing in the prior art, and can implement intelligent switching of the incoming call interface.
  • An embodiment of the present invention provides a method for processing an incoming call, where the method is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the method includes:
  • the method further includes:
  • the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information.
  • switching from the first incoming call interface to the second incoming call interface matching the protective cover includes:
  • the first opening area is a visible window of the protective cover.
  • switching the first incoming call interface to the second incoming call interface that matches the size of the visible window includes:
  • the method further includes:
  • the incoming call is adjusted according to a preset mode. mode.
  • the embodiment of the present invention further provides a terminal, where the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the terminal includes: an incoming call module, a generating module, and a switching module, where
  • the incoming call module is configured to receive incoming call information, and display a first incoming call interface on the display screen of the terminal according to the incoming call information;
  • the generating module is configured to generate a notification instruction that the protective cover is closed when detecting that the protective cover is in the first state
  • the switching module is configured to switch from the first incoming call interface to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in the first Within the display area of the open area.
  • the terminal further includes:
  • the determining module is configured to determine the state of the protective cover when receiving the incoming call information
  • the incoming call module is configured to display the first incoming call interface on the display screen of the terminal according to the incoming call information if the state of the protective cover is the second state.
  • the switching module is configured to:
  • the switching module is further configured to:
  • the terminal further includes:
  • the adjustment module is configured to adjust the incoming call mode according to a preset mode when the notification instruction of the protective cover is detected.
  • the calling module, the generating module, the switching module, the determining module, and the adjusting module may use a central processing unit (CPU) and a digital signal processor (DSP, Digital) when performing processing. Singnal Processor) or Field-Programmable Gate Array (FPGA) implementation.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • the embodiment of the present invention further provides a protective cover configured to be assembled with the terminal according to the embodiment of the present invention, the protective cover is provided with a first opening area, when the protective cover is closed In the first state, the display screen of the terminal can be blocked, so that information displayed through the display screen can be viewed through the first open area.
  • a method for the process of incoming call processing is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the terminal receives incoming call information, and according to the The incoming call information displays a first incoming call interface on the display screen of the terminal; when detecting that the protective cover is in the first state, generating a notification instruction that the protective cover is closed; in response to the notification instruction that the protective cover is closed, The first incoming call interface is switched to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in a display area of the first open area.
  • the embodiment of the present invention solves at least the problems existing in the prior art, and can implement intelligent switching of the incoming call interface.
  • FIG. 1 is a schematic flowchart of a method for processing an incoming call according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for processing an incoming call according to Embodiment 3 of the present invention
  • FIG. 3 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention.
  • FIG. 4 is a schematic structural diagram of another terminal according to Embodiment 4 of the present invention.
  • a first embodiment of the present invention provides a method for processing an incoming call.
  • the method is applied to a terminal.
  • the terminal can be configured with a protective cover, and the protective cover is provided with a first open area.
  • the method includes:
  • S101 Receive caller information, and display a first call interface on the display screen of the terminal according to the caller information;
  • the terminal when the terminal receives the incoming call information, it determines the state of the protective cover; when the state of the protective cover is the second state, the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information, where The second state is an open state.
  • the contact information such as the contact name, the phone number, and the photo of the incoming call is determined according to the incoming call information, and the contact name, the phone number, the photo, and the like are displayed on the display screen, and the incoming call is answered.
  • the function buttons such as call rejection and SMS rejection are displayed to form a first call interface.
  • the interface of the first incoming call is different according to the state of the terminal. When the terminal is in the state of the application that occupies the display screen after the terminal is off, locked, or unlocked, the first incoming call interface is in full screen mode, and the display is performed.
  • the entire area of the screen is used for the display of the incoming call interface; when the terminal performs the state of the application occupying the display screen for playing music, playing video or game operation, the first incoming call interface is in the notification bar mode, and the notification bar is displayed. Small interface. A portion of the display screen is used for the display of the incoming call interface to alert the incoming call without affecting the application being executed.
  • the information displayed by the interface may include only the contact name or the contact phone to display the function button, which only includes incoming call answering and call rejection.
  • the terminal detects the protective cover closing event, that is, detects that the protective cover is in the first state. At this time, the protective cover closes the event to trigger the generation of the protective cover of the protective cover, thereby generating the protective cover to close.
  • the notification command wherein the protective cover can be opened and closed, and in the first state when the protective cover is closed, the display screen can be blocked.
  • the first incoming call interface displayed before is switched to the second incoming call interface matching the protective cover of the terminal, where the matching is mainly to maintain the size of the display interface of the second incoming call.
  • the size of the first open area of the protective cover is matched. Specifically, the first open area is a visible window of the protective cover; the size of the visible window of the protective cover is obtained; and the first incoming call interface is switched to a second incoming call interface that matches the size of the visible window.
  • the information about the size of the visible window of the protective cover may be pre-configured and stored in the terminal, or when the notification command of the protective cover is closed, the size of the visible window of the protective cover is detected to obtain a visible window of the protective cover.
  • the size of the information may be pre-configured and stored in the terminal, or when the notification command of the protective cover is closed, the size of the visible window of the protective cover is detected to obtain a visible window of the protective cover. The size of the information.
  • Switching the first incoming call interface to the second incoming call interface that matches the size of the visible window includes: acquiring layout information that matches the size of the visible window; and laying out the second incoming call interface according to the layout information Displaying an area; obtaining an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area.
  • the incoming call mode is adjusted according to a preset mode.
  • the incoming call mode after the protective cover is in the first state may be preset, and may be set to an incoming call mode such as a vibration mode or a silent mode.
  • the preset incoming call mode is the vibration mode
  • the incoming call mode of the automatic trigger terminal is the vibration mode
  • the preset incoming call mode is the silent mode
  • the protective cover is closed. Automatically trigger the terminal when notifying the command
  • the incoming call mode is silent mode; similar processing is performed if the preset incoming call mode is other set values.
  • an incoming call processing method is described by taking a mobile phone of Android 5.0 as an example.
  • the display screen of the mobile phone When the display screen of the mobile phone is lit, it can be used for any interface operation, such as listening to music, watching video, etc., at this time, the mobile phone is executing an application occupying the terminal display screen.
  • the full screen mode interface may not be triggered, and a small notification interface with a preset height pops up from the top of the display screen, and the information of the incoming call is displayed on the small interface of the notification bar; here, the preset height may be 2 cm.
  • the preset height is a height that does not affect the display of the application being executed by the terminal display and can satisfy the display of the incoming call information.
  • the call of the mobile phone can be processed by the call module, and the display of the incoming call interface can be processed by the display module.
  • the calling module senses the incoming call, it will construct the relevant information of the incoming call user according to the incoming call information and send an incoming call notification to the display module.
  • the display module receives the incoming call notification, it will determine the status of the mobile phone screen, and if it is determined that the current mobile phone is executing.
  • the display of the incoming call interface in the 5.0 system needs to be sent to the display module via the call module.
  • the terminal is provided with a protective cover provided with a first open area, the protective cover can be opened and closed, and is in the first state when the protective cover is closed. Can block the display screen of the terminal.
  • the calling module sends a first incoming call notification to the display module to implement display of the first incoming call interface.
  • the call module sends an incoming call notification to the display module in response to the notification command to close the cover, and the display module receives the notification command in response to the cover closure in response to the notification of the cover closure.
  • the display module switches the incoming call interface according to the current state of the protective cover, and realizes the display of the second incoming call interface, and displays the incoming call interface in the display area of the first open area of the protective cover.
  • the call notification sent by the calling module to the display module is only sent once in the call flow of an incoming call, and no further notification of the incoming call is sent, so that only the first The display of a caller interface.
  • the specific adjustment process includes: the layout of the display screen of the Android system can be used as the layout file.
  • xml Extensible Markup Language
  • the layout of the call screen interface in full screen mode it is mainly divided into two parts, the upper part is the contact information, the lower part is the user's photo and the sliding answering layout; since the size of the protective cover visible window is limited, it is needed Move the necessary interface elements to the display area that matches the visible window of the protective cover.
  • the necessary information that can be displayed is the contact name, phone number, photo, etc.
  • the sliding call is also adjusted, close to Under the contact information, the original three-way function operation is adjusted, including answering, rejecting, and rejecting the text in the full-screen mode, and only retaining the basic answering and rejecting, respectively, by sliding right and left to answer the call. And reject function;
  • the layout of the incoming call interface of the full-screen mode and the incoming call interface of the protective cover visible window may be preset in the terminal, and determining which call is displayed according to whether a notification of whether the protective cover is closed is generated.
  • the interface so that the corresponding layout file is used, further filling the information related to the incoming call into the display area determined by the layout file according to the incoming call information, to form a corresponding incoming call interface.
  • the layout file matching the information may be matched according to the information of the size of the visible window to generate a second incoming call interface.
  • the adjustment of the incoming call mode of the notification command for detecting the closure of the protective cover is specifically: if the user has previously set the "call mode processing on the protective cover", for example, setting it Set to "shock after the protective cover", after closing the protective cover, obtain the setting of the system. If it is judged that the current setting is "shake after the protective cover is closed", the ringing tone of the call will be stopped and the call vibration of the system will be enabled. Function; if it is judged to be other setting values, it is similarly processed; it should be noted that the voice mode will be switched only when the holster is closed during the call, when the protective cover is in the closed state. If the call is made, the call mode will not be switched. If it is the ring tone mode, it is still the ring pattern.
  • a method for incoming call processing is provided, where the method is implemented on a mobile phone A equipped with a protective cover, and the mobile phone B serves as a calling party for calling the mobile phone A, and specifically includes:
  • the mobile phone A receives the user's operation and plays the video.
  • the mobile phone A may also be in a state of music playing or game operation;
  • S202 The mobile phone A receives the incoming call information
  • the mobile phone B calls the mobile phone A, and the mobile phone A receives the call of the mobile phone B.
  • S203 The mobile phone A displays the incoming call interface of the status bar mode
  • the call module of the mobile phone A After the call module of the mobile phone A detects the incoming call, constructs an incoming call notification about the mobile phone B and sends it to the display module; after receiving the incoming call notification, the display module determines that the current mobile phone A is in the video playing state, and at this time, the mobile phone A obtains the status bar mode.
  • the layout file is generated and displayed according to the layout file in the status bar mode and the incoming call notification to generate the status bar mode caller interface.
  • the mobile phone A detects that the protective cover is in the first state, and generates a notification instruction that the protective cover is closed, and the calling module of the mobile phone A senses that the protective cover state is changed from open to closed, and the response protective cover is closed. Instructing, the calling module notifies the display module of the resend call, and after receiving the new incoming call notification, the display module acquires a layout file that matches the size of the visible window of the protective cover, and displays and protects the set according to the obtained layout file and the incoming call notification. Matched call interface.
  • S205 Adjust the incoming call mode according to a preset mode.
  • the visible window of the protective cover of the mobile phone A displays the incoming call interface, and the call incoming interface in the state lazy mode is switched to the small incoming call interface of the visible window of the protective cover, thereby the incoming call interface Displayed in the display area of the first opening area of the protective cover, and the incoming call mode of the mobile phone A is adjusted.
  • the fourth embodiment of the present invention provides a terminal, which can be configured with a protective cover, and the protective cover is provided with a first open area.
  • the terminal includes: an incoming call module 301, a generating module 302, and a switching module 302. among them,
  • the incoming call module 301 is configured to receive the incoming call information, and display the first incoming call interface on the display screen of the terminal according to the incoming call information;
  • the generating module 302 is configured to generate a notification instruction that the protective cover is closed when detecting that the protective cover is in the first state;
  • the switching module 303 is configured to switch from the first incoming call interface to the second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in the first opening, in response to the notification command of the protective cover closing Within the display area of the area.
  • the switching module 303 is specifically configured to: acquire a size of a visible window of the protective cover; and switch the first incoming call interface to a second incoming call interface that matches a size of the visible window; wherein the first open area The visible window of the protective cover.
  • the switching module 303 is further configured to: obtain layout information that matches the size of the visible window; And arranging, according to the layout information, a display area of the second incoming call interface; acquiring an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area.
  • the terminal further includes: a determining module 304, configured to determine a state of the protective cover when receiving the incoming call information; and correspondingly, the incoming call module 301 is configured to be in the second state of the protective cover In the case of the status, the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information.
  • the terminal further includes:
  • the adjustment module 305 is configured to adjust the incoming call mode according to a preset mode when the notification instruction of the protective cover is detected.
  • the embodiment of the present invention further provides a protective cover configured to be assembled with the terminal provided in Embodiment 4.
  • the protective cover is provided with a first opening area, and is in a first state when the protective cover is closed, and can block the same.
  • the display screen of the terminal is such that information displayed through the display screen can be viewed via the first open area.
  • the combination of the calling module and the display module in the embodiment of the present invention and the combination of the incoming call module, the generating module, and the switching module can be used to implement the method for incoming call processing provided by the embodiment of the present invention.
  • the integrated modules described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the embodiment of the present invention is not limited Made from any specific combination of hardware and software.
  • a method for the process of incoming call processing is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the terminal receives incoming call information, and according to the The incoming call information displays a first incoming call interface on the display screen of the terminal; when detecting that the protective cover is in the first state, generating a notification instruction that the protective cover is closed; in response to the notification instruction that the protective cover is closed, The first incoming call interface is switched to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in a display area of the first open area.
  • the embodiment of the present invention solves at least the problems existing in the prior art, and can implement intelligent switching of the incoming call interface.

Landscapes

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

Abstract

An incoming call processing method of embodiments of the present invention. The method is applied to a terminal; the terminal can be configured with a protective cover, and a first opening area is formed in the protective cover. The method comprises: a terminal receives incoming call information, and displays a first incoming call interface on a display screen of the terminal according to the incoming call information; when it is detected that the protective cover is in a first state, generate a notification command for closing the protective cover; and in response to the notification command for closing the protective cover, and switch from the first incoming call interface to a second incoming call interface matching the protective cover, the second incoming call interface being displayed in a display area of the first opening area.

Description

一种来电处理的方法、终端及保护套Method, terminal and protective cover for call processing 技术领域Technical field
本发明涉及通信领域,尤其涉及一种来电处理的方法、终端及保护套。The present invention relates to the field of communications, and in particular, to a method, a terminal, and a protective cover for call processing.
背景技术Background technique
本申请发明人在实现本申请实施例技术方案的过程中,至少发现相关技术中存在如下技术问题:In the process of implementing the technical solutions of the embodiments of the present application, at least the following technical problems exist in the related technologies:
现有的终端默认支持两种模式的来电,一种是全屏模式,即灭屏或者触发锁屏之后,此时来电是全屏模式的来电;另一种是通知栏模式,即在用户在进行终端的操作而使终端亮屏时,来电将以通知栏形式呈现;The existing terminal supports two modes of incoming calls by default, one is full-screen mode, that is, after the screen is turned off or the lock screen is triggered, the incoming call is a full-screen mode call; the other is the notification bar mode, that is, the user is at the terminal. When the operation causes the terminal to be bright, the incoming call will be presented in the form of a notification bar;
而当用户购买保护套配合使用,且保护套上有一个可视窗口时,用户通常可以在小窗口指定的区域内进行接听或者拒接的操作处理;但是在安卓5.0系统中,其不能在来电时将全屏模式或通知栏模式的界面切换到指定的可视窗口区域内显示,实现来电界面的智能切换,这会给用户的使用带来极大的不便。When the user purchases a protective cover and uses a visible window on the protective cover, the user can usually answer or reject the operation in the specified area of the small window; but in the Android 5.0 system, the call cannot be made. When the interface of the full screen mode or the notification bar mode is switched to the display in the specified visual window area, the intelligent switching of the incoming call interface is realized, which brings great inconvenience to the user.
发明内容Summary of the invention
有鉴于此,本发明实施例希望提供一种来电处理的方法、终端以及与终端装配一起使用的保护套,至少解决了现有技术存在的问题,能够实现来电界面的智能切换。In view of this, the embodiments of the present invention are directed to providing a method for incoming call processing, a terminal, and a protective cover for use with the terminal assembly, which at least solves the problems existing in the prior art, and can implement intelligent switching of the incoming call interface.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种来电处理的方法,所述方法应用于终端中,所述终端能够配置有保护套,且所述保护套设置有第一开口区域,所述方法包括: An embodiment of the present invention provides a method for processing an incoming call, where the method is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the method includes:
接收来电信息,并根据所述来电信息在所述终端的显示屏幕上显示第一来电界面;Receiving the incoming call information, and displaying the first incoming call interface on the display screen of the terminal according to the incoming call information;
当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;When it is detected that the protective cover is in the first state, generating a notification instruction that the protective cover is closed;
响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。And responding to the notification instruction of the protective cover closing, switching from the first incoming call interface to a second incoming call interface matching the protective cover, wherein the second incoming call interface is displayed in a display area of the first open area.
上述方案中,所述方法还包括:In the above solution, the method further includes:
当接收来电信息时,判断所述保护套的状态;Determining the state of the protective cover when receiving the incoming call information;
当所述保护套的状态为第二状态时,根据所述来电信息在终端的显示屏幕上显示第一来电界面。When the state of the protective cover is the second state, the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information.
上述方案中,从所述第一来电界面切换至与所述保护套匹配的第二来电界面包括:In the above solution, switching from the first incoming call interface to the second incoming call interface matching the protective cover includes:
获取所述保护套的可视窗口的大小;Obtaining a size of a visible window of the protective cover;
将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面;Switching the first incoming call interface to a second incoming call interface that matches the size of the visible window;
其中,所述第一开口区域为所述保护套的可视窗口。The first opening area is a visible window of the protective cover.
上述方案中,将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面包括:In the above solution, switching the first incoming call interface to the second incoming call interface that matches the size of the visible window includes:
获取与所述可视窗口大小匹配的布局信息;Obtaining layout information that matches the size of the visible window;
根据所述布局信息布局所述第二来电界面的显示区域;And arranging, according to the layout information, a display area of the second incoming call interface;
获取所述来电信息的来电参数,将所述来电参数显示在对应的显示区域中。Obtaining an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area.
上述方案中,所述方法还包括:In the above solution, the method further includes:
当检测到所述保护套闭合的通知指令时,根据预设的模式来调整来电 模式。When the notification instruction of the protective cover is detected, the incoming call is adjusted according to a preset mode. mode.
本发明实施例还提供了一种终端,所述终端能够配置有保护套,且所述保护套设置有第一开口区域,所述终端包括:来电模块、生成模块、切换模块,其中,The embodiment of the present invention further provides a terminal, where the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the terminal includes: an incoming call module, a generating module, and a switching module, where
所述来电模块,配置为接收来电信息,并根据所述来电信息在终端的显示屏幕上显示第一来电界面;The incoming call module is configured to receive incoming call information, and display a first incoming call interface on the display screen of the terminal according to the incoming call information;
所述生成模块,配置为当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;The generating module is configured to generate a notification instruction that the protective cover is closed when detecting that the protective cover is in the first state;
所述切换模块,配置为响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。The switching module is configured to switch from the first incoming call interface to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in the first Within the display area of the open area.
上述方案中,所述终端还包括:In the above solution, the terminal further includes:
判断模块,配置为当接收来电信息时,判断所述保护套的状态;The determining module is configured to determine the state of the protective cover when receiving the incoming call information;
所述来电模块,配置为在所述保护套的状态为第二状态的情况下,根据所述来电信息在终端的显示屏幕上显示第一来电界面。The incoming call module is configured to display the first incoming call interface on the display screen of the terminal according to the incoming call information if the state of the protective cover is the second state.
上述方案中,所述切换模块配置为:In the above solution, the switching module is configured to:
获取所述保护套的可视窗口的大小;Obtaining a size of a visible window of the protective cover;
将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面;其中,所述第一开口区域为所述保护套的所述可视窗口。Switching the first incoming call interface to a second incoming call interface that matches the size of the visible window; wherein the first open area is the visible window of the protective cover.
上述方案中,所述切换模块还配置为:In the above solution, the switching module is further configured to:
获取与所述可视窗口大小匹配的布局信息;Obtaining layout information that matches the size of the visible window;
根据所述布局信息布局所述第二来电界面的显示区域;And arranging, according to the layout information, a display area of the second incoming call interface;
获取所述来电信息的来电参数,将所述来电参数显示在对应的显示区域中。Obtaining an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area.
上述方案中,所述终端还包括: In the above solution, the terminal further includes:
调整模块,配置为在检测到所述保护套闭合的通知指令的情况下,根据预设的模式来调整来电模式。The adjustment module is configured to adjust the incoming call mode according to a preset mode when the notification instruction of the protective cover is detected.
所述来电模块、所述生成模块、所述切换模块、所述判断模块、所述调整模块在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。The calling module, the generating module, the switching module, the determining module, and the adjusting module may use a central processing unit (CPU) and a digital signal processor (DSP, Digital) when performing processing. Singnal Processor) or Field-Programmable Gate Array (FPGA) implementation.
本发明实施例还提供了一种保护套,所述保护套配置为与本发明实施例所述的终端装配在一起使用,所述保护套设置有第一开口区域,当所述保护套闭合时处于第一状态,能遮挡所述终端的显示屏幕,使得通过所述显示屏幕所显示的信息能够经由所述第一开口区域进行查看。The embodiment of the present invention further provides a protective cover configured to be assembled with the terminal according to the embodiment of the present invention, the protective cover is provided with a first opening area, when the protective cover is closed In the first state, the display screen of the terminal can be blocked, so that information displayed through the display screen can be viewed through the first open area.
本发明实施例的一种来电处理的方法,所述方法应用于终端中,所述终端能够配置有保护套,且所述保护套设置有第一开口区域,所述终端接收来电信息,并根据所述来电信息在终端的显示屏幕上显示第一来电界面;当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。采用本发明实施例,至少解决了现有技术存在的问题,能够实现来电界面的智能切换。A method for the process of incoming call processing according to the embodiment of the present invention, the method is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the terminal receives incoming call information, and according to the The incoming call information displays a first incoming call interface on the display screen of the terminal; when detecting that the protective cover is in the first state, generating a notification instruction that the protective cover is closed; in response to the notification instruction that the protective cover is closed, The first incoming call interface is switched to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in a display area of the first open area. The embodiment of the present invention solves at least the problems existing in the prior art, and can implement intelligent switching of the incoming call interface.
附图说明DRAWINGS
图1为本发明实施例一提供的一种来电处理的方法的流程示意图;1 is a schematic flowchart of a method for processing an incoming call according to Embodiment 1 of the present invention;
图2为本发明实施例三提供的一种来电处理的方法的流程示意图;2 is a schematic flowchart of a method for processing an incoming call according to Embodiment 3 of the present invention;
图3为本发明实施例四提供的一种终端的结构示意图;3 is a schematic structural diagram of a terminal according to Embodiment 4 of the present invention;
图4为本发明实施例四提供的另一种终端的结构示意图。 FIG. 4 is a schematic structural diagram of another terminal according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面结合附图对技术方案的实施作进一步的详细描述。The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
实施例一Embodiment 1
本发明实施例一提供一种来电处理的方法,该方法应用于终端中,终端能够配置有保护套,且保护套设置有第一开口区域,如图1所示,该方法包括:A first embodiment of the present invention provides a method for processing an incoming call. The method is applied to a terminal. The terminal can be configured with a protective cover, and the protective cover is provided with a first open area. As shown in FIG. 1 , the method includes:
S101:接收来电信息,并根据所述来电信息在终端的显示屏幕上显示第一来电界面;S101: Receive caller information, and display a first call interface on the display screen of the terminal according to the caller information;
这里,当终端在接收到来电信息时,判断所述保护套的状态;当所述保护套的状态为第二状态时,根据所述来电信息在终端的显示屏幕上显示第一来电界面,这里,第二状态为打开状态。Here, when the terminal receives the incoming call information, it determines the state of the protective cover; when the state of the protective cover is the second state, the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information, where The second state is an open state.
具体的,当接收到来电信息时,根据来电信息确定来电的联系人姓名、电话号码、照片等显示信息,将联系人姓名、电话号码、照片等信息显示在显示屏幕上,并将来电接听、来电拒接、短信拒接等功能按键进行显示,形成第一来电界面。其中,根据终端的状态不同,显示的第一来电的界面不同,当终端为灭屏、锁屏或解锁之后等未执行占用显示屏幕的应用程序的状态时,第一来电界面为全屏模式,显示屏的整个区域都用于来电界面的显示;当终端为进行音乐的播放、视频的播放或游戏操作等执行占用显示屏幕的应用程序的状态时,第一来电界面为通知栏模式,显示通知栏小界面。显示屏幕的部分区域用于来电界面的显示,从而在不影响正在执行的应用程序的前提下,进行来电的提醒。其中,对于通知栏模式的第一来电界面,该界面显示的信息可只包括联系人姓名或联系人电话以显示的功能按键只包括来电接听、来电拒接。Specifically, when the incoming call information is received, the contact information such as the contact name, the phone number, and the photo of the incoming call is determined according to the incoming call information, and the contact name, the phone number, the photo, and the like are displayed on the display screen, and the incoming call is answered. The function buttons such as call rejection and SMS rejection are displayed to form a first call interface. The interface of the first incoming call is different according to the state of the terminal. When the terminal is in the state of the application that occupies the display screen after the terminal is off, locked, or unlocked, the first incoming call interface is in full screen mode, and the display is performed. The entire area of the screen is used for the display of the incoming call interface; when the terminal performs the state of the application occupying the display screen for playing music, playing video or game operation, the first incoming call interface is in the notification bar mode, and the notification bar is displayed. Small interface. A portion of the display screen is used for the display of the incoming call interface to alert the incoming call without affecting the application being executed. For the first incoming call interface of the notification bar mode, the information displayed by the interface may include only the contact name or the contact phone to display the function button, which only includes incoming call answering and call rejection.
S102:当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令; S102: When detecting that the protective cover is in the first state, generating a notification instruction that the protective cover is closed;
当用户将保护套闭合时,终端检测到保护套合上事件,即检测到保护套处于第一状态,此时,保护套合上事件触发保护套闭合的通知指令的生成,从而生成保护套闭合的通知指令;其中,保护套能够打开和闭合,当保护套闭合时处于第一状态,能遮挡所述显示屏幕。When the user closes the protective cover, the terminal detects the protective cover closing event, that is, detects that the protective cover is in the first state. At this time, the protective cover closes the event to trigger the generation of the protective cover of the protective cover, thereby generating the protective cover to close. The notification command; wherein the protective cover can be opened and closed, and in the first state when the protective cover is closed, the display screen can be blocked.
S103:响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。S103: in response to the notification instruction that the protective cover is closed, switching from the first incoming call interface to a second incoming call interface that matches the protective cover, where the second incoming call interface is displayed in a display area of the first open area Inside.
此时,响应保护套闭合的通知指令,将之前显示的第一来电界面切换至与该终端的保护套匹配的第二来电界面,这里的匹配,主要是保持第二来电的显示界面的大小与该保护套的第一开口区域的大小匹配。具体的,第一开口区域为保护套的可视窗口;获取所述保护套的可视窗口的大小;将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面。其中,保护套的可视窗口的大小的信息可预先进行配置,保存在终端中,也可当响应保护套闭合的通知指令时,检测保护套的可视窗口的大小得到保护套的可视窗口的大小的信息。At this time, in response to the notification command of the protective cover closing, the first incoming call interface displayed before is switched to the second incoming call interface matching the protective cover of the terminal, where the matching is mainly to maintain the size of the display interface of the second incoming call. The size of the first open area of the protective cover is matched. Specifically, the first open area is a visible window of the protective cover; the size of the visible window of the protective cover is obtained; and the first incoming call interface is switched to a second incoming call interface that matches the size of the visible window. The information about the size of the visible window of the protective cover may be pre-configured and stored in the terminal, or when the notification command of the protective cover is closed, the size of the visible window of the protective cover is detected to obtain a visible window of the protective cover. The size of the information.
将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面包括:获取与所述可视窗口大小匹配的布局信息;根据所述布局信息布局所述第二来电界面的显示区域;获取所述来电信息的来电参数,将所述来电参数显示在对应的显示区域中。Switching the first incoming call interface to the second incoming call interface that matches the size of the visible window includes: acquiring layout information that matches the size of the visible window; and laying out the second incoming call interface according to the layout information Displaying an area; obtaining an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area.
在本发明实施例体提供的来电处理的方法中,当检测到所述保护套闭合的通知指令时,根据预设的模式来调整来电模式。这里,可对保护套处于第一状态之后的来电模式进行预先设置,可设置为振动模式、静音模式等来电模式。当预先设置的来电模式为振动模式时,在检测到保护套闭合的通知指令时,自动触发终端的来电模式为振动模式;当预先设置的来电模式为静音模式时,在检测到保护套闭合的通知指令时,自动触发终端的 来电模式为静音模式;如果预先设置的来电模式为其他设置值时,也是类似的处理。In the method of incoming call processing provided by the embodiment of the present invention, when the notification instruction of the protective cover is detected, the incoming call mode is adjusted according to a preset mode. Here, the incoming call mode after the protective cover is in the first state may be preset, and may be set to an incoming call mode such as a vibration mode or a silent mode. When the preset incoming call mode is the vibration mode, when the notification command of the protective cover is detected, the incoming call mode of the automatic trigger terminal is the vibration mode; when the preset incoming call mode is the silent mode, when the protective cover is detected, the protective cover is closed. Automatically trigger the terminal when notifying the command The incoming call mode is silent mode; similar processing is performed if the preset incoming call mode is other set values.
实施例二Embodiment 2
在该实施例中,以安卓5.0的手机为例,对本发明实施例的来电处理方法进行说明。In this embodiment, an incoming call processing method according to an embodiment of the present invention is described by taking a mobile phone of Android 5.0 as an example.
在手机的显示屏幕点亮时,可以用于任意界面的操作,比如听音乐,看视频等,此时的手机在执行占用终端显示屏幕的应用程序。当手机接收到来电时,可不触发全屏模式界面,而从显示屏幕的上方弹出一个预设高度的通知栏小界面,在该通知栏小界面上显示来电的信息;这里,预设高度可为2cm,其中,该预设高度为不影响终端显示正在执行的应用程序的显示同时可满足向显示来电信息的高度。When the display screen of the mobile phone is lit, it can be used for any interface operation, such as listening to music, watching video, etc., at this time, the mobile phone is executing an application occupying the terminal display screen. When the mobile phone receives the incoming call, the full screen mode interface may not be triggered, and a small notification interface with a preset height pops up from the top of the display screen, and the information of the incoming call is displayed on the small interface of the notification bar; here, the preset height may be 2 cm. The preset height is a height that does not affect the display of the application being executed by the terminal display and can satisfy the display of the incoming call information.
具体的,在安卓5.0中,手机的呼叫可由呼叫模块处理,来电界面的显示可由显示模块处理。当呼叫模块感知到来电后,将会根据来电信息构造来电用户的相关信息并向显示模块发送来电通知,当显示模块接收到来电通知后,将会判断手机屏幕的状态,如果判断当前手机正在执行占用显示屏幕的应用程序,比如播放音乐、播放视频,即屏幕处于点亮状态,显示模块将会构造来电通知并以状态栏的方式进行显示;反之,就触发全屏来电,也就是说,在安卓5.0系统中来电界面的显示都需要经由呼叫模块发送到显示模块,这里,终端配置有设置有第一开口区域的保护套,保护套能够打开和闭合,当所述保护套闭合时处于第一状态,能遮挡终端的显示屏幕。当进行第一来电界面的显示时,呼叫模块向显示模块发送第一次来电通知,实现第一来电界面的显示,因此,在来电通知已经发送过的情况下,当检测到保护套处于第一状态并生成保护套闭合的通知指令时,为响应保护套闭合的通知指令,呼叫模块再次向显示模块发送来电通知,显示模块为响应保护套闭合的通知指令收到为响应保护套闭合的通知指令的 来电通知后,显示模块根据当前保护套的状态进行来电界面的切换,实现第二来电界面的显示,在保护套的第一开口区域的显示区域内显示来电界面。需要注意的是,现有技术中的来电处理过程中,呼叫模块给显示模块发送的来电通知在一个来电的呼叫流程中只会发送一次,并未进行再次的来电通知的发送,从而只实现第一来电界面的显示。Specifically, in Android 5.0, the call of the mobile phone can be processed by the call module, and the display of the incoming call interface can be processed by the display module. When the calling module senses the incoming call, it will construct the relevant information of the incoming call user according to the incoming call information and send an incoming call notification to the display module. When the display module receives the incoming call notification, it will determine the status of the mobile phone screen, and if it is determined that the current mobile phone is executing. The application that occupies the display screen, such as playing music and playing video, that is, the screen is lit, the display module will construct an incoming call notification and display it in the status bar; otherwise, trigger a full-screen call, that is, in Android The display of the incoming call interface in the 5.0 system needs to be sent to the display module via the call module. Here, the terminal is provided with a protective cover provided with a first open area, the protective cover can be opened and closed, and is in the first state when the protective cover is closed. Can block the display screen of the terminal. When the display of the first incoming call interface is performed, the calling module sends a first incoming call notification to the display module to implement display of the first incoming call interface. Therefore, when the incoming call notification has been sent, when the protective cover is detected to be the first When the state generates a notification command for the cover closure, the call module sends an incoming call notification to the display module in response to the notification command to close the cover, and the display module receives the notification command in response to the cover closure in response to the notification of the cover closure. of After the call notification, the display module switches the incoming call interface according to the current state of the protective cover, and realizes the display of the second incoming call interface, and displays the incoming call interface in the display area of the first open area of the protective cover. It should be noted that, in the process of incoming call processing in the prior art, the call notification sent by the calling module to the display module is only sent once in the call flow of an incoming call, and no further notification of the incoming call is sent, so that only the first The display of a caller interface.
在第一来电界面向第二来电界面的切换时,需要进行根据保护套的可视窗口的大小进行来电界面的调整,具体的调整过程包括:安卓系统的显示屏幕的布局可作为布局文件的可扩展标记语言(EXtens ible Markup Language,xml)文件实现。在全屏模式的来电界面的布局中,主要分为两个部分,上半部分是联系人信息,下半部分是用户的照片和滑动接听的布局;由于保护套可视窗口的大小有限,所以需要将必要的界面元素进行位置移动,调整到与保护套可视窗口匹配的显示区域中,可显示的必要的信息有联系人姓名、电话号码、照片等;同时将滑动接听也进行调整,紧挨在联系人信息下面,原有的三方向功能操作进行调整,包括全屏模式中的接听、拒接和短信拒接可只保留基本的接听和拒接,分别是通过向右和向左滑动实现接听和拒接功能;When the first caller interface is switched to the second caller interface, the caller interface needs to be adjusted according to the size of the visible window of the protective cover. The specific adjustment process includes: the layout of the display screen of the Android system can be used as the layout file. Extensible Markup Language (xml) file implementation. In the layout of the call screen interface in full screen mode, it is mainly divided into two parts, the upper part is the contact information, the lower part is the user's photo and the sliding answering layout; since the size of the protective cover visible window is limited, it is needed Move the necessary interface elements to the display area that matches the visible window of the protective cover. The necessary information that can be displayed is the contact name, phone number, photo, etc. At the same time, the sliding call is also adjusted, close to Under the contact information, the original three-way function operation is adjusted, including answering, rejecting, and rejecting the text in the full-screen mode, and only retaining the basic answering and rejecting, respectively, by sliding right and left to answer the call. And reject function;
需要说明的是,通过布局文件的应用,可实现在终端中预先设置全屏模式的来电界面和保护套可视窗口的来电界面的布局,根据是否生成保护套闭合的通知指令来确定显示哪一个来电界面,从而使用对应的布局文件,进一步的根据来电信息将该来电相关的信息填充到布局文件确定的显示区域中,形成对应的来电界面。针对可视窗口的来电界面(第二来电界面)的布局,可根据可视窗口的大小的信息匹配与该信息匹配的布局文件,生成第二来电界面。It should be noted that, by using the application of the layout file, the layout of the incoming call interface of the full-screen mode and the incoming call interface of the protective cover visible window may be preset in the terminal, and determining which call is displayed according to whether a notification of whether the protective cover is closed is generated. The interface, so that the corresponding layout file is used, further filling the information related to the incoming call into the display area determined by the layout file according to the incoming call information, to form a corresponding incoming call interface. For the layout of the incoming call interface (second call interface) of the visible window, the layout file matching the information may be matched according to the information of the size of the visible window to generate a second incoming call interface.
在实际应用中,关于检测到保护套闭合的通知指令的来电模式的调整具体为:如果之前用户设置了“保护套合上的来电模式处理”,比如将其设 置为“合上保护套后震动”,在合上保护套之后,获取系统的设置,如果判断当前设置为“合上保护套后震动”,就会停止来电铃音,同时启用系统的来电震动功能;如果判断为其他设置值时,也是类似的处理;需要注意的是,只有在通话过程中合上皮套,才会将对声音进行来电模式的切换,当保护套在闭合的状态下有来电的话,不进行来电模式的切换,如果之前是铃声模式,此时依然是铃声模式。In an actual application, the adjustment of the incoming call mode of the notification command for detecting the closure of the protective cover is specifically: if the user has previously set the "call mode processing on the protective cover", for example, setting it Set to "shock after the protective cover", after closing the protective cover, obtain the setting of the system. If it is judged that the current setting is "shake after the protective cover is closed", the ringing tone of the call will be stopped and the call vibration of the system will be enabled. Function; if it is judged to be other setting values, it is similarly processed; it should be noted that the voice mode will be switched only when the holster is closed during the call, when the protective cover is in the closed state. If the call is made, the call mode will not be switched. If it is the ring tone mode, it is still the ring pattern.
实施例三Embodiment 3
本实施例中提供一种来电处理的方法,其中,该方法在装配有保护套的手机A上实现,手机B作为对手机A进行呼叫的呼叫方,具体包括:In this embodiment, a method for incoming call processing is provided, where the method is implemented on a mobile phone A equipped with a protective cover, and the mobile phone B serves as a calling party for calling the mobile phone A, and specifically includes:
S201:手机A的显示屏幕处于视频播放状态;S201: the display screen of the mobile phone A is in a video playing state;
这里,手机A接收用户的操作,在进行视频的播放,这里,以视频播放为例,手机A也可为音乐播放或游戏操作等状态;Here, the mobile phone A receives the user's operation and plays the video. Here, taking the video playback as an example, the mobile phone A may also be in a state of music playing or game operation;
S202:手机A接收来电信息;S202: The mobile phone A receives the incoming call information;
手机B呼叫手机A,手机A接收到手机B的呼叫。The mobile phone B calls the mobile phone A, and the mobile phone A receives the call of the mobile phone B.
S203:手机A显示状态栏模式的来电界面;S203: The mobile phone A displays the incoming call interface of the status bar mode;
手机A的呼叫模块检测到来电后,构造关于手机B的来电通知并发送至显示模块;显示模块接收到来电通知后,确定当前手机A处于视频播放状态,此时,手机A获取状态栏模式下的布局文件,并根据状态栏模式下的布局文件以及来电通知生成状态栏模式的来电界面并显示。After the call module of the mobile phone A detects the incoming call, constructs an incoming call notification about the mobile phone B and sends it to the display module; after receiving the incoming call notification, the display module determines that the current mobile phone A is in the video playing state, and at this time, the mobile phone A obtains the status bar mode. The layout file is generated and displayed according to the layout file in the status bar mode and the incoming call notification to generate the status bar mode caller interface.
S204:检测到保护套闭合时,切换来电界面;S204: When detecting that the protective cover is closed, switching the incoming call interface;
当用户合上保护套时,手机A检测到保护套处于第一状态,生成保护套闭合的通知指令,手机A的呼叫模块感知到保护套状态由打开变为闭合后,响应保护套闭合的通知指令,呼叫模块将重新发送来电通知给显示模块,显示模块收到新的来电通知后,获取与保护套的可视窗口的大小匹配的布局文件,根据获取的布局文件和来电通知显示与保护套的匹配的来电 界面。When the user closes the protective cover, the mobile phone A detects that the protective cover is in the first state, and generates a notification instruction that the protective cover is closed, and the calling module of the mobile phone A senses that the protective cover state is changed from open to closed, and the response protective cover is closed. Instructing, the calling module notifies the display module of the resend call, and after receiving the new incoming call notification, the display module acquires a layout file that matches the size of the visible window of the protective cover, and displays and protects the set according to the obtained layout file and the incoming call notification. Matched call interface.
S205:根据预设的模式来调整来电模式。S205: Adjust the incoming call mode according to a preset mode.
检测手机A是否设置有保护套闭合时的来电模式,当设置有保护套闭合的来电模式时,在检测到保护套闭合的通知指令时,根据设置的来电模式调整终端当前的来电模式。It is detected whether the mobile phone A is provided with the incoming call mode when the protective cover is closed. When the incoming call mode with the protective cover is set, when the notification command of the protective cover is detected, the current incoming call mode of the terminal is adjusted according to the set incoming call mode.
通过本实施例提供的来电处理方法,使得手机A的保护套的可视窗口显示来电界面,实现状态懒模式下的来电界面向保护套的可视窗口的小来电界面的切换,从而将来电界面显示于保护套的第一开口区域的显示区域内,同时手机A的来电模式进行调整。Through the call processing method provided in this embodiment, the visible window of the protective cover of the mobile phone A displays the incoming call interface, and the call incoming interface in the state lazy mode is switched to the small incoming call interface of the visible window of the protective cover, thereby the incoming call interface Displayed in the display area of the first opening area of the protective cover, and the incoming call mode of the mobile phone A is adjusted.
需要说明的是,S204和S205的执行不存在先后顺序,也可同时执行。It should be noted that the execution of S204 and S205 does not exist in sequence, and may be performed simultaneously.
实施例四Embodiment 4
本发明实施例四提供一种终端,该终端能够配置有保护套,且保护套设置有第一开口区域,如图3所示,该终端包括:来电模块301、生成模块302、切换模块302,其中,The fourth embodiment of the present invention provides a terminal, which can be configured with a protective cover, and the protective cover is provided with a first open area. As shown in FIG. 3, the terminal includes: an incoming call module 301, a generating module 302, and a switching module 302. among them,
来电模块301,配置为接收来电信息,并根据所述来电信息在终端的显示屏幕上显示第一来电界面;The incoming call module 301 is configured to receive the incoming call information, and display the first incoming call interface on the display screen of the terminal according to the incoming call information;
生成模块302,配置为当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;The generating module 302 is configured to generate a notification instruction that the protective cover is closed when detecting that the protective cover is in the first state;
切换模块303,配置为响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。The switching module 303 is configured to switch from the first incoming call interface to the second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in the first opening, in response to the notification command of the protective cover closing Within the display area of the area.
切换模块303具体配置为:获取所述保护套的可视窗口的大小;将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面;其中,所述第一开口区域为所述保护套的所述可视窗口。The switching module 303 is specifically configured to: acquire a size of a visible window of the protective cover; and switch the first incoming call interface to a second incoming call interface that matches a size of the visible window; wherein the first open area The visible window of the protective cover.
切换模块303还配置为:获取与所述可视窗口大小匹配的布局信息; 根据所述布局信息布局所述第二来电界面的显示区域;获取所述来电信息的来电参数,将所述来电参数显示在对应的显示区域中。The switching module 303 is further configured to: obtain layout information that matches the size of the visible window; And arranging, according to the layout information, a display area of the second incoming call interface; acquiring an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area.
如图4所示,该终端还包括:判断模块304,配置为当接收来电信息时,判断所述保护套的状态;相应的,来电模块301,配置为在所述保护套的状态为第二状态的情况下,根据所述来电信息在终端的显示屏幕上显示第一来电界面。As shown in FIG. 4, the terminal further includes: a determining module 304, configured to determine a state of the protective cover when receiving the incoming call information; and correspondingly, the incoming call module 301 is configured to be in the second state of the protective cover In the case of the status, the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information.
如图4所示,该终端还包括:As shown in FIG. 4, the terminal further includes:
调整模块305,配置为在检测到所述保护套闭合的通知指令的情况下,根据预设的模式来调整来电模式。The adjustment module 305 is configured to adjust the incoming call mode according to a preset mode when the notification instruction of the protective cover is detected.
本发明实施例还提供一种保护套,保护套配置为与实施例四提供的终端装配在一起使用,该保护套设置有第一开口区域,当保护套闭合时处于第一状态,能遮挡所述终端的显示屏幕,使得通过所述显示屏幕所显示的信息能够经由第一开口区域进行查看。The embodiment of the present invention further provides a protective cover configured to be assembled with the terminal provided in Embodiment 4. The protective cover is provided with a first opening area, and is in a first state when the protective cover is closed, and can block the same. The display screen of the terminal is such that information displayed through the display screen can be viewed via the first open area.
需要说明的是,本发明实施例中的呼叫模块、显示模块的组合与来电模块、生成模块、切换模块的组合都可以用于实现本发明实施例提供的来电处理的方法。It should be noted that the combination of the calling module and the display module in the embodiment of the present invention and the combination of the incoming call module, the generating module, and the switching module can be used to implement the method for incoming call processing provided by the embodiment of the present invention.
本发明实施例所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限 制于任何特定的硬件和软件结合。The integrated modules described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. . Thus, the embodiment of the present invention is not limited Made from any specific combination of hardware and software.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的一种来电处理的方法,所述方法应用于终端中,所述终端能够配置有保护套,且所述保护套设置有第一开口区域,所述终端接收来电信息,并根据所述来电信息在终端的显示屏幕上显示第一来电界面;当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。采用本发明实施例,至少解决了现有技术存在的问题,能够实现来电界面的智能切换。 A method for the process of incoming call processing according to the embodiment of the present invention, the method is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the terminal receives incoming call information, and according to the The incoming call information displays a first incoming call interface on the display screen of the terminal; when detecting that the protective cover is in the first state, generating a notification instruction that the protective cover is closed; in response to the notification instruction that the protective cover is closed, The first incoming call interface is switched to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in a display area of the first open area. The embodiment of the present invention solves at least the problems existing in the prior art, and can implement intelligent switching of the incoming call interface.

Claims (11)

  1. 一种来电处理的方法,所述方法应用于终端中,所述终端能够配置有保护套,且所述保护套设置有第一开口区域,所述方法包括:A method for processing an incoming call, the method is applied to a terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, and the method includes:
    接收来电信息,并根据所述来电信息在所述终端的显示屏幕上显示第一来电界面;Receiving the incoming call information, and displaying the first incoming call interface on the display screen of the terminal according to the incoming call information;
    当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;When it is detected that the protective cover is in the first state, generating a notification instruction that the protective cover is closed;
    响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。And responding to the notification instruction of the protective cover closing, switching from the first incoming call interface to a second incoming call interface matching the protective cover, wherein the second incoming call interface is displayed in a display area of the first open area.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    当接收来电信息时,判断所述保护套的状态;Determining the state of the protective cover when receiving the incoming call information;
    当所述保护套的状态为第二状态时,根据所述来电信息在终端的显示屏幕上显示第一来电界面。When the state of the protective cover is the second state, the first incoming call interface is displayed on the display screen of the terminal according to the incoming call information.
  3. 根据权利要求1所述的方法,其中,从所述第一来电界面切换至与所述保护套匹配的第二来电界面包括:The method of claim 1, wherein switching from the first incoming call interface to the second incoming call interface that matches the protective cover comprises:
    获取所述保护套的可视窗口的大小;Obtaining a size of a visible window of the protective cover;
    将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面;Switching the first incoming call interface to a second incoming call interface that matches the size of the visible window;
    其中,所述第一开口区域为所述保护套的可视窗口。The first opening area is a visible window of the protective cover.
  4. 根据权利要求3所述的方法,其中,将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面包括:The method of claim 3, wherein switching the first incoming call interface to the second incoming call interface that matches the size of the visible window comprises:
    获取与所述可视窗口大小匹配的布局信息;Obtaining layout information that matches the size of the visible window;
    根据所述布局信息布局所述第二来电界面的显示区域;And arranging, according to the layout information, a display area of the second incoming call interface;
    获取所述来电信息的来电参数,将所述来电参数显示在对应的显示区 域中。Obtaining an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area In the domain.
  5. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    当检测到所述保护套闭合的通知指令时,根据预设的模式来调整来电模式。When the notification instruction of the protective cover is detected, the incoming call mode is adjusted according to a preset mode.
  6. 一种终端,所述终端能够配置有保护套,且所述保护套设置有第一开口区域,所述终端包括:来电模块、生成模块、切换模块,其中,A terminal, the terminal can be configured with a protective cover, and the protective cover is provided with a first open area, the terminal includes: an incoming call module, a generating module, and a switching module, where
    所述来电模块,配置为接收来电信息,并根据所述来电信息在终端的显示屏幕上显示第一来电界面;The incoming call module is configured to receive incoming call information, and display a first incoming call interface on the display screen of the terminal according to the incoming call information;
    所述生成模块,配置为当检测到所述保护套处于所述第一状态时,生成保护套闭合的通知指令;The generating module is configured to generate a notification instruction that the protective cover is closed when detecting that the protective cover is in the first state;
    所述切换模块,配置为响应所述保护套闭合的通知指令,从所述第一来电界面切换至与所述保护套匹配的第二来电界面,所述第二来电界面显示于所述第一开口区域的显示区域内。The switching module is configured to switch from the first incoming call interface to a second incoming call interface that matches the protective cover, and the second incoming call interface is displayed in the first Within the display area of the open area.
  7. 根据权利要求6所述的终端,其中,所述终端还包括:The terminal of claim 6, wherein the terminal further comprises:
    判断模块,配置为当接收来电信息时,判断所述保护套的状态;The determining module is configured to determine the state of the protective cover when receiving the incoming call information;
    所述来电模块,配置为在所述保护套的状态为第二状态的情况下,根据所述来电信息在终端的显示屏幕上显示第一来电界面。The incoming call module is configured to display the first incoming call interface on the display screen of the terminal according to the incoming call information if the state of the protective cover is the second state.
  8. 根据权利要求6所述的终端,其中,所述切换模块配置为:The terminal according to claim 6, wherein the switching module is configured to:
    获取所述保护套的可视窗口的大小;Obtaining a size of a visible window of the protective cover;
    将所述第一来电界面切换至与所述可视窗口大小匹配的第二来电界面;其中,所述第一开口区域为所述保护套的所述可视窗口。Switching the first incoming call interface to a second incoming call interface that matches the size of the visible window; wherein the first open area is the visible window of the protective cover.
  9. 根据权利要求8所述的终端,其中,所述切换模块还配置为:The terminal according to claim 8, wherein the switching module is further configured to:
    获取与所述可视窗口大小匹配的布局信息;Obtaining layout information that matches the size of the visible window;
    根据所述布局信息布局所述第二来电界面的显示区域;And arranging, according to the layout information, a display area of the second incoming call interface;
    获取所述来电信息的来电参数,将所述来电参数显示在对应的显示区 域中。Obtaining an incoming call parameter of the incoming call information, and displaying the incoming call parameter in a corresponding display area In the domain.
  10. 根据权利要求6所述的终端,其中,所述终端还包括:The terminal of claim 6, wherein the terminal further comprises:
    调整模块,配置为在检测到所述保护套闭合的通知指令的情况下,根据预设的模式来调整来电模式。The adjustment module is configured to adjust the incoming call mode according to a preset mode when the notification instruction of the protective cover is detected.
  11. 一种保护套,所述保护套配置为与如权利要求6-10任一项所述的终端装配在一起使用,所述保护套设置有第一开口区域,当所述保护套闭合时处于第一状态,能遮挡所述终端的显示屏幕,使得通过所述显示屏幕所显示的信息能够经由所述第一开口区域进行查看。 A protective cover configured to be assembled for use with a terminal according to any one of claims 6-10, the protective cover being provided with a first open area, when the protective cover is closed In a state, the display screen of the terminal can be blocked, so that information displayed through the display screen can be viewed through the first open area.
PCT/CN2015/085219 2015-06-24 2015-07-27 Incoming call processing method, terminal and protective cover WO2016206161A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510354455.8A CN106331223A (en) 2015-06-24 2015-06-24 Incoming call processing method, terminal and protection sleeve
CN201510354455.8 2015-06-24

Publications (1)

Publication Number Publication Date
WO2016206161A1 true WO2016206161A1 (en) 2016-12-29

Family

ID=57584493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085219 WO2016206161A1 (en) 2015-06-24 2015-07-27 Incoming call processing method, terminal and protective cover

Country Status (2)

Country Link
CN (1) CN106331223A (en)
WO (1) WO2016206161A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901482A (en) * 2020-07-28 2020-11-06 维沃移动通信有限公司 Function control method and device, electronic equipment and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118346A (en) * 2019-06-19 2020-12-22 青岛海信移动通信技术股份有限公司 Terminal screen control method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685638A (en) * 2013-12-17 2014-03-26 陈雄维 System and method for enhancing mobile phone protective jacket with front cover
CN103945061A (en) * 2014-04-15 2014-07-23 深圳市中兴移动通信有限公司 Mobile terminal, protection cover and matching method for mobile terminal and protection cover
CN203872213U (en) * 2014-03-20 2014-10-08 深圳市星汇尚品科技有限公司 Smart phone protection cover and smart phone assembly
WO2015057052A1 (en) * 2013-10-14 2015-04-23 Wong Chee Tieng A functional flip cover protective case with physical keypad for smart phone devices
CN104601761A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 Mobile terminal protective case, mobile terminal and mobile terminal control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015057052A1 (en) * 2013-10-14 2015-04-23 Wong Chee Tieng A functional flip cover protective case with physical keypad for smart phone devices
CN103685638A (en) * 2013-12-17 2014-03-26 陈雄维 System and method for enhancing mobile phone protective jacket with front cover
CN203872213U (en) * 2014-03-20 2014-10-08 深圳市星汇尚品科技有限公司 Smart phone protection cover and smart phone assembly
CN103945061A (en) * 2014-04-15 2014-07-23 深圳市中兴移动通信有限公司 Mobile terminal, protection cover and matching method for mobile terminal and protection cover
CN104601761A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 Mobile terminal protective case, mobile terminal and mobile terminal control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901482A (en) * 2020-07-28 2020-11-06 维沃移动通信有限公司 Function control method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN106331223A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US9666180B2 (en) Synthesized audio message over communication links
WO2015067081A1 (en) Method and device for processing incoming call prompt of mobile terminal, and storage medium
US11190646B2 (en) Transparent fax call processing in a mobile device
CN106941572B (en) Incoming call reminding method and device
WO2017185453A1 (en) Scenario mode switching method, switching device, and terminal
KR20140141916A (en) Apparatus and Method for operating a receiving notification function of a user device
CN106101410A (en) A kind of call handling method, device and equipment
US11743355B2 (en) Prompting method and device
KR100605651B1 (en) Selective mute method and mobile phone using the same
CN106101456A (en) A kind of method and device of call contact
WO2018018361A1 (en) Calendar event creating method and device
WO2016206161A1 (en) Incoming call processing method, terminal and protective cover
WO2019010706A1 (en) Cell residing method, device, and user equipment
CN106804010B (en) Incoming call processing method and device based on virtual reality equipment and virtual reality equipment
US9451072B1 (en) Phone call management based on presence of nearby people
US8611883B2 (en) Pre-recorded voice responses for portable communication devices
US20100183137A1 (en) Phone With Child Mode
US20090247143A1 (en) Mobile phone, and method of limiting operations of mobile phone
WO2019024198A1 (en) Sound playback method, terminal, and storage medium
CN108234782B (en) Incoming call processing method, device and equipment
WO2014052334A1 (en) Sending a video ringtone
KR100420943B1 (en) Method of automatically reminding a failed call in a mobile terminal
US8478249B2 (en) Mobile device and communication method thereof
CN111010481B (en) Incoming call monitoring method, incoming call monitoring device and computer storage medium
CN109729219B (en) Method and device for playing waiting prompt tone

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: 15896056

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: 15896056

Country of ref document: EP

Kind code of ref document: A1