[go: up one dir, main page]

CN112751954B - Operation prompting method and electronic equipment - Google Patents

Operation prompting method and electronic equipment Download PDF

Info

Publication number
CN112751954B
CN112751954B CN201911056861.0A CN201911056861A CN112751954B CN 112751954 B CN112751954 B CN 112751954B CN 201911056861 A CN201911056861 A CN 201911056861A CN 112751954 B CN112751954 B CN 112751954B
Authority
CN
China
Prior art keywords
screen
fingerprint
display
touch
mobile phone
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201911056861.0A
Other languages
Chinese (zh)
Other versions
CN112751954A (en
Inventor
李展
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911056861.0A priority Critical patent/CN112751954B/en
Priority to PCT/CN2020/105380 priority patent/WO2021082564A1/en
Publication of CN112751954A publication Critical patent/CN112751954A/en
Application granted granted Critical
Publication of CN112751954B publication Critical patent/CN112751954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for operation prompt and electronic equipment are provided, the method is applied to the electronic equipment with a foldable touch screen, the foldable touch screen comprises a first screen and a second screen, an included angle between the first screen and the second screen is smaller than a preset included angle, in the method, the electronic equipment detects a first operation on a display touch area on the first screen; and responding to the first operation, displaying a prompt identifier at a corresponding position of the second screen according to a position mapping relation, wherein the display position of the prompt identifier on the second screen is associated with the touch position of the first operation, and the position mapping relation is determined according to the display touch areas of the first screen and the second screen. In the embodiment of the application, the first screen is used as the auxiliary screen, the second screen is used as the main screen as an example, the user performs first operation on the display touch area of the auxiliary screen, and the prompt mark can be displayed at the corresponding position of the main screen according to the position mapping relation, so that the operation acting on the auxiliary screen is prompted on the main screen, and misoperation is prevented.

Description

一种操作提示的方法和电子设备A method and electronic device for operating prompts

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种操作提示的方法和电子设备。The present invention relates to the technical field of terminals, and in particular, to an operation prompting method and electronic device.

背景技术Background technique

目前各种常见的电子设备,比如手机、平板电脑等,为了给用户更好的使用体验,屏幕越来越大,给用户提供更丰富的信息,可以提高人机交流的效率。但是,这类电子设备的屏幕太大也会影响其便携性能,而折叠式电子设备由于可以在展开时给用户大屏体验,也可以在折叠时满足便携需求,从而开始推广使用。At present, various common electronic devices, such as mobile phones, tablet computers, etc., have larger and larger screens in order to provide users with a better user experience, providing users with richer information, which can improve the efficiency of human-computer communication. However, the large screen of such electronic devices will also affect their portability, and foldable electronic devices have begun to be popularized because they can give users a large-screen experience when unfolded, and can also meet portable needs when folded.

折叠式电子设备在折叠时,面向用户的显示屏称为主屏,折叠在电子设备背部的显示屏称为副屏,用户可以看到主屏上显示的内容,而看不到副屏。而折叠式电子设备在折叠后,用户只能用手指直接对主屏进行操作,以实现打开主屏上的应用或控件等,在有些场景下,比如单手握持时,用户希望可以通过对副屏进行操作以实现在主屏显示相应的操作结果,由于用户看不到手机的副屏,所以在用户对副屏进行操作时,用户并不能看到操作位置是否是想要操作的位置,可能会产生误操作,从而影响用户体验。When the foldable electronic device is folded, the display screen facing the user is called the main screen, and the display screen folded on the back of the electronic device is called the secondary screen. The user can see the content displayed on the main screen, but not the secondary screen. After the foldable electronic device is folded, the user can only directly operate the main screen with fingers to open applications or controls on the main screen. Perform operations to display the corresponding operation results on the main screen. Since the user cannot see the secondary screen of the mobile phone, when the user operates the secondary screen, the user cannot see whether the operation position is the desired operation position, which may occur. misoperation, thus affecting the user experience.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种操作提示的方法和电子设备,以实现在主屏对作用在副屏上的操作进行提示,防止误操作。Embodiments of the present application provide an operation prompting method and electronic device, so as to implement prompting on the main screen for operations acting on the secondary screen, thereby preventing misoperation.

第一方面,本申请实施例提供了一种操作提示的方法,应用于具有可折叠触摸屏的电子设备,可折叠触摸屏包括第一屏和第二屏,第一屏与第二屏之间的夹角小于预设夹角,在该方法中,电子设备检测到对第一屏上的显示触摸区域的第一操作;响应于第一操作,根据位置映射关系,在第二屏对应位置显示提示标识,其中,提示标识在第二屏的显示位置与第一操作的触摸位置关联,位置映射关系根据第一屏与第二屏的显示触摸区域确定。In a first aspect, an embodiment of the present application provides an operation prompting method, which is applied to an electronic device with a foldable touch screen. The foldable touch screen includes a first screen and a second screen, and a clip between the first screen and the second screen is The angle is smaller than the preset angle, and in this method, the electronic device detects a first operation on the display touch area on the first screen; in response to the first operation, according to the position mapping relationship, a prompt sign is displayed at the corresponding position on the second screen , wherein the display position of the prompting mark on the second screen is associated with the touch position of the first operation, and the position mapping relationship is determined according to the display touch areas of the first screen and the second screen.

本申请实施例中,电子设备中的第一屏的显示触摸区域与第二屏的显示触摸区域之间存在位置映射关系,这样用户对第一屏的显示触摸区域进行第一操作时,该第一操作在显示触摸区域中的操作位置,可以映射到第二屏上的显示触摸区域中,从而在第二屏中与该第一操作存在位置映射关系的位置显示提示标识,以第一屏为副屏,第二屏为主屏为例,在副屏上进行操作,就可以实现在主屏上对作用在副屏上的操作进行提示,防止误操作。In the embodiment of the present application, there is a position mapping relationship between the display touch area of the first screen and the display touch area of the second screen in the electronic device, so that when the user performs a first operation on the display touch area of the first screen, the The operation position of an operation in the display touch area can be mapped to the display touch area on the second screen, so that a prompt sign is displayed in the position that has a positional mapping relationship with the first operation in the second screen, and the first screen is Take the secondary screen and the second screen as the main screen as an example, by performing operations on the secondary screen, the main screen can prompt the operations acting on the secondary screen to prevent misoperation.

在一种可能的设计中,第一屏的显示触摸区域的面积小于或等于第二屏的显示触摸区域的面积。这样用户手指只需要在第一屏上小面积的显示触摸区域进行操作,就可以实现对大面积的第二屏的整个显示触摸区域进行操作,便于用户操作。In a possible design, the area of the display touch area of the first screen is smaller than or equal to the area of the display touch area of the second screen. In this way, the user's finger only needs to operate on the small-area display touch area on the first screen, and the entire display touch area on the large-area second screen can be operated, which is convenient for the user to operate.

在一种可能的设计中,第一操作可以为点击操作。用户对第一屏的显示触摸区域进行点击操作,电子设备可以响应于该点击操作在第二屏的显示触摸区域显示提示标识,提示标识可以为箭头,也可以为圆圈,也可以为其它形状,此处不作限制。In a possible design, the first operation may be a click operation. The user performs a click operation on the display touch area of the first screen, and the electronic device may display a prompt sign in the display touch area of the second screen in response to the click operation. The prompt sign may be an arrow, a circle, or other shapes. There are no restrictions here.

在一种可能的设计中,第一操作可以为滑动操作,提示标识可随着手指在显示触摸区域中的滑动而在第二屏中移动。这样用户在第一屏的显示触摸区域进行滑动操作,可以在第二屏上看到提示标识的移动轨迹,从而可以实现在想要进行下一步操作的位置进行相应操作。In a possible design, the first operation may be a sliding operation, and the prompt logo may move on the second screen as the finger slides in the display touch area. In this way, the user performs a sliding operation on the display touch area of the first screen, and can see the movement track of the prompting mark on the second screen, so that the corresponding operation can be performed at the position where the next operation is desired.

在一种可能的设计中,电子设备响应于所述第一操作,根据位置映射关系,在所述第二屏显示提示标识之后,所述方法还包括:对第二屏中的提示标识所在位置的显示内容进行识别;响应于沿第一方向的滑动操作,对识别的显示内容进行放大;响应于沿第二方向的滑动操作,对识别的显示内容进行缩小。应理解,点击操作和滑动操作可以由同一手指完成,比如,用户右手的食指先进行点击操作,实现对提示标识所在位置的显示内容进行识别,再采用食指进行滑动操作。或者,点击操作和滑动操作也可以由不同手指完成,比如,用户右手的食指先进行点击操作,右手的中指进行滑动操作,当然,点击操作和滑动操作也可以是由不同手的两个手指完成。In a possible design, the electronic device responds to the first operation and, according to the location mapping relationship, after the prompt identification is displayed on the second screen, the method further includes: identifying the location of the prompt identification on the second screen The displayed content is recognized; in response to the sliding operation in the first direction, the recognized display content is enlarged; in response to the sliding operation in the second direction, the recognized display content is zoomed out. It should be understood that the clicking operation and the sliding operation can be performed by the same finger. For example, the index finger of the user's right hand first performs the clicking operation to recognize the displayed content of the location of the prompting mark, and then uses the index finger to perform the sliding operation. Alternatively, the clicking operation and the sliding operation can also be performed by different fingers. For example, the user's right index finger first performs the clicking operation, and the right middle finger performs the sliding operation. Of course, the clicking operation and the sliding operation can also be performed by two fingers of different hands. .

通过该设计,用户可以对第一屏的显示触摸区域进行点击操作和滑动操作,实现对第二屏显示的想要进一步仔细查看内容进行放大,或者,对第一屏显示的内容进行缩小。Through this design, the user can click and slide on the display touch area of the first screen, so as to enlarge the content displayed on the second screen that you want to view more carefully, or reduce the content displayed on the first screen.

在一种可能的设计中,第一操作为点击操作,点击操作在第一屏的触摸位置对应第二屏上显示的应用的位置;响应于第一操作,根据位置映射关系,在第二屏显示提示标识之后,还可以响应于点击操作,在第二屏打开应用。In a possible design, the first operation is a click operation, and the touch position of the click operation on the first screen corresponds to the position of the application displayed on the second screen; in response to the first operation, according to the position mapping relationship, on the second screen After the prompt logo is displayed, the application can also be opened on the second screen in response to the click operation.

应理解,在第一屏的显示触摸区域进行任何操作,都可以在第二屏上的显示触摸区域显示相应的操作执行结果。It should be understood that any operation performed on the display touch area on the first screen can display the corresponding operation execution result on the display touch area on the second screen.

在一种可能的设计中,第一屏上的显示触摸区域设有指纹传感器,第一操作为触摸操作;在响应于第一操作,在第二屏显示提示标识之前,还可以通过指纹传感器采集触摸操作对应的指纹,并验证指纹与指纹模板库中的指纹模板匹配。In a possible design, the display touch area on the first screen is provided with a fingerprint sensor, and the first operation is a touch operation; in response to the first operation, before the prompt logo is displayed on the second screen, the fingerprint sensor can also collect information. Touch the fingerprint corresponding to the operation and verify that the fingerprint matches the fingerprint template in the fingerprint template library.

通过该设计,满足指纹与指纹模板库中的指纹模板匹配的条件的用户才可以对第一屏的显示触摸区域进行操作,从而可以增加安全性,当然,用户可以将常用的手指的指纹录入指纹模板库中,这样也可以防止用户的其它手指误触。Through this design, users who meet the condition that the fingerprint matches the fingerprint template in the fingerprint template library can operate the display touch area of the first screen, thereby increasing the security. Of course, the user can enter the fingerprint of the commonly used finger into the fingerprint In the template library, this can also prevent the user's other fingers from accidentally touching.

在一种可能的设计中,第一屏上的显示触摸区域设有指纹传感器,第一操作为触摸操作;响应于第一操作,在第二屏显示提示标识,包括:通过指纹传感器采集触摸操作对应的指纹,并在第二屏上显示指纹。如此,用户可以在第一屏的显示触摸区域录入指纹时,看到第二屏上显示指纹录入的情况,以便采集到完整可用的指纹。In a possible design, the display touch area on the first screen is provided with a fingerprint sensor, and the first operation is a touch operation; in response to the first operation, displaying a prompt logo on the second screen includes: collecting the touch operation through the fingerprint sensor The corresponding fingerprint is displayed on the second screen. In this way, when the user enters a fingerprint in the display touch area of the first screen, the user can see that the fingerprint entry is displayed on the second screen, so as to collect a complete and usable fingerprint.

在一种可能的设计中,预设夹角小于或等于180度。这样第一屏与所述第二屏之间的夹角小于180度,也就是说,这时电子设备的可折叠触摸屏处于折叠状态,可采用对第一屏进行操作,并在第二屏进行提示的方式来防止误触。In one possible design, the preset included angle is less than or equal to 180 degrees. In this way, the angle between the first screen and the second screen is less than 180 degrees, that is to say, at this time, the foldable touch screen of the electronic device is in a folded state, and the first screen can be operated, and the second screen can be operated. Prompt way to prevent accidental touch.

第二方面,本申请实施例提供一种电子设备,包括可折叠触摸屏、处理器和存储器,所述可折叠触摸屏包括第一屏和第二屏,所述第一屏与所述第二屏之间的夹角小于预设夹角,所述存储器用于存储一个或多个计算机程序;当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得该电子设备能够实现上述第一方面以及第一方面中任一种可能的设计的方法。In a second aspect, an embodiment of the present application provides an electronic device, including a foldable touch screen, a processor, and a memory, the foldable touch screen includes a first screen and a second screen, and the first screen and the second screen are between the first screen and the second screen. The included angle between them is smaller than the preset included angle, and the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the electronic device can realize the above-mentioned The first aspect and any possible design method in the first aspect.

第三方面,本申请实施例还提供一种装置,该装置包括执行上述任一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。In a third aspect, an embodiment of the present application further provides an apparatus, where the apparatus includes a module/unit for performing any one of the possible design methods in any of the foregoing aspects. These modules/units can be implemented by hardware or by executing corresponding software by hardware.

第四方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行上述第一方面以及第一方面中任一种可能的设计的方法。In a fourth aspect, the embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is made to perform the above-mentioned first aspect and any possible design method in the first aspect.

第五方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在终端上运行时,使得所述电子设备执行上述第一方面以及第一方面中任一种可能的设计的方法。In a fifth aspect, an embodiment of the present application further provides a computer program product that, when the computer program product runs on a terminal, enables the electronic device to execute the first aspect and any possible design of the first aspect Methods.

本申请的第二方面至第五方面的有益效果请参见第一方面的相关描述,此处不再赘述。For the beneficial effects of the second aspect to the fifth aspect of the present application, please refer to the relevant description of the first aspect, which will not be repeated here.

附图说明Description of drawings

图1A为本申请实施例提供的一种手机完全展开场景示意图;FIG. 1A is a schematic diagram of a fully unfolded scene of a mobile phone according to an embodiment of the present application;

图1B为本申请实施例提供的一种手机部分折叠场景示意图;FIG. 1B is a schematic diagram of a partially folded mobile phone scene according to an embodiment of the present application;

图1C为本申请实施例提供的一种手机完全折叠场景示意图;FIG. 1C is a schematic diagram of a fully folded mobile phone scenario according to an embodiment of the present application;

图2A为本申请实施例提供的一种手机的结构示意图;2A is a schematic structural diagram of a mobile phone according to an embodiment of the application;

图2B为本申请实施例提供的一种软件结构示意图;2B is a schematic diagram of a software structure provided by an embodiment of the present application;

图2C为本申请实施例提供的另一种软件结构示意图;2C is a schematic diagram of another software structure provided by an embodiment of the present application;

图3为本申请实施例提供的一组界面示意图;3 is a schematic diagram of a group of interfaces provided by the embodiment of the present application;

图4为本申请实施例提供的另一组界面示意图;FIG. 4 is another set of interface schematic diagrams provided by the embodiment of the present application;

图5为本申请实施例提供的一种位置映射示意图;FIG. 5 is a schematic diagram of a location mapping provided by an embodiment of the present application;

图6为本申请实施例提供的另一组界面示意图;FIG. 6 is another set of interface schematic diagrams provided by an embodiment of the present application;

图7为本申请实施例提供的另一组界面示意图;FIG. 7 is another set of interface schematic diagrams provided by an embodiment of the present application;

图8为本申请实施例提供的另一组界面示意图;FIG. 8 is another set of interface schematic diagrams provided by an embodiment of the present application;

图9为本申请实施例提供的另一组界面示意图;FIG. 9 is another set of interface schematic diagrams provided by an embodiment of the present application;

图10为本申请实施例提供的一种电子设备结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.

本申请实施例中的具有可折叠触摸屏的电子设备,该电子设备可以为手机、pad、笔记本电脑等。以电子设备为手机为例,手机的可折叠触摸屏可以采用一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的显示屏。本申请实施例提供的可折叠触摸屏以包括三部分为例,如图1A、1B以及1C所示,可折叠触摸屏可包括第一屏111、第二屏112、以及连接第一屏111和第二屏113的可弯折区112。For the electronic device with a foldable touch screen in the embodiments of the present application, the electronic device may be a mobile phone, a pad, a notebook computer, or the like. Taking the electronic device as a mobile phone as an example, the foldable touch screen of the mobile phone may adopt an integrated flexible display screen, or a display screen composed of two rigid screens and a flexible screen located between the two rigid screens. The foldable touch screen provided in this embodiment of the present application includes three parts as an example. As shown in FIGS. 1A , 1B and 1C , the foldable touch screen may include a first screen 111 , a second screen 112 , and a connection between the first screen 111 and the second screen 111 . The bendable area 112 of the screen 113.

下面结合附图对手机的可折叠触摸屏处于不同状态下的形状进行说明。The shapes of the foldable touch screen of the mobile phone in different states will be described below with reference to the accompanying drawings.

图1A示出了手机在完全展开时的形状示意图。如图1A中所示,在手机展开时,手机的壳体120展开,同时,可折叠触摸屏110也展开。其中,可折叠触摸屏110可以包括第一屏111、可弯折区112以及第二屏113,在手机的可折叠触摸屏110被完全展开时,第一屏111、可弯折区112以及第二屏113连接成一个整屏幕,此时,重力传感器可以检测到第一屏111和第二屏113之间的夹角a为180°(实际的折叠角度可能无法达到180°,以实际上报的折叠角度为准)。FIG. 1A shows a schematic diagram of the shape of the mobile phone when it is fully unfolded. As shown in FIG. 1A , when the mobile phone is unfolded, the casing 120 of the mobile phone is unfolded, and at the same time, the foldable touch screen 110 is also unfolded. The foldable touch screen 110 may include a first screen 111 , a bendable area 112 and a second screen 113 . When the foldable touch screen 110 of the mobile phone is fully unfolded, the first screen 111 , the bendable area 112 and the second screen 113 is connected to form a whole screen. At this time, the gravity sensor can detect that the angle a between the first screen 111 and the second screen 113 is 180° (the actual folding angle may not reach 180°, and the actual reported folding angle prevail).

本申请实施例中,当第一屏111或者第二屏113发生旋转时,该可折叠触摸屏110可通过可弯折区112进行折叠,在手机的可折叠触摸屏被部分折叠时可参见图1B,完全折叠后的形状可参见图1C。In this embodiment of the present application, when the first screen 111 or the second screen 113 is rotated, the foldable touch screen 110 can be folded through the foldable area 112 . When the foldable touch screen of the mobile phone is partially folded, see FIG. 1B . The fully folded shape can be seen in Figure 1C.

如图1B以及1C所示,在手机折叠时,手机的壳体120也折叠;同时,可折叠触摸屏110也折叠。图1B以及1C中示例性示出了可折叠触摸屏110在手机折叠时位于外露的一侧,应理解,手机折叠时也可以是壳体120外露,而可折叠触摸屏110位于内侧。As shown in FIGS. 1B and 1C , when the mobile phone is folded, the casing 120 of the mobile phone is also folded; at the same time, the foldable touch screen 110 is also folded. 1B and 1C exemplarily show that the foldable touch screen 110 is located on the exposed side when the mobile phone is folded. It should be understood that when the mobile phone is folded, the casing 120 may also be exposed and the foldable touch screen 110 is located on the inner side.

手机的可折叠触摸屏110从完全展开到被完全折叠的过程中,第一屏111与第二屏113之间的夹角a越来越小。如图1A所示,在可折叠触摸屏110完全展开时,第一屏111与第二屏113之间的夹角为180°。如图1B所示,在手机的可折叠触摸屏110被部分折叠时,重力传感器180E可以检测到第一屏111和第二屏113之间的夹角为40°。如1C所示,在手机的可折叠触摸屏110被完全折叠时,传感器检测到第一屏111和第二屏113之间的夹角为0度(实际的折叠角度可能无法达到0°,以实际上报的折叠角度为准),此时第一屏111与第二屏113在手机折叠时位于外露的一侧,这样可以手机折叠时,可以同时对第一屏111和第二屏113进行操作。During the process from fully unfolding to being fully folded of the foldable touch screen 110 of the mobile phone, the angle a between the first screen 111 and the second screen 113 becomes smaller and smaller. As shown in FIG. 1A , when the foldable touch screen 110 is fully unfolded, the included angle between the first screen 111 and the second screen 113 is 180°. As shown in FIG. 1B , when the foldable touch screen 110 of the mobile phone is partially folded, the gravity sensor 180E can detect that the angle between the first screen 111 and the second screen 113 is 40°. As shown in 1C, when the foldable touch screen 110 of the mobile phone is completely folded, the sensor detects that the included angle between the first screen 111 and the second screen 113 is 0 degrees (the actual folding angle may not reach 0°, and the actual folding angle may not reach 0°. The reported folding angle shall prevail), at this time, the first screen 111 and the second screen 113 are located on the exposed side when the phone is folded, so that the first screen 111 and the second screen 113 can be operated simultaneously when the phone is folded.

本申请实施例中,当手机从完全展开时,第一屏111与第二屏113组成一整个屏幕,用户面向整个屏幕,当重力传感器检测到第一屏111旋转时,第二屏113面向用户称为主屏,第一屏111在背面称为副屏,手机可以响应于用户在副屏上进行操作,在主屏上的用户界面显示相应的提示标识,以便提示用户操作的位置。In the embodiment of the present application, when the mobile phone is fully unfolded, the first screen 111 and the second screen 113 form a whole screen, and the user faces the entire screen. When the gravity sensor detects that the first screen 111 is rotated, the second screen 113 faces the user. It is called the main screen, and the first screen 111 is called the secondary screen on the back. In response to the user's operation on the secondary screen, the mobile phone can display a corresponding prompt on the user interface on the main screen to prompt the user for the position of the operation.

需要说明的是,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。且在本申请实施例的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that the term "and/or" in this document is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A exists at the same time and B, there are three cases of B alone. In addition, the character "/" in this text, unless otherwise specified, generally indicates that the related objects before and after are an "or" relationship. In the description of the embodiments of the present application, words such as "first" and "second" are only used for the purpose of distinguishing and describing, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. In the description of this application, unless stated otherwise, "plurality" means two or more.

以下介绍电子设备、用于这样的电子设备的图形用户界面、和用于使用这样的电子设备的实施例。在本申请一些实施例中,电子设备可以是便携式设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便捷式终端具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的操作提示的方法)。便携式设备的示例性实施例包括但不限于搭载

