WO2018157363A1 - 一种屏幕的切换方法和终端 - Google Patents

一种屏幕的切换方法和终端 Download PDF

Info

Publication number
WO2018157363A1
WO2018157363A1 PCT/CN2017/075493 CN2017075493W WO2018157363A1 WO 2018157363 A1 WO2018157363 A1 WO 2018157363A1 CN 2017075493 W CN2017075493 W CN 2017075493W WO 2018157363 A1 WO2018157363 A1 WO 2018157363A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
rear camera
electronic ink
terminal
distance
Prior art date
Application number
PCT/CN2017/075493
Other languages
English (en)
French (fr)
Inventor
廖建强
Original Assignee
廖建强
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 廖建强 filed Critical 廖建强
Priority to PCT/CN2017/075493 priority Critical patent/WO2018157363A1/zh
Publication of WO2018157363A1 publication Critical patent/WO2018157363A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets

Definitions

  • the present invention relates to the field of computers, and in particular, to a method and a terminal for switching a screen.
  • the mobile phone is provided with two display screens, a main screen and an electronic ink screen, and the main screen is set at On the front of the phone, the main screen is an existing color display, such as an LED display or an LCD display; the electronic ink screen is placed on the back of the phone.
  • the frequency of use of the main screen is significantly higher than that of the electronic ink screen.
  • a technical problem to be solved by the embodiments of the present invention is to provide a screen switching method and a terminal.
  • the electronic ink screen can be automatically activated according to certain conditions, and the operation is simple and convenient for the user to use.
  • an embodiment of the present invention provides a method for switching a screen, including:
  • the terminal is configured with a main screen and an electronic ink screen.
  • the main screen is disposed on the front side of the terminal, and the electronic ink screen is disposed on the back side of the terminal.
  • the terminal is configured with a front camera and a rear camera.
  • the terminal detects that the main screen is flipped, in order to further confirm whether the user is In the face of the electronic ink screen, the terminal opens the rear camera, and the terminal collects the image through the rear camera, and identifies whether there is a human face in the collected image through the preset face reference image. If yes, the electronic ink screen faces the face.
  • the terminal needs to turn on the distance sensor to further measure the distance from the object to be tested, if the measured distance When the value is less than the preset value, the electronic ink screen is illuminated. If the terminal is provided with a fingerprint password, the terminal automatically illuminates the electronic ink screen after verifying that the fingerprint password is correct, and the terminal can display the content displayed on the current main screen on the electronic ink screen.
  • the customized content can be displayed, which is not limited in this embodiment.
  • the terminal detects that the main screen is flipped and the image captured by the rear camera includes a human face and the measured distance is less than a preset value
  • the user indicates that the user has the need to use the electronic ink screen
  • the terminal automatically turns on the electronic ink.
  • the water screen avoids the user's manual and complicated operation to open, and the operation is simple and convenient for the user to use.
  • the terminal when the terminal detects that the flip angle of the plane where the main screen is located is greater than the preset angle by using the gravity sensor, determining that the main screen is flipped, and the terminal turns on the rear camera, wherein the posture of the main screen before the flipping No restrictions.
  • the preset camera is delayed and then the rear camera is turned on, and the rear camera periodically collects multiple images
  • the collection period is not limited. It can be set as needed. Since the electronic ink screen is flipped to face the user for a certain period of time, it is collected after the delay is preset, so as to avoid collecting unnecessary images.
  • the terminal turns off the main screen after the electronic ink screen is turned on.
  • the front camera is turned on, and at least one image is collected by the front camera to identify whether the captured image includes a human face. If yes, the distance sensor is turned on. The distance between the distance sensor and the object to be tested, if the distance is less than the preset distance, the main screen is turned on and the electronic ink screen is turned off, so that the main screen is automatically turned on, which is convenient for the user to use.
  • the terminal after the terminal starts the electronic ink screen, the e-book application is started, and the main interface of the e-book application is displayed on the electronic ink screen, and if the terminal stores the user's last reading record.
  • the terminal reads the reading record, obtains the associated e-book and reading position according to the reading record, and displays the e-book on the electronic ink screen according to the reading position, so that the user can easily read the e-book.
  • the terminal acquires the content currently displayed on the main screen, and displays the content on the electronic ink screen.
  • the second aspect further provides a terminal, including: a first opening module, an identification module, a second opening module, and a starting module.
  • a first opening module configured to detect a rear camera when the main screen is flipped
  • An identification module configured to collect an image by using the rear camera, and identify whether the image includes a human face
  • a second opening module configured to: if the recognition result of the identification module is yes, turn on the distance sensor;
  • the startup module is configured to measure a distance between the object to be tested by the distance sensor, and if the distance is less than a preset value, turn on the electronic ink screen.
  • the terminal includes, in detecting an image that the main screen is flipped and the rear camera collects, When the face and the measured distance are less than the preset value, it indicates that the user has the need to use the electronic ink screen, and the terminal automatically turns on the electronic ink screen to avoid the user's manual complicated operation to open, and the operation is simple and convenient for the user to use.
  • the first opening module is configured to:
  • the gravity sensor detects that the flip angle of the plane where the main screen is located is greater than the preset angle, it is determined that the flipping action occurs, and the rear camera is turned on.
  • the identifying module is configured to:
  • the method further includes:
  • the module is closed to close the main screen.
  • the opening module is configured to:
  • An e-book application is launched to display a main interface of the e-book application on the electronic ink screen.
  • FIG. 1 is a schematic flow chart of a method for switching a screen according to the present invention
  • FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 3 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for switching a screen according to an embodiment of the present invention.
  • the method includes:
  • the terminal is configured with a main screen and an electronic ink screen, the main screen is disposed on the front side of the terminal, and the electronic ink screen is disposed on the back side of the terminal, and the terminal is configured with a front camera and a rear camera.
  • the terminal detects that the main screen is flipped, the Confirm that the user is facing the electronic ink screen, and the terminal turns on the rear camera.
  • S102 Acquire an image through the rear camera, and identify whether a face is included in the image.
  • the terminal collects an image through the rear camera, and identifies whether there is a human face in the collected image by using a preset face reference image. If the recognition result is yes, executing S103.
  • the recognition result of S102 is YES, it indicates that the electronic ink screen faces the user at this time, and then even if the electronic ink screen faces the user, if the distance is too far, it indicates that the user does not need to use the electronic ink screen, so the terminal
  • the distance sensor needs to be turned on to further measure the distance from the object to be tested.
  • the electronic ink screen is illuminated. If the terminal is provided with a fingerprint password, the terminal automatically lights up the electronic ink screen after verifying that the fingerprint password is correct, and the terminal can display on the electronic ink screen.
  • the content displayed on the current main screen can also display the customized content, which is not limited in this embodiment.
  • the terminal When the terminal detects that the main screen is flipped and the image captured by the rear camera includes a human face and the measured distance is less than a preset value, the terminal indicates that the user has the need to use the electronic ink screen, and the terminal automatically turns on the electronic ink screen. It avoids the user's manual and complicated operation to open, and the operation is simple and convenient for users to use.
  • turning on the rear camera when detecting that the main screen has a flipping action, turning on the rear camera includes:
  • the gravity sensor detects that the flip angle of the plane where the main screen is located is greater than the preset angle, it is determined that the flipping action occurs, and the rear camera is turned on.
  • the terminal detects that the flip angle of the plane where the main screen is located is greater than the preset angle by using the gravity sensor, determining that the main screen is flipped, and the terminal turns on the rear camera, wherein the main screen is flipped before
  • the posture is not limited.
  • the acquiring an image by using a rear camera includes:
  • the preset camera is delayed and then the rear camera is turned on, and the rear camera is periodically collected by the rear camera.
  • the collection period is not limited, and may be set as needed, due to the electronic
  • the ink screen flips to face the user for a certain period of time, and then collects after the delay is preset for a long time to avoid collecting unnecessary images.
  • the method for switching the screen further includes:
  • the terminal closes the main screen.
  • the front camera is turned on, and at least one image is collected by the front camera to identify whether the captured image includes a human face. If yes, the distance sensor is turned on. The distance between the distance sensor and the object to be tested, if the distance is less than the preset distance, the main screen is turned on and the electronic ink screen is turned off, so that the main screen is automatically turned on, which is convenient for the user to use.
  • the opening the electronic ink screen comprises:
  • An e-book application is launched to display a main interface of the e-book application on the electronic ink screen.
  • the terminal starts the electronic ink screen
  • the e-book application is started, and the main interface of the e-book application is displayed on the electronic ink screen. If the terminal stores the user's last reading record, the terminal reads the reading record, according to the reading. Recording and obtaining the associated e-book and reading position, and displaying the e-book on the electronic ink screen according to the reading position, so that the user can easily read the e-book.
  • the terminal acquires the content currently displayed on the main screen, and displays the content on the electronic ink screen.
  • FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention is used to perform a method for switching a screen in FIG. 1 , and the related terms and processes may refer to the embodiment in FIG. 1 . description of.
  • the terminal 2 includes a first opening module 201, an identification module 202, a second opening module 203, and a startup module 204.
  • the first opening module 201 is configured to: when detecting that the main screen is flipped, turn on the rear camera.
  • the identification module 202 is configured to collect an image by using the rear camera to identify whether a face is included in the image.
  • the second opening module 203 is configured to enable the distance sensor if the recognition result of the identification module is YES.
  • the startup module 204 is configured to measure a distance between the object to be tested by the distance sensor, and if the distance is less than a preset value, turn on the electronic ink screen.
  • the terminal when the terminal detects that the main screen is flipped and the image captured by the rear camera includes a human face and the measured distance is less than a preset value, it indicates that the user has the need to use the electronic ink screen, and the terminal automatically turns on the electronic ink screen to avoid The user manually opens the complicated operation, and the operation is simple and convenient for the user to use.
  • the first opening module is configured to:
  • the gravity sensor detects that the flip angle of the plane where the main screen is located is greater than the preset angle, it is determined that the flipping action occurs, and the rear camera is turned on.
  • the identification module is configured to:
  • the method further includes:
  • the module is closed to close the main screen.
  • the opening module is used to:
  • An e-book application is launched to display a main interface of the e-book application on the electronic ink screen.
  • FIG. 3 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 3 includes a gravity sensor, a rear camera, a distance sensor, a processor 301, a memory 302, and a transceiver 303.
  • the gravity sensor, rear camera and distance sensor are not shown in Figure 3.
  • the transceiver 303 is configured to transmit and receive data with and from an external device.
  • the number of processors 301 in the terminal 3 may be one or more.
  • processor 301, memory 302, and transceiver 303 may be connected by a bus system or other means.
  • Terminal 3 can be used to perform the method shown in FIG.
  • the program code is stored in the memory 302.
  • the processor 301 is configured to call the memory 302. Stored program code to do the following:
  • the rear camera When detecting that the main screen has a flipping action, the rear camera is turned on;
  • the distance between the object to be measured is measured by the distance sensor, and if the distance is less than a preset value, the electronic ink screen is turned on.
  • the opening the rear camera includes:
  • the gravity sensor detects that the flip angle of the plane where the main screen is located is greater than the preset angle, it is determined that the flipping action occurs, and the rear camera is turned on.
  • the executing, by the processor 301, the acquiring an image by using the rear camera includes:
  • the processor 301 is further configured to:
  • the performing, by the processor 301, the opening the electronic ink screen comprises:
  • An e-book application is launched to display a main interface of the e-book application on the electronic ink screen.
  • the terminal provided by the embodiment of the present invention includes but is not limited to piggybacking Or terminals of other operating systems, such as mobile phones.
  • Other terminals may also be used, such as a laptop or tablet or desktop computer with a touch-sensitive surface (eg, a touch screen display and/or a touch pad).
  • a terminal including a display and a touch-sensitive surface is described. It should be understood, however, that the terminal can include one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.
  • Terminals typically support a variety of applications, such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
  • applications such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
  • the various applications that can be executed on the terminal can use at least one shared physical user interface device, such as a touch-sensitive surface.
  • One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed from one application to the next and/or adjusted and/or varied within the respective application.
  • the shared physical architecture of the terminal such as a touch-sensitive surface, can support a variety of applications with a user interface that is intuitive to the user.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种屏幕的切换方法,包括:检测到主屏发生翻转动作时,开启后置摄像头;通过所述后置摄像头采集图像,以及识别所述图像中是否包括人脸;若为是,开启距离传感器;通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。本发明实施例还公开了一种终端。采用本发明,能自动实现电子墨水屏的切换,方便用户使用。

