WO2014040455A1 - Method and device for controlling terminal screen during call process, and terminal - Google Patents

Method and device for controlling terminal screen during call process, and terminal Download PDF

Info

Publication number
WO2014040455A1
WO2014040455A1 PCT/CN2013/080754 CN2013080754W WO2014040455A1 WO 2014040455 A1 WO2014040455 A1 WO 2014040455A1 CN 2013080754 W CN2013080754 W CN 2013080754W WO 2014040455 A1 WO2014040455 A1 WO 2014040455A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
screen
state value
call
current state
Prior art date
Application number
PCT/CN2013/080754
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 WO2014040455A1 publication Critical patent/WO2014040455A1/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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • the present invention relates to the field of communications, and in particular to a method, device, and terminal for controlling a screen of a terminal during a call.
  • a method, device, and terminal for controlling a screen of a terminal during a call.
  • the body removes the screen from the part other than the hand, and can also operate the capacitive screen mobile phone, so it is easy to operate in a variety of situations, especially during a call.
  • it is generally controlled by a switch or other existing input device, for example, by an input device shared by other physical buttons, such as a physical button or gravity sensing, to control whether the screen is turned on or off.
  • a switch or other existing input device for example, by an input device shared by other physical buttons, such as a physical button or gravity sensing, to control whether the screen is turned on or off.
  • the screen is lit, it can be operated normally. After the screen is turned off, it cannot be operated.
  • the above method requires the user to perform certain operations or the use conditions are limited, and the requirements cannot be fully satisfied.
  • Embodiments of the present invention provide a method, a device, and a terminal for controlling a screen of a terminal during a call, so as to at least solve the related art, in which a screen of a terminal is controlled by a physical button during a call, and the user is required to perform a certain The operation or use conditions are limited, and the problem of the demand cannot be fully satisfied.
  • a method for controlling a screen of a terminal during a call including: acquiring an initial state value of the terminal when answering the call; acquiring a current state value of the terminal during the call; and according to the initial state value The current status value controls whether the screen of the terminal accepts input.
  • obtaining the current state value of the terminal during the call includes: determining that the current call is not ended; acquiring the current state value of the terminal according to the predetermined frequency.
  • controlling whether the screen of the terminal accepts the input according to the initial state value and the current state value comprises: calculating a difference between the current state value and the initial state value; if the difference is not less than a preset threshold, controlling the screen of the terminal The screen is in the off-screen state, and continues to acquire the current state value of the terminal; if the difference is less than the preset threshold, the screen of the control terminal is lit, accepts the input, and continues to acquire the current state value of the terminal.
  • the state value of the terminal includes a screen tilt angle which is an angle parallel to the axis of the side edge of the terminal and the vertical direction.
  • the state value of the terminal further includes a screen orientation, and the screen orientation is an angle perpendicular to an axis of the screen plane of the terminal and a vertical direction.
  • acquiring the state value of the terminal comprises: acquiring an inclination angle of the screen of the terminal by using the acceleration sensor.
  • an apparatus for controlling a screen of a terminal during a call including: a first acquiring module, configured to acquire an initial state value of the terminal when answering a call; and a second acquiring module, configured to Obtaining the current state value of the terminal during the call; the control module is configured to control whether the screen of the terminal accepts the input according to the initial state value and the current state value.
  • the second obtaining module comprises: a determining unit, configured to determine that the current call is not ended; and an acquiring unit configured to acquire a current state value of the terminal according to a predetermined frequency.
  • control module comprises: a calculating unit configured to calculate a difference between the current state value and the initial state value; the first control unit is configured to control the screen of the terminal if the difference is not less than a preset threshold In the off-screen state, and continue to obtain the current state value of the terminal; the second control unit is set to control the terminal's screen to be lit, accept input, and continue to acquire if the difference is less than a preset threshold.
  • the current status value of the terminal is
  • a terminal including: a device and a screen for controlling a screen of a terminal during a call, wherein the device for controlling a screen of the terminal during a call is any one of the above-mentioned control terminals during a call Screen device.
  • the screen of the terminal is controlled to accept input, thereby avoiding contact of the face or other parts during the call. The resulting misoperation.
  • FIG. 1 is a flow chart of a method of controlling a screen of a terminal during a call according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention
  • FIG. 3 is a preferred embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a comparison of an initial value and a current value according to a preferred embodiment of the present invention
  • FIG. 5 is a diagram of a device for controlling a screen of a terminal during a call according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of an apparatus for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention
  • FIG. 7 is a structural block diagram 2 of an apparatus for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention
  • FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for controlling a screen of a terminal during a call according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps S102 to Step S106. Step S102: Acquire an initial state value of the terminal when answering the call. Step S104: Acquire a current state value of the terminal during the call.
  • Step S106 controlling whether the screen of the terminal accepts the input according to the initial state value and the current state value.
  • the screen of the terminal is controlled by a physical button during the call, and the user is required to perform a certain operation or the use condition is limited, and the requirement cannot be completely satisfied.
  • Step S104 includes: determining that the current call has not ended; acquiring the current state value of the terminal according to a predetermined frequency.
  • Step S106 includes: calculating a difference between the current state value and the initial state value; if the difference is not less than a preset threshold, the screen of the control terminal is in the off state, and continues to acquire the current state value of the terminal; The preset threshold value controls the terminal's screen to be lit, accepts input, and continues to acquire the current state value of the terminal.
  • a specific implementation manner of controlling the screen of the terminal by using the initial state value and the current state value is provided, and the difference between the two is compared with a predetermined value to control the screen of the terminal, and the result of the control is relatively reliable.
  • the screen of the control terminal is in the lighting state, the user's input is accepted.
  • the state value of the terminal needs to be continuously obtained.
  • the user needs to pick up the terminal to continue the call, and the screen needs to be extinguished.
  • the state value of the terminal includes a screen tilt angle which is an angle parallel to the axis of the side edge of the terminal and the vertical direction.
  • the state value of the terminal further includes a screen orientation
  • the screen orientation is an angle perpendicular to an axis of the screen plane of the terminal and a vertical direction.
  • the terminal screen is controlled using two values of the screen tilt angle and the screen orientation, and the result is more accurate.
  • acquiring the status value of the terminal comprises: acquiring an inclination angle of the screen of the terminal by using an acceleration sensor in the terminal.
  • the acceleration angle sensor originally provided in the terminal is used to obtain the tilt angle of the screen, thereby avoiding the use of an external input device, and the acquisition method is also convenient.
  • the embodiment of the present invention can control the terminal screen by the following steps: When the user starts to answer the call (can be a sliding answer, press the answer key, etc.), the value of the acceleration sensor is read and recorded as Initial value. Then, the value of the acceleration sensor is continuously read during the call and compared with the initial value. Through calculation, the angle between the initial value and the current value is obtained. If the angle meets a certain range, it means that the user does not accept input when the control terminal screen is off during the call; otherwise, the control terminal screen lights up and accepts the touch screen input operation.
  • FIG. 2 is a flow chart of a method for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention.
  • the preferred embodiment describes a flow of controlling a screen of a terminal by a value collected by an acceleration sensor during a call and during a call, such as As shown in FIG. 2, the following steps S202 to S220 are included.
  • Step S202 receiving an incoming call.
  • Step S204 the user answers the call, can operate by touching the screen to answer the call, or can answer the call by pressing a button.
  • step S206 the value of the acceleration sensor at this time is recorded as the "initial value”.
  • step S208 it is determined whether the call is over. If yes, step S210 is performed; otherwise, step S212 is performed.
  • Step S210 the operation of stopping the acceleration sensor to acquire the value of the terminal is completed, and the flow ends.
  • step S212 the value of the acceleration sensor is taken once in a short interval, and is recorded as "current value”.
  • Step S214 the current value and the initial value are calculated to obtain an angle between the current position and the initial value position.
  • Step S216 determining whether the angle is greater than a set threshold, if yes, executing step S218; otherwise, performing step S220.
  • step S2108 it is determined that it is close, and the screen is turned off.
  • step S220 it is determined that it is not close, and the normal operation touch screen is accepted.
  • the value of the acceleration sensor is recorded, and the corresponding screen orientation, the screen tilt angle, and the like are calculated as the initial value storage; during the entire process of the call, the acceleration is obtained.
  • the value of the sensor calculates the current position of the terminal. Compare the above two values to see if the difference between the two is greater than the threshold. If it is greater than the threshold, turn off the screen.
  • the tilt angle of the terminal in the embodiment of the present invention will be described below.
  • the user can use the mobile terminal to answer the call in any posture, and when the mobile terminal answers the call and during the call, the position information of the mobile terminal such as the screen orientation and the tilt angle may be significantly different.
  • the terminal is generally at an angle that is parallel to the horizontal plane or has a relatively small horizontal plane.
  • the user answers the call in an upright state, and the screen of the mobile terminal is upward when answering, the vertical direction (ie, the normal direction of the horizontal plane) and the acceleration z-axis of the terminal (ie, the axis perpendicular to the screen plane of the terminal) are substantially parallel, the terminal
  • the acceleration y-axis ie, the axis parallel to the side edge of the terminal, also known as the center axis
  • the screen orientation of the mobile terminal, the vertical direction and the acceleration z-axis have a distinct angle.
  • 3 is a schematic diagram of a tilt state of a terminal during normal call according to a preferred embodiment of the present invention. As shown in FIG.
  • the acceleration z-axis of the terminal when the user is in a call, has a certain angle with the vertical direction ( Representing the screen orientation), the acceleration y-axis of the terminal also has a certain angle with the vertical direction (representing the tilt angle of the screen). Compare the current value of the obtained call with the initial value when answering the call, and control whether the terminal screen accepts the input according to the comparison result, which can ensure that the user can normally control the screen after receiving the call in various postures, thereby minimizing the misoperation .
  • 4 is a schematic flow chart of comparing an initial value with a current value according to a preferred embodiment of the present invention. As shown in FIG. 4, the following steps S402 to S420 are included.
  • Step S402 calculating an initial screen orientation according to the initial value.
  • Step S404 calculating an initial screen tilt angle according to the initial value, where the initial screen tilt angle refers to an angle between the central axis of the terminal and the vertical direction when the telephone is answered.
  • Step S406 calculating a current screen orientation according to the current value.
  • Step S408 Calculate the current screen tilt angle according to the current value.
  • the current screen tilt angle refers to the angle between the center axis of the terminal and the vertical direction in the current situation when the call is not finished.
  • Step S410 calculating a difference between the initial screen orientation and the current screen orientation.
  • Step S412 calculating a difference between the initial screen tilt angle and the current screen tilt angle.
  • step S414 it is determined whether the difference between the initial screen orientation and the current screen orientation is greater than the threshold 1, and if so, step S416 is performed, otherwise step S420 is performed.
  • step S416 determining whether the difference between the initial screen tilt angle and the current screen tilt angle is greater than the threshold 2, and if yes, executing step S418, otherwise performing step S420.
  • step S4108 it is determined that the call is in close proximity to the ear.
  • step S420 it is determined that there is no answer at the ear.
  • the preferred embodiment shown in Fig. 4 takes into account variations in screen orientation and screen tilt angle, and control of the terminal screen is more accurate. It should be noted that the preferred embodiment shown in FIG.
  • FIG. 5 is a structural block diagram of an apparatus for controlling a screen of a terminal during a call according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a first obtaining module 52, a second obtaining module 54, and a control module 56. The structure is described in detail below.
  • the first obtaining module 52 is configured to obtain an initial state value of the terminal when the call is received; the second obtaining module 54 is connected to the first obtaining module 52, and is configured to acquire the current state value of the terminal during the call; the control module 56, the connection The second obtaining module 54 is configured to control whether the screen of the terminal accepts an input according to the initial state value and the current state value.
  • the second obtaining module 54 includes: a determining unit, configured to determine that the current call is not ended; and an acquiring unit configured to acquire a current state value of the terminal according to a predetermined frequency. As shown in FIG.
  • the control module 56 includes: a calculating unit 562, configured to calculate a difference between the current state value and the initial state value; the first control unit 564 is connected to the calculating unit 562, and is set to be not less than a preset value.
  • the screen of the control terminal is in the off state and continues to acquire the current state value of the terminal; the second control unit 566 is connected to the calculation unit 562 and is set to be smaller than a preset threshold.
  • the screen of the control terminal is lit, accepts input, and continues to acquire the current state value of the terminal.
  • the state value of the terminal includes a screen tilt angle which is an angle parallel to the axis of the side edge of the terminal and the vertical direction.
  • the status value of the terminal may also include a screen orientation, which is an angle perpendicular to the plane of the screen of the terminal and the vertical direction. Using the screen tilt angle and screen orientation to control the terminal screen, the results are more accurate. In practical applications, the acceleration sensor can be used to obtain the tilt angle of the screen of the terminal.
  • the device for controlling the screen of the terminal during the call may also be implemented by the following modules: a screen orientation, tilt angle acquisition module 72 (implementing the first acquisition module 52 and the foregoing The function of the second obtaining module 54 is set to obtain the initial value at the time of the call answering, and continuously obtain the current value during the entire call.
  • the call state judging module 74 (implementing part of the functions of the control module 56) is configured to compare the current value with the initial value, determine the difference between the two values and the preset value, and control to stop the screen orientation and the tilt angle after the call ends. Get the action of the module.
  • the touch screen control module 76 (implementing part of the functions of the control module 56) is configured to control the switch of the screen according to the judgment result of the call state judgment module, for example, if the difference between the current value and the initial value is greater than a preset value, the touch screen is locked. .
  • the embodiment of the present invention further provides a terminal.
  • FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG.
  • the terminal includes a device 82 for controlling a terminal screen during a call and a screen 84, wherein the call
  • the device 82 for controlling the screen of the terminal in the process is a device for controlling the screen of the terminal during the call during any of the above, and the screen 84 is a capacitive touch screen.
  • the device and the terminal for controlling the screen of the terminal during the call in the embodiment of the device correspond to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again. .
  • a method, apparatus and terminal for controlling a screen of a terminal during a call are provided.
  • the screen of the terminal is controlled to accept input, thereby avoiding contact of the face or other parts during the call.
  • the resulting misoperation can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.

Abstract

Disclosed are a method and device for controlling a terminal screen during a call process, and a terminal. The method comprises: when a call is answered, obtaining an initial state value of a terminal; obtaining a current state value of the terminal during a call process; and according to the initial state value and the current state value, controlling whether a screen of the terminal accepts an input. In the present invention, whether the screen of the terminal accepts an input is controlled by determining the change of the current state value of the terminal during the call process and the initial state value of the terminal when a call is answered, thereby avoiding a misoperation caused by the face or other parts touching the screen during the call process.

Description

通话过程中控制终端屏幕的方法、 装置及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种通话过程中控制终端屏幕的方法、 装 置及终端。 背景技术 相关技术中, 因为电容屏较好的用户体验, 成为绝大多数的触摸屏手机的必备。 但是, 电容触摸屏存在以下缺点:  TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a method, device, and terminal for controlling a screen of a terminal during a call. BACKGROUND OF THE INVENTION In the related art, because of the better user experience of the capacitive screen, it becomes an essential part of most touch screen mobile phones. However, capacitive touch screens have the following disadvantages:
( 1 )仅能用人体或者专用的触摸笔进行操控; (2)人体除去手之外的部位接触屏 幕, 同样能操作电容屏手机, 因此在多种情形下尤其是通话中容易误操作。 目前, 为了解决上述问题, 一般通过一个开关或其它已有输入设备来控制, 例如 通过某个实体按键、或者重力感应等和其它模块共用的输入设备控制点亮或熄灭屏幕。 点亮屏幕的时候可以正常进行操作, 熄灭屏幕后不能操作。 但是, 上述方法要求用户专门进行某种操作或者使用条件受到一定局限, 无法完 全满足需求。 发明内容 本发明实施例提供了一种通话过程中控制终端屏幕的方法、 装置及终端, 以至少 解决相关技术中, 通话过程中通过某个实体按键控制终端屏幕的亮灭, 要求用户专门 进行某种操作或者使用条件受到一定局限, 无法完全满足需求的问题。 根据本发明实施例的一个方面, 提供了一种通话过程中控制终端屏幕的方法, 包 括: 接听电话时获取终端的初始状态值; 在通话过程中获取终端的当前状态值; 根据 初始状态值与当前状态值控制终端的屏幕是否接受输入。 优选地, 在通话过程中获取终端的当前状态值包括: 确定当前通话没有结束; 按 照预定的频率获取终端的当前状态值。 优选地, 根据初始状态值与当前状态值控制终端的屏幕是否接受输入包括: 计算 当前状态值与初始状态值的差值; 如果差值不小于预先设定的阈值, 则控制终端的屏 幕处于灭屏状态, 并继续获取终端的当前状态值; 如果差值小于预先设定的阈值, 则 控制终端的屏幕处于点亮状态, 接受输入, 并继续获取终端的当前状态值。 优选地, 终端的状态值包括屏幕倾斜角度, 屏幕倾斜角度是平行于终端的侧边缘 的轴与竖直方向的夹角。 优选地, 终端的状态值还包括屏幕朝向, 屏幕朝向是垂直于终端的屏幕平面的轴 与竖直方向的夹角。 优选地, 获取终端的状态值包括: 利用加速度传感器获取终端的屏幕倾斜角度。 根据本发明实施例的另一方面, 提供了一种通话过程中控制终端屏幕的装置, 包 括: 第一获取模块, 设置为接听电话时获取终端的初始状态值; 第二获取模块, 设置 为在通话过程中获取终端的当前状态值; 控制模块, 设置为根据初始状态值与当前状 态值控制终端的屏幕是否接受输入。 优选地, 第二获取模块包括: 确定单元, 设置为确定当前通话没有结束; 获取单 元, 设置为按照预定的频率获取终端的当前状态值。 优选地, 控制模块包括: 计算单元, 设置为计算当前状态值与初始状态值的差值; 第一控制单元, 设置为在差值不小于预先设定的阈值的情况下, 则控制终端的屏幕处 于灭屏状态, 并继续获取终端的当前状态值; 第二控制单元, 设置为在差值小于预先 设定的阈值的情况下, 则控制终端的屏幕处于点亮状态, 接受输入, 并继续获取终端 的当前状态值。 根据本发明实施例的再一个方面, 提供了一种终端, 包括: 通话过程中控制终端 屏幕的装置和屏幕, 其中, 通话过程中控制终端屏幕的装置是上述任一种的通话过程 中控制终端屏幕的装置。 本发明实施例中, 通过确定通话过程中终端的当前状态值与接听电话时终端的初 始状态值的变化, 控制终端的屏幕是否接受输入, 从而避免了在通话过程中脸部或者 其它部位接触屏幕导致的误操作。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的通话过程中控制终端屏幕的方法的流程图; 图 2是根据本发明优选实施例的通话过程中控制终端屏幕的方法的流程图; 图 3是根据本发明优选实施例的通常通话时终端的倾斜状态的示意图; 图 4是根据本发明优选实施例的初值与当前值比较的流程示意图; 图 5是根据本发明实施例的通话过程中控制终端屏幕的装置的结构框图; 图 6是根据本发明优选实施例的通话过程中控制终端屏幕的装置的结构框图一; 图 7是根据本发明优选实施例的通话过程中控制终端屏幕的装置的结构框图二; 图 8是根据本发明实施例的终端的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 本发明实施例提供了一种通话过程中控制终端屏幕的方法, 图 1是根据本发明实 施例的通话过程中控制终端屏幕的方法的流程图, 如图 1所示, 包括如下的步骤 S102 至步骤 S106。 步骤 S102, 接听电话时获取终端的初始状态值。 步骤 S104, 在通话过程中获取终端的当前状态值。 步骤 S106, 根据初始状态值与当前状态值控制终端的屏幕是否接受输入。 相关技术中, 通话过程中通过某个实体按键控制终端屏幕的亮灭, 要求用户专门 进行某种操作或者使用条件受到一定局限, 无法完全满足需求。 本发明实施例中, 通 过确定通话过程中终端的当前状态值与接听电话时终端的初始状态值的变化, 控制终 端的屏幕是否接受输入, 从而避免了在通话过程中脸部或者其它部位接触屏幕导致的 误操作。 步骤 S104包括:确定当前通话没有结束;按照预定的频率获取终端的当前状态值。 本优选实施例中, 在当前通话没有结束的情况下, 每个隔一定的时间便获取一次终端 的当前状态值, 从而可以及时跟初始值比较, 控制终端屏幕, 防止误操作。 步骤 S106包括:计算当前状态值与初始状态值的差值; 如果差值不小于预先设定 的阈值, 则控制终端的屏幕处于灭屏状态, 并继续获取终端的当前状态值; 如果差值 小于预先设定的阈值, 则控制终端的屏幕处于点亮状态, 接受输入, 并继续获取终端 的当前状态值。 本优选实施例中, 提供了一种利用初始状态值和当前状态值控制终端 屏幕的具体实现方式,利用二者的差值与预定值进行比较, 从而对终端屏幕进行控制, 控制的结果比较可靠。 控制终端的屏幕处于点亮状态之后, 接受用户的输入, 此时需 要持续获取终端的状态值, 一旦满足要求, 说明用户再次拿起终端继续进行通话, 需 要熄灭屏幕。 优选地, 终端的状态值包括屏幕倾斜角度, 屏幕倾斜角度是平行于终端的侧边缘 的轴与竖直方向的夹角。 优选地, 终端的状态值还包括屏幕朝向, 屏幕朝向是垂直于终端的屏幕平面的轴 与竖直方向的夹角。 本优选实施例中, 利用屏幕倾斜角度和屏幕朝向两个值来控制终 端屏幕, 结果更为准确。 优选地, 获取终端的状态值包括: 利用终端中的加速度传感器获取终端的屏幕倾 斜角度。 利用终端中本来就具有的加速度传感器获取屏幕倾斜角度, 避免利用外部输 入设备, 获取方式也比较方便。 从以上的描述中可以看出, 本发明实施例可以通过如下步骤控制终端屏幕: 在用 户开始接听电话时(可以是滑动接听、 按接听键接听等方式), 读取加速度传感器的值 并记录为初值。 然后, 在通话过程中不断读取加速度传感器的值, 与初值进行对比。 通过计算, 得到初值和当前值的夹角。 如果夹角满足一定范围, 就说明用户在通话中, 控制终端屏幕灭屏不接受输入; 反之, 则控制终端屏幕点亮并接受触屏输入操作。 这 样, 通过加速度传感器采样终端屏幕的倾斜角度, 并与初始位置作比较, 在角度差值 大于预设值时不能再接收指令, 从而防止了终端屏幕的误操作。 为了使本发明实施例的技术方案和实现方法更加清楚, 下面将结合优选的实施例 对其实现过程进行详细描述。 图 2是根据本发明优选实施例的通话过程中控制终端屏幕的方法的流程图, 本优 选实施例描述的是接听电话时以及整个通话过程中通过加速度传感器采集的值控制终 端屏幕的流程, 如图 2所示, 包括如下的步骤 S202至步骤 S220。 步骤 S202, 接收到来电。 步骤 S204, 用户接听电话, 可以通过触摸屏幕进行操作以接听电话, 也可以通过 按键接听电话。 步骤 S206, 记录此时加速度传感器的值, 作为"初值"。 步骤 S208, 判断通话是否结束, 如果是, 执行步骤 S210; 否则执行步骤 S212。 步骤 S210, 停止加速度传感器获取终端的值的操作, 流程结束。 步骤 S212, 间隔很短的时间取一次加速度传感器的值, 记为"当前值"。 步骤 S214, 当前值和初值计算得到当前位置和初值位置的夹角。 步骤 S216, 判断夹角是否大于设定阈值, 如果是, 执行步骤 S218; 否则执行步 骤 S220。 步骤 S218, 判定为接近, 熄灭屏幕。 步骤 S220, 判定为未接近, 接受正常操作触屏。 从上述优选实施例可以看出,在用户接听电话的时间点,记录加速度传感器的值, 并计算出对应的屏幕朝向、 屏幕倾斜角度等, 作为初值存储; 在通话的整个过程中, 通过加速度传感器的值计算终端的当前位置。 将上述两个值做比较, 看二者之差是否 大于阈值, 如果大于阈值则关闭屏幕, 如果小于阈值则允许通过触摸屏输入。 下面对本发明实施例中终端的倾斜角度进行说明。 用户无论在任何姿态下使用移动终端接听电话, 操作移动终端接听电话时和通话 过程中, 移动终端的屏幕朝向、 倾斜角度等位置信息会有较明显的不同。 用户接听通话时, 终端一般处于与水平面平行或与水平面有比较小的夹角。例如, 用户在直立状态下接听电话, 接听时移动终端的屏幕向上, 竖直方向 (即水平面的法 线方向) 和终端的加速度 z轴 (即垂直于终端的屏幕平面的轴) 基本平行, 终端的加 速度 y轴 (即平行于终端的侧边缘的轴, 也称为中轴) 与竖直方向处于垂直状态。 而在通话过程中, 移动终端的屏幕侧向, 竖直方向和加速度 z轴有一个明显的夹 角。 图 3是根据本发明优选实施例的通常通话时终端的倾斜状态的示意图, 如图 3所 示, 一般情况下, 用户在通话时, 终端的加速度 z轴与竖直方向有一定的夹角 (代表 屏幕朝向), 终端的加速度 y轴与竖直方向也有一定的夹角 (代表屏幕倾斜角度)。 将获取的通话中的当前值与接听电话时的初值进行比较, 根据比较结果控制终端 屏幕是否接受输入, 可以保证用户在多种姿态下接听通话都可以正常控制屏幕, 最大 程度地减少误操作。 图 4是根据本发明优选实施例的初值与当前值比较的流程示意图, 如图 4所示, 包括如下的步骤 S402至步骤 S420。 步骤 S402, 根据初值计算初始的屏幕朝向。 步骤 S404, 根据初值计算初始的屏幕倾斜角度, 初始的屏幕倾斜角度是指接听电 话时, 终端的中轴与竖直方向的夹角。 步骤 S406, 根据当前值计算当前屏幕朝向。 步骤 S408, 根据当前值计算当前屏幕倾斜角度, 当前屏幕倾斜角度是指通话未结 束时, 当前情况下终端的中轴与竖直方向的夹角。 步骤 S410, 计算初始的屏幕朝向与当前屏幕朝向的差值。 步骤 S412, 计算初始的屏幕倾斜角度与当前屏幕倾斜角度的差值。 步骤 S414,判断初始的屏幕朝向与当前屏幕朝向的差值是否大于阈值 1,如果是, 执行步骤 S416, 否则执行步骤 S420。 步骤 S416,判断初始的屏幕倾斜角度与当前屏幕倾斜角度的差值是否大于阈值 2, 如果是, 执行步骤 S418, 否则执行步骤 S420。 步骤 S418, 判定为靠近耳朵通话中。 步骤 S420, 判定为没有在耳边接听。 图 4所示的优选实施例, 综合考虑了屏幕朝向以及屏幕倾斜角度的变化, 对终端 屏幕的控制会更为准确。 需要说明的是, 图 4所示的优选实施例对由加速度传感器计 算得到的初始位置与通话中的位置进行比较的具体方式给出了一个示例。 实际应用中 不仅限于计算屏幕朝向和倾斜角度两个值,只要是用初值和当前值作比较来进行判定, 都属于本发明的保护范围。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的 计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可 以以不同于此处的顺序执行所示出或描述的步骤。 本发明实施例还提供了一种通话过程中控制终端屏幕的装置, 该通话过程中控制 终端屏幕的装置可以设置为实现上述通话过程中控制终端屏幕的方法。 图 5是根据本 发明实施例的通话过程中控制终端屏幕的装置的结构框图, 如图 5所示, 该装置包括 第一获取模块 52、 第二获取模块 54和控制模块 56。 下面对其结构进行详细描述。 第一获取模块 52, 设置为接听电话时获取终端的初始状态值; 第二获取模块 54, 连接至第一获取模块 52, 设置为在通话过程中获取终端的当前状态值; 控制模块 56, 连接至第二获取模块 54, 设置为根据初始状态值与当前状态值控制终端的屏幕是否接 受输入。 第二获取模块 54包括: 确定单元, 设置为确定当前通话没有结束; 获取单元, 设 置为按照预定的频率获取终端的当前状态值。 如图 6所示, 控制模块 56包括: 计算单元 562, 设置为计算当前状态值与初始状 态值的差值; 第一控制单元 564, 连接至计算单元 562, 设置为在差值不小于预先设定 的阈值的情况下, 则控制终端的屏幕处于灭屏状态, 并继续获取终端的当前状态值; 第二控制单元 566,连接至计算单元 562,设置为在差值小于预先设定的阈值的情况下, 则控制终端的屏幕处于点亮状态, 接受输入, 并继续获取终端的当前状态值。 优选地, 终端的状态值包括屏幕倾斜角度, 屏幕倾斜角度是平行于终端的侧边缘 的轴与竖直方向的夹角。 终端的状态值还可以包括屏幕朝向, 屏幕朝向是垂直于终端 的屏幕平面的轴与竖直方向的夹角。 利用屏幕倾斜角度和屏幕朝向两个值来控制终端 屏幕, 结果更为准确。 实际应用中, 可以利用加速度传感器获取终端的屏幕倾斜角度。 在另一个优选实施例中, 如图 7所示, 上述通话过程中控制终端屏幕的装置还可 以采用以下模块来实现: 屏幕朝向、 倾斜角度获取模块 72 (实现了上述第一获取模块 52和第二获取模块 54 的功能), 设置为在通话接听的时间点获取初值, 并在整个通话过程中不断获取当 前值。 通话状态判断模块 74 (实现了上述控制模块 56的部分功能), 设置为比较当前值 与初值, 判断二者差值与预设值的大小, 并控制在通话结束后停止屏幕朝向、 倾斜角 度获取模块的动作。 触摸屏控制模块 76 (实现了上述控制模块 56的部分功能), 设置为根据通话状态 判断模块的判断结果控制屏幕的开关, 例如, 如果当前值与初值的差值大于预设值, 则锁定触摸屏。 本发明实施例还提供了一种终端, 图 8是根据本发明实施例的终端的结构框图, 如图 8所示, 该终端包括通话过程中控制终端屏幕的装置 82和屏幕 84, 其中, 通话 过程中控制终端屏幕的装置 82是上述任一种的通话过程中控制终端屏幕的装置,屏幕 84是电容触摸屏。 需要说明的是, 装置实施例中描述的通话过程中控制终端屏幕的装置和终端对应 于上述的方法实施例, 其具体的实现过程在方法实施例中已经进行过详细说明, 在此 不再赘述。 综上所述, 根据本发明的上述实施例, 提供了一种通话过程中控制终端屏幕的方 法、 装置及终端。 本发明实施例中, 通过确定通话过程中终端的当前状态值与接听电 话时终端的初始状态值的变化, 控制终端的屏幕是否接受输入, 从而避免了在通话过 程中脸部或者其它部位接触屏幕导致的误操作。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 (1) It can only be controlled by the human body or a dedicated touch pen; (2) The body removes the screen from the part other than the hand, and can also operate the capacitive screen mobile phone, so it is easy to operate in a variety of situations, especially during a call. At present, in order to solve the above problem, it is generally controlled by a switch or other existing input device, for example, by an input device shared by other physical buttons, such as a physical button or gravity sensing, to control whether the screen is turned on or off. When the screen is lit, it can be operated normally. After the screen is turned off, it cannot be operated. However, the above method requires the user to perform certain operations or the use conditions are limited, and the requirements cannot be fully satisfied. SUMMARY OF THE INVENTION Embodiments of the present invention provide a method, a device, and a terminal for controlling a screen of a terminal during a call, so as to at least solve the related art, in which a screen of a terminal is controlled by a physical button during a call, and the user is required to perform a certain The operation or use conditions are limited, and the problem of the demand cannot be fully satisfied. According to an aspect of the embodiments of the present invention, a method for controlling a screen of a terminal during a call is provided, including: acquiring an initial state value of the terminal when answering the call; acquiring a current state value of the terminal during the call; and according to the initial state value The current status value controls whether the screen of the terminal accepts input. Preferably, obtaining the current state value of the terminal during the call includes: determining that the current call is not ended; acquiring the current state value of the terminal according to the predetermined frequency. Preferably, controlling whether the screen of the terminal accepts the input according to the initial state value and the current state value comprises: calculating a difference between the current state value and the initial state value; if the difference is not less than a preset threshold, controlling the screen of the terminal The screen is in the off-screen state, and continues to acquire the current state value of the terminal; if the difference is less than the preset threshold, the screen of the control terminal is lit, accepts the input, and continues to acquire the current state value of the terminal. Preferably, the state value of the terminal includes a screen tilt angle which is an angle parallel to the axis of the side edge of the terminal and the vertical direction. Preferably, the state value of the terminal further includes a screen orientation, and the screen orientation is an angle perpendicular to an axis of the screen plane of the terminal and a vertical direction. Preferably, acquiring the state value of the terminal comprises: acquiring an inclination angle of the screen of the terminal by using the acceleration sensor. According to another aspect of the present invention, an apparatus for controlling a screen of a terminal during a call is provided, including: a first acquiring module, configured to acquire an initial state value of the terminal when answering a call; and a second acquiring module, configured to Obtaining the current state value of the terminal during the call; the control module is configured to control whether the screen of the terminal accepts the input according to the initial state value and the current state value. Preferably, the second obtaining module comprises: a determining unit, configured to determine that the current call is not ended; and an acquiring unit configured to acquire a current state value of the terminal according to a predetermined frequency. Preferably, the control module comprises: a calculating unit configured to calculate a difference between the current state value and the initial state value; the first control unit is configured to control the screen of the terminal if the difference is not less than a preset threshold In the off-screen state, and continue to obtain the current state value of the terminal; the second control unit is set to control the terminal's screen to be lit, accept input, and continue to acquire if the difference is less than a preset threshold. The current status value of the terminal. According to still another aspect of the embodiments of the present invention, a terminal is provided, including: a device and a screen for controlling a screen of a terminal during a call, wherein the device for controlling a screen of the terminal during a call is any one of the above-mentioned control terminals during a call Screen device. In the embodiment of the present invention, by determining the current state value of the terminal during the call and the change of the initial state value of the terminal when answering the phone, the screen of the terminal is controlled to accept input, thereby avoiding contact of the face or other parts during the call. The resulting misoperation. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawing - 1 is a flow chart of a method of controlling a screen of a terminal during a call according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention; FIG. 3 is a preferred embodiment of the present invention. FIG. 4 is a schematic diagram of a comparison of an initial value and a current value according to a preferred embodiment of the present invention; FIG. 5 is a diagram of a device for controlling a screen of a terminal during a call according to an embodiment of the present invention; FIG. 6 is a structural block diagram of an apparatus for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention; FIG. 7 is a structural block diagram 2 of an apparatus for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention; FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. The embodiment of the present invention provides a method for controlling a screen of a terminal during a call. FIG. 1 is a flowchart of a method for controlling a screen of a terminal during a call according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps S102 to Step S106. Step S102: Acquire an initial state value of the terminal when answering the call. Step S104: Acquire a current state value of the terminal during the call. Step S106, controlling whether the screen of the terminal accepts the input according to the initial state value and the current state value. In the related art, the screen of the terminal is controlled by a physical button during the call, and the user is required to perform a certain operation or the use condition is limited, and the requirement cannot be completely satisfied. In the embodiment of the present invention, by determining the current state value of the terminal during the call and the change of the initial state value of the terminal when answering the phone, the screen of the terminal is controlled to accept input, thereby avoiding contact of the face or other parts during the call. The resulting misoperation. Step S104 includes: determining that the current call has not ended; acquiring the current state value of the terminal according to a predetermined frequency. In the preferred embodiment, in the case that the current call is not finished, the current state value of the terminal is acquired every time interval, so that the terminal value can be compared with the initial value in time to prevent the erroneous operation. Step S106 includes: calculating a difference between the current state value and the initial state value; if the difference is not less than a preset threshold, the screen of the control terminal is in the off state, and continues to acquire the current state value of the terminal; The preset threshold value controls the terminal's screen to be lit, accepts input, and continues to acquire the current state value of the terminal. In the preferred embodiment, a specific implementation manner of controlling the screen of the terminal by using the initial state value and the current state value is provided, and the difference between the two is compared with a predetermined value to control the screen of the terminal, and the result of the control is relatively reliable. . After the screen of the control terminal is in the lighting state, the user's input is accepted. At this time, the state value of the terminal needs to be continuously obtained. Once the requirement is met, the user needs to pick up the terminal to continue the call, and the screen needs to be extinguished. Preferably, the state value of the terminal includes a screen tilt angle which is an angle parallel to the axis of the side edge of the terminal and the vertical direction. Preferably, the state value of the terminal further includes a screen orientation, and the screen orientation is an angle perpendicular to an axis of the screen plane of the terminal and a vertical direction. In the preferred embodiment, the terminal screen is controlled using two values of the screen tilt angle and the screen orientation, and the result is more accurate. Preferably, acquiring the status value of the terminal comprises: acquiring an inclination angle of the screen of the terminal by using an acceleration sensor in the terminal. The acceleration angle sensor originally provided in the terminal is used to obtain the tilt angle of the screen, thereby avoiding the use of an external input device, and the acquisition method is also convenient. As can be seen from the above description, the embodiment of the present invention can control the terminal screen by the following steps: When the user starts to answer the call (can be a sliding answer, press the answer key, etc.), the value of the acceleration sensor is read and recorded as Initial value. Then, the value of the acceleration sensor is continuously read during the call and compared with the initial value. Through calculation, the angle between the initial value and the current value is obtained. If the angle meets a certain range, it means that the user does not accept input when the control terminal screen is off during the call; otherwise, the control terminal screen lights up and accepts the touch screen input operation. In this way, the tilt angle of the terminal screen is sampled by the acceleration sensor and compared with the initial position, and the command can no longer be received when the angle difference is greater than the preset value, thereby preventing the erroneous operation of the terminal screen. In order to make the technical solutions and implementation methods of the embodiments of the present invention clearer, the implementation process will be described in detail below in conjunction with the preferred embodiments. 2 is a flow chart of a method for controlling a screen of a terminal during a call according to a preferred embodiment of the present invention. The preferred embodiment describes a flow of controlling a screen of a terminal by a value collected by an acceleration sensor during a call and during a call, such as As shown in FIG. 2, the following steps S202 to S220 are included. Step S202, receiving an incoming call. Step S204, the user answers the call, can operate by touching the screen to answer the call, or can answer the call by pressing a button. In step S206, the value of the acceleration sensor at this time is recorded as the "initial value". In step S208, it is determined whether the call is over. If yes, step S210 is performed; otherwise, step S212 is performed. Step S210, the operation of stopping the acceleration sensor to acquire the value of the terminal is completed, and the flow ends. In step S212, the value of the acceleration sensor is taken once in a short interval, and is recorded as "current value". Step S214, the current value and the initial value are calculated to obtain an angle between the current position and the initial value position. Step S216, determining whether the angle is greater than a set threshold, if yes, executing step S218; otherwise, performing step S220. In step S218, it is determined that it is close, and the screen is turned off. In step S220, it is determined that it is not close, and the normal operation touch screen is accepted. As can be seen from the above preferred embodiment, when the user answers the call, the value of the acceleration sensor is recorded, and the corresponding screen orientation, the screen tilt angle, and the like are calculated as the initial value storage; during the entire process of the call, the acceleration is obtained. The value of the sensor calculates the current position of the terminal. Compare the above two values to see if the difference between the two is greater than the threshold. If it is greater than the threshold, turn off the screen. If it is less than the threshold, allow input through the touch screen. The tilt angle of the terminal in the embodiment of the present invention will be described below. The user can use the mobile terminal to answer the call in any posture, and when the mobile terminal answers the call and during the call, the position information of the mobile terminal such as the screen orientation and the tilt angle may be significantly different. When the user answers the call, the terminal is generally at an angle that is parallel to the horizontal plane or has a relatively small horizontal plane. For example, the user answers the call in an upright state, and the screen of the mobile terminal is upward when answering, the vertical direction (ie, the normal direction of the horizontal plane) and the acceleration z-axis of the terminal (ie, the axis perpendicular to the screen plane of the terminal) are substantially parallel, the terminal The acceleration y-axis (ie, the axis parallel to the side edge of the terminal, also known as the center axis) is perpendicular to the vertical direction. During the call, the screen orientation of the mobile terminal, the vertical direction and the acceleration z-axis have a distinct angle. 3 is a schematic diagram of a tilt state of a terminal during normal call according to a preferred embodiment of the present invention. As shown in FIG. 3, in general, when the user is in a call, the acceleration z-axis of the terminal has a certain angle with the vertical direction ( Representing the screen orientation), the acceleration y-axis of the terminal also has a certain angle with the vertical direction (representing the tilt angle of the screen). Compare the current value of the obtained call with the initial value when answering the call, and control whether the terminal screen accepts the input according to the comparison result, which can ensure that the user can normally control the screen after receiving the call in various postures, thereby minimizing the misoperation . 4 is a schematic flow chart of comparing an initial value with a current value according to a preferred embodiment of the present invention. As shown in FIG. 4, the following steps S402 to S420 are included. Step S402, calculating an initial screen orientation according to the initial value. Step S404, calculating an initial screen tilt angle according to the initial value, where the initial screen tilt angle refers to an angle between the central axis of the terminal and the vertical direction when the telephone is answered. Step S406, calculating a current screen orientation according to the current value. Step S408: Calculate the current screen tilt angle according to the current value. The current screen tilt angle refers to the angle between the center axis of the terminal and the vertical direction in the current situation when the call is not finished. Step S410, calculating a difference between the initial screen orientation and the current screen orientation. Step S412, calculating a difference between the initial screen tilt angle and the current screen tilt angle. In step S414, it is determined whether the difference between the initial screen orientation and the current screen orientation is greater than the threshold 1, and if so, step S416 is performed, otherwise step S420 is performed. Step S416, determining whether the difference between the initial screen tilt angle and the current screen tilt angle is greater than the threshold 2, and if yes, executing step S418, otherwise performing step S420. In step S418, it is determined that the call is in close proximity to the ear. In step S420, it is determined that there is no answer at the ear. The preferred embodiment shown in Fig. 4 takes into account variations in screen orientation and screen tilt angle, and control of the terminal screen is more accurate. It should be noted that the preferred embodiment shown in FIG. 4 gives an example of a specific manner of comparing the initial position calculated by the acceleration sensor with the position in the call. In practical applications, it is not limited to calculating two values of the screen orientation and the tilt angle, and it is within the scope of the present invention as long as the determination is made by comparing the initial value with the current value. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. The embodiment of the invention further provides a device for controlling the screen of the terminal during the call, and the device for controlling the screen of the terminal during the call may be set to implement a method for controlling the screen of the terminal during the call. FIG. 5 is a structural block diagram of an apparatus for controlling a screen of a terminal during a call according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a first obtaining module 52, a second obtaining module 54, and a control module 56. The structure is described in detail below. The first obtaining module 52 is configured to obtain an initial state value of the terminal when the call is received; the second obtaining module 54 is connected to the first obtaining module 52, and is configured to acquire the current state value of the terminal during the call; the control module 56, the connection The second obtaining module 54 is configured to control whether the screen of the terminal accepts an input according to the initial state value and the current state value. The second obtaining module 54 includes: a determining unit, configured to determine that the current call is not ended; and an acquiring unit configured to acquire a current state value of the terminal according to a predetermined frequency. As shown in FIG. 6, the control module 56 includes: a calculating unit 562, configured to calculate a difference between the current state value and the initial state value; the first control unit 564 is connected to the calculating unit 562, and is set to be not less than a preset value. In the case of a predetermined threshold, the screen of the control terminal is in the off state and continues to acquire the current state value of the terminal; the second control unit 566 is connected to the calculation unit 562 and is set to be smaller than a preset threshold. In this case, the screen of the control terminal is lit, accepts input, and continues to acquire the current state value of the terminal. Preferably, the state value of the terminal includes a screen tilt angle which is an angle parallel to the axis of the side edge of the terminal and the vertical direction. The status value of the terminal may also include a screen orientation, which is an angle perpendicular to the plane of the screen of the terminal and the vertical direction. Using the screen tilt angle and screen orientation to control the terminal screen, the results are more accurate. In practical applications, the acceleration sensor can be used to obtain the tilt angle of the screen of the terminal. In another preferred embodiment, as shown in FIG. 7, the device for controlling the screen of the terminal during the call may also be implemented by the following modules: a screen orientation, tilt angle acquisition module 72 (implementing the first acquisition module 52 and the foregoing The function of the second obtaining module 54 is set to obtain the initial value at the time of the call answering, and continuously obtain the current value during the entire call. The call state judging module 74 (implementing part of the functions of the control module 56) is configured to compare the current value with the initial value, determine the difference between the two values and the preset value, and control to stop the screen orientation and the tilt angle after the call ends. Get the action of the module. The touch screen control module 76 (implementing part of the functions of the control module 56) is configured to control the switch of the screen according to the judgment result of the call state judgment module, for example, if the difference between the current value and the initial value is greater than a preset value, the touch screen is locked. . The embodiment of the present invention further provides a terminal. FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 8, the terminal includes a device 82 for controlling a terminal screen during a call and a screen 84, wherein the call The device 82 for controlling the screen of the terminal in the process is a device for controlling the screen of the terminal during the call during any of the above, and the screen 84 is a capacitive touch screen. It should be noted that the device and the terminal for controlling the screen of the terminal during the call in the embodiment of the device correspond to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again. . In summary, according to the above embodiments of the present invention, a method, apparatus and terminal for controlling a screen of a terminal during a call are provided. In the embodiment of the present invention, by determining the current state value of the terminal during the call and the change of the initial state value of the terminal when answering the phone, the screen of the terminal is controlled to accept input, thereby avoiding contact of the face or other parts during the call. The resulting misoperation. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to 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 present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种通话过程中控制终端屏幕的方法, 包括: 1. A method for controlling a screen of a terminal during a call, comprising:
接听电话时获取终端的初始状态值;  Obtain the initial state value of the terminal when answering the call;
在通话过程中获取所述终端的当前状态值;  Obtaining a current state value of the terminal during a call;
根据所述初始状态值与所述当前状态值控制所述终端的屏幕是否接受输 入。  Controlling whether the screen of the terminal accepts input according to the initial state value and the current state value.
2. 根据权利要求 1所述的方法, 其中, 在通话过程中获取所述终端的当前状态值 包括: 2. The method according to claim 1, wherein acquiring the current state value of the terminal during a call comprises:
确定当前通话没有结束;  Make sure the current call is not over;
按照预定的频率获取所述终端的当前状态值。  The current state value of the terminal is obtained according to a predetermined frequency.
3. 根据权利要求 1所述的方法, 其中, 根据所述初始状态值与所述当前状态值控 制所述终端的屏幕是否接受输入包括: 3. The method according to claim 1, wherein controlling whether the screen of the terminal accepts an input according to the initial state value and the current state value comprises:
计算所述当前状态值与所述初始状态值的差值;  Calculating a difference between the current state value and the initial state value;
如果所述差值不小于预先设定的阈值, 则控制所述终端的屏幕处于灭屏状 态, 并继续获取所述终端的当前状态值;  If the difference is not less than a preset threshold, controlling the screen of the terminal to be in a screen-out state, and continuing to acquire a current state value of the terminal;
如果所述差值小于预先设定的阈值,则控制所述终端的屏幕处于点亮状态, 接受输入, 并继续获取所述终端的当前状态值。  If the difference is less than a preset threshold, the screen of the terminal is controlled to be in a lit state, accepting an input, and continuing to acquire a current state value of the terminal.
4. 根据权利要求 1至 3中任一项所述的方法, 其中, 所述终端的状态值包括屏幕 倾斜角度, 所述屏幕倾斜角度是平行于所述终端的侧边缘的轴与竖直方向的夹 角。 The method according to any one of claims 1 to 3, wherein a state value of the terminal includes a screen tilt angle, and the screen tilt angle is an axis parallel to a side edge of the terminal and a vertical direction The angle of the.
5. 根据权利要求 4所述的方法, 其中, 所述终端的状态值还包括屏幕朝向, 所述 屏幕朝向是垂直于所述终端的屏幕平面的轴与竖直方向的夹角。 5. The method according to claim 4, wherein the status value of the terminal further comprises a screen orientation, and the screen orientation is an angle perpendicular to an axis of the screen plane of the terminal and a vertical direction.
6. 根据权利要求 4所述的方法, 其中, 获取终端的状态值包括: 利用加速度传感 器获取所述终端的屏幕倾斜角度。 The method according to claim 4, wherein acquiring the state value of the terminal comprises: acquiring an inclination angle of the screen of the terminal by using an acceleration sensor.
7. 一种通话过程中控制终端屏幕的装置, 包括: 7. A device for controlling a screen of a terminal during a call, comprising:
第一获取模块, 设置为接听电话时获取终端的初始状态值; 第二获取模块, 设置为在通话过程中获取所述终端的当前状态值; 控制模块, 设置为根据所述初始状态值与所述当前状态值控制所述终端的 屏幕是否接受输入。 The first obtaining module is configured to obtain an initial state value of the terminal when answering the call; And a second acquiring module, configured to acquire a current state value of the terminal during a call; and a control module configured to control whether the screen of the terminal accepts an input according to the initial state value and the current state value.
8. 根据权利要求 7所述的装置, 其中, 第二获取模块包括: The device according to claim 7, wherein the second obtaining module comprises:
确定单元, 设置为确定当前通话没有结束;  Determining the unit, setting to determine that the current call is not over;
获取单元, 设置为按照预定的频率获取所述终端的当前状态值。  And an obtaining unit, configured to acquire a current state value of the terminal according to a predetermined frequency.
9. 根据权利要求 7所述的装置, 其中, 所述控制模块包括: 9. The device according to claim 7, wherein the control module comprises:
计算单元, 设置为计算所述当前状态值与所述初始状态值的差值; 第一控制单元, 设置为在所述差值不小于预先设定的阈值的情况下, 则控 制所述终端的屏幕处于灭屏状态, 并继续获取所述终端的当前状态值;  a calculating unit, configured to calculate a difference between the current state value and the initial state value; the first control unit is configured to control the terminal if the difference is not less than a preset threshold The screen is in the off state, and continues to obtain the current state value of the terminal;
第二控制单元, 设置为在所述差值小于预先设定的阈值的情况下, 则控制 所述终端的屏幕处于点亮状态,接受输入,并继续获取所述终端的当前状态值。  The second control unit is configured to, if the difference is less than a preset threshold, control the screen of the terminal to be in a lighting state, accept an input, and continue to acquire a current state value of the terminal.
10. 一种终端, 其中, 包括: 通话过程中控制终端屏幕的装置和屏幕, 其中, 所述 通话过程中控制终端屏幕的装置是权利要求 7至 9中任一项所述的通话过程中 控制终端屏幕的装置。 A terminal, comprising: a device and a screen for controlling a screen of a terminal during a call, wherein the device for controlling a screen of the terminal during the call is the control during the call according to any one of claims 7 to 9. The device of the terminal screen.
PCT/CN2013/080754 2012-09-12 2013-08-02 Method and device for controlling terminal screen during call process, and terminal WO2014040455A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210336255.6 2012-09-12
CN201210336255.6A CN103685696A (en) 2012-09-12 2012-09-12 Method and device for controlling terminal screen during call and terminal

Publications (1)

Publication Number Publication Date
WO2014040455A1 true WO2014040455A1 (en) 2014-03-20

Family

ID=50277581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080754 WO2014040455A1 (en) 2012-09-12 2013-08-02 Method and device for controlling terminal screen during call process, and terminal

Country Status (2)

Country Link
CN (1) CN103685696A (en)
WO (1) WO2014040455A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935737A (en) * 2015-05-25 2015-09-23 上海卓易科技股份有限公司 Method and equipment for realizing screen on-off in call process

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547440B (en) * 2015-09-16 2021-10-12 中兴通讯股份有限公司 Terminal operation method and device and corresponding terminal
CN108494907A (en) * 2018-03-08 2018-09-04 广东欧珀移动通信有限公司 mobile terminal screen control method, device, mobile terminal and storage medium
CN108989546B (en) * 2018-06-15 2021-08-17 Oppo广东移动通信有限公司 Approach detection method of electronic device and related product
CN109582197A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Screen control method, device and storage medium
CN110691168B (en) * 2019-09-25 2022-01-04 捷开通讯(深圳)有限公司 Screen control method and device of mobile terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325775A (en) * 2008-07-24 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Method, apparatus and mobile terminal for controlling touch screen locking state during call process
EP2075999A1 (en) * 2007-12-26 2009-07-01 HTC Corporation Communication device and method for locking an input interface in dependence on the external volume
CN101808155A (en) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 Method and device for preventing mistake touch of screen key as well as computer program product
CN201830328U (en) * 2009-10-21 2011-05-11 宏碁股份有限公司 Mobile phone with function of locking keys in call
CN102629183A (en) * 2012-02-29 2012-08-08 华为终端有限公司 Terminal screen control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2075999A1 (en) * 2007-12-26 2009-07-01 HTC Corporation Communication device and method for locking an input interface in dependence on the external volume
CN101325775A (en) * 2008-07-24 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Method, apparatus and mobile terminal for controlling touch screen locking state during call process
CN101808155A (en) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 Method and device for preventing mistake touch of screen key as well as computer program product
CN201830328U (en) * 2009-10-21 2011-05-11 宏碁股份有限公司 Mobile phone with function of locking keys in call
CN102629183A (en) * 2012-02-29 2012-08-08 华为终端有限公司 Terminal screen control method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935737A (en) * 2015-05-25 2015-09-23 上海卓易科技股份有限公司 Method and equipment for realizing screen on-off in call process

Also Published As

Publication number Publication date
CN103685696A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
WO2014040455A1 (en) Method and device for controlling terminal screen during call process, and terminal
JP6790259B2 (en) Methods and terminals to prevent accidental touches
US10162466B2 (en) Portable device and method of modifying touched position
JP4798218B2 (en) Telephone device
US9113414B2 (en) Standby method for handheld mobile terminal, microprocessor, and mobile phone
US20180203568A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
WO2013185648A1 (en) Screen unlocking method, device and terminal
CN102221925B (en) Movable terminal and touch input recognition method thereof
JP6266833B1 (en) Electronic device, program, and control method
WO2012174783A1 (en) Mobile terminal and method for moving cursor thereof
CN105827812A (en) Communication mode switching method and mobile communication terminal
WO2013167084A2 (en) Intelligent terminal with built-in screenshot function and implementation method thereof
CN103581407A (en) Method and system for protecting screen against spurious triggering in conversation process
WO2015096469A1 (en) Volume adjustment and control device and method for mobile terminal, and mobile terminal
WO2013120319A1 (en) Mobile terminal and screen unlocking method thereof
CN103617000A (en) Method and system for switching screen of mobile terminal
JP2019030000A (en) Electronic apparatus, program, and control method
WO2014059803A1 (en) Communication processing method and device
WO2015101016A1 (en) Portable terminal and incoming call answering method
CN103841256A (en) Function control method and electronic equipment
CN105446684B (en) Processing method, device and the mobile terminal of information
CN112381545A (en) Identity authentication method, device, equipment and storage medium
JP2017049720A (en) Information processing device, electronic apparatus including information processing device control method of information processing device, and program
CN104735266A (en) Method for implementing specific mobile phone functions through one-hand operation
CN106850985B (en) Control method, device and the mobile terminal of mobile terminal sensor

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

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

Country of ref document: EP

Kind code of ref document: A1