Figure BDA0002256771060000041
或者其它操作系统的便携式设备。上述便携式设备也可以是其它便携式设备,只要具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的操作提示的方法)即可。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式设备,而是具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的操作提示的方法)的台式计算机。Electronic devices, graphical user interfaces for such electronic devices, and embodiments for using such electronic devices are described below. In some embodiments of the present application, the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch) with a wireless communication function, and the like. The portable terminal has a foldable touch screen and algorithm computing capability (capable of running the operation prompting method provided by the embodiment of the present application). Exemplary embodiments of portable devices include, but are not limited to, carry-on
Figure BDA0002256771060000041
Or portable devices with other operating systems. The above-mentioned portable device may also be other portable devices, as long as it has a foldable touch screen and an algorithm computing capability (which can run the method for operating prompts provided by the embodiments of the present application). It should also be understood that, in some other embodiments of the present application, the above-mentioned electronic device may not be a portable device, but a desktop with a foldable touch screen and algorithm computing capability (the method capable of running the operation prompt provided by the embodiment of the present application). computer.

结合附图,进一步说明上述电子设备的结构。The structure of the above electronic device is further described with reference to the accompanying drawings.

以电子设备是手机为例,图2A仅示出了本申请实施例提供的一种手机100的硬件结构示意图,在图2A所示的基础上,还可以有其他变型结构方式存在。如图2A所示,手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universalserial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Taking the electronic device as a mobile phone as an example, FIG. 2A only shows a schematic diagram of the hardware structure of a mobile phone 100 provided by an embodiment of the present application. On the basis of that shown in FIG. 2A , other structural modifications may also exist. As shown in FIG. 2A, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1. Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, Display screen 194, and a subscriber identification module (SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.

可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图2A中所示出的更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图2A所示的部件可以以硬件、软件、或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone 100 . In other embodiments of the present application, the mobile phone 100 may include more or less components than those shown in FIG. 2A , or combine some components, or separate some components, or different component arrangements. The components shown in Figure 2A may be implemented in hardware, software, or a combination of software and hardware.

下面对图2A示出的手机100具有的部件进行详细介绍。The components of the mobile phone 100 shown in FIG. 2A will be described in detail below.

处理器110可以包括一个或多个处理单元,例如,处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor ( image signal processor, ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors. The controller may be the nerve center and command center of the mobile phone 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用,从而可避免重复存取,可减少处理器110的等待时间,因而可提高系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be directly called from the memory, so that repeated access can be avoided, the waiting time of the processor 110 can be reduced, and the efficiency of the system can be improved.

处理器110可以运行本申请实施例提供的操作提示的方法,处理器可以在手机100处于折叠状态下,响应于对副屏的触摸操作,确定该触摸操作在副屏上的位置映射到主屏上的位置,并在主屏上相应位置显示该触摸操作对应的提示标识。当处理器110集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的操作提示的方法,比如操作提示的方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。The processor 110 may execute the operation prompting method provided by the embodiment of the present application, and the processor may determine that the position of the touch operation on the secondary screen is mapped to the main screen in response to a touch operation on the secondary screen when the mobile phone 100 is in a folded state. position, and the prompt logo corresponding to the touch operation is displayed at the corresponding position on the main screen. When the processor 110 integrates different devices, such as integrating a CPU and a GPU, the CPU and the GPU may cooperate to execute the operation prompt method provided by the embodiments of the present application. For example, in the operation prompt method, some algorithms are executed by the CPU, and another part of the algorithms are executed by the GPU Execute for faster processing efficiency.

在一些实施例中,处理器110可以包括一个或多个接口。比如,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integratedcircuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. For example, the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal) interface asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and /or a universal serial bus (universal serial bus, USB) interface, etc.

I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现手机100的触摸功能。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, so as to realize the touch function of the mobile phone 100 .

I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.

PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160 . For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.

MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(displayserial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现手机100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现手机100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (displayserial interface, DSI), and the like. In some embodiments, the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the shooting function of the mobile phone 100 . The processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the mobile phone 100 .

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.

USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机100充电,也可以用于手机100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transmit data between the mobile phone 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices.

可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 100 . In other embodiments of the present application, the mobile phone 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.

手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in handset 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(lownoise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the mobile phone 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.

无线通信模块160可以提供应用在手机100上的包括无线局域网(wireless localarea networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequencymodulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite systems ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .

在一些实施例中,手机100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code divisionmultiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(globalnavigation satellite system,GLONASS),北斗卫星导航系统(beidou navigationsatellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code Division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi-zenith). satellite system, QZSS) and/or satellite based augmentation systems (SBAS).

手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone 100 realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.

显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). , AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the handset 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的拼接的显示屏。当处理器110运行本申请实施例提供的操作提示的方法,在显示屏194在折叠时,副屏接收到触摸操作,处理器110确定该触摸操作在副屏上的触摸位置映射在主屏上的位置,并在主屏上显示提示标识。In the embodiment of the present application, the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens. When the processor 110 executes the operation prompting method provided by the embodiment of the present application, when the display screen 194 is folded, the secondary screen receives a touch operation, and the processor 110 determines that the touch position of the touch operation on the secondary screen is mapped to the touch operation on the main screen. position, and display a prompt on the home screen.

手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.

ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .

摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the mobile phone 100 may include one or N cameras 193 , where N is a positive integer greater than one.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the mobile phone 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point, and the like.

视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器。这样,手机100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The handset 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record videos in various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.

NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the mobile phone 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机100的各种功能应用以及数据处理。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the mobile phone 100 by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor.

手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. Such as music playback, recording, etc.

音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .

扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The mobile phone 100 can listen to music through the speaker 170A, or listen to a hands-free call.

受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the mobile phone 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.

麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机100可以设置至少一个麦克风170C。在另一些实施例中,手机100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The mobile phone 100 may be provided with at least one microphone 170C. In other embodiments, the mobile phone 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the mobile phone 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.

耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone port 170D may be the USB port 130 or a 3.5mm open mobile terminal platform (OMTP) standard port, a cellular telecommunications industry association of the USA (CTIA) standard port.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。手机100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,手机100根据压力传感器180A检测所述触摸操作强度。手机100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The cell phone 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the mobile phone 100 detects the intensity of the touch operation according to the pressure sensor 180A. The mobile phone 100 can also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

陀螺仪传感器180B可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定手机100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测手机100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消手机100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyroscope sensor 180B can be used to determine the motion attitude of the mobile phone 100 . In some embodiments, the angular velocity of cell phone 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyroscope sensor 180B detects the shaking angle of the mobile phone 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to offset the shaking of the mobile phone 100 through reverse motion to realize anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.

气压传感器180C用于测量气压。在一些实施例中,手机100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the mobile phone 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.

磁传感器180D包括霍尔传感器。手机100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当手机100是翻盖机时,手机100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The mobile phone 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster. In some embodiments, when the mobile phone 100 is a flip machine, the mobile phone 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.

加速度传感器180E可检测手机100在各个方向上(一般为三轴)加速度的大小。当手机100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.

距离传感器180F,用于测量距离。手机100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,手机100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F for measuring distance. The cell phone 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the mobile phone 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机100通过发光二极管向外发射红外光。手机100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机100附近有物体。当检测到不充分的反射光时,手机100可以确定手机100附近没有物体。手机100可以利用接近光传感器180G检测用户手持手机100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。本申请实施例中,接近光传感器180G可以设置在可折叠的显示屏194的第一屏上,接近光传感器180G根据红外信号的光程差来检测第一屏与第二屏之间的折叠角度或者展开角度的大小。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The mobile phone 100 emits infrared light through the light emitting diodes. Cell phone 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the mobile phone 100 . When insufficient reflected light is detected, the cell phone 100 may determine that there is no object near the cell phone 100 . The mobile phone 100 can use the proximity light sensor 180G to detect that the user holds the mobile phone 100 close to the ear to talk, so as to automatically turn off the screen to save power. Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen. In the embodiment of the present application, the proximity light sensor 180G may be disposed on the first screen of the foldable display screen 194, and the proximity light sensor 180G detects the folding angle between the first screen and the second screen according to the optical path difference of the infrared signal Or the size of the unfolding angle.

环境光传感器180L用于感知环境光亮度。手机100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测手机100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense ambient light brightness. The mobile phone 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 100 is in the pocket, so as to prevent accidental touch.

指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。例如,可以在手机100的正面(显示屏194的下方)配置指纹传感器,或者,在手机100的背面(后置摄像头的下方)配置指纹传感器。另外,也可以通过在触摸屏中配置指纹传感器来实现指纹识别功能,即指纹传感器可以与触摸屏集成在一起来实现手机100的指纹识别功能。在这种情况下,该指纹传感器可以配置在触摸屏中,可以是触摸屏的一部分,也可以是以其他方式配置在触摸屏中。另外,该指纹传感器还可以被实现为全面板指纹传感器,因此,可以把触摸屏看成是任何位置可都可以进行指纹采集的一个面板。在一些实施例中,该指纹传感器可以对采集到的指纹进行处理(例如指纹是否验证通过)发送给处理器110,由处理器110根据指纹处理结果做出相应的处理。在另一些实施例中,还指纹传感器还可以将采集到的指纹发送给处理器110,以便处理器110对该指纹进行处理(例如指纹验证等)。本申请实施例中的指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。The fingerprint sensor 180H is used to collect fingerprints. The mobile phone 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering incoming calls with fingerprints, and the like. For example, a fingerprint sensor may be disposed on the front of the mobile phone 100 (below the display screen 194 ), or a fingerprint sensor may be disposed on the back of the mobile phone 100 (below the rear camera). In addition, the fingerprint identification function can also be realized by configuring a fingerprint sensor in the touch screen, that is, the fingerprint sensor can be integrated with the touch screen to realize the fingerprint identification function of the mobile phone 100 . In this case, the fingerprint sensor may be configured in the touch screen, may be a part of the touch screen, or may be configured in the touch screen in other ways. In addition, the fingerprint sensor can also be implemented as a full-panel fingerprint sensor. Therefore, the touch screen can be regarded as a panel that can perform fingerprint collection at any position. In some embodiments, the fingerprint sensor can process the collected fingerprint (for example, whether the fingerprint is verified) and send it to the processor 110, and the processor 110 performs corresponding processing according to the fingerprint processing result. In other embodiments, the fingerprint sensor can also send the collected fingerprint to the processor 110, so that the processor 110 can process the fingerprint (eg, fingerprint verification, etc.). The fingerprint sensor in the embodiments of the present application may adopt any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technology.

温度传感器180J用于检测温度。在一些实施例中,手机100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,手机100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,手机100对电池142加热,以避免低温导致手机100异常关机。在其他一些实施例中,当温度低于又一阈值时,手机100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect the temperature. In some embodiments, the cell phone 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the mobile phone 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the mobile phone 100 heats the battery 142 to avoid abnormal shutdown of the mobile phone 100 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the mobile phone 100 , which is different from the position where the display screen 194 is located.

骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.

按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The cell phone 100 can receive key input and generate key signal input related to user settings and function control of the cell phone 100 .

马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.

SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the mobile phone 100 by being inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 . The mobile phone 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the handset 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100 .

尽管图2A中未示出,手机100还可以包括蓝牙装置、定位识别装置、闪光灯、微型投影装置、近场通信(near field communication,NFC)装置等,在此不予赘述。Although not shown in FIG. 2A , the mobile phone 100 may further include a Bluetooth device, a positioning identification device, a flash, a micro-projection device, a near field communication (NFC) device, etc., which will not be repeated here.

上述手机100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明手机100的软件结构。The software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the mobile phone 100 .

图2B是本申请实施例的手机100的软件结构框图。FIG. 2B is a block diagram of the software structure of the mobile phone 100 according to the embodiment of the present application.

分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and system libraries, and a kernel layer.

应用程序层可以包括一系列应用程序包。如图2B所示,应用程序层内可以安装相机,图库,日历,通话,地图,导航,蓝牙,音乐,视频,短信息等应用程序。The application layer can include a series of application packages. As shown in Figure 2B, applications such as camera, gallery, calendar, call, map, navigation, bluetooth, music, video, short message, etc. can be installed in the application layer.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions.

如图2B所示,应用程序框架层可以包括窗口管理器(WMS),内容提供器,电话管理器,资源管理器,显示管理服务(display manager service,DMS),还包括视图系统,活动管理器,通知管理器等,本申请实施例对此不作任何限制。As shown in FIG. 2B, the application framework layer may include a window manager (WMS), a content provider, a telephony manager, a resource manager, a display manager service (DMS), a view system, an activity manager , notification manager, etc., which are not limited in this embodiment of the present application.

其中,显示管理服务可用于从底层显示系统中获取当前柔性屏幕的具体物理形态,例如图1C所示的完全折叠状态,又例如图1B所示的部分折叠状态,再例如图1A所示的展开状态。Among them, the display management service can be used to obtain the specific physical form of the current flexible screen from the underlying display system, such as the fully folded state shown in FIG. 1C , the partially folded state shown in FIG. 1B , and the unfolded state shown in FIG. 1A . state.

应用程序框架层以下的系统库和内核层等可称为底层系统,底层系统中包括用于提供显示服务的底层显示系统,例如,底层显示系统包括内核层中的显示驱动以及系统库中的surface manager等。并且,本申请中的底层系统还包括用于识别柔性屏幕物理形态变化的状态监测服务,该状态监测服务可独立设置在底层显示系统内,也可设置在系统库和/或内核层内。The system library and kernel layer below the application framework layer can be called the underlying system. The underlying system includes the underlying display system used to provide display services. For example, the underlying display system includes the display driver in the kernel layer and the surface in the system library. manager, etc. In addition, the underlying system in the present application also includes a state monitoring service for identifying changes in the physical shape of the flexible screen, and the state monitoring service can be independently set in the underlying display system, or can be set in the system library and/or the kernel layer.

示例性的,状态监测服务可调用传感器服务(sensor service)启动陀螺仪、加速度传感器等传感器进行检测。状态监测服务可根据各个传感器上报的检测数据计算当前主屏和副屏之间的夹角。这样,通过主屏和副屏之间的夹角,状态监测服务可确定出柔性屏幕处于展开状态、折叠状态或支架状态等物理形态。并且,状态监测服务可将确定出的物理形态上报给上述显示管理服务。Exemplarily, the state monitoring service may call a sensor service (sensor service) to start sensors such as a gyroscope and an acceleration sensor for detection. The status monitoring service can calculate the angle between the current main screen and the secondary screen according to the detection data reported by each sensor. In this way, through the angle between the main screen and the secondary screen, the state monitoring service can determine whether the flexible screen is in an unfolded state, a folded state, or a stand state. In addition, the state monitoring service can report the determined physical form to the above-mentioned display management service.

如图2C所示,为安卓操作系统内部的数据流向示意图。示例性的,硬件层的陀螺仪和加速度传感器可将检测到的数据上报给传感器驱动,传感器驱动通过传感器服务将陀螺仪和加速度传感器检测到的数据上报状态监测服务。状态监测服务可根据陀螺仪和加速度传感器检测到的数据确定主屏和副屏之间的夹角,进而确定出手机的物理形态。同时,触控器件也可通过TP驱动将检测到的输入事件的数据上报给状态监测服务。状态监测服务可将确定出的手机的物理形态上报给显示管理服务,由显示管理服务确定输入事件作用在副屏时,确定出在副屏的操作位置,以及该输入事件映射到主屏的位置,并通知窗口管理器绘制并在主屏显示相应的提示标识。As shown in FIG. 2C , it is a schematic diagram of the data flow inside the Android operating system. Exemplarily, the gyroscope and acceleration sensor at the hardware layer can report the detected data to the sensor driver, and the sensor driver reports the data detected by the gyroscope and the acceleration sensor to the status monitoring service through the sensor service. The status monitoring service can determine the angle between the main screen and the secondary screen based on the data detected by the gyroscope and acceleration sensor, and then determine the physical form of the phone. At the same time, the touch device can also report the detected input event data to the status monitoring service through the TP driver. The state monitoring service can report the determined physical form of the mobile phone to the display management service. When the display management service determines that the input event acts on the secondary screen, it determines the operation position on the secondary screen and the location where the input event is mapped to the main screen. And notify the window manager to draw and display the corresponding prompt logo on the main screen.

安卓运行时(Android Runtime)包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。The Android Runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL) and so on. The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing. 2D graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, and the like, which are not limited in this embodiment of the present application.

以下实施例均可以在具有上述硬件结构的电子设备(例如手机100中实现。以下实施例将以手机100为例,结合附图对本申请实施例提供的操作提示方法进行详细介绍。The following embodiments can all be implemented in an electronic device having the above-mentioned hardware structure, such as a mobile phone 100. The following embodiments will take the mobile phone 100 as an example, and describe in detail the operation prompting method provided by the embodiments of the present application with reference to the accompanying drawings.

本申请的说明书和权利要求书及附图中的术语“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏194中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。The term "user interface" in the description, claims and drawings of this application is a medium interface for interaction and information exchange between application programs or operating systems and users, which realizes the internal form of information and the form acceptable to users. conversion between. A commonly used form of user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen 194 of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. Visual interface elements.

下面介绍手机100提供的一些示例性用户界面(user interface,UI)。Some exemplary user interfaces (UIs) provided by the cell phone 100 are described below.

本申请实施例中,在电子设备100处于完全展开状态时,电子设备100的副屏和主屏组成一个整体的屏幕,显示一个用户界面。In the embodiment of the present application, when the electronic device 100 is in a fully expanded state, the secondary screen and the main screen of the electronic device 100 form an integral screen, displaying a user interface.

如图3中的3a所示,手机100的可折叠触摸屏处于完全展开的状态,手机100显示的用户界面310,该用户界面310为手机的主界面。其中,用户界面310可包括状态栏311、时间和天气小组件(widget)313、以及各种应用的图标,例如闹钟应用的图标、淘宝应用的图标、照片应用的图片、备忘录的图标等。状态栏311中可包括运营商名称(例如中国移动)、Wi-Fi图标、时间和剩余电量(如30%)等。该用户界面还可以包括可隐藏的导航栏(未在图中示出),导航栏中可包括后退(back)键图标、主屏幕(home)键图标和前进键图标。此外,可以理解的是,在一些实施例中,状态栏311中还可以包括蓝牙图标、移动网络(例如,4G)、闹钟图标、外接设备图标等。还可以理解的是,在另一些实施例中,图3中的3a所示的用户界面310中还可以包括Dock栏312,Dock栏312中可以包括常用的应用图标,如浏览器应用的图标、设置应用的图标、微信应用的图标、相机应用的图标等。当处理器110检测到用户的手指(或触控笔等)针对某一应用的图标的触摸事件后,响应于该触摸事件,打开与该应用图标对应的应用的用户界面,并在显示屏194上显示该应用的用户界面。As shown in 3a in FIG. 3 , the foldable touch screen of the mobile phone 100 is in a fully unfolded state, and a user interface 310 displayed by the mobile phone 100 is the main interface of the mobile phone. The user interface 310 may include a status bar 311, a time and weather widget 313, and icons of various applications, such as an icon of an alarm clock application, an icon of a Taobao application, a picture of a photo application, an icon of a memo, and the like. The status bar 311 may include an operator name (eg, China Mobile), a Wi-Fi icon, time, and remaining battery (eg, 30%), and the like. The user interface may also include a hideable navigation bar (not shown in the figures) that may include a back key icon, a home key icon, and a forward key icon. In addition, it can be understood that, in some embodiments, the status bar 311 may further include a Bluetooth icon, a mobile network (eg, 4G), an alarm clock icon, an external device icon, and the like. It can also be understood that, in other embodiments, the user interface 310 shown in 3a in FIG. 3 may further include a Dock bar 312, and the Dock bar 312 may include commonly used application icons, such as browser application icons, Set the icon of the application, the icon of the WeChat application, the icon of the camera application, etc. After the processor 110 detects the touch event of the user's finger (or stylus, etc.) on the icon of a certain application, in response to the touch event, the user interface of the application corresponding to the application icon is opened, and the user interface of the application corresponding to the application icon is opened on the display screen 194 Displays the app's user interface.

在其他一些实施例中,该手机100还可以包括主屏幕键。该主屏幕键可以是实体按键,也可以是虚拟按键。该主屏幕键用于根据用户的操作,将触摸屏上显示的图形用户界面GUI返回到主屏幕的某一页面,这样可以方便用户随时查看主屏幕并对主屏幕中的控件(例如图标)进行操作。上述操作具体可以是用户按下主屏幕键,也可以是用户在短时间内连续两次按下主屏幕键,还可以是用户长按主屏幕键。在本申请其他一些实施例中,主屏幕键还可以集成指纹传感器,这样用户可以在按下主屏幕键的时候,手机100随之进行指纹采集,进而对用户身份进行确认。还有一些实施例中,主屏幕键中还可以包括屏下指纹传感器,在显示屏点亮状态下,显示屏发出的光照亮指纹纹路,指纹纹路上反射的光线被屏下指纹传感器捕获形成指纹图像,将该指纹图像与预存的指纹图像对比。在屏幕指纹解锁场景下,如果匹配成功即执行解锁,其中,比对的过程可以是提取指纹图像特征来和预存的特征模板进行比对,在相似度超过一定阈值时表明匹配成功。In some other embodiments, the cell phone 100 may also include a home screen key. The home screen key can be a physical key or a virtual key. The home screen key is used to return the graphical user interface GUI displayed on the touch screen to a certain page of the home screen according to the user's operation, so that the user can view the home screen at any time and operate the controls (such as icons) in the home screen. . The above operation may specifically be that the user presses the home screen key, or the user presses the home screen key twice in a short period of time, or the user presses the home screen key for a long time. In some other embodiments of the present application, the home screen key may also be integrated with a fingerprint sensor, so that when the user presses the home screen key, the mobile phone 100 will then perform fingerprint collection to confirm the user's identity. In still other embodiments, the home screen key may further include an under-screen fingerprint sensor. When the display screen is on, the light emitted by the display screen illuminates the fingerprint lines, and the light reflected on the fingerprint lines is captured by the under-screen fingerprint sensor. The fingerprint image is compared with the pre-stored fingerprint image. In the screen fingerprint unlocking scenario, if the matching is successful, the unlocking is performed. The comparison process can be to extract the fingerprint image features to compare with the pre-stored feature templates, and the matching is successful when the similarity exceeds a certain threshold.

可以理解的是,图3中3a仅仅示例性示出了手机100可折叠触摸屏处于完全展开的状态上的用户界面,不构成对本申请实施例的限定。It can be understood that, 3a in FIG. 3 only exemplarily shows the user interface of the foldable touch screen of the mobile phone 100 in a fully unfolded state, and does not constitute a limitation to the embodiments of the present application.

本申请以下实施例中,以手机100折叠时主屏和副屏均位于外露的一侧为例进行介绍。In the following embodiments of the present application, when the mobile phone 100 is folded, both the main screen and the sub-screen are located on the exposed side as an example for description.

当手机100的完整的显示屏194被折叠时,副屏和主屏可以显示相同的内容,比如,主屏显示如图3中3b所示的用户界面320,该用户界面320包括的内容与用户界面310类似,比如,可以包括状态栏、时间和天气小组件(widget)、以及各种应用的图标等,具体可以参见关于用户界面310的描述。其中,副屏显示的用户界面与该用户界面320可以相同,即副屏也显示与用户界面320。副屏和主屏也可以显示不同的内容,比如主屏显示如图3中3b所示的用户界面320,副屏不显示内容。When the complete display screen 194 of the mobile phone 100 is folded, the secondary screen and the main screen can display the same content, for example, the main screen displays the user interface 320 shown in 3b in FIG. Similarly, for example, a status bar, time and weather widgets, and icons of various applications, etc. may be included. For details, please refer to the description about the user interface 310 . The user interface displayed on the secondary screen may be the same as the user interface 320 , that is, the secondary screen also displays the same user interface 320 . The secondary screen and the primary screen may also display different contents, for example, the primary screen displays the user interface 320 as shown in 3b in FIG. 3 , and the secondary screen does not display content.

本申请实施例中,当手机100处于折叠状态时,参见如图3中3b所示,用户面向主屏,副屏在主屏的背面,所以用户只能看到主屏上显示的内容,而看不到副屏上的内容,一般用户单手握持手机100时,为了能够支持手机重量、保持手机平衡,习惯掌心朝向副屏,大拇指在主屏的一个侧边,其它几个手指在主屏的另一侧边来握持手机,用户食指可以在副屏上进行操作。手机可以检测用户对副屏进行操作,并将该操作的结果显示在主屏上,以便于用户可以随时看到用户在副屏上的操作情况。所以,本申请实施例提供一种操作提示的方法,手机100可以在副屏提供一个显示触摸区域,手机100可以在接收到用户对副屏上的显示触摸区域进行触摸操作时,响应于该触摸操作根据位置映射关系在主屏上对应位置显示提示标识,提示标识在主屏中的显示位置与触摸操作的触摸位置关联,位置映射关系根据所述主屏与所述副屏的显示触摸区域确定。这样手机100可在接收到用户对副屏的显示触摸区域的触摸操作,在主屏显示提示标识,从而可以使得用户在看到提示标识时及时调整操作位置,进而可以避免用户因为看不到副屏而导致触摸操作所触发的位置错误,提升用户体验。In the embodiment of the present application, when the mobile phone 100 is in a folded state, as shown in 3b in FIG. 3 , the user faces the main screen, and the secondary screen is on the back of the main screen, so the user can only see the content displayed on the main screen, but not the content displayed on the main screen. For the content on the secondary screen, when the general user holds the mobile phone 100 with one hand, in order to support the weight of the mobile phone and maintain the balance of the mobile phone, they are used to the palm facing the secondary screen, the thumb on one side of the main screen, and the other fingers on the other side of the main screen. Hold the phone by the side, and the user's index finger can operate on the secondary screen. The mobile phone can detect the user's operation on the secondary screen, and display the result of the operation on the main screen, so that the user can see the operation status of the user on the secondary screen at any time. Therefore, the embodiments of the present application provide a method for prompting operations. The mobile phone 100 can provide a display touch area on the secondary screen, and the mobile phone 100 can respond to the touch when the mobile phone 100 receives a user's touch operation on the display touch area on the secondary screen. The operation displays a prompt sign at the corresponding position on the main screen according to the position mapping relationship, and the display position of the prompt sign in the main screen is associated with the touch position of the touch operation, and the position mapping relationship is determined according to the display touch area of the main screen and the secondary screen. In this way, the mobile phone 100 can display the prompt logo on the main screen after receiving the user's touch operation on the display touch area of the secondary screen, so that the user can adjust the operation position in time when seeing the prompt logo, thereby preventing the user from being unable to see the secondary screen As a result, a position error triggered by the touch operation is caused, which improves the user experience.

本申请实施例提供的操作提示方法可以应用于多种场景,在不同的场景下,副屏的显示触摸区域的大小也可以不同,在一些场景中,副屏的显示触摸区域可以是副屏的整个屏幕显示触摸区域。在另一些场景中,副屏的显示触摸区域也可以是副屏上的部分屏幕区域,这样用户手指只需要在小范围的显示触摸区域进行操作,就可以实现对大范围的主屏的整个显示触摸区域进行操作,便于用户操作。The operation prompting method provided in this embodiment of the present application can be applied to various scenarios. In different scenarios, the size of the display touch area of the secondary screen may also be different. In some scenarios, the display touch area of the secondary screen may be the size of the secondary screen. The entire screen displays the touch area. In other scenarios, the display touch area of the secondary screen may also be a part of the screen area on the secondary screen, so that the user's finger only needs to operate on a small range of display touch areas, and the entire display touch area of the large range of the main screen can be achieved. area to operate, which is convenient for users to operate.

为了便于理解,本申请以下实施例将以具有图2A所示结构的手机为例,结合附图2C的软件结构以及本申请实施例提供的各种应用场景,对本申请实施例提供的操作提示方法进行详细介绍。For ease of understanding, the following embodiments of the present application will take the mobile phone with the structure shown in FIG. 2A as an example, and combine the software structure of FIG. 2C and various application scenarios provided by the embodiments of the present application to provide an operation prompt method provided by the embodiments of the present application. for a detailed introduction.

应用场景1:手机100的主屏显示某一用户界面(比如主界面、负一屏、或者其它应用的用户界面等)的场景。在该场景下,副屏包括的显示触摸区域与主屏上的显示触摸区域存在位置映射关系,即在副屏上的显示触摸区域进行操作,可以在主屏的相应的位置显示提示标识。Application scenario 1: a scenario in which the main screen of the mobile phone 100 displays a certain user interface (such as the main interface, the negative screen, or the user interface of other applications, etc.). In this scenario, there is a positional mapping relationship between the display touch area included in the secondary screen and the display touch area on the main screen, that is, when an operation is performed on the display touch area on the secondary screen, a prompt sign can be displayed at the corresponding position on the main screen.

以下实施例以手机100的主屏显示主界面为例,介绍通过对副屏进行操作,实现在主屏上显示提示标识的过程。The following embodiments take the main interface displayed on the main screen of the mobile phone 100 as an example, and introduce the process of displaying the prompt logo on the main screen by operating the sub-screen.

参见图4中4a,手机100的主屏上显示主界面410,该主界面410可以包括一个或多个应用图标,例如图4中4a所示的闹钟应用的图标、淘宝应用的图标、照片应用的图标、备忘录应用的图标、邮件应用的图标、设置应用的图标、微信应用的图标以及相机应用的图标。手机100的副屏上显示有显示触摸区域420。Referring to 4a in FIG. 4, a main interface 410 is displayed on the main screen of the mobile phone 100, and the main interface 410 may include one or more application icons, such as the icon of the alarm clock application shown in 4a in FIG. 4, the icon of the Taobao application, the icon of the photo application icon, the icon of the memo application, the icon of the mail application, the icon of the settings application, the icon of the WeChat application, and the icon of the camera application. A display touch area 420 is displayed on the secondary screen of the mobile phone 100 .

参见图4中4b,用户手指在副屏上的显示触摸区域420的触摸位置421进行触摸操作,手机100中的触摸器件检测到用户手指对副屏上的显示触摸区域420的触摸操作,通过TP驱动向状态检测服务上报输入事件以及副屏上的触摸位置421的坐标值,状态监测服务向显示管理服务上报输入事件以及副屏上的触摸位置421的坐标值。显示管理服务根据副屏上的触摸位置421的坐标值,以及主屏的显示触摸区域410与副屏的显示触摸区域420之间的位置映射关系,确定出副屏上的触摸位置421的坐标值在主屏上的响应位置,即图4中4b所示的提示标识411所在的位置。Referring to 4b in FIG. 4 , the user's finger performs a touch operation on the touch position 421 of the display touch area 420 on the secondary screen. The touch device in the mobile phone 100 detects the touch operation of the user's finger on the display touch area 420 on the secondary screen. Through the TP The driver reports the input event and the coordinate value of the touch position 421 on the secondary screen to the status detection service, and the status monitoring service reports the input event and the coordinate value of the touch position 421 on the secondary screen to the display management service. The display management service determines that the coordinate value of the touch position 421 on the secondary screen is at The response position on the main screen, that is, the position where the prompt mark 411 shown in 4b in FIG. 4 is located.

下面结合图5,对主屏的显示触摸区域410与副屏的显示触摸区域420之间的位置映射关系进行说明。参见图5,为本申请提供的位置映射关系示意图。The following describes the position mapping relationship between the display touch area 410 of the main screen and the display touch area 420 of the secondary screen with reference to FIG. 5 . Referring to FIG. 5 , a schematic diagram of a location mapping relationship provided for this application.

如图5所示,副屏的显示触摸区域420的形状和主屏的显示触摸区域410的形状为均矩形,可以将矩形的显示触摸区域420上的各像素点的坐标与矩形的显示触摸区域410上的各像素点的坐标进行映射,得到位置映射关系。应理解,本申请实施例对副屏上的显示触摸区域的形状不作限制,比如显示触摸区域的形状也可以为椭圆形、菱形、圆形、或其它形状。As shown in FIG. 5 , the shape of the display touch area 420 of the secondary screen and the shape of the display touch area 410 of the main screen are both rectangles. The coordinates of each pixel on the map are mapped to obtain the position mapping relationship. It should be understood that the embodiment of the present application does not limit the shape of the display touch area on the secondary screen, for example, the shape of the display touch area may also be an ellipse, a diamond, a circle, or other shapes.

示例性的,手机100的副屏上的显示触摸区域420上的位置A(x,y),根据副屏的显示触摸区域420与主屏的显示触摸区域410之间的位置映射关系,可以将位置A(x,y)映射到主屏的显示触摸区域410中位置B(X,Y)。也就是说,当用户在副屏上的显示触摸区域420的位置A(x,y)进行触摸操作,手机100可以响应于该触摸操作在位置B(X,Y)显示提示标识。其中,位置A(x,y)和位置B(X,Y)之间的映射参数可以为一个数值,比如映射参数为m,位置A(x,y)对应的位置B(mx,my);映射参数也可以是数组,比如(m,n),位置A(x,y)对应位置B为(mx,ny)。本申请实施例中对映射参数不作限定。Exemplarily, for the position A(x, y) on the display touch area 420 on the secondary screen of the mobile phone 100, according to the position mapping relationship between the display touch area 420 on the secondary screen and the display touch area 410 on the main screen, the position can be A(x, y) is mapped to position B(X, Y) in the display touch area 410 of the home screen. That is to say, when the user performs a touch operation at the position A(x, y) where the touch area 420 is displayed on the secondary screen, the mobile phone 100 can display a prompting mark at the position B(X, Y) in response to the touch operation. Among them, the mapping parameter between the position A (x, y) and the position B (X, Y) can be a numerical value, for example, the mapping parameter is m, and the position B (mx, my) corresponding to the position A (x, y); The mapping parameter can also be an array, such as (m,n), and position A (x, y) corresponds to position B as (mx, ny). The mapping parameters are not limited in this embodiment of the present application.

示例性的,副屏的显示触摸区域的面积小于或等于主屏的显示触摸区域的面积,这样用户手指只需要在小面积的显示触摸区域进行操作,就可以实现对大面积的主屏的整个显示触摸区域进行操作,便于用户操作。Exemplarily, the area of the display touch area of the secondary screen is smaller than or equal to the area of the display touch area of the main screen, so that the user's finger only needs to operate on the small area of the display touch area, and the entire display touch area of the large area of the main screen can be realized. area to operate, which is convenient for users to operate.

在确定出用户手指在副屏上的触摸位置421的坐标值映射到主屏上的响应位置之后,显示管理服务将主屏上的响应位置的坐标值上报给窗口管理器,窗口管理器根据主屏上的响应位置的坐标值绘制提示标识411,并将绘制的包括提示标识411的图层以及其它图层一起发给表面管理器(SurfaceFlinger),表面管理器对所有图层进行合并之后,下发给显示驱动,以通过显示驱动来驱动显示屏(如主屏)显示该包括提示标识411的显示界面。After determining that the coordinate value of the touch position 421 of the user's finger on the secondary screen is mapped to the response position on the main screen, the display management service reports the coordinate value of the response position on the main screen to the window manager. In response to the coordinate value of the position, draw the prompt flag 411, and send the drawn layer including the prompt flag 411 and other layers to the surface manager (SurfaceFlinger). After the surface manager merges all the layers, it is sent to the display drive, so as to drive the display screen (such as the main screen) to display the display interface including the prompt mark 411 through the display drive.

本申请实施例中,提示标识411可以为箭头图标,应理解该提示标识411也可以为其它图标,比如圆点、笔等图标,此处不作限制。In this embodiment of the present application, the prompting mark 411 may be an arrow icon, and it should be understood that the prompting mark 411 may also be other icons, such as icons such as dots and pens, which are not limited here.

用户还可以在副屏上的显示触摸区域420上进行触摸操作,实现在主屏上显示该提示标识411之后,在副屏的显示触摸区域420上滑动手指以实现将提示标识移动到想要打开的应用的图标上,然后在副屏上进行点击操作,以实现打开应用。The user can also perform a touch operation on the display touch area 420 on the secondary screen to realize that after the prompt logo 411 is displayed on the main screen, slide a finger on the display touch area 420 of the secondary screen to move the prompt logo to the desired opening. On the icon of the application, and then click on the secondary screen to open the application.

在打开应用之后,也可以在副屏上进行触摸操作,对主屏上显示的应用的用户界面进行操作,在主屏上显示手指在副屏上操作的位置。以下实施例以打开主屏上的照片应用为例,介绍通过对手机的副屏进行操作,实现对主屏上显示提示标识的过程。After the application is opened, a touch operation can also be performed on the secondary screen to operate the user interface of the application displayed on the primary screen, and the position of the finger operating on the secondary screen is displayed on the primary screen. The following embodiment takes opening the photo application on the main screen as an example, and introduces the process of displaying the prompt logo on the main screen by operating the secondary screen of the mobile phone.

参见图6中6a所示,手机100的主屏的显示触摸区域610显示有图片630,副屏的显示触摸区域620为矩形,此处并不限制显示触摸区域620的具体形状,也可以为其它形状。其中,显示触摸区域610与显示触摸区域620存在位置映射关系。Referring to 6a in FIG. 6 , the display touch area 610 of the main screen of the mobile phone 100 displays a picture 630, and the display touch area 620 of the secondary screen is a rectangle. The specific shape of the display touch area 620 is not limited here, and may be other shapes. . There is a position mapping relationship between the display touch area 610 and the display touch area 620 .

示例性的,手机100检测到对副屏上的显示触摸区域620的触摸操作,手机100中的触摸器件检测到用户手指对副屏上的显示触摸区域620的触摸操作,通过TP驱动向状态检测服务上报输入事件以及副屏上的触摸位置621的坐标值,状态监测服务向显示管理服务上报输入事件以及副屏上的触摸位置621的坐标值。显示管理服务根据副屏上的触摸位置621的坐标值,以及主屏的显示触摸区域610与副屏的显示触摸区域620之间的位置映射关系,确定出副屏上的触摸位置621的坐标值在主屏上的响应位置,即图6中6a所示的提示标识611所在的位置。Exemplarily, the mobile phone 100 detects the touch operation on the display touch area 620 on the secondary screen, the touch device in the mobile phone 100 detects the touch operation on the display touch area 620 on the secondary screen by the user's finger, and drives the state detection through the TP. The service reports the input event and the coordinate value of the touch position 621 on the secondary screen, and the state monitoring service reports the input event and the coordinate value of the touch position 621 on the secondary screen to the display management service. The display management service determines that the coordinate value of the touch position 621 on the secondary screen is at The response position on the main screen, that is, the position where the prompt mark 611 shown in 6a in FIG. 6 is located.

在确定出用户手指在副屏上的触摸位置621的坐标值映射到主屏上的响应位置之后,显示管理服务将主屏上的响应位置的坐标值上报给窗口管理器,窗口管理器根据主屏上的响应位置的坐标值绘制提示标识611,并将绘制的包括图片630和提示标识611的图层以及其它图层一起发给表面管理器(SurfaceFlinger),表面管理器对所有图层进行合并之后,下发给显示驱动,以通过显示驱动来驱动显示屏(如主屏)显示该包括提示标识611的显示界面。After determining that the coordinate value of the touch position 621 of the user's finger on the secondary screen is mapped to the response position on the main screen, the display management service reports the coordinate value of the response position on the main screen to the window manager. Draw the prompt flag 611 in response to the coordinate value of the position, and send the drawn layer including the picture 630, prompt flag 611 and other layers to the surface manager (SurfaceFlinger). It is sent to the display driver to drive the display screen (eg, the main screen) to display the display interface including the prompt mark 611 through the display driver.

示例的,该提示标识611为一个箭头图标,提示标识611也可以为其它形状,此处并不限定该提示标识611的具体形状。For example, the prompting mark 611 is an arrow icon, and the prompting mark 611 may also be in other shapes, and the specific shape of the prompting mark 611 is not limited here.

用户手指在副屏上滑动手指的操作,在主屏上显示的提示标识611也会随着该滑动手指的操作而移动。用户可以在副屏上滑动手指至需要操作的区域,并进行操作,比如对需要操作的区域进行点击(单击、双击、多次点击)操作,该点击操作用于锁定(或者识别)住需要进行下一步操作的区域,然后再执行滑动操作,比如在主屏显示图片的场景中,该滑动操作用于放大或者缩小图片中锁定的区域,再比如,在播放视频或者播放音乐的场景中,该滑动操作用于前进或者后退,或者调节亮度变大或变小。When the user's finger slides the finger on the secondary screen, the prompt sign 611 displayed on the main screen will also move along with the finger sliding operation. Users can slide their fingers on the secondary screen to the area that needs to be operated, and perform operations, such as clicking (single, double-click, multiple clicks) on the area that needs to be operated, and the click operation is used to lock (or identify) the desired area. The area where the next operation is performed, and then perform the sliding operation. For example, in the scene where the main screen displays a picture, the sliding operation is used to zoom in or out the locked area in the picture. For example, in the scene of playing video or playing music, the The sliding operation is used to go forward or backward, or to adjust the brightness to increase or decrease.

在主屏上显示提示标识611之后,参见图6中6b,当手机100检测到在该触摸位置622进行向上滑动的操作时,响应于该操作在主屏上显示放大的图片(如图6中6c所示),在主屏上还可以显示提示标识613,该提示标识613用于指示用户手指在副屏上的某一点向上滑动轨迹。相应的,手机100检测到在该触摸位置622进行向下滑动的操作,可以响应于该操作在主屏上显示缩小的图片,以及用于指示用户手指在副屏上的滑动轨迹的提示标识。After the prompt sign 611 is displayed on the home screen, referring to 6b in FIG. 6 , when the mobile phone 100 detects the operation of sliding up at the touch position 622, an enlarged picture is displayed on the home screen in response to the operation (as shown in 6c in FIG. 6 ). display), a prompt sign 613 may also be displayed on the main screen, and the prompt sign 613 is used to instruct the user to slide a finger upward on a certain point on the secondary screen. Correspondingly, the mobile phone 100 detects a downward sliding operation at the touch position 622, and can display a zoomed-out picture on the main screen in response to the operation, and a prompt indicator for indicating the sliding track of the user's finger on the secondary screen.

在图4以及图6所示的示例中,副屏可以是触摸屏,也可以是具有指纹录入功能的指纹屏,指纹屏可以是在显示屏下方设置有指纹传感器,用于采集指纹。比如,照片应用设置有指纹验证的功能,那么在对照片进行操作之前,还需要验证触摸操作对应的输入指纹是否为指纹模板库中的指纹,在用户手指对副屏上的显示触摸区域620进行触摸操作时,指纹传感器可以采集用户手指的输入指纹,指纹传感器将采集的输入指纹上报至TEE中的指纹可信应用中,识别该指纹图像是否与安全存储器中存储的指纹模板进行匹配,得到指纹识别结果。指纹可信应用将指纹识别结果发送给指纹守护进程,之后,指纹守护进程通过指纹服务向指纹管理器上报指纹识别结果,如果指纹识别结果为匹配,那么指纹验证成功;如果指纹识别结果为不匹配,那么指纹验证失败。当指纹管理器确定指纹验证成功时,向WMS发送绘制指令,该绘制指令包用于指示绘制图谱630和提示标识611的图层,当指纹管理器确定指纹验证失败时,不向WMS发送绘制指令,也就是说,手机100对用户在副屏的显示触摸区域上的触摸操作不进行响应,即不在主屏上显示提示标识。In the examples shown in FIG. 4 and FIG. 6 , the secondary screen may be a touch screen or a fingerprint screen with a fingerprint entry function, and the fingerprint screen may be a fingerprint sensor provided under the display screen for collecting fingerprints. For example, if the photo application is provided with the function of fingerprint verification, before operating the photo, it is also necessary to verify whether the input fingerprint corresponding to the touch operation is the fingerprint in the fingerprint template library. During the touch operation, the fingerprint sensor can collect the input fingerprint of the user's finger, and the fingerprint sensor reports the collected input fingerprint to the fingerprint trusted application in the TEE, and identifies whether the fingerprint image matches the fingerprint template stored in the secure memory to obtain the fingerprint. Identify the results. The fingerprint trusted application sends the fingerprint identification result to the fingerprint daemon. After that, the fingerprint daemon reports the fingerprint identification result to the fingerprint manager through the fingerprint service. If the fingerprint identification result is a match, the fingerprint verification is successful; if the fingerprint identification result is a mismatch , then the fingerprint verification fails. When the fingerprint manager determines that the fingerprint verification is successful, it sends a drawing instruction to the WMS. The drawing instruction packet is used to instruct the drawing of the atlas 630 and the layer of the prompt identification 611. When the fingerprint manager determines that the fingerprint verification fails, it does not send a drawing instruction to the WMS. That is to say, the mobile phone 100 does not respond to the user's touch operation on the display touch area of the secondary screen, that is, does not display a prompting mark on the main screen.

通过上述图6所示的示例,用户可以单指对副屏上的显示触摸区域进行点击操作和滑动操作,也就是说,点击操作和滑动操作是单个手指执行的,从而实现通过副屏对主屏上的上显示的图片进行放大或缩小。With the example shown in Figure 6 above, the user can click and slide the display touch area on the secondary screen with a single finger. to zoom in or out on the picture shown above.

在其他一些实施例中,用户也可以采用双指对副屏上的显示触摸区域进行点击操作和滑动操作,从而实现对主屏上的上显示的图片进行放大或缩小。In some other embodiments, the user can also use two fingers to click and slide on the display touch area on the secondary screen, so as to zoom in or zoom out the picture displayed on the main screen.

示例性的,参见图7中7a,主屏上的显示触摸区域710显示图片730,用户可以在副屏上的显示触摸区域720的触摸位置721进行点击操作,手机100检测到点击操作,采集执行该点击操作对应的指纹A,并将该指纹A与指纹模板库中的指纹模板进行匹配,若该指纹模板库中存在指纹模板与该指纹A匹配,则手机100响应于该点击操作在主屏上显示提示标识711,该图示标识711可以为椭圆形图标。若该指纹模板库中不存在指纹模板与该指纹A匹配,手机100对该点击操作不作响应,即主屏不显示提示标识711。7 a, the display touch area 710 on the main screen displays a picture 730, the user can perform a click operation on the touch position 721 of the display touch area 720 on the secondary screen, the mobile phone 100 detects the click operation, and collects and executes the operation. Click the fingerprint A corresponding to the operation, and match the fingerprint A with the fingerprint template in the fingerprint template library. If there is a fingerprint template in the fingerprint template library that matches the fingerprint A, the mobile phone 100 responds to the click operation on the main screen. Prompt identification 711, the graphic identification 711 may be an oval icon. If there is no fingerprint template matching the fingerprint A in the fingerprint template database, the mobile phone 100 does not respond to the click operation, that is, the main screen does not display the prompt identification 711 .

之后,手机100检测到在该触摸位置722进行滑动操作,指纹传感器采集执行该滑动操作的指纹B,并将该指纹B与指纹模板库中的指纹进行匹配,若该指纹模板库中存在指纹模板与该指纹B匹配,手机100响应于该滑动操作(比如向上滑动)在主屏上显示放大的图片(如图7中7c所示),相应的,手机100检测到在该触摸位置722进行滑动操作(比如向下滑动),可以响应于该操作在主屏上显示缩小的图片。若该指纹模板库中不存在指纹模板与该指纹B匹配,手机100对该滑动操作不作响应。After that, the mobile phone 100 detects that the sliding operation is performed at the touch position 722, the fingerprint sensor collects the fingerprint B that performs the sliding operation, and matches the fingerprint B with the fingerprints in the fingerprint template library. If there is a fingerprint template in the fingerprint template library Matching with the fingerprint B, the mobile phone 100 displays an enlarged picture on the main screen (as shown in 7c in FIG. 7 ) in response to the sliding operation (such as sliding up), and correspondingly, the mobile phone 100 detects that the sliding operation is performed at the touch position 722 (such as swiping down), a reduced picture can be displayed on the home screen in response to this action. If there is no fingerprint template matching the fingerprint B in the fingerprint template database, the mobile phone 100 does not respond to the sliding operation.

通过上述图7所示的示例,用户可以双指对副屏上的显示触摸区域进行点击操作和滑动操作,即点击操作和滑动操作分别由两个手指执行的,从而实现对主屏上的上显示的图片进行放大或缩小。在图7所示的示例中,进行点击操作和滑动操作可以是同一手的两个不同手指,也可以是两个不同手的手指。为了操作方便,一般采用同一手的两个不同手指分别进行点击操作和滑动操作。示例的,用户可以用右手的食指进行点击操作,采用右手的中指进行滑动操作。Through the example shown in FIG. 7 above, the user can click and slide the display touch area on the secondary screen with two fingers, that is, the tapping and sliding operations are performed by two fingers respectively, so as to realize the upper display on the main screen. to zoom in or out. In the example shown in FIG. 7 , the clicking operation and the sliding operation may be performed by two different fingers of the same hand, or may be performed by two fingers of different hands. For the convenience of operation, two different fingers of the same hand are generally used to perform the clicking operation and the sliding operation respectively. For example, the user may use the index finger of the right hand to perform a click operation, and use the middle finger of the right hand to perform a sliding operation.

需要说明的是,上述图6和图7所示的示例中,是以点击操作实现锁定需要放大的位置,以向上滑动操作实现放大图片,向下滑动操作实现缩小图片为例进行说明的,还可以对需要放大的位置进行双击操作、多次点击操作、画圈等操作,来实现锁定该需要放大的位置,本申请对此不作限定。It should be noted that, in the examples shown in the above Figures 6 and 7, the click operation is used to lock the position to be enlarged, the upward sliding operation is used to realize the enlargement of the picture, and the downward sliding operation is used to realize the reduction of the picture. Operations such as double-clicking, multiple-clicking, and drawing circles can be performed on the position that needs to be enlarged, so as to lock the position that needs to be enlarged, which is not limited in this application.

应理解,也可以直接进行滑动操作实现放大或缩小图片,即不需要用户进行操作来锁定需要放大的位置,比如,可以在进行滑动操作时默认对图片的中心点的位置进行放大或缩小;再比如,可以在进行滑动操作时,手机100自动识别出图片中的目标对象(如图6中6a所示的人物),然后对目标对象进行放大或缩小;又比如,手机可将滑动操作的起始点的位置进行放大或缩小。It should be understood that it is also possible to directly perform a sliding operation to zoom in or zoom out a picture, that is, the user does not need to perform an operation to lock the position that needs to be zoomed in. For example, the position of the center point of the picture can be zoomed in or out by default when the sliding operation is performed; and then For example, when a sliding operation is performed, the mobile phone 100 can automatically identify the target object in the picture (the person shown in 6a in FIG. 6 ), and then zoom in or out on the target object; for another example, the mobile phone can start the sliding operation The position of the starting point can be zoomed in or out.

在其他一些实施例中,也可以设置向上滑动操作用于实现缩小图片,向下滑动操作用于实现放大图片。在其他一些实施例中,可以设置点击操作用于放大图片,长按操作用于缩小图片;或者,可以设置点击操作用于缩小图片,长按操作用于放大图片。In some other embodiments, an upward sliding operation may also be set to reduce the picture, and the downward sliding operation may be used to realize the enlargement of the picture. In some other embodiments, a click operation can be set to enlarge the picture, and a long press operation can be set to reduce the picture; or, a click operation can be set to reduce the picture, and the long press operation can be set to enlarge the picture.

在其它一些场景中,副屏可以支持指纹录入功能,例如指纹录入、指纹解锁等场景),副屏中的显示触摸区域(如应用场景2中的显示触摸区域810、以及应用场景3中的显示触摸区域910)支持指纹录入功能,在开启指纹录入功能的情况下,可以通过位于副屏的显示触摸区域的指纹传感器采集指纹。In some other scenarios, the secondary screen can support fingerprint entry functions, such as fingerprint entry, fingerprint unlocking, etc.), the display touch area in the secondary screen (such as the display touch area 810 in application scenario 2, and the display in application scenario 3). The touch area 910) supports the fingerprint entry function, and when the fingerprint entry function is enabled, the fingerprint can be collected through the fingerprint sensor located in the display touch area of the secondary screen.