Description

一种屏幕的切换方法和终端 技术领域
本发明涉及计算机领域,尤其涉及一种屏幕的切换方法和终端。
背景技术
电子墨水屏由于具有和纸张媲美的的显示效果和优良的省电性能,越来越多的应用在手机等终端上,手机设置有两个显示屏,一个主屏和一个电子墨水屏,主屏设置在手机的正面,主屏为现有的彩色显示屏,例如LED显示屏或LCD显示屏;电子墨水屏幕设置在手机的背面。在目前的使用场景中,主屏的使用频率明显高于电子墨水屏,当用户在使用主屏时,需要切换到电子墨水屏的过程为:对主屏进行锁屏,然后用户开启电子墨水屏,对电子墨水屏进行解锁后才能正常使用,这种屏幕的切换方法操作过于繁琐。
发明内容
本发明实施例所要解决的技术问题在于,提供一种屏幕的切换方法和终端。能够根据一定的条件自动启动电子墨水屏,操作简单,便于用户使用。
第一方面,本发明实施例提供了一种屏幕的切换方法,包括:
终端配置有主屏和电子墨水屏,主屏设置在终端的正面,电子墨水屏设置在终端的背面,同时终端配置有前置摄像头和后置摄像头,终端检测到主屏发生翻转时,为了进一步确认用户是否面对电子墨水屏,终端开启后置摄像头,终端通过后置摄像头采集图像,通过预设的人脸参考图像,识别采集的图像中是否存在人脸,若为是,表明电子墨水屏此时面向用户,然后即使电子墨水屏面向用户,如果距离过远的话,表明用户并没有使用电子墨水屏幕的需求,因此终端需要开启距离传感器,进一步测量与待测物体之间的距离,若测量到的距离小于预设值时,点亮电子墨水屏,如果终端设置有指纹密码,终端在验证指纹密码正确后,自动点亮电子墨水屏,终端可以在电子墨水屏幕上显示当前主屏上显示的内容,也可以显示自定义的内容,本实施例不作限制。上述实施例,终端在检测到主屏发生翻转、后置摄像头采集的图像中包括人脸且测量的距离小于预设值时,表明用户有使用电子墨水屏的需求,终端自动开启电子墨 水屏,避免用户手动复杂的操作去开启,操作简单,便于用户使用。
在本方面的一种可能的实施方式中,终端通过重力传感器检测主屏所在的平面的翻转角度大于预设角度时,确定主屏发生翻转动作,终端开启后置摄像头,其中,主屏在翻转之前的姿态不作限制。
在本方面的一种可能的实施方式中,终端确定主屏发生翻转动作时,延时预设时长后再开启后置摄像头,通过后置摄像头周期性采集多种图像,采集的周期本申请不作限制,可以根据需要进行设置,由于电子墨水屏翻转到面对用户需要一定时长,在延时预设时长后再进行采集,避免采集到无用的图像。
在本方面的一种可能的实施方式中,终端在开启电子墨水屏后,关闭主屏。需要说明的时,终端检测到电子墨水屏发生翻转动作时,开启前置摄像头,通过前置摄像头采集至少一个图像,识别采集到的图像中是否包括人脸,若为是,开启距离传感器,通过距离传感器测量与待测物体之间的距离,若距离小于预设距离,开启主屏并关闭电子墨水屏,这样实现主屏的自动开启,便于用户使用。
在本方面的一种可能的实施方式中,终端启动电子墨水屏幕后,启动电子书应用程序,在电子墨水屏上显示电子书应用程序的主界面,如果终端存储有用户的上次的阅读记录,终端读取阅读记录,根据阅读记录获取关联的电子书和阅读位置,根据阅读位置在电子墨水屏上显示电子书,这样方便用户阅读电子书。可选的,终端启动电子墨水屏幕后,终端获取主屏上当前显示的内容,在电子墨水屏上显示该内容。
相应地,第二方面还提供了一种终端,包括:第一开启模块、识别模块、第二开启模块和启动模块。
第一开启模块,用于检测到主屏发生翻转动作时,开启后置摄像头;
识别模块,用于通过所述后置摄像头采集图像,识别所述图像中是否包括人脸;
第二开启模块,用于若所述识别模块的识别结果为是,开启距离传感器;
启动模块,用于通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。
上述实施例,终端在检测到主屏发生翻转、后置摄像头采集的图像中包括 人脸且测量的距离小于预设值时,表明用户有使用电子墨水屏的需求,终端自动开启电子墨水屏,避免用户手动复杂的操作去开启,操作简单,便于用户使用。
在本方面的一种可能的实施方式中,所述第一开启模块用于:
通过重力传感器检测到主屏所在的平面的翻转角度大于预设角度时,确定发生翻转动作,开启后置摄像头。
在本方面的一种可能的实施方式中,所述识别模块用于:
延时预设时长后,通过后置摄像头周期性的采集多张图像。
在本方面的一种可能的实施方式中,还包括:
关闭模块,用于关闭所述主屏。
在本方面的一种可能的实施方式中,所述开启模块用于:
启动电子书应用程序,在所述电子墨水屏上显示所述电子书应用程序的主界面。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明的一种屏幕的切换方法的流程示意图;
图2是本发明实施例提供的一种终端的结构示意图;
图3是本发明实施例提供的一种终端的另一结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参见图1,图1是本发明实施例提供的一种屏幕的切换方法的流程示意图, 在本发明实施例中,所述方法包括:
S101、检测到主屏发生翻转动作时,开启后置摄像头。
具体的,终端配置有主屏和电子墨水屏,主屏设置在终端的正面,电子墨水屏设置在终端的背面,同时终端配置有前置摄像头和后置摄像头,终端检测到主屏发生翻转时,为了进一步确认用户是否面对电子墨水屏,终端开启后置摄像头。
S102、通过所述后置摄像头采集图像,以及识别所述图像中是否包括人脸。
具体的,终端通过后置摄像头采集图像,通过预设的人脸参考图像,识别采集的图像中是否存在人脸,若识别结果为是,执行S103。
S103、若为是,开启距离传感器。
具体的,在S102的识别结果为是的情况下,表明电子墨水屏此时面向用户,然后即使电子墨水屏面向用户,如果距离过远的话,表明用户并没有使用电子墨水屏幕的需求,因此终端需要开启距离传感器,进一步测量与待测物体之间的距离。
S104、通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。
具体的,若测量到的距离小于预设值时,点亮电子墨水屏,如果终端设置有指纹密码,终端在验证指纹密码正确后,自动点亮电子墨水屏,终端可以在电子墨水屏幕上显示当前主屏上显示的内容,也可以显示自定义的内容,本实施例不作限制。
实施上述实施例,终端在检测到主屏发生翻转、后置摄像头采集的图像中包括人脸且测量的距离小于预设值时,表明用户有使用电子墨水屏的需求,终端自动开启电子墨水屏,避免用户手动复杂的操作去开启,操作简单,便于用户使用。
在本申请的一种可能的实施方式中所述检测到主屏发生翻转动作时,开启后置摄像头包括:
通过重力传感器检测到主屏所在的平面的翻转角度大于预设角度时,确定发生翻转动作,开启后置摄像头。
具体的,终端通过重力传感器检测主屏所在的平面的翻转角度大于预设角度时,确定主屏发生翻转动作,终端开启后置摄像头,其中,主屏在翻转之前 的姿态不作限制。
在本申请的一种可能的实施方式中,所述通过后置摄像头采集图像包括:
延时预设时长后,通过后置摄像头周期性的采集多张图像。
具体的,终端确定主屏发生翻转动作时,延时预设时长后再开启后置摄像头,通过后置摄像头周期性采集多种图像,采集的周期本申请不作限制,可以根据需要进行设置,由于电子墨水屏翻转到面对用户需要一定时长,在延时预设时长后再进行采集,避免采集到无用的图像。
在本申请的一种可能的实施方式中,屏幕的切换方法还包括:
关闭所述主屏。
具体的,终端在开启电子墨水屏后,关闭主屏。需要说明的时,终端检测到电子墨水屏发生翻转动作时,开启前置摄像头,通过前置摄像头采集至少一个图像,识别采集到的图像中是否包括人脸,若为是,开启距离传感器,通过距离传感器测量与待测物体之间的距离,若距离小于预设距离,开启主屏并关闭电子墨水屏,这样实现主屏的自动开启,便于用户使用。
在本申请的一种可能的实施方式中,所述开启所述电子墨水屏包括:
启动电子书应用程序,在所述电子墨水屏上显示所述电子书应用程序的主界面。
具体的,终端启动电子墨水屏幕后,启动电子书应用程序,在电子墨水屏上显示电子书应用程序的主界面,如果终端存储有用户的上次的阅读记录,终端读取阅读记录,根据阅读记录获取关联的电子书和阅读位置,根据阅读位置在电子墨水屏上显示电子书,这样方便用户阅读电子书。可选的,终端启动电子墨水屏幕后,终端获取主屏上当前显示的内容,在电子墨水屏上显示该内容。
参见图2,为本发明实施例提供的一种终端的结构示意图,本发明实施例的终端用于执行图1中的一种屏幕的切换方法,所涉及的术语和过程可参照图1实施例的描述。终端2包括:第一开启模块201、识别模块202、第二开启模块203和启动模块204。
第一开启模块201,用于检测到主屏发生翻转动作时,开启后置摄像头。
识别模块202,用于通过所述后置摄像头采集图像,识别所述图像中是否包括人脸。
第二开启模块203,用于若所述识别模块的识别结果为是,开启距离传感器。
启动模块204,用于通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。
上述实施例,终端在检测到主屏发生翻转、后置摄像头采集的图像中包括人脸且测量的距离小于预设值时,表明用户有使用电子墨水屏的需求,终端自动开启电子墨水屏,避免用户手动复杂的操作去开启,操作简单,便于用户使用。
在一种可能的实施方式中,所述第一开启模块用于:
通过重力传感器检测到主屏所在的平面的翻转角度大于预设角度时,确定发生翻转动作,开启后置摄像头。
在一种可能的实施方式中,所述识别模块用于:
延时预设时长后,通过后置摄像头周期性的采集多张图像。
在本方面的一种可能的实施方式中,还包括:
关闭模块,用于关闭所述主屏。
在一种可能的实施方式中,所述开启模块用于:
启动电子书应用程序,在所述电子墨水屏上显示所述电子书应用程序的主界面。
本发明实施例和方法实施例一基于同一构思,其带来的技术效果也相同,具体过程可参照方法实施例一的描述,此处不再赘述。
参见图3,为本发明实施例提供的一种终端的另一结构示意图,在本发明实施例中,终端3包括重力传感器、后置摄像头、距离传感器、处理器301、存储器302和收发器303、重力传感器、后置摄像头和距离传感器图3中未画出。收发器303用于与外部设备之间收发数据。终端3中的处理器301的数量可以是一个或多个。本发明的一些实施例中,处理器301、存储器302和收发器303可通过总线***或其他方式连接。终端3可以用于执行图1所示的方法。关于本实施例涉及的术语的含义以及举例,可以参考图1对应的实施例。此处不再赘述。
其中,存储器302中存储程序代码。处理器301用于调用存储器302中存 储的程序代码,用于执行以下操作:
检测到主屏发生翻转动作时,开启后置摄像头;
通过所述后置摄像头采集图像,以及识别所述图像中是否包括人脸;
若为是,开启距离传感器;
通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。
可选的,处理器301执行所述检测到主屏发生翻转动作时,开启后置摄像头包括:
通过重力传感器检测到主屏所在的平面的翻转角度大于预设角度时,确定发生翻转动作,开启后置摄像头。
可选的,处理器301执行所述通过后置摄像头采集图像包括:
延时预设时长后,通过后置摄像头周期性的采集多张图像。
可选的,处理器301还用于执行:
关闭所述主屏。
可选的,处理器301执行所述开启所述电子墨水屏包括:
启动电子书应用程序,在所述电子墨水屏上显示所述电子书应用程序的主界面。
本发明实施例提供的终端包括但不限于搭载
Figure PCTCN2017075493-appb-000001
或者其它操作***的终端,诸如移动电话。也可以是其它终端,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。
在下面的讨论中,介绍了一种包括显示器和触敏表面的终端。然而应当理解,终端可以包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操作杆。
终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。
可在终端上执行的各种应用程序可使用至少一个共用的物理用户接口设备,诸如触敏表面。触敏表面的一种或多种功能以及显示在终端上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,终端的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (10)

  1. 一种屏幕的切换方法,其特征在于,包括:
    检测到主屏发生翻转动作时,开启后置摄像头;
    通过所述后置摄像头采集图像,以及识别所述图像中是否包括人脸;
    若为是,开启距离传感器;
    通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。
  2. 如权利要求1所述的方法,其特征在于,所述检测到主屏发生翻转动作时,开启后置摄像头包括:
    通过重力传感器检测到主屏所在的平面的翻转角度大于预设角度时,确定发生翻转动作,开启后置摄像头。
  3. 如权利要求1所述的方法,其特征在于,所述通过后置摄像头采集图像包括:
    延时预设时长后,通过后置摄像头周期性的采集多张图像。
  4. 如权利要求1所述的方法,其特征在于,还包括:
    关闭所述主屏。
  5. 如权利要求1所述的方法,其特征在于,所述开启所述电子墨水屏包括:
    启动电子书应用程序,在所述电子墨水屏上显示所述电子书应用程序的主界面。
  6. 一种终端,其特征在于,包括:
    第一开启模块,用于检测到主屏发生翻转动作时,开启后置摄像头;
    识别模块,用于通过所述后置摄像头采集图像,识别所述图像中是否包括 人脸;
    第二开启模块,用于若所述识别模块的识别结果为是,开启距离传感器;
    启动模块,用于通过所述距离传感器测量与待测物体之间的距离,若所述距离小于预设值,开启电子墨水屏。
  7. 如权利要求6所述的终端,其特征在于,所述第一开启模块用于:
    通过重力传感器检测到主屏所在的平面的翻转角度大于预设角度时,确定发生翻转动作,开启后置摄像头。
  8. 如权利要求6所述的终端,其特征在于,所述识别模块用于:
    延时预设时长后,通过后置摄像头周期性的采集多张图像。
  9. 如权利要求6所述的终端,其特征在于,还包括:
    关闭模块,用于关闭所述主屏。
  10. 如权利要求6所述的终端,其特征在于,所述开启模块用于:
    启动电子书应用程序,在所述电子墨水屏上显示所述电子书应用程序的主界面。