其中,副屏的指纹录入功能可以通过多种方式触发开启。一种可能的实现方式中,当手机100处于灭屏状态时,手机100的主屏被唤醒(即主屏从灭屏状态进入亮屏状态)时,开启副屏的指纹录入功能。在另一种可能的实现方式中,手机100可以在检测到手机100被用户拿起时,开启副屏的指纹录入功能。还有一种可能的实现方式中,当手机100在检测到副屏与主屏之间的夹角小于预设阈值时,说明手机处于折叠状态,打开副屏的指纹录入功能,该预设阈值可以为180°,也可以为小于180°的任意角度,此处不作限制。Among them, the fingerprint entry function of the secondary screen can be triggered and turned on in various ways. In a possible implementation manner, when the mobile phone 100 is in the off-screen state, the main screen of the mobile phone 100 is awakened (ie, when the main screen enters the bright-screen state from the off-screen state), the fingerprint entry function of the secondary screen is enabled. In another possible implementation manner, the mobile phone 100 may enable the fingerprint entry function of the secondary screen when detecting that the mobile phone 100 is picked up by the user. In another possible implementation, when the mobile phone 100 detects that the angle between the secondary screen and the main screen is smaller than a preset threshold, it means that the mobile phone is in a folded state, and the fingerprint entry function of the secondary screen is turned on. The preset threshold can be 180°, or any angle less than 180°, which is not limited here.