PCT/CN2017/075493 2017-03-02 2017-03-02 一种屏幕的切换方法和终端 WO2018157363A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/075493 WO2018157363A1 (zh) 2017-03-02 2017-03-02 一种屏幕的切换方法和终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/075493 WO2018157363A1 (zh) 2017-03-02 2017-03-02 一种屏幕的切换方法和终端

Publications (1)

Publication Number Publication Date
WO2018157363A1 true WO2018157363A1 (zh) 2018-09-07

Family

ID=63369806

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075493 WO2018157363A1 (zh) 2017-03-02 2017-03-02 一种屏幕的切换方法和终端

Country Status (1)

Country Link
WO (1) WO2018157363A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375628A (zh) * 2013-08-16 2015-02-25 联想(北京)有限公司 一种信息处理方法及电子设备
CN105939425A (zh) * 2016-06-30 2016-09-14 努比亚技术有限公司 一种屏幕动态监控装置及方法
CN106101309A (zh) * 2016-06-29 2016-11-09 努比亚技术有限公司 一种双面屏幕切换装置及方法、移动终端
CN106095312A (zh) * 2016-06-08 2016-11-09 努比亚技术有限公司 一种屏幕解锁方法和装置
CN106210328A (zh) * 2016-07-19 2016-12-07 努比亚技术有限公司 信息显示装置及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375628A (zh) * 2013-08-16 2015-02-25 联想(北京)有限公司 一种信息处理方法及电子设备
CN106095312A (zh) * 2016-06-08 2016-11-09 努比亚技术有限公司 一种屏幕解锁方法和装置
CN106101309A (zh) * 2016-06-29 2016-11-09 努比亚技术有限公司 一种双面屏幕切换装置及方法、移动终端
CN105939425A (zh) * 2016-06-30 2016-09-14 努比亚技术有限公司 一种屏幕动态监控装置及方法
CN106210328A (zh) * 2016-07-19 2016-12-07 努比亚技术有限公司 信息显示装置及方法