应理解,在开启指纹录入功能之后,该指纹录入功能可以一直处于开启状态。为节省功耗,当主屏从亮屏状态进入灭屏状态时,手机100关闭副屏的指纹录入功能,当主屏再次被唤醒时,手机100开启副屏的指纹录入功能。在其他一些实施例中,可以在开启指纹录入功能之后,定期关闭指纹录入功能,比如开启指纹录入功能后达到一定时长,关闭副屏的指纹录入功能,在需要使用指纹录入功能时再触发开启,也可以在手机100长时间未检测到在副屏上的操作时,关闭副屏的指纹录入功能。It should be understood that, after the fingerprint entry function is enabled, the fingerprint entry function can always be enabled. In order to save power consumption, when the main screen enters the off-screen state from the bright screen state, the mobile phone 100 turns off the fingerprint entry function of the secondary screen. When the main screen is awakened again, the mobile phone 100 enables the fingerprint entry function of the secondary screen. In some other embodiments, after enabling the fingerprint entry function, the fingerprint entry function may be disabled periodically. For example, after the fingerprint entry function is enabled for a certain period of time, the fingerprint entry function of the secondary screen is disabled, and the fingerprint entry function is triggered to be enabled again when the fingerprint entry function needs to be used. It is also possible to disable the fingerprint entry function of the secondary screen when the mobile phone 100 does not detect an operation on the secondary screen for a long time.

本申请实施例中,当手机100的主屏处于息屏状态时,首先需要将手机的主屏唤醒,以使主屏处于亮屏状态,从而可以显示提示标识。而副屏可以处于息屏状态,也可以处于亮屏状态,在需要对副屏进行触摸操作时,副屏已开启指纹录入功能即可。In the embodiment of the present application, when the main screen of the mobile phone 100 is in the off-screen state, the main screen of the mobile phone needs to be woken up first, so that the main screen is in the bright screen state, so that the prompt sign can be displayed. The secondary screen can be in the off-screen state, or it can be in the bright screen state. When the secondary screen needs to be touched, the fingerprint entry function of the secondary screen can be turned on.

应用场景2:指纹录入场景。当手机100的用户需要在手机100中录入新指纹,可以在已打开副屏的指纹录入功能的情况下,手机100启动设置(Settings)应用,并给该设置应用打开指纹录入界面,进入指纹录入场景,应用程序层的设置应用将用于录入指纹的用户界面的相关参数通过WMS下发到表面管理器,表面管理器调用显示驱动,以驱动显示设备(如主屏)显示用于录入指纹的用户界面。另外,在设置应用进入指纹图标820的用户界面时,应用程序层的设置应用向底层系统下发指纹录入场景的命令码,例如为命令码1。指纹传感器驱动接收到该命令码1之后,驱动指纹传感器切换到采图模式,等待手指录入。Application Scenario 2: Fingerprint Entry Scenario. When the user of the mobile phone 100 needs to enter a new fingerprint in the mobile phone 100, the mobile phone 100 can start the Settings application when the fingerprint entry function of the secondary screen has been turned on, and open the fingerprint entry interface for the settings application to enter the fingerprint entry. In the scenario, the setting application of the application layer sends the relevant parameters of the user interface for fingerprint entry to the surface manager through WMS, and the surface manager calls the display driver to drive the display device (such as the main screen) to display the user for fingerprint entry. interface. In addition, when the setting application enters the user interface of the fingerprint icon 820 , the setting application of the application layer issues a command code of the fingerprint entry scenario, such as command code 1, to the underlying system. After the fingerprint sensor driver receives the command code 1, it drives the fingerprint sensor to switch to the image capture mode and waits for finger input.