Similar Documents

Publication Publication Date Title
EP3547218B1 (en) File processing device and method, and graphical user interface
CN107172345B (zh) 一种图像处理方法及终端
CN106454139B (zh) 拍照方法及移动终端
US9286895B2 (en) Method and apparatus for processing multiple inputs
CN106575361B (zh) 提供视觉声像的方法和实现该方法的电子设备
US20150149925A1 (en) Emoticon generation using user images and gestures
EP3388932B1 (en) Flexible display of electronic device and method for operating same
KR20160103398A (ko) 이미지의 품질 측정 방법 및 장치
KR20130102848A (ko) 얼굴의 기울기를 측정하여 화면을 회전시키는 전자 장치 및 방법
US9129150B2 (en) Electronic apparatus and display control method
CN110209263B (zh) 信息处理方法、信息处理设备及设备可读存储介质
WO2018184260A1 (zh) 文档图像的校正方法及装置
TW201905760A (zh) 全景影像的顯示方法及其電子裝置
CN108769419B (zh) 拍照方法、移动终端及计算机可读存储介质
WO2017140108A1 (zh) 压力检测方法和装置
US20160179758A1 (en) Handwriting preview window
US20140009385A1 (en) Method and system for rotating display image
CN110166696B (zh) 拍摄方法、装置、终端设备以及计算机可读存储介质
US11551452B2 (en) Apparatus and method for associating images from two image streams
WO2018205392A1 (zh) 控制响应区域显示控制方法、电子装置及存储介质
WO2018157363A1 (zh) 一种屏幕的切换方法和终端
CN110688035B (zh) 相册处理方法、相册处理装置及移动终端
CN108021648B (zh) 一种搜题的方法、装置及智能终端
CN109242763B (zh) 图片处理方法、图片处理装置、终端设备
CN113282220A (zh) 防误触方法、确定防误触区域的方法及移动终端

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

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

Country of ref document: EP

Kind code of ref document: A1