如图8中8a所示,副屏的显示触摸区域与主屏的显示触摸区域存在位置映射关系,例如,副屏上的指纹框810经过位置映射到主屏上的指纹图标820。当触摸器件检测到用户手指在副屏的显示触摸区域中的指纹框810进行触摸操作,TP驱动通过状态检测服务向显示管理服务上报输入事件以及副屏上的指纹框810的坐标值,显示管理服务可以根据主屏的显示触摸区域与副屏的显示触摸区域之间的位置映射关系,确定出指纹图标820的位置。即用户手指在副屏的指纹框810中录入指纹,可以在主屏的指纹图标820中显示提示标识821。As shown in 8a in FIG. 8 , there is a position mapping relationship between the display touch area of the secondary screen and the display touch area of the main screen. For example, the fingerprint frame 810 on the secondary screen is mapped to the fingerprint icon 820 on the main screen. When the touch device detects that the user's finger touches the fingerprint frame 810 in the display touch area of the secondary screen, the TP driver reports the input event and the coordinate value of the fingerprint frame 810 on the secondary screen to the display management service through the status detection service, and the display management The service may determine the location of the fingerprint icon 820 according to the location mapping relationship between the display touch area of the main screen and the display touch area of the secondary screen. That is, the user's finger enters a fingerprint in the fingerprint box 810 of the secondary screen, and a prompt mark 821 can be displayed in the fingerprint icon 820 of the main screen.

当指纹传感器检测到手指按压时,上报一个中断信息给指纹传感器驱动,指纹传感器驱动该指纹传感器采集指纹图像。之后,指纹传感器驱动读取指纹传感器采集到的指纹图像,并将该指纹图像以及命令码1上报至指纹管理器,指纹管理器根据命令码1,确定该指纹图像为新录入的指纹,将该指纹图像作为指纹模板存储在内部存储器中,并将已成功录入指纹的结果通过上报至设置应用。When the fingerprint sensor detects that the finger is pressed, an interrupt message is reported to the fingerprint sensor driver, and the fingerprint sensor drives the fingerprint sensor to collect the fingerprint image. After that, the fingerprint sensor driver reads the fingerprint image collected by the fingerprint sensor, and reports the fingerprint image and the command code 1 to the fingerprint manager. The fingerprint image is stored in the internal memory as a fingerprint template, and the result that the fingerprint has been successfully entered is reported to the setting application.

在一些实施例中,在录入指纹的过程中,当采集的指纹不满足要求时,比如触摸位置不在指定区域内、录入指纹的面积小于预设面积等,可能会需要多次调整手指在副屏的显示触摸区域上的触摸位置,才能根据多次采集到的指纹合成得到一个完整的指纹,并将该完整的指纹作为一个指纹模板存储在手机100中的内部存储器121中,以便在指纹解锁的场景中将采集到的输入指纹与指纹模板进行比较,并在输入指纹与指纹库中的与指纹模板匹配时,实现指纹解锁的功能。为了保证指纹模板的安全性,也可以将指纹模板存储在安全硬件中,比如安全硬件可以为安全存储器,指纹解锁的场景中在可信执行环境中验证输入指纹。In some embodiments, in the process of fingerprint entry, when the collected fingerprint does not meet the requirements, for example, the touch position is not within the designated area, the area of the entered fingerprint is smaller than the preset area, etc., it may be necessary to adjust the finger on the secondary screen several times. The touch position on the displayed touch area can be synthesized according to the fingerprints collected multiple times to obtain a complete fingerprint, and the complete fingerprint is stored as a fingerprint template in the internal memory 121 of the mobile phone 100, so that the fingerprint can be unlocked when the fingerprint is unlocked. In the scene, the collected input fingerprint is compared with the fingerprint template, and when the input fingerprint matches the fingerprint template in the fingerprint database, the function of fingerprint unlocking is realized. In order to ensure the security of the fingerprint template, the fingerprint template can also be stored in secure hardware, for example, the secure hardware can be a secure memory, and in the scenario of fingerprint unlocking, the input fingerprint is verified in a trusted execution environment.

参见图8中8b,当手机100检测到用户手指触摸副屏中的指纹框810的触摸操作,该触摸操作在指纹框810的触摸区域811占用指纹框810的一部分面积,手机100在主屏上的指纹图标820显示与该触摸区域811对应的提示标识821,该提示标识821的形状与触摸区域811的形状一致,提示标识821在主屏的显示触摸区域中的位置与触摸区域811在副屏的显示触摸区域的位置满足位置映射关系,这样手机可以在主屏上提示用户在副屏中所录入的指纹的形状以及位置。Referring to 8b in FIG. 8 , when the mobile phone 100 detects a touch operation in which the user's finger touches the fingerprint frame 810 in the secondary screen, the touch operation occupies a part of the fingerprint frame 810 in the touch area 811 of the fingerprint frame 810, and the mobile phone 100 on the main screen The fingerprint icon 820 displays a prompt mark 821 corresponding to the touch area 811, the shape of the prompt mark 821 is consistent with the shape of the touch area 811, and the position of the prompt mark 821 in the display touch area of the main screen is the same as the display of the touch area 811 on the secondary screen The position of the touch area satisfies the position mapping relationship, so that the mobile phone can prompt the user on the main screen of the shape and position of the fingerprint entered in the secondary screen.

当用户看到如图8中8b所示的主屏上的提示标识821的面积小于指纹图标820的面积,而且提示标识821在指纹图标820中的位置靠中间,说明手机采集到的指纹是残缺的,所以提示标识821指示该触摸区域811采集到的指纹不满足要求,用户可以调整手指在显示触摸区域820中的触摸位置,比如在指纹图标820未被提示标识821占用的位置再次进行触摸操作,以便手机100可以采集到更完整的指纹。When the user sees that the area of the prompt mark 821 on the main screen as shown in 8b in FIG. 8 is smaller than that of the fingerprint icon 820, and the prompt mark 821 is located in the middle of the fingerprint icon 820, it means that the fingerprint collected by the mobile phone is incomplete. , so the prompt mark 821 indicates that the fingerprint collected by the touch area 811 does not meet the requirements, and the user can adjust the touch position of the finger in the display touch area 820. For example, the fingerprint icon 820 is not occupied by the prompt mark 821. Touch operation again, So that the mobile phone 100 can collect a more complete fingerprint.

在主屏显示如图8中8b所示的提示标识821之后,用户在副屏的指纹框810中偏左的位置再次进行触摸操作,参见图8中的8c,手机100响应于用户手指在副屏上的指纹框810的触摸操作(触摸位置在指纹框810的触摸区域811),在主屏上的指纹图标820显示提示标识822,该提示标识822的形状与该触摸操作在指纹框810的触摸区域812的形状一致,且该提示标识822在主屏的显示触摸区域中的位置与触摸区域812在副屏的显示触摸区域中的位置之间满足位置映射关系。该提示标识822指示指纹的面积依然不满足录入指纹的要求,需要继续调整用户手指在副屏中的触摸位置,直到手机100在主屏上的指纹图标820显示的提示标识指示录入的指纹满足要求。After the main screen displays the prompt logo 821 as shown in 8b in FIG. 8, the user performs a touch operation again on the left side of the fingerprint frame 810 of the secondary screen. Referring to 8c in FIG. 8, the mobile phone 100 responds to the user's finger on the secondary screen. The touch operation of the fingerprint frame 810 on the fingerprint frame 810 (the touch position is in the touch area 811 of the fingerprint frame 810), the fingerprint icon 820 on the main screen displays a prompt mark 822, and the shape of the prompt mark 822 corresponds to the touch operation in the touch area of the fingerprint frame 810. 812 has the same shape, and the position of the prompt mark 822 in the display touch area of the main screen and the position of the touch area 812 in the display touch area of the secondary screen satisfies a position mapping relationship. The prompt mark 822 indicates that the area of the fingerprint still does not meet the requirements for fingerprint entry, and it is necessary to continue to adjust the touch position of the user's finger on the secondary screen until the prompt mark displayed by the fingerprint icon 820 on the main screen of the mobile phone 100 indicates that the entered fingerprint meets the requirements.

在主屏显示如图8中8c所示的提示标识822之后,用户在副屏的指纹框810中偏右的位置再次进行触摸操作,参见图8中8d,手机100响应于用户手指在副屏上的指纹框810的触摸操作(触摸位置在指纹框810的触摸区域813),在主屏上的指纹图标820显示提示标识823,该提示标识823的形状与该触摸操作在指纹框810的触摸区域813的形状一致,且该提示标识823指示指纹的面积满足录入指纹的要求。此时,手机100可以得到完整的指纹,并将该完整的指纹作为指纹模板存储安全存储器中。After the main screen displays the prompt logo 822 as shown in 8c in FIG. 8, the user performs a touch operation again on the right position in the fingerprint frame 810 of the secondary screen. Referring to 8d in FIG. 8, the mobile phone 100 responds to the user's finger on the secondary screen The touch operation of the fingerprint frame 810 (the touch position is in the touch area 813 of the fingerprint frame 810), the fingerprint icon 820 on the main screen displays a prompt mark 823, the shape of the prompt mark 823 is the same as the touch operation in the touch area 813 of the fingerprint frame 810. The shape of the fingerprint is the same, and the prompt mark 823 indicates that the area of the fingerprint meets the requirements for fingerprint entry. At this time, the mobile phone 100 can obtain a complete fingerprint, and store the complete fingerprint in the secure memory as a fingerprint template.

通过上述图8中8a、8b、8c以及8d可见,用户两次调整在副屏上的触摸位置从而采集到满足要求的指纹。在另一些实施例中,参见图8中8a、8b以及8d,当主屏上显示如图8中8b所示的提示标识822之后,经过一次调整在副屏上的触摸位置就可以得到如图8中8d所示的提示标识823,即指示满足要求的指纹。在其他一些实施例中,参见图8中8a以及5d,用户直接在副屏上的显示触摸区域810一次触摸操作就可以得到完整的指纹。本申请实施例仅示例性示出一次、两次、三次在副屏上的触摸区域进行触摸操作,从而采集到完整的指纹,在具体实施中,可能需要不止三次在副屏上的触摸区域调整触摸位置,才能采集到完整的指纹。It can be seen from 8a, 8b, 8c and 8d in the above-mentioned FIG. 8 that the user adjusts the touch position on the secondary screen twice to collect fingerprints that meet the requirements. In other embodiments, referring to 8a, 8b and 8d in FIG. 8 , after the prompt logo 822 as shown in 8b in FIG. 8 is displayed on the main screen, after one adjustment of the touch position on the secondary screen, the result shown in FIG. 8 can be obtained. The prompt identification 823 shown in 8d in the middle indicates a fingerprint that meets the requirements. In some other embodiments, referring to 8a and 5d in FIG. 8 , the user can obtain a complete fingerprint with one touch operation directly on the display touch area 810 on the secondary screen. The embodiments of the present application only illustrate one, two, and three touch operations on the touch area on the secondary screen, so as to collect a complete fingerprint. In specific implementation, it may be necessary to adjust the touch area on the secondary screen more than three times. Touch the location to collect a complete fingerprint.

应用场景3:指纹解锁场景。本申请实施例中,指纹解锁场景可以是对处于锁屏状态的手机100进行解锁的场景,也可以在使用手机100上支付宝、微信等应用的支付功能时需要验证指纹的场景。在指纹解锁场景中,用户可以在手机100的副屏上的显示触摸区域中进行触摸操作,并在主屏的显示触摸区域中显示提示标识,该提示标识可以指示用户手指在副屏的显示触摸区域中的触摸区域以及触摸位置。Application scenario 3: fingerprint unlocking scenario. In the embodiment of the present application, the fingerprint unlocking scenario may be a scenario of unlocking the mobile phone 100 in a locked screen state, or a scenario in which a fingerprint needs to be verified when using the payment functions of applications such as Alipay and WeChat on the mobile phone 100 . In the fingerprint unlocking scenario, the user can perform a touch operation in the display touch area on the secondary screen of the mobile phone 100, and a prompt logo is displayed in the display touch area on the main screen, and the prompt logo can indicate that the user's finger is in the display touch area on the secondary screen. touch area and touch location in .

下面以对处于锁屏状态的手机100进行解锁的场景为进行说明。The following description takes the scenario of unlocking the mobile phone 100 in the locked screen state as an example.

参见图9中9a,手机100的主屏的显示触摸区域显示一个指纹图标920,该指纹图标920用于显示指示用户对副屏的显示触摸区域上的指纹框910进行触摸操作时采集到的指纹。手机100的副屏显示一个指纹框910用于在检测到对指纹框910的触摸操作时采集指纹。Referring to 9a in FIG. 9 , a fingerprint icon 920 is displayed on the display touch area of the main screen of the mobile phone 100, and the fingerprint icon 920 is used to display the fingerprint collected when the user touches the fingerprint frame 910 on the display touch area of the secondary screen. The secondary screen of the mobile phone 100 displays a fingerprint frame 910 for collecting fingerprints when a touch operation on the fingerprint frame 910 is detected.

在需要验证指纹时,用户在副屏上的指纹框910进行触摸操作时,可能录入的指纹不全,如图9中9b所示,当手机100的指纹传感器检测到用户在副屏上的指纹框910的触摸操作时,该触摸操作在该指纹框910形成的触摸区域911,手机100响应于该触摸操作在主屏上的指纹图标920中显示提示标识921,此时提示标识921显示一个残缺的指纹,以使用户知晓该触摸操作所录入的指纹不正确,提示标识921在指纹图标920中的位置偏左,这样用户可以向右调整触摸位置进行触摸操作,以实现得到如图9中9c所示的完整的指纹。该提示标识921还可以是文字提示信息,比如提示调整指纹录入位置。When fingerprint verification is required, when the user performs a touch operation on the fingerprint frame 910 on the secondary screen, the recorded fingerprints may be incomplete. As shown in 9b in FIG. 9 , when the fingerprint sensor of the mobile phone 100 detects the user's fingerprint frame on the secondary screen 910 touch operation, the touch operation is in the touch area 911 formed by the fingerprint frame 910, the mobile phone 100 responds to the touch operation in the fingerprint icon 920 on the home screen and displays a prompt mark 921, at this time, the prompt mark 921 displays a broken fingerprint , so that the user knows that the fingerprint entered by the touch operation is incorrect, and the position of the indicator 921 in the fingerprint icon 920 is shifted to the left, so that the user can adjust the touch position to the right to perform the touch operation, so as to achieve the result as shown in 9c in FIG. 9 . full fingerprint. The prompt identifier 921 may also be text prompt information, such as prompting to adjust the fingerprint entry position.

参见图9中9c,当手机100检测到用户在副屏上的指纹框910的触摸操作时,该触摸操作在该指纹框910形成的触摸区域912,手机100响应于该触摸操作在主屏上的指纹图标920中显示提示标识922,此时提示标识921显示一个完整的指纹,以使用户知晓该触摸操作所录入的指纹区域正确。然后,手机100将从显示触摸区域912采集的指纹与手机中存储的指纹模板进行比对,如果采集的指纹与指纹模板匹配,那么可以实现解锁;如果采集的指纹与指纹模板不匹配,那么解锁失败。Referring to 9c in FIG. 9 , when the mobile phone 100 detects a user's touch operation on the fingerprint frame 910 on the secondary screen, the touch operation is performed in the touch area 912 formed by the fingerprint frame 910, and the mobile phone 100 responds to the touch operation on the main screen. A prompting mark 922 is displayed in the fingerprint icon 920, and at this time, the prompting mark 921 displays a complete fingerprint, so that the user knows that the fingerprint area entered by the touch operation is correct. Then, the mobile phone 100 compares the fingerprint collected from the display touch area 912 with the fingerprint template stored in the mobile phone. If the collected fingerprint matches the fingerprint template, unlocking can be achieved; if the collected fingerprint does not match the fingerprint template, unlocking is performed. fail.

在解锁之后,参见图9中9d,手机100可以在主屏上用户界面930,用户界面930可以包括多个应用图标。用户可以在副屏的显示触摸区域940进行操作,并将触摸操作的位置映射到主屏上的显示触摸区域,并可以在主屏上的相应位置显示提示标识,具体过程参见图6的相关介绍,此处不再赘述。After unlocking, referring to 9d in FIG. 9 , the mobile phone 100 may display a user interface 930 on the home screen, and the user interface 930 may include a plurality of application icons. The user can operate on the display touch area 940 of the secondary screen, map the position of the touch operation to the display touch area on the main screen, and display a prompt sign at the corresponding position on the main screen. For the specific process, see the relevant introduction in FIG. 6 . It is not repeated here.

应理解,上述指纹解锁的场景的实现过程,也可以应用于指纹应用的指纹验证的场景中,在使用支付宝、微信等指纹应用中的支付功能时,可能会采用指纹验证以代替密码验证,指纹应用的指纹验证实现过程与指纹解锁场景的实现过程类似。It should be understood that the implementation process of the above fingerprint unlocking scenario can also be applied to the fingerprint verification scenario of fingerprint applications. When using the payment functions in fingerprint applications such as Alipay and WeChat, fingerprint verification may be used instead of password verification. The implementation process of the fingerprint verification of the application is similar to the implementation process of the fingerprint unlocking scenario.

在本申请的另一些实施例中,还公开了一种电子设备,如图10所示,该电子设备可以包括:触摸屏1001,其中,该触摸屏1001包括触控面板1006和显示屏1007;一个或多个处理器1002;存储器1003;一个或多个应用程序(未示出);以及一个或多个计算机程序1004、上述各器件可以通过一个或多个通信总线1005连接。其中该一个或多个计算机程序1004被存储在上述存储器1003中并被配置为被该一个或多个处理器1002执行,该一个或多个计算机程序1004包括指令,上述指令可以用于执行上述实施例中的方法。In other embodiments of the present application, an electronic device is also disclosed. As shown in FIG. 10 , the electronic device may include: a touch screen 1001, wherein the touch screen 1001 includes a touch panel 1006 and a display screen 1007; one or A plurality of processors 1002; memories 1003; one or more application programs (not shown); wherein the one or more computer programs 1004 are stored in the aforementioned memory 1003 and configured to be executed by the one or more processors 1002, the one or more computer programs 1004 comprising instructions that can be used to perform the aforementioned implementations method in the example.

本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的方法。Embodiments of the present application further provide a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned relevant method steps to implement the methods in the above-mentioned embodiments.

本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的方法。Embodiments of the present application further provide a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to implement the methods in the above-mentioned embodiments.

另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的方法。In addition, the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes the touch screen method in the above method embodiments.

其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。The electronic devices, computer storage media, computer program products or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the corresponding methods provided above. The beneficial effects of the method are not repeated here.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated by different The function module is completed, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented. Another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.

以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. The utility model provides an operation suggestion method, its characterized in that is applied to the electronic equipment that has collapsible touch-sensitive screen, collapsible touch-sensitive screen includes first screen and second screen, the contained angle between first screen and the second screen is less than preset contained angle, be equipped with fingerprint sensor on the first screen, the method includes:
detecting a first operation on a display touch area on a first screen;
in response to the first operation, acquiring a fingerprint corresponding to the first operation through the fingerprint sensor arranged on the first screen, and displaying a prompt identifier at a corresponding position of the second screen according to a position mapping relation when verifying that the fingerprint is matched with a fingerprint template in a fingerprint template library, wherein the prompt identifier is associated with a touch position of the first operation at a display position of the second screen, the position mapping relation is determined according to display touch areas of the first screen and the second screen, the area of the display touch area of the first screen is smaller than that of the display touch area of the second screen, and the display touch area of the second screen is the whole screen area or a part of screen area of the second screen;
when the first operation is a click operation, after a prompt mark is displayed at a position corresponding to the second screen, locking the display content at the position of the prompt mark in the second screen; zooming in the locked display content in response to a sliding operation in a first direction on the first screen; zooming out the locked display content in response to a sliding operation in a second direction on the first screen.
2. The method of claim 1, wherein the prompt indicia moves in the second screen with a sliding operation of a finger in a display touch area of the first screen.
3. The method according to claim 1, wherein the displaying a prompt mark at a corresponding position of the second screen comprises:
displaying the fingerprint on the second screen.
4. The method of any one of claims 1-3, wherein the predetermined included angle is less than or equal to 180 degrees.
5. An electronic device is characterized by comprising a foldable touch screen, a processor and a memory, wherein the foldable touch screen comprises a first screen and a second screen, an included angle between the first screen and the second screen is smaller than a preset included angle, a fingerprint sensor is arranged on the first screen, and the memory is used for storing one or more computer programs;
the memory stores one or more computer programs that, when executed by the processor, cause the electronic device to perform:
detecting a first operation on a display touch area on a first screen;
in response to the first operation, acquiring a fingerprint corresponding to the first operation through the fingerprint sensor arranged on the first screen, and displaying a prompt identifier at a corresponding position of the second screen according to a position mapping relation when verifying that the fingerprint is matched with a fingerprint template in a fingerprint template library, wherein the prompt identifier is associated with a touch position of the first operation at a display position of the second screen, the position mapping relation is determined according to display touch areas of the first screen and the second screen, the area of the display touch area of the first screen is smaller than that of the display touch area of the second screen, and the display touch area of the second screen is the whole screen area or a part of screen area of the second screen;
when the first operation is a click operation, after a prompt mark is displayed at a position corresponding to the second screen, locking the display content at the position of the prompt mark in the second screen; zooming in the locked display content in response to a sliding operation in a first direction on the first screen; zooming out the locked display content in response to a sliding operation in a second direction on the first screen.
6. The electronic device of claim 5, wherein the prompt indicia moves in the second screen with a sliding operation of a finger in a display touch area of the first screen.
7. The electronic device of claim 5, wherein the one or more computer programs stored in the memory, when executed by the processor, cause the electronic device to perform, in particular:
displaying the fingerprint on the second screen.
8. The electronic device of any of claims 5-7, wherein the predetermined included angle is less than or equal to 180 degrees.
9. A computer-readable storage medium, comprising a computer program which, when run on an electronic device, causes the electronic device to perform the method of any of claims 1 to 4.
CN201911056861.0A 2019-10-31 2019-10-31 Operation prompting method and electronic equipment Active CN112751954B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911056861.0A CN112751954B (en) 2019-10-31 2019-10-31 Operation prompting method and electronic equipment
PCT/CN2020/105380 WO2021082564A1 (en) 2019-10-31 2020-07-29 Operation prompt method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911056861.0A CN112751954B (en) 2019-10-31 2019-10-31 Operation prompting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112751954A CN112751954A (en) 2021-05-04
CN112751954B true CN112751954B (en) 2022-08-26

Family

ID=75644942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911056861.0A Active CN112751954B (en) 2019-10-31 2019-10-31 Operation prompting method and electronic equipment

Country Status (2)

Country Link
CN (1) CN112751954B (en)
WO (1) WO2021082564A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641292B (en) * 2021-07-09 2022-08-12 荣耀终端有限公司 Method and electronic equipment for operating on touch screen
CN115686252B (en) * 2021-09-24 2023-10-20 荣耀终端有限公司 Position information calculation method and electronic device in touch screen
CN116107482A (en) * 2021-11-08 2023-05-12 Oppo广东移动通信有限公司 Application control method, device, terminal, storage medium and computer program product
CN114415996A (en) * 2021-12-13 2022-04-29 西安广和通无线软件有限公司 Double-screen display device and method
CN114363049A (en) * 2021-12-30 2022-04-15 武汉杰创达科技有限公司 Internet of things equipment multi-ID identification method based on personalized interaction difference
CN114915751A (en) * 2022-05-19 2022-08-16 华天高科(武汉)技术有限公司 High-definition video conference system
CN116048341B (en) * 2022-07-28 2023-09-15 荣耀终端有限公司 Multi-screen cooperation method and electronic equipment
US12034879B1 (en) * 2023-03-27 2024-07-09 Motorola Mobility Llc Methods and systems for controlling a translating flexible display of an electronic device in response to pinch gesture user input
US12035035B1 (en) * 2023-03-27 2024-07-09 Motorola Mobility Llc Methods and systems for controlling a translating flexible display of an electronic device in response to zoom gesture user input

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324347A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Method and system for operating mobile terminal on the basis of multi-touch panel
CN103761045A (en) * 2014-01-22 2014-04-30 深圳市欧珀通信软件有限公司 Zoom touch control method and device of mobile terminal
CN109918007A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 A kind of displaying method of terminal, terminal and computer readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445396B (en) * 2012-03-12 2019-09-13 联想(北京)有限公司 A kind of inputting method of touch screen and electronic equipment
CN103024156A (en) * 2012-11-29 2013-04-03 广东欧珀移动通信有限公司 Implementation method, system and mobile terminal for one-hand operation of mobile terminal
KR20140135404A (en) * 2013-05-16 2014-11-26 엘지전자 주식회사 Portable device and controlling method thereof
CN105094654B (en) * 2014-05-07 2020-02-07 中兴通讯股份有限公司 Screen control method and device
EP3223113B1 (en) * 2014-11-17 2020-03-11 LG Electronics Inc. Foldable display device
WO2018120084A1 (en) * 2016-12-30 2018-07-05 深圳市柔宇科技有限公司 Flexible display device control method and apparatus
CN108595075A (en) * 2018-05-01 2018-09-28 苏州鸥鹄智能科技有限公司 A kind of electronic equipment touch-control exchange method
CN108595076A (en) * 2018-05-01 2018-09-28 苏州鸥鹄智能科技有限公司 A kind of electronic equipment touch-control exchange method
CN108958615B (en) * 2018-07-25 2021-03-02 维沃移动通信有限公司 Display control method, terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324347A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Method and system for operating mobile terminal on the basis of multi-touch panel
CN103761045A (en) * 2014-01-22 2014-04-30 深圳市欧珀通信软件有限公司 Zoom touch control method and device of mobile terminal
CN109918007A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 A kind of displaying method of terminal, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2021082564A1 (en) 2021-05-06
CN112751954A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN112751954B (en) Operation prompting method and electronic equipment
CN109981839B (en) A display method and electronic device of an electronic device with a flexible screen
US20220206741A1 (en) Volume adjustment method and electronic device
CN113325941B (en) Under-screen fingerprint display method and electronic device
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
CN112671976B (en) Control method and device of electronic equipment, electronic equipment and storage medium
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN110543287B (en) A screen display method and electronic device
CN110244893A (en) Operating method and electronic device for split-screen display
WO2021063098A1 (en) Touch screen response method, and electronic device
CN110633043A (en) A split-screen processing method and terminal device
WO2021078032A1 (en) User interface display method and electronic device
WO2022052740A1 (en) Folding device and method for controlling opening and closing thereof
EP4024839A1 (en) Operation method and electronic device
WO2021057699A1 (en) Method for controlling electronic device with flexible screen, and electronic device
WO2021238370A1 (en) Display control method, electronic device, and computer-readable storage medium
CN113438366B (en) Interactive method, electronic device and storage medium for information notification
WO2022143180A1 (en) Collaborative display method, terminal device, and computer readable storage medium
CN113641271A (en) Application window management method, terminal device and computer-readable storage medium
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
CN114173165B (en) Display method and electronic equipment
WO2022022381A1 (en) Method and apparatus for generating graffiti patterns, electronic device, and storage medium
US12204741B2 (en) Screenshot method and related device
WO2022135273A1 (en) Method for invoking capabilities of other devices, electronic device, and system
WO2024139257A1 (en) Method for displaying interfaces of application programs and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant