WO2022037408A1 - Display method and electronic device - Google Patents

Display method and electronic device Download PDF

Info

Publication number
WO2022037408A1
WO2022037408A1 PCT/CN2021/110431 CN2021110431W WO2022037408A1 WO 2022037408 A1 WO2022037408 A1 WO 2022037408A1 CN 2021110431 W CN2021110431 W CN 2021110431W WO 2022037408 A1 WO2022037408 A1 WO 2022037408A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
display screen
area
card
display
Prior art date
Application number
PCT/CN2021/110431
Other languages
French (fr)
Chinese (zh)
Inventor
高凌云
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022037408A1 publication Critical patent/WO2022037408A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, 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
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • 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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • 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/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
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • H04N21/4415Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card using biometric characteristics of the user, e.g. by voice recognition or fingerprint scanning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided by an embodiment of the present application is a display method, which is applied in a foldable electronic device, the electronic device comprising a first display screen and a second display screen; when the electronic device is in an unfolded state, a light emitting face of the first display screen and a light emitting face of the second display screen are opposing; the first display screen comprises a first display area and a second display area; and when the electronic device is in a bent state, the angle between the plane in which the first display area is located and the plane in which the second display area is located is less than 180 degrees; and the method comprises: detecting a touch control operation performed on the first display screen, wherein the electronic device is in said bent state; the touch control operation is performed on a first touch control area of the first display area and is also performed on a second touch control area of the second display area; and in response to the touch control operation, displaying a preset interface on the second display screen. By utilizing the embodiment of the present application, a user operation for checking a preset interface can be greatly simplified, use by the user is more convenient, and a better experience is provided.

Description

一种显示方法及电子设备A display method and electronic device
本申请要求于2020年08月19日提交中国专利局、申请号为202010847676.X、申请名称为“一种显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 202010847676.X and the application title of "A Display Method and Electronic Device" filed with the China Patent Office on August 19, 2020, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本申请涉及电子设备技术领域,尤其涉及一种显示方法及电子设备。The present application relates to the technical field of electronic devices, and in particular, to a display method and electronic device.
背景技术Background technique
目前,用户使用电子设备的过程中,若需打开付款码、乘车码等特定界面,用户往往需要执行多个操作。例如,用户通过手机上的视频应用观看视频时,需要使用付款码,则用户需执行的多个操作包括:将视频应用退出或置于手机的后台,查找支付应用的入口并打开该应用,然后在该应用中查找可以查看付款码的控件,最后选择该控件以查看付款码。用户操作繁琐,使用感较差。At present, in the process of using an electronic device, if a user needs to open a specific interface such as a payment code and a bus code, the user often needs to perform multiple operations. For example, if a user needs to use a payment code when watching a video through a video application on a mobile phone, the user needs to perform multiple operations including: exiting the video application or placing it in the background of the mobile phone, finding the entrance of the payment application and opening the application, and then Look for a control in the app where you can view the payment code, and finally select the control to view the payment code. The user's operation is cumbersome and the sense of use is poor.
发明内容SUMMARY OF THE INVENTION
本申请实施例公开了一种显示方法及电子设备,能够方便快速地打开包括付款码、乘车码等电子卡片的预设界面,大大简化了用户的操作,提升用户使用感。The embodiment of the present application discloses a display method and an electronic device, which can conveniently and quickly open a preset interface of an electronic card including a payment code, a bus code, etc., which greatly simplifies the user's operation and improves the user's sense of use.
第一方面,本申请实施例提供了一种显示方法,该方法应用于可折叠的电子设备,该电子设备包括第一显示屏和第二显示屏;当电子设备处于展开状态时,第一显示屏的出光面和第二显示屏的出光面相背;第一显示屏包括第一显示区域和第二显示区域;当电子设备处于展开状态时,第一显示区域和第二显示区域处于同一平面;当电子设备处于弯折状态时,第一显示区域所在平面和第二显示区域所在平面之间的角度小于180度;该方法包括:检测作用于第一显示屏的触控操作,其中,电子设备处于上述弯折状态;该触控操作作用于第一显示区域的第一触控区域,还作用于第二显示区域的第二触控区域;响应于上述触控操作,在第二显示屏显示预设界面。In a first aspect, an embodiment of the present application provides a display method, the method is applied to a foldable electronic device, the electronic device includes a first display screen and a second display screen; when the electronic device is in an unfolded state, the first display screen The light-emitting surface of the screen is opposite to the light-emitting surface of the second display screen; the first display screen includes a first display area and a second display area; when the electronic device is in an unfolded state, the first display area and the second display area are on the same plane; When the electronic device is in a bent state, the angle between the plane where the first display area is located and the plane where the second display area is located is less than 180 degrees; the method includes: detecting a touch operation acting on the first display screen, wherein the electronic device in the above bending state; the touch operation acts on the first touch area of the first display area, and also acts on the second touch area of the second display area; in response to the touch operation, the display is displayed on the second display screen Default interface.
本申请实施例中,若用户需打开预设界面,可以无需查找用于打开预设界面的控件,也无需执行用于打开预设界面的多个用户操作。用户可以在电子设备处于弯折状态时,直接通过上述作用于第一显示屏的触控操作快速打开预设界面。从而大大简化了用户的操作过程,用户使用方便,电子设备的实用性也更高。In this embodiment of the present application, if the user needs to open the preset interface, there is no need to search for a control for opening the preset interface, and there is no need to perform multiple user operations for opening the preset interface. When the electronic device is in a bent state, the user can quickly open the preset interface directly through the above-mentioned touch operation acting on the first display screen. Thus, the user's operation process is greatly simplified, the user is convenient to use, and the practicability of the electronic device is also higher.
在一种可能的实现方式中,当电子设备处于上述弯折状态时,第一显示区域所在平面和第二显示区域所在平面之间的角度大于15度,小于30度。In a possible implementation manner, when the electronic device is in the above bending state, the angle between the plane where the first display area is located and the plane where the second display area is located is greater than 15 degrees and less than 30 degrees.
在一种可能的实现方式中,电子设备处于上述弯折状态时,第一显示区域所在平面和第二显示区域所在平面相交的交线为第一显示屏的中轴线;第一触控区域在该中轴线上的投影和第二触控区域在该中轴线上的投影至少部分重叠。In a possible implementation manner, when the electronic device is in the above-mentioned bending state, the intersection line where the plane where the first display area is located and the plane where the second display area is located is the central axis of the first display screen; The projection on the central axis and the projection of the second touch area on the central axis at least partially overlap.
本申请实施例中,通过第一触控区域和第二触控区域的限定避免用户误操作打开预设界面的情况(例如用户大拇指触摸第一显示区域以操作电子设备时,食指误触到第二显示区域的情况),从而提升用户体验感。In the embodiment of the present application, the first touch area and the second touch area are defined to avoid the situation where the user opens the preset interface by mistake (for example, when the user's thumb touches the first display area to operate the electronic device, the index finger accidentally touches the the case of the second display area), thereby improving the user experience.
在一种可能的实现方式中,第一触控区域位于第一显示区域的第一位置,第二触控区域 位于第二显示区域的第二位置时,第二显示屏显示的预设界面为第一界面;第一触控区域位于第一显示区域的第三位置,第二触控区域位于第二显示区域的第四位置时,第二显示屏显示的预设界面为第二界面。In a possible implementation manner, when the first touch area is located at the first position of the first display area, and the second touch area is located at the second position of the second display area, the preset interface displayed on the second display screen is: The first interface; when the first touch area is located at the third position of the first display area, and the second touch area is located at the fourth position of the second display area, the preset interface displayed on the second display screen is the second interface.
本申请实施例中,第一触控区域位于第一显示区域的不同位置,以及第二触控区域位于第二显示区域的不同位置时,电子设备显示的预设界面可以不同。因此,用户可以通过作用于第一显示屏上不同位置的触控操作,快速打开不同的预设界面。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In the embodiment of the present application, when the first touch area is located at different positions of the first display area, and when the second touch area is located at different positions of the second display area, the preset interface displayed by the electronic device may be different. Therefore, the user can quickly open different preset interfaces through touch operations acting on different positions on the first display screen. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
在一种可能的实现方式中,上述预设界面显示一个或多个电子卡片。In a possible implementation manner, the above-mentioned preset interface displays one or more electronic cards.
示例性地,电子卡片是付款码、乘车码、个人名片等二维码,付款码、订单编码、快递单号编码等条形码,身份证、社保卡等个人证件,飞机票、动车票等交通票,电影票,景点门票,银行卡,会员卡,或者备忘录中的一条记录信息等预设信息。Exemplarily, electronic cards are two-dimensional codes such as payment codes, travel codes, personal business cards, barcodes such as payment codes, order codes, express tracking numbers, etc., personal documents such as ID cards and social security cards, and transportation tickets such as air tickets and train tickets. Preset information such as ticket, movie ticket, attraction ticket, bank card, membership card, or a record message in the memo.
在一种可能的实现方式中,预设界面显示多个电子卡片时,多个电子卡片包括第一卡片和第二卡片;预设界面显示第一卡片的全部内容,显示第二卡片的部分内容。In a possible implementation manner, when the preset interface displays multiple electronic cards, the multiple electronic cards include a first card and a second card; the preset interface displays the entire content of the first card and displays part of the content of the second card .
在一种可能的实现方式中,预设界面显示多个电子卡片时,多个电子卡片包括第一卡片和第二卡片;预设界面显示第一卡片和第二卡片的全部内容,第一卡片位于第五位置,第二卡片位于第六位置,第五位置和第六位置不同。In a possible implementation manner, when the preset interface displays multiple electronic cards, the multiple electronic cards include the first card and the second card; the preset interface displays the entire contents of the first card and the second card, and the first card In the fifth position, the second card is in the sixth position, and the fifth position and the sixth position are different.
可选地,第一卡片可以为一个或多个卡片。第一卡片为多个卡片时,上述在预设界面显示第一卡片的全部内容,具体为:在预设界面显示第一卡片这多个卡片中的预设第一卡片。Optionally, the first card may be one or more cards. When the first card is a plurality of cards, the above-mentioned displaying the entire content of the first card on the preset interface is specifically: displaying the preset first card among the multiple cards of the first card on the preset interface.
可选地,第二卡片可以为一个或多个卡片。第二卡片为多个卡片时,上述在预设界面显示第二卡片的全部内容,具体为:在预设界面显示第二卡片这多个卡片中的预设第二卡片。Optionally, the second card may be one or more cards. When the second card is a plurality of cards, the above-mentioned displaying the entire content of the second card on the preset interface is specifically: displaying a preset second card among the multiple cards of the second card on the preset interface.
在一种可能的实现方式中,该方法还包括:在预设界面显示第一卡片的全部内容,显示第二卡片的部分内容时,检测第三操作;响应于该第三操作,在预设界面显示第二卡片的全部内容,显示第一卡片的部分内容。In a possible implementation manner, the method further includes: on the preset interface displaying the entire content of the first card and displaying part of the content of the second card, detecting a third operation; in response to the third operation, in the preset interface The interface displays the entire content of the second card, and displays part of the content of the first card.
在一些实施例中,第三操作作用于第一显示屏。In some embodiments, the third operation acts on the first display screen.
在一些实施例中,第三操作作用于第二显示屏。可选地,第三操作作用于第二显示屏显示的第一卡片。可选地,第三操作作用于第二显示屏显示的第二卡片。In some embodiments, the third operation acts on the second display screen. Optionally, the third operation acts on the first card displayed on the second display screen. Optionally, the third operation acts on the second card displayed on the second display screen.
本申请实施例中,用户可以根据使用需求,通过第三操作选择预设界面优先显示的电子卡片(即预设界面显示全部内容的卡片)。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In this embodiment of the present application, the user may select an electronic card to be preferentially displayed on the preset interface (ie, the card on which the preset interface displays all the contents) through the third operation according to the usage requirements. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
在一种可能的实现方式中,该方法还包括:在预设界面的第五位置显示第一卡片,在预设界面的第六位置显示第二卡片时,检测第四操作;响应于第四操作,在预设界面的第六位置显示第一卡片,在预设界面的第五位置显示第二卡片。In a possible implementation manner, the method further includes: displaying the first card at the fifth position of the preset interface, and when displaying the second card at the sixth position of the preset interface, detecting a fourth operation; in response to the fourth Operation, display the first card in the sixth position of the preset interface, and display the second card in the fifth position of the preset interface.
在一些实施例中,第四操作作用于第一显示屏。In some embodiments, the fourth operation acts on the first display screen.
在一些实施例中,第四操作作用于第二显示屏。可选地,第四操作作用于第二显示屏显示的第一卡片。可选地,第四操作作用于第二显示屏显示的第二卡片。In some embodiments, the fourth operation acts on the second display screen. Optionally, the fourth operation acts on the first card displayed on the second display screen. Optionally, the fourth operation acts on the second card displayed on the second display screen.
本申请实施例中,用户可以根据使用需求和习惯,通过第四操作切换预设界面显示的多个电子卡片的位置。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In the embodiment of the present application, the user can switch the positions of the plurality of electronic cards displayed on the preset interface through the fourth operation according to the usage requirements and habits. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
在一种可能的实现方式中,上述在第二显示屏显示预设界面之前,该方法还包括:采集用户的生物特征信息;对该生物特征信息进行验证;上述在第二显示屏显示预设界面,包括:响应于该生物特征信息验证通过,在第二显示屏显示预设界面。In a possible implementation manner, before the preset interface is displayed on the second display screen, the method further includes: collecting the biometric information of the user; verifying the biometric information; and displaying the preset interface on the second display screen. The interface includes: in response to the verification of the biometric information passing, displaying a preset interface on the second display screen.
在一种可能的实现方式中,生物特征信息包括以下至少一种:人脸信息、指纹信息、声 纹信息、或虹膜信息。In a possible implementation manner, the biometric information includes at least one of the following: face information, fingerprint information, voiceprint information, or iris information.
本申请实施例中,电子设备采集用户的生物特征信息以及对该生物特征信息进行验证的过程用户无感。在该生物特征信息验证通过的情况下才在第二显示屏显示预设界面,不仅保证了信息的安全性,也无需用户手动执行身份验证的过程,用户使用感更好。In this embodiment of the present application, the user does not feel the process of collecting the biometric information of the user and verifying the biometric information by the electronic device. The preset interface is displayed on the second display screen only when the biometric information verification is passed, which not only ensures the security of the information, but also does not require the user to manually perform the process of identity verification, and the user has a better sense of use.
在一种可能的实现方式中,上述检测作用于第一显示屏的触控操作之前,该方法还包括:在第一显示屏和/或第二显示屏显示第一应用的界面;在第二显示屏显示预设界面之后,该方法还包括:接收第五操作;响应于该第五操作,在第一显示屏和/或第二显示屏显示上述第一应用的界面。In a possible implementation manner, before detecting the touch operation acting on the first display screen, the method further includes: displaying the interface of the first application on the first display screen and/or the second display screen; After the display screen displays the preset interface, the method further includes: receiving a fifth operation; in response to the fifth operation, displaying the interface of the first application on the first display screen and/or the second display screen.
其中,用户执行第五操作之后,电子设备不处于弯折状态和/或电子设备未检测到上述作用于第一显示屏的触控操作。Wherein, after the user performs the fifth operation, the electronic device is not in a bent state and/or the electronic device does not detect the above-mentioned touch operation acting on the first display screen.
示例性地,上述检测作用于第一显示屏的触控操作之前,电子设备处于展开状态,并且在第一显示屏显示第一应用的界面。第五操作为展开操作,用户执行第五操作之后,电子设备不处于弯折状态。响应于该第五操作,电子设备不在第二显示屏显示预设界面,而在第一显示屏显示上述第一应用的界面。Exemplarily, before the above-mentioned detection of the touch operation acting on the first display screen, the electronic device is in an unfolded state, and the interface of the first application is displayed on the first display screen. The fifth operation is an unfolding operation. After the user performs the fifth operation, the electronic device is not in a bent state. In response to the fifth operation, the electronic device does not display the preset interface on the second display screen, but displays the interface of the first application on the first display screen.
本申请实施例中,当电子设备不处于弯折状态和/或未检测到上述作用于第一显示屏的触控操作时,电子设备可以恢复显示上述第二显示屏显示预设界面之前,在第一显示屏和/或第二显示屏显示的第一应用的界面。从而不影响用户继续电子设备显示预设界面之前执行的任务,用户使用更加方便。In this embodiment of the present application, when the electronic device is not in a bent state and/or the above-mentioned touch operation acting on the first display screen is not detected, the electronic device can resume displaying the second display screen before displaying the preset interface. The interface of the first application displayed on the first display screen and/or the second display screen. Therefore, it does not affect the user to continue the task performed before the electronic device displays the preset interface, and the user is more convenient to use.
第二方面,本申请实施例提供了一种图形用户界面(graphical user interface,GUI)的显示方法,应用于可折叠的电子设备,该电子设备包括第一显示屏、第二显示屏;当电子设备处于展开状态时,第一显示屏的出光面和第二显示屏的出光面相背;第一显示屏包括第一显示区域和第二显示区域;当电子设备处于展开状态时,第一显示区域和第二显示区域处于同一平面;当电子设备处于弯折状态时,第一显示区域所在平面和第二显示区域所在平面之间的角度小于180度;该方法包括:电子设备检测作用于第一显示屏的触控操作,其中,电子设备处于上述弯折状态;该触控操作作用于第一显示区域的第一触控区域,还作用于第二显示区域的第二触控区域;响应于上述触控操作,在第二显示屏显示预设GUI。In a second aspect, embodiments of the present application provide a method for displaying a graphical user interface (GUI), which is applied to a foldable electronic device, where the electronic device includes a first display screen and a second display screen; When the device is in the unfolded state, the light-emitting surface of the first display screen is opposite to the light-emitting surface of the second display screen; the first display screen includes a first display area and a second display area; when the electronic device is in the unfolded state, the first display area and the second display area are on the same plane; when the electronic device is in a bent state, the angle between the plane where the first display area is located and the plane where the second display area is located is less than 180 degrees; the method includes: the electronic device detects an effect on the first display area. touch operation of the display screen, wherein the electronic device is in the above-mentioned bent state; the touch operation acts on the first touch area of the first display area, and also acts on the second touch area of the second display area; in response to the For the above touch operation, a preset GUI is displayed on the second display screen.
本申请实施例中,若用户需打开预设GUI,可以无需查找用于打开预设GUI的控件,也无需执行用于打开预设GUI的多个用户操作。用户可以在电子设备处于弯折状态时,直接通过上述作用于第一显示屏的触控操作快速打开预设GUI。从而大大简化了用户的操作过程,用户使用方便,电子设备的实用性也更高。In this embodiment of the present application, if the user needs to open the preset GUI, there is no need to search for a control for opening the preset GUI, and there is no need to perform multiple user operations for opening the preset GUI. When the electronic device is in a bent state, the user can quickly open the preset GUI directly through the above-mentioned touch operation acting on the first display screen. Thus, the user's operation process is greatly simplified, the user is convenient to use, and the practicability of the electronic device is also higher.
在一种可能的实现方式中,第一触控区域位于第一显示区域的第一位置,第二触控区域位于第二显示区域的第二位置时,第二显示屏显示的预设GUI为第一GUI;第一触控区域位于第一显示区域的第三位置,第二触控区域位于第二显示区域的第四位置时,第二显示屏显示的预设GUI为第二GUI。In a possible implementation manner, when the first touch area is located at the first position of the first display area, and the second touch area is located at the second position of the second display area, the preset GUI displayed on the second display screen is: The first GUI; when the first touch area is located at the third position of the first display area, and the second touch area is located at the fourth position of the second display area, the preset GUI displayed on the second display screen is the second GUI.
本申请实施例中,第一触控区域位于第一显示区域的不同位置,以及第二触控区域位于第二显示区域的不同位置时,电子设备显示的预设GUI可以不同。因此,用户可以通过作用于第一显示屏上不同位置的触控操作,快速打开不同的预设GUI。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In the embodiment of the present application, when the first touch area is located at different positions of the first display area, and when the second touch area is located at different positions of the second display area, the preset GUI displayed by the electronic device may be different. Therefore, the user can quickly open different preset GUIs through touch operations acting on different positions on the first display screen. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
在一种可能的实现方式中,上述预设GUI显示一个或多个电子卡片。In a possible implementation manner, the above-mentioned preset GUI displays one or more electronic cards.
示例性地,电子卡片是付款码、乘车码、个人名片等二维码,付款码、订单编码、快递 单号编码等条形码,身份证、社保卡等个人证件,飞机票、动车票等交通票,电影票,景点门票,银行卡,会员卡,或者备忘录中的一条记录信息等预设信息。Exemplarily, electronic cards are two-dimensional codes such as payment codes, travel codes, personal business cards, barcodes such as payment codes, order codes, express tracking numbers, etc., personal documents such as ID cards and social security cards, and transportation tickets such as air tickets and train tickets. Preset information such as ticket, movie ticket, attraction ticket, bank card, membership card, or a record message in the memo.
在一种可能的实现方式中,预设GUI显示多个电子卡片时,多个电子卡片包括第一卡片和第二卡片;预设GUI显示第一卡片的全部内容,显示第二卡片的部分内容。In a possible implementation manner, when the preset GUI displays multiple electronic cards, the multiple electronic cards include a first card and a second card; the preset GUI displays the entire content of the first card and displays part of the content of the second card .
在一种可能的实现方式中,预设GUI显示多个电子卡片时,多个电子卡片包括第一卡片和第二卡片;预设GUI显示第一卡片和第二卡片的全部内容,第一卡片位于第五位置,第二卡片位于第六位置,第五位置和第六位置不同。In a possible implementation manner, when the preset GUI displays multiple electronic cards, the multiple electronic cards include a first card and a second card; the preset GUI displays all contents of the first card and the second card, and the first card In the fifth position, the second card is in the sixth position, and the fifth position and the sixth position are different.
可选地,第一卡片可以为一个或多个卡片。第一卡片为多个卡片时,上述在预设GUI显示第一卡片的全部内容,具体为:在预设GUI显示第一卡片这多个卡片中的预设第一卡片。Optionally, the first card may be one or more cards. When the first card is a plurality of cards, the above-mentioned displaying the entire content of the first card in the preset GUI is specifically: displaying the preset first card among the multiple cards of the first card in the preset GUI.
可选地,第二卡片可以为一个或多个卡片。第二卡片为多个卡片时,上述在预设GUI显示第二卡片的全部内容,具体为:在预设GUI显示第二卡片这多个卡片中的预设第二卡片。Optionally, the second card may be one or more cards. When the second card is a plurality of cards, the above-mentioned displaying the entire content of the second card in the preset GUI is specifically: displaying the preset second card among the multiple cards of the second card in the preset GUI.
在一种可能的实现方式中,该方法还包括:在预设GUI显示第一卡片的全部内容,显示第二卡片的部分内容时,检测第三操作;响应于该第三操作,在预设GUI显示第二卡片的全部内容,显示第一卡片的部分内容。In a possible implementation manner, the method further includes: when the preset GUI displays the entire content of the first card and displays part of the content of the second card, detecting a third operation; in response to the third operation, in the preset GUI The GUI displays the entire contents of the second card and displays part of the contents of the first card.
本申请实施例中,用户可以根据使用需求,通过第三操作选择预设GUI优先显示的电子卡片(即预设GUI显示全部内容的卡片)。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In this embodiment of the present application, the user may select an electronic card that is preset to be displayed preferentially by the GUI (ie, a card whose GUI is preset to display all contents) through a third operation according to usage requirements. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
在一种可能的实现方式中,该方法还包括:在预设GUI的第五位置显示第一卡片,在预设GUI的第六位置显示第二卡片时,检测第四操作;响应于第四操作,在预设GUI的第六位置显示第一卡片,在预设GUI的第五位置显示第二卡片。In a possible implementation manner, the method further includes: displaying the first card in the fifth position of the preset GUI, and when displaying the second card in the sixth position of the preset GUI, detecting a fourth operation; in response to the fourth The operation is to display the first card in the sixth position of the preset GUI, and display the second card in the fifth position of the preset GUI.
本申请实施例中,用户可以根据使用需求和习惯,通过第四操作切换预设GUI显示的多个电子卡片的位置。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In the embodiment of the present application, the user can switch the positions of the plurality of electronic cards displayed by the preset GUI through the fourth operation according to the usage requirements and habits. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
在一种可能的实现方式中,上述在第二显示屏显示预设GUI,包括:响应于用户的生物特征信息验证通过,在第二显示屏显示预设GUI。In a possible implementation manner, the above-mentioned displaying the preset GUI on the second display screen includes: in response to passing the verification of the user's biometric information, displaying the preset GUI on the second display screen.
本申请实施例中,电子设备采集用户的生物特征信息以及对该生物特征信息进行验证的过程用户无感。在该生物特征信息验证通过的情况下才在第二显示屏显示预设界面,不仅保证了信息的安全性,也无需用户手动执行身份验证的过程,用户使用感更好。In this embodiment of the present application, the user does not feel the process of collecting the biometric information of the user and verifying the biometric information by the electronic device. The preset interface is displayed on the second display screen only when the biometric information verification is passed, which not only ensures the security of the information, but also does not require the user to manually perform the process of identity verification, and the user has a better sense of use.
在一种可能的实现方式中,上述检测作用于第一显示屏的触控操作之前,该方法还包括:在第一显示屏和/或第二显示屏显示第一应用的GUI;上述在第二显示屏显示预设GUI之后,该方法还包括:接收第五操作;响应于该第五操作,在第一显示屏和/或第二显示屏显示上述第一应用的GUI。In a possible implementation manner, before detecting the touch operation acting on the first display screen, the method further includes: displaying the GUI of the first application on the first display screen and/or the second display screen; After the second display screen displays the preset GUI, the method further includes: receiving a fifth operation; and in response to the fifth operation, displaying the GUI of the first application on the first display screen and/or the second display screen.
其中,用户执行第五操作之后,电子设备不处于弯折状态和/或电子设备未检测到上述作用于第一显示屏的触控操作。Wherein, after the user performs the fifth operation, the electronic device is not in a bent state and/or the electronic device does not detect the above-mentioned touch operation acting on the first display screen.
示例性地,上述检测作用于第一显示屏的触控操作之前,电子设备处于展开状态,并且在第一显示屏显示第一应用的GUI。第五操作为展开操作,用户执行第五操作之后,电子设备不处于弯折状态。响应于该第五操作,电子设备不在第二显示屏显示预设GUI,而在第一显示屏显示上述第一应用的GUI。Exemplarily, before the above-mentioned detection of the touch operation acting on the first display screen, the electronic device is in an unfolded state, and the GUI of the first application is displayed on the first display screen. The fifth operation is an unfolding operation. After the user performs the fifth operation, the electronic device is not in a bent state. In response to the fifth operation, the electronic device does not display the preset GUI on the second display screen, but displays the GUI of the first application on the first display screen.
本申请实施例中,当电子设备不处于弯折状态和/或未检测到上述作用于第一显示屏的触控操作时,电子设备可以恢复显示上述第二显示屏显示预设GUI之前,在第一显示屏和/或第二显示屏显示的第一应用的GUI。从而不影响用户继续电子设备显示预设GUI之前执行的任务,用户使用更加方便。In this embodiment of the present application, when the electronic device is not in a bent state and/or the above-mentioned touch operation acting on the first display screen is not detected, the electronic device can resume displaying the second display screen before displaying the preset GUI. The GUI of the first application displayed on the first display screen and/or the second display screen. Therefore, it does not affect the user to continue the task performed before the electronic device displays the preset GUI, and the user is more convenient to use.
第三方面,本申请实施例提供了一种电子设备,该电子设备可折叠,该电子设备包括第一显示屏、第二显示屏、存储器、一个或多个处理器;当该电子设备处于展开状态时,第一显示屏的出光面和第二显示屏的出光面相背;第一显示屏包括第一显示区域和第二显示区域;当该电子设备处于上述展开状态时,第一显示区域和所述第二显示区域处于同一平面;当该电子设备处于弯折状态时,第一显示区域所在平面和第二显示区域所在平面之间的角度小于180度;上述存储器用于存储一个或多个计算机程序,上述一个或多个处理器用于调用上述一个或多个计算机程序,上述一个或多个计算机程序包括指令,当该指令被上述一个或多个处理器执行时,使得上述电子设备执行第一方面、第二方面、第一方面和第二方面的任意一种实现方式提供的显示方法。In a third aspect, embodiments of the present application provide an electronic device that is foldable, and the electronic device includes a first display screen, a second display screen, a memory, and one or more processors; when the electronic device is unfolded In the state, the light-emitting surface of the first display screen and the light-emitting surface of the second display screen are opposite to each other; the first display screen includes a first display area and a second display area; when the electronic device is in the above-mentioned unfolded state, the first display area and the second display area are opposite. The second display area is on the same plane; when the electronic device is in a bent state, the angle between the plane where the first display area is located and the plane where the second display area is located is less than 180 degrees; the above-mentioned memory is used to store one or more A computer program, the one or more processors are used to call the one or more computer programs, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the electronic device to execute the first step. A display method provided by any one of the implementation manners of the one aspect, the second aspect, the first aspect and the second aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当该指令在电子设备上运行时,使得该电子设备执行第一方面、第二方面、第一方面和第二方面的任意一种实现方式提供的显示方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, including instructions, when the instructions are executed on an electronic device, the electronic device is made to perform the first aspect, the second aspect, the first aspect, and the second aspect The display method provided by any one of the implementation manners of the aspect.
第五方面,本申请实施例提供了一种计算机程序产品,当该计算机程序产品在电子设备上运行时,使得该电子设备执行第一方面、第二方面、第一方面和第二方面的任意一种实现方式提供的显示方法。In a fifth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on an electronic device, enables the electronic device to perform any one of the first aspect, the second aspect, the first aspect and the second aspect A display method provided by an implementation.
第六方面,本申请实施例提供了一种芯片,该芯片包括至少一个处理器和接口电路,可选地,该芯片还包括存储器;上述存储器、上述接口电路和上述至少一个处理器通过线路互联,上述至少一个存储器中存储有计算机程序;上述计算机程序被上述处理器执行时实现第一方面、第二方面、第一方面和第二方面的任意一种实现方式提供的显示方法。In a sixth aspect, an embodiment of the present application provides a chip, the chip includes at least one processor and an interface circuit, and optionally, the chip further includes a memory; the above-mentioned memory, the above-mentioned interface circuit and the above-mentioned at least one processor are interconnected through a line , a computer program is stored in the at least one memory; when the computer program is executed by the processor, the display method provided by any one of the first aspect, the second aspect, the first aspect, and the second aspect is implemented.
可以理解地,上述第三方面提供的电子设备、第四方面提供的计算机存储介质、第五方面提供的计算机程序产品以及第六方面提供的芯片均用于执行第一方面、第二方面、第一方面和第二方面的任意一种实现方式提供的显示方法。因此,其所能达到的有益效果可参考第一方面和第二方面所提供的显示方法中的有益效果,此处不再赘述。It can be understood that the electronic device provided in the third aspect, the computer storage medium provided in the fourth aspect, the computer program product provided in the fifth aspect, and the chip provided in the sixth aspect are all used to execute the first aspect, the second aspect, and the third aspect. The display method provided by any one of the implementation manners of the one aspect and the second aspect. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects of the display methods provided in the first aspect and the second aspect, which will not be repeated here.
附图说明Description of drawings
以下对本申请实施例用到的附图进行介绍。The accompanying drawings used in the embodiments of the present application will be introduced below.
图1是本申请实施例提供的一种电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的又一种电子设备的结构示意图;2 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图3-图5是本申请实施例提供的一些电子设备的物理状态的示意图;3-5 are schematic diagrams of physical states of some electronic devices provided by embodiments of the present application;
图6-图9是本申请实施例提供的一些人机交互的示意图;6-9 are schematic diagrams of some human-computer interactions provided by embodiments of the present application;
图10A-图10D是本申请实施例提供的一些第一显示屏的示意图;10A-10D are schematic diagrams of some first display screens provided by embodiments of the present application;
图11-图25是本申请实施例提供的又一些人机交互的示意图;11-25 are schematic diagrams of further human-computer interactions provided by embodiments of the present application;
图26是本申请实施例提供的一种显示方法的流程示意图;FIG. 26 is a schematic flowchart of a display method provided by an embodiment of the present application;
图27是本申请实施例提供的又一种显示方法的流程示意图。FIG. 27 is a schematic flowchart of another display method provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。本申请实施例的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The technical solutions in the embodiments of the present application will be described clearly and in detail below with reference to the accompanying drawings. The terms used in the implementation part of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
本申请实施例中,电子设备配置有可折叠的显示屏(可以称为折叠屏),该电子设备可以称为可折叠电子设备。折叠屏折叠也可以称为电子设备折叠,折叠屏的物理状态也可以称为电子设备的物理状态。为了描述简便,以下实施例将可折叠电子设备简称为电子设备进行说 明。In this embodiment of the present application, the electronic device is configured with a foldable display screen (which may be referred to as a folding screen), and the electronic device may be referred to as a foldable electronic device. The folding of the folding screen can also be called the folding of the electronic device, and the physical state of the folding screen can also be called the physical state of the electronic device. For simplicity of description, the following embodiments refer to the foldable electronic device simply as an electronic device for description.
本申请实施例中,电子设备可以包括第一显示屏和第二显示屏,第一显示屏可以包括第一显示区域和第二显示区域,具体示例可参见下图3-图5所示的第一显示屏200、第二显示屏300、第一显示区域201和第二显示区域202,暂不详述。In this embodiment of the present application, the electronic device may include a first display screen and a second display screen, and the first display screen may include a first display area and a second display area. For specific examples, please refer to the first display screen shown in FIG. 3 to FIG. 5 below. A display screen 200, a second display screen 300, a first display area 201 and a second display area 202 will not be described in detail for now.
本申请实施例中,电子设备的物理状态可以包括三种:展开状态、弯折状态和折叠状态。展开状态可以是第一显示屏的弯折角度等于180度的状态。弯折状态可以是第一显示屏的弯折角度大于0度且小于180度的状态。折叠状态可以是第一显示屏的弯折角度等于0度的状态。其中,第一显示屏的弯折角度具体为第一显示区域所在平面和第二显示区域所在平面之间的角度。物理状态的具体示例可参见下图3-图5所示实施例,暂不详述。In this embodiment of the present application, the physical states of the electronic device may include three types: an unfolded state, a bent state, and a folded state. The unfolded state may be a state in which the bending angle of the first display screen is equal to 180 degrees. The bent state may be a state in which the bending angle of the first display screen is greater than 0 degrees and less than 180 degrees. The folded state may be a state in which the bending angle of the first display screen is equal to 0 degrees. The bending angle of the first display screen is specifically an angle between the plane where the first display area is located and the plane where the second display area is located. For specific examples of the physical state, refer to the embodiments shown in FIGS. 3-5 below, which will not be described in detail for the time being.
本申请实施例涉及的电子设备可以但不限于是手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、手持计算机、可穿戴电子设备(例如智能手表、智能手环)、增强现实(augmented reality,AR)设备(例如AR眼镜)、虚拟现实(virtual reality,VR)设备(例如VR眼镜)等终端设备,智能电视等智能家居设备,或其他桌面型、膝上型、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本等设备。本申请实施例对电子设备的具体类型不作限定。The electronic devices involved in the embodiments of the present application may be, but are not limited to, mobile phones, tablet computers, personal digital assistants (PDAs), handheld computers, wearable electronic devices (such as smart watches, smart bracelets), augmented reality (augmented) terminal devices such as reality, AR) devices (such as AR glasses), virtual reality (VR) devices (such as VR glasses), smart home devices such as smart TVs, or other desktop, laptop, notebook, super mobile Personal computer (Ultra-mobile Personal Computer, UMPC), netbook and other equipment. The embodiment of the present application does not limit the specific type of the electronic device.
接下来介绍本申请实施例中提供的示例性电子设备的结构。Next, the structure of the exemplary electronic device provided in the embodiments of the present application is introduced.
请参见图1,图1示出了一种电子设备100的结构示意图。Please refer to FIG. 1 , which shows a schematic structural diagram of an electronic device 100 .
如图1所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial 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等。As shown in FIG. 1 , the electronic device 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 , and a battery 142 , 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 , a display screen 194, and a subscriber identification module (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, angle sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。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, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (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 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 called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
充电管理模块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 a wireless charging coil of the electronic device 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 electronic device 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 electronic device 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可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 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 .
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). 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 division multiple 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),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems, SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 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), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include a global positioning system (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 electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. 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-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting 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 diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
本申请实施例中,电子设备100的显示屏194为折叠屏。在一些实施例中,显示屏194可以是一个一体成型的柔性折叠屏。可选地,第一显示屏和第二显示屏可以是这个柔性折叠屏上的不同显示区域。在一些实施例中,显示屏194也可以是两个柔性显示屏组成的拼接显示屏。可选地,第一显示屏和第二显示屏可以为这两个柔性显示屏。电子设备100处于弯折状态和折叠状态时,第一显示屏和第二显示屏可以分别被分为至少两个区域。在一些实施例中,显示屏194也可以是多个刚性屏以及位于任意两个刚性屏之间的一个柔性屏等连接组件组成的拼接屏。例如,电子设备100可以包括四个刚性屏和两个柔性屏,其中两个刚性屏和这两个刚性屏之间的一个柔性屏组成电子设备100的第一显示屏,另外两个刚性屏和这两个刚性屏之间的一个柔性屏组成电子设备100的第二显示屏。第一显示屏和第二显示屏的示例可参见下图3-图5所示的第一显示屏200和第二显示屏300,暂不详述。In the embodiment of the present application, the display screen 194 of the electronic device 100 is a folding screen. In some embodiments, display screen 194 may be an integrally formed flexible folding screen. Optionally, the first display screen and the second display screen may be different display areas on the flexible folding screen. In some embodiments, the display screen 194 may also be a spliced display screen composed of two flexible display screens. Optionally, the first display screen and the second display screen may be the two flexible display screens. When the electronic device 100 is in a bent state and a folded state, the first display screen and the second display screen may be divided into at least two areas, respectively. In some embodiments, the display screen 194 may also be a spliced screen composed of multiple rigid screens and a flexible screen and other connecting components located between any two rigid screens. For example, the electronic device 100 may include four rigid screens and two flexible screens, wherein the two rigid screens and a flexible screen between the two rigid screens constitute the first display screen of the electronic device 100 , the other two rigid screens and A flexible screen between the two rigid screens constitutes the second display screen of the electronic device 100 . For examples of the first display screen and the second display screen, reference may be made to the first display screen 200 and the second display screen 300 shown in FIGS. 3-5 below, which will not be described in detail for now.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。在一些实施例中,电子设备100可以通过拍摄功能获取的人脸信息实现人脸解锁、访问应用锁等。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. In some embodiments, the electronic device 100 can realize face unlock, access application lock, etc. through the face information obtained by the photographing function.
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 electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
外部存储器接口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 electronic device 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 may store data (such as audio data, phone book, etc.) created during the use of the electronic device 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 electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. 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 electronic device 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 electronic device 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 electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 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 electronic device 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 interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触控操作作用于显示屏194,电子设备100可以根据压力传感器180A的检测信号得到对应的触控操作强度。电子设备100也可以根据压力传感器180A的检测信号计算该触控操作作用于显示屏194上的触控区域的位置(简称为触控位置)。电子设备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 electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 can obtain the corresponding touch operation intensity according to the detection signal of the pressure sensor 180A. The electronic device 100 may also calculate the position of the touch area on the display screen 194 (referred to as the touch position for short) by the touch operation according to the detection signal of the pressure sensor 180A. The electronic device 100 may also calculate the shape of the above-mentioned touch area 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 commands. For example, when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view 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可以设置于显示屏194,用于检测显示屏194的弯折角度。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 . In some embodiments, the gyro sensor 180B may be disposed on the display screen 194 for detecting the bending angle of the display screen 194 . In some embodiments, the angular velocity of electronic device 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 gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电 子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。在一些实施例中,加速度传感器180E可以设置于显示屏194,用于检测显示屏194的弯折角度。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. 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. In some embodiments, the acceleration sensor 180E may be disposed on the display screen 194 for detecting the bending angle of the display screen 194 .
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
触摸传感器180K,也称“触控器件”。在一些实施例中,触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸操作作用于显示屏194上的触控区域的位置、该触控区域的形状,从而确定触摸事件类型。电子设备100可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". In some embodiments, 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 referred to as a "touch screen". The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the position and shape of the touch area on the display screen 194 where the touch operation acts on the touch area, so as to determine the type of touch event. Electronic device 100 may provide visual output related to touch operations through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
角度传感器180M可以获取角度信息,并将其转换为可用的电信号输出。在一些实施例中,角度传感器180M可以设置于显示屏194中,用于检测显示屏194的弯折角度。处理器110可以根据角度传感器180M检测的显示屏194的弯折角度确定电子设备100的物理状态(即展开状态、弯折状态或折叠状态)。The angle sensor 180M can acquire the angle information and convert it into a usable electrical signal output. In some embodiments, the angle sensor 180M may be disposed in the display screen 194 for detecting the bending angle of the display screen 194 . The processor 110 may determine the physical state of the electronic device 100 (ie, the unfolded state, the bent state or the folded state) according to the bending angle of the display screen 194 detected by the angle sensor 180M.
按键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 electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 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 electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The electronic device 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 electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
本申请实施例中,当角度传感器180M检测的第一显示屏的弯折角度在预设区间内时,处理器110可以确定电子设备100处于弯折状态。当电子设备100处于弯折状态时,若压力传感器180A和/或触摸传感器180K检测到作用于第一显示屏的触控操作时,可以上报相应的硬件中断给处理器110。响应于该硬件中断,处理器110控制第二显示屏显示预设界面。In this embodiment of the present application, when the bending angle of the first display screen detected by the angle sensor 180M is within a preset interval, the processor 110 may determine that the electronic device 100 is in a bent state. When the electronic device 100 is in a bent state, if the pressure sensor 180A and/or the touch sensor 180K detects a touch operation on the first display screen, a corresponding hardware interrupt may be reported to the processor 110 . In response to the hardware interrupt, the processor 110 controls the second display screen to display a preset interface.
其中,预设区间可以是(0°,180°)。示例性地,预设区间可以是(0°,90°)、(0°,60°)、(0°,45°)、(0°,30°)、(0°,15°)、(15°,30°)、(15°,45°)、(15°,60°)、(15°,90°)等。The preset interval may be (0°, 180°). Exemplarily, the preset interval may be (0°, 90°), (0°, 60°), (0°, 45°), (0°, 30°), (0°, 15°), ( 15°, 30°), (15°, 45°), (15°, 60°), (15°, 90°), etc.
上述预设界面可以包括至少一个电子卡片。例如,电子卡片可以是付款码、乘车码、个 人名片等二维码,付款码、订单编码、快递单号编码等条形码,身份证、社保卡等个人证件,飞机票、动车票等交通票,电影票,景点门票,银行卡,会员卡,或者备忘录中的一条记录信息等预设信息。不限于此,预设界面显示的内容也可以是至少一个应用程序的图标等,本申请实施例对预设界面显示的具体内容不作限定。The above-mentioned preset interface may include at least one electronic card. For example, electronic cards can be QR codes such as payment codes, travel codes, personal business cards, barcodes such as payment codes, order codes, express tracking numbers, etc., personal documents such as ID cards and social security cards, and transportation tickets such as air tickets and train tickets. , movie tickets, attraction tickets, bank cards, membership cards, or a record message in the memo and other preset information. Not limited to this, the content displayed on the preset interface may also be an icon of at least one application program, and the embodiment of the present application does not limit the specific content displayed on the preset interface.
上述第一显示屏可以包括第一显示区域和第二显示区域,第一显示区域和第二显示区域的示例具体可参见下图3-图5所示的第一显示区域201和第二显示区域202。上述显示屏194的弯折角度、上述第一显示屏的弯折角度,可以具体为第一显示区域所在平面和第二显示区域所在平面之间的角度。上述触控操作作用于第一显示屏的第一触控区域和第二触控区域,第一触控区域位于第一显示区域,第二触控区域位于第二显示区域。The above-mentioned first display screen may include a first display area and a second display area. For specific examples of the first display area and the second display area, please refer to the first display area 201 and the second display area shown in FIGS. 3-5 below. 202. The bending angle of the display screen 194 and the bending angle of the first display screen may specifically be the angle between the plane where the first display area is located and the plane where the second display area is located. The above touch operation acts on the first touch area and the second touch area of the first display screen, the first touch area is located in the first display area, and the second touch area is located in the second display area.
在一些实施例中,在压力传感器180A和/或触摸传感器180K检测到上述作用于第一显示屏的触控操作之前,应用处理器可以休眠,可选地,部分传感器也可以休眠。在满足预设条件的情况下,应用处理器才被唤醒。应用处理器根据角度传感器180M检测的角度判断电子设备100是否处于弯折状态,并且根据压力传感器180A和/或触摸传感器180K的检测信号判断是否接收到上述作用于第一显示屏的触控操作。从而避免不必要的功耗开销,提升电子设备100的续航能力。其中,预设条件例如但不限于为:角度传感器180M检测的显示屏194的弯折角度发生变化,陀螺仪传感器180B和/或加速度传感器180E检测到悬浮操作或抬起操作,压力传感器180A和/或触摸传感器180K检测到触摸操作等。In some embodiments, before the pressure sensor 180A and/or the touch sensor 180K detects the above-mentioned touch operation acting on the first display screen, the application processor may sleep, and optionally, some sensors may also sleep. The application processor is woken up only when preset conditions are met. The application processor determines whether the electronic device 100 is in a bent state according to the angle detected by the angle sensor 180M, and determines whether the above-mentioned touch operation acting on the first display screen is received according to the detection signals of the pressure sensor 180A and/or the touch sensor 180K. Therefore, unnecessary power consumption overhead is avoided, and the battery life of the electronic device 100 is improved. The preset conditions are, for example, but not limited to: the bending angle of the display screen 194 detected by the angle sensor 180M changes, the gyro sensor 180B and/or the acceleration sensor 180E detects a hovering operation or a lifting operation, the pressure sensor 180A and/or Or a touch operation or the like is detected by the touch sensor 180K.
在一些实施例中,上述预设界面是在用户的生物特征信息验证通过的情况下才显示的界面。其中,生物特征信息可以但不限于为人脸信息、指纹信息、声纹信息、虹膜信息、脉搏信息、心率信息、步态信息等。例如,当压力传感器180A和/或触摸传感器180K检测到上述作用于第一显示屏的触控操作时,可以上报相应的硬件中断给处理器110。响应于该硬件中断,处理器110可以指示摄像头193获取用户的人脸信息,并对该人脸信息进行验证。在该人脸信息验证通过的情况下,处理器110才控制第二显示屏显示预设界面。In some embodiments, the above-mentioned preset interface is an interface that is displayed only when the user's biometric information is verified. The biometric information may be, but is not limited to, face information, fingerprint information, voiceprint information, iris information, pulse information, heart rate information, gait information, and the like. For example, when the pressure sensor 180A and/or the touch sensor 180K detects the above-mentioned touch operation on the first display screen, a corresponding hardware interrupt may be reported to the processor 110 . In response to the hardware interrupt, the processor 110 may instruct the camera 193 to acquire the user's face information and verify the face information. The processor 110 controls the second display screen to display a preset interface only when the face information verification is passed.
不限于上述列举的情况,在具体实现中,也可以是设置于显示屏194中的陀螺仪传感器180B和/或加速度传感器180E用于检测显示屏194的弯折角度。例如,陀螺仪传感器180B可以检测显示屏194在各个方向上(一般为三轴)角速度的大小。加速度传感器180E可以检测显示屏194在各个方向上(一般为三轴)加速度的大小。处理器110可以根据陀螺仪传感器180B检测的角速度信息和/或加速度传感器180E检测的加速度信息确定显示屏194的弯折角度,从而确定电子设备100的物理状态。本申请实施例对用于检测物理状态的传感器的具体类型不作限定。类似地,本申请实施例对用于检测上述作用于第一显示屏的触控操作的传感器的具体类型不作限定。Not limited to the above-mentioned cases, in a specific implementation, the gyro sensor 180B and/or the acceleration sensor 180E provided in the display screen 194 may also be used to detect the bending angle of the display screen 194 . For example, the gyro sensor 180B can detect the magnitude of the angular velocity of the display screen 194 in various directions (generally three axes). The acceleration sensor 180E can detect the magnitude of the acceleration of the display screen 194 in various directions (generally three axes). The processor 110 may determine the bending angle of the display screen 194 according to the angular velocity information detected by the gyro sensor 180B and/or the acceleration information detected by the acceleration sensor 180E, thereby determining the physical state of the electronic device 100 . The embodiment of the present application does not limit the specific type of the sensor for detecting the physical state. Similarly, the embodiments of the present application do not limit the specific type of the sensor for detecting the above-mentioned touch operation acting on the first display screen.
接下来以角度传感器180M用于检测显示屏194的弯折角度,压力传感器180A用于检测上述作用于第一显示屏的触控操作为例进行说明。Next, the angle sensor 180M is used for detecting the bending angle of the display screen 194, and the pressure sensor 180A is used for detecting the above-mentioned touch operation on the first display screen as an example for description.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 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 electronic device 100 .
图2是本发明实施例的电子设备100的软件结构框图。FIG. 2 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present invention.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将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 a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图2所示,应用程序包可以包括支付应用、银行应用、卡包应用、购票应用、相机应用、地图应用等应用程序。例如华为智能助手、华为钱包等。As shown in FIG. 2 , the application package may include payment application, banking application, card package application, ticket purchasing application, camera application, map application and other applications. For example, Huawei Smart Assistant, Huawei Wallet, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。上述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The above data can include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。再例如,包括付款码的预设界面,可以包括显示文字的视图以及显示二维码图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. For another example, the preset interface including the payment code may include a view for displaying text and a view for displaying a QR code picture.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications that appear on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for 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)等。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), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。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图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。其中,传感器驱动可以用于驱动控制硬件中的多个传感器,例如图1所示的压力传感器180A、陀螺仪传感器180B、加速度传感器180E、触摸传感器180K、角度传感器180M等传感器。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers. The sensor driver can be used to drive multiple sensors in the control hardware, such as pressure sensor 180A, gyro sensor 180B, acceleration sensor 180E, touch sensor 180K, angle sensor 180M and other sensors shown in FIG. 1 .
下面结合触发显示预设界面的场景,示例性说明电子设备100软件以及硬件的工作流程。The workflow of the software and hardware of the electronic device 100 will be exemplarily described below in conjunction with the scenario of triggering the display of the preset interface.
当角度传感器180M检测的第一显示屏的弯折角度在预设区间内时,处理器110可以根据角度传感器180M检测的角度确定电子设备100处于弯折状态。当电子设备100处于弯折状态时,若压力传感器180A检测到上述作用于第一显示屏的触控操作,可以上报相应的硬件中断给内核层。内核层可以将该硬件中断对应的用户操作加工成原始输入事件(包括上述触控操作的时间戳、上述触控操作作用于第一显示屏的触控区域的数目、位置、面积、形状等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,根据该输入事件确定所对应的预设界面。例如,该输入事件所对应的预设界面可以包括支付应用的付款码。因此,支付应用可以调用应用框架层的接口,启动支付应用,进而通过调用内核层启动显示驱动,通过第二显示屏显示包括支付应用的付款码的预设界面。When the bending angle of the first display screen detected by the angle sensor 180M is within a preset interval, the processor 110 may determine that the electronic device 100 is in a bending state according to the angle detected by the angle sensor 180M. When the electronic device 100 is in a bent state, if the pressure sensor 180A detects the above-mentioned touch operation on the first display screen, a corresponding hardware interrupt can be reported to the kernel layer. The kernel layer can process the user operation corresponding to the hardware interrupt into the original input event (including the time stamp of the above touch operation, the number, position, area, shape and other information of the touch area that the above touch operation acts on the first display screen) ). Raw input events are stored at the kernel layer. The application framework layer obtains the original input event from the kernel layer, and determines the corresponding preset interface according to the input event. For example, the preset interface corresponding to the input event may include the payment code of the payment application. Therefore, the payment application can call the interface of the application framework layer, start the payment application, and then start the display driver by calling the kernel layer, and display the preset interface including the payment code of the payment application through the second display screen.
接下来主要介绍本申请实施例中提供的示例性电子设备的物理状态。Next, the physical states of the exemplary electronic devices provided in the embodiments of the present application are mainly introduced.
请参见图3,图3是本申请实施例提供的一种电子设备的展开状态的示意图。其中,图3的(A)示出了电子设备100在展开状态下的第一显示屏200。图3的(B)示出了电子设备100在展开状态下的第二显示屏300。Referring to FIG. 3 , FIG. 3 is a schematic diagram of an unfolded state of an electronic device provided by an embodiment of the present application. 3(A) shows the first display screen 200 of the electronic device 100 in an unfolded state. (B) of FIG. 3 shows the second display screen 300 of the electronic device 100 in the unfolded state.
如图3的(A)所示,电子设备100的第一显示屏200可以包括三个区域,即第一显示区域201、第二显示区域202、第三区域203。其中,第三区域203可弯折。电子设备100的弯折部位两端分别连接第一显示区域201和第二显示区域202。当该弯折部位两端之间的夹角α等于180度时,电子设备100可以处于展开状态。As shown in (A) of FIG. 3 , the first display screen 200 of the electronic device 100 may include three areas, that is, a first display area 201 , a second display area 202 , and a third area 203 . Wherein, the third region 203 can be bent. Both ends of the bent portion of the electronic device 100 are respectively connected to the first display area 201 and the second display area 202 . When the angle α between the two ends of the bending portion is equal to 180 degrees, the electronic device 100 can be in the unfolded state.
电子设备100弯折后第一显示区域201所在平面和第二显示区域202所在平面相交,交线可以称为中轴线。上述弯折部位两端之间的夹角也为:第一显示区域201所在平面和第二显示区域202所在平面之间的角度。当第一显示区域201所在平面和第二显示区域202所在平面之间的角度α等于180度,电子设备100可以处于展开状态。此时,第一显示区域201和第二显示区域202处于同一个平面,即图3的(A)所示的第一显示屏200所在平面。After the electronic device 100 is bent, the plane where the first display area 201 is located intersects with the plane where the second display area 202 is located, and the intersection line may be referred to as a central axis. The angle between the two ends of the above-mentioned bending part is also the angle between the plane where the first display area 201 is located and the plane where the second display area 202 is located. When the angle α between the plane where the first display area 201 is located and the plane where the second display area 202 is located is equal to 180 degrees, the electronic device 100 can be in the unfolded state. At this time, the first display area 201 and the second display area 202 are located on the same plane, that is, the plane where the first display screen 200 shown in (A) of FIG. 3 is located.
在一些实施例中,可以将图3的(A)所示的电子设备100围绕中轴线翻转180度得到图3的(B)所示的电子设备100。也就是说,当电子设备处于展开状态时,图3的(A)所示的第一显示屏200的出光面和第二显示屏300的出光面相背。In some embodiments, the electronic device 100 shown in FIG. 3(B) can be obtained by flipping the electronic device 100 shown in FIG. 3(A) around the central axis by 180 degrees. That is to say, when the electronic device is in the unfolded state, the light emitting surface of the first display screen 200 and the light emitting surface of the second display screen 300 shown in (A) of FIG. 3 are opposite to each other.
如图3的(B)所示,电子设备100的第二显示屏300可以包括三个区域,即第四区域301、第五区域302、第六区域303。其中,第五区域302可弯折。电子设备100的弯折部位两端分别连接第四区域301和第六区域303。As shown in (B) of FIG. 3 , the second display screen 300 of the electronic device 100 may include three areas, namely, a fourth area 301 , a fifth area 302 , and a sixth area 303 . Wherein, the fifth region 302 can be bent. Two ends of the bent portion of the electronic device 100 are respectively connected to the fourth area 301 and the sixth area 303 .
如图3的(B)所示,电子设备100可以包括至少一个摄像头。电子设备100可以包括设置于第六区域303上部的摄像头3031(包括摄像头3031A和摄像头3031B),以及第六区域303下部的摄像头3032(包括摄像头3032A和摄像头3032B)。可选地,电子设备100可以通过上述摄像头获取用户的人脸信息,并根据获取的人脸信息进行人脸验证。As shown in (B) of FIG. 3 , the electronic device 100 may include at least one camera. The electronic device 100 may include a camera 3031 (including the camera 3031A and the camera 3031B) disposed in the upper part of the sixth area 303 , and a camera 3032 (including the camera 3032A and the camera 3032B) in the lower part of the sixth area 303 . Optionally, the electronic device 100 may obtain the user's face information through the above-mentioned camera, and perform face verification according to the obtained face information.
不限于上述列举的摄像头的情况,在具体实现中,电子设备100也可以仅包括设置于第六区域303上部的摄像头3031。或者,电子设备100也可以仅包括设置于第六区域303下部的摄像头3032。或者,电子设备100也可以包括设置于第四区域301和/或第五区域302的摄像头。或者,电子设备100也可以包括设置于第一显示屏200的摄像头,本申请实施例对此不作限定。Not limited to the case of the camera listed above, in a specific implementation, the electronic device 100 may also only include the camera 3031 disposed on the upper part of the sixth area 303 . Alternatively, the electronic device 100 may only include the camera 3032 disposed at the lower part of the sixth area 303 . Alternatively, the electronic device 100 may also include a camera disposed in the fourth area 301 and/or the fifth area 302 . Alternatively, the electronic device 100 may also include a camera disposed on the first display screen 200 , which is not limited in this embodiment of the present application.
在一些实施例中,可以将图3所示的展开状态下的电子设备100部分折叠(例如弯折部位两端之间的夹角可以从α变换为β)以得到弯折状态下的电子设备100,例如图4所示的电子设备100。In some embodiments, the electronic device 100 in the unfolded state shown in FIG. 3 may be partially folded (for example, the angle between the two ends of the folded portion may be changed from α to β) to obtain the electronic device in the folded state 100 , such as the electronic device 100 shown in FIG. 4 .
请参见图4,图4是本申请实施例提供的一种电子设备的弯折状态的示意图。其中,图4的(A)示出了电子设备100在弯折状态下的第一显示屏200。图4的(B)示出了电子设备100在弯折状态下的第二显示屏300。Please refer to FIG. 4 , which is a schematic diagram of a bent state of an electronic device provided by an embodiment of the present application. 4(A) shows the first display screen 200 of the electronic device 100 in a bent state. (B) of FIG. 4 shows the second display screen 300 of the electronic device 100 in a bent state.
如图4所示,当弯折部位两端之间的夹角β大于0度且小于180度时,电子设备100可以处于弯折状态。示例性地,β的取值范围具体为(0°,90°)、(0°,60°)、(0°,45°)、(0°,30°)、(0°,15°)、(15°,30°)、(15°,45°)、(15°,60°)或(15°,90°)等。图4的(B)所示的电子设备100可以是图4的(A)所示的电子设备100围绕中轴线翻转180度得到的。As shown in FIG. 4 , when the angle β between the two ends of the bending portion is greater than 0 degrees and less than 180 degrees, the electronic device 100 may be in a bent state. Exemplarily, the value range of β is (0°, 90°), (0°, 60°), (0°, 45°), (0°, 30°), (0°, 15°) , (15°, 30°), (15°, 45°), (15°, 60°) or (15°, 90°), etc. The electronic device 100 shown in FIG. 4(B) may be obtained by turning the electronic device 100 shown in FIG. 4(A) 180 degrees around the central axis.
在一些实施例中,可以将图3所示的展开状态下的电子设备100折叠(例如弯折部位两端之间的夹角可以从α变换为γ)以得到折叠状态下的电子设备100,也可以将图4所示的弯折状态下的电子设备100折叠(例如弯折部位两端之间的夹角可以从β变换为γ)以得到折叠状态下的电子设备100,例如图5所示的电子设备100。In some embodiments, the electronic device 100 in the unfolded state shown in FIG. 3 can be folded (for example, the angle between the two ends of the bent portion can be changed from α to γ) to obtain the electronic device 100 in the folded state, The electronic device 100 in the folded state shown in FIG. 4 can also be folded (for example, the angle between the two ends of the bent part can be changed from β to γ) to obtain the electronic device 100 in the folded state, for example, as shown in FIG. 5 . The electronic device 100 shown.
请参见图5,图5是本申请实施例提供的一种电子设备的折叠状态的示意图。其中,图5的(A)示出了电子设备100在折叠状态下的第五区域302和第六区域303。图5的(B)示出了电子设备100在折叠状态下的第四区域301和第五区域302。Please refer to FIG. 5 , which is a schematic diagram of a folded state of an electronic device provided by an embodiment of the present application. 5(A) shows the fifth area 302 and the sixth area 303 of the electronic device 100 in the folded state. (B) of FIG. 5 shows the fourth area 301 and the fifth area 302 of the electronic device 100 in the folded state.
如图5所示,当弯折部位两端之间的夹角γ为0度时,电子设备100可以处于折叠状态。图5的(B)所示的电子设备100可以是图5的(A)所示的电子设备100围绕中轴线翻转90度得到的。As shown in FIG. 5 , when the included angle γ between the two ends of the bending portion is 0 degrees, the electronic device 100 may be in a folded state. The electronic device 100 shown in FIG. 5(B) may be obtained by turning the electronic device 100 shown in FIG. 5(A) 90 degrees around the central axis.
在一些实施例中,第一显示屏200和第二显示屏300可以为同一个柔性折叠屏的不同显示区域。可选地,第一显示区域201、第二显示区域202、第三区域203、第四区域301、第五区域302、第六区域303可以是这一个柔性折叠屏上的不同区域,均用于显示图形用户界面(graphical user interface,GUI),GUI后续统称为用户界面。In some embodiments, the first display screen 200 and the second display screen 300 may be different display areas of the same flexible folding screen. Optionally, the first display area 201, the second display area 202, the third area 203, the fourth area 301, the fifth area 302, and the sixth area 303 may be different areas on the flexible folding screen, all of which are used for Displays a graphical user interface (GUI), which is subsequently collectively referred to as the user interface.
在一些实施例中,第一显示屏200可以为电子设备100的一个柔性折叠屏,第二显示屏300可以为电子设备100的另一个柔性折叠屏。可选地,第一显示区域201、第二显示区域202、第三区域203可以为上述一个柔性折叠屏上的不同区域,均用于显示用户界面。第四区域301、第五区域302、第六区域303可以是上述另一个柔性折叠屏上的不同区域,均用于显示用户界面。In some embodiments, the first display screen 200 may be one flexible folding screen of the electronic device 100 , and the second display screen 300 may be another flexible folding screen of the electronic device 100 . Optionally, the first display area 201, the second display area 202, and the third area 203 may be different areas on the above-mentioned one flexible folding screen, all of which are used to display the user interface. The fourth area 301, the fifth area 302, and the sixth area 303 may be different areas on the above-mentioned another flexible folding screen, all of which are used for displaying a user interface.
在一些实施例中,第一显示屏200和第二显示屏300可以是多个屏幕拼接而成的。例如,第一显示屏200可以是由两个刚性屏和一个柔性折叠屏拼接而成的。第一显示区域201和第二显示区域202可以分别为上述两个刚性屏上的显示区域,第三区域203可以为上述一个柔性折叠屏上的显示区域。第二显示屏300和第一显示屏200类似,不再赘述。In some embodiments, the first display screen 200 and the second display screen 300 may be formed by splicing multiple screens. For example, the first display screen 200 may be formed by splicing two rigid screens and one flexible folding screen. The first display area 201 and the second display area 202 may be the display areas on the above two rigid screens, respectively, and the third area 203 may be the display area on the above one flexible folding screen. The second display screen 300 is similar to the first display screen 200 and will not be repeated here.
在一些实施例中,第一显示屏200可以是由两个刚性屏以及连接这两个刚性屏的链条等组件拼接而成的。第一显示区域201和第二显示区域202分别为这两个刚性屏上的显示区域,第三区域203为上述连接这两个刚性屏的链条等组件,不为显示区域。第二显示屏300和第一显示屏200类似,不再赘述。In some embodiments, the first display screen 200 may be formed by splicing two rigid screens and a chain connecting the two rigid screens. The first display area 201 and the second display area 202 are the display areas on the two rigid screens, respectively, and the third area 203 is the above-mentioned components such as chains connecting the two rigid screens, and is not a display area. The second display screen 300 is similar to the first display screen 200 and will not be repeated here.
在一些实施例中,第二显示屏300为一个刚性屏。第六区域303为该刚性屏上的显示区域,第四区域301和第五区域302不为该刚性屏上的显示区域。第一显示屏200和第二显示屏300类似,不再赘述。In some embodiments, the second display screen 300 is a rigid screen. The sixth area 303 is the display area on the rigid screen, and the fourth area 301 and the fifth area 302 are not the display areas on the rigid screen. The first display screen 200 is similar to the second display screen 300 and will not be described again.
接下来以第一显示屏200为一个柔性折叠屏,第二显示屏300为一个刚性屏为例进行说明。第一显示屏200通过第一显示区域201、第二显示区域202和第三区域203显示用户界面。第二显示屏300通过第六区域303显示用户界面,第四区域301和第五区域302不为显示区域。Next, the first display screen 200 is a flexible folding screen and the second display screen 300 is a rigid screen as an example for description. The first display screen 200 displays a user interface through a first display area 201 , a second display area 202 and a third area 203 . The second display screen 300 displays the user interface through the sixth area 303, and the fourth area 301 and the fifth area 302 are not display areas.
下面介绍本申请实施例涉及的应用场景以及该场景下的人机交互示意图。An application scenario involved in the embodiments of the present application and a schematic diagram of human-computer interaction in the scenario are described below.
当电子设备100处于弯折状态时,若检测到作用于第一显示屏的触控操作,电子设备100可以在第二显示屏显示预设界面。其中,上述弯折状态可以是展开状态下的电子设备100接收到折叠操作得到的物理状态,具体示例如图6-图7所示。上述弯折状态也可以是折叠状态下的电子设备100接收到展开操作得到的物理状态,具体示例如图8-图9所示。上述弯折状态还可以是电子设备100原先就处于的物理状态,本申请实施例对此不作限定。上述弯折状态的检测具体可参见上述图1中的说明。When the electronic device 100 is in a bent state, if a touch operation acting on the first display screen is detected, the electronic device 100 may display a preset interface on the second display screen. The above-mentioned bent state may be a physical state obtained by the electronic device 100 in the unfolded state after receiving the folding operation, and specific examples are shown in FIGS. 6-7 . The above-mentioned bent state may also be a physical state obtained by the electronic device 100 in the folded state receiving the unfolding operation, and specific examples are shown in FIGS. 8-9 . The above-mentioned bent state may also be the original physical state of the electronic device 100 , which is not limited in this embodiment of the present application. For the detection of the above-mentioned bending state, reference may be made to the description in the above-mentioned FIG. 1 .
请参见图6,图6示例性示出了一种电子设备100显示预设界面前后的对比图。其中,图6的(A)示出了显示预设界面前处于展开状态的电子设备100,图6的(B)示出了显示预设界面后处于弯折状态的电子设备100。Referring to FIG. 6 , FIG. 6 exemplarily shows a comparison diagram before and after the electronic device 100 displays a preset interface. 6(A) shows the electronic device 100 in an unfolded state before displaying the preset interface, and FIG. 6(B) shows the electronic device 100 in a bent state after displaying the preset interface.
如图6的(A)所示,电子设备100在第一显示屏200上显示用户界面610,用户可以通过用户界面610观看视频应用中的视频。此时,电子设备100可以处于展开状态,具体可参见图7的(A)所示的电子设备100的侧视图。As shown in (A) of FIG. 6 , the electronic device 100 displays a user interface 610 on the first display screen 200 , and the user can watch the video in the video application through the user interface 610 . At this time, the electronic device 100 may be in an unfolded state. For details, please refer to the side view of the electronic device 100 shown in (A) of FIG. 7 .
用户可以将图6的(A)和图7的(A)所示的展开状态下的电子设备100折叠(即弯折部位两端之间的夹角可以从α变换为β),以得到弯折状态下的电子设备100。并且,用户可以将一个手指(例如大拇指)夹在第一显示区域201和第二显示区域202之间,即执行上述作用于第一显示屏的触控操作。响应于该用户操作,电子设备100可以显示图6的(B)所示的用户界面620。The user can fold the electronic device 100 in the unfolded state shown in FIG. 6(A) and FIG. 7(A) (that is, the angle between the two ends of the folded part can be changed from α to β) to obtain a curved shape. The electronic device 100 in the folded state. Moreover, the user may sandwich a finger (eg, thumb) between the first display area 201 and the second display area 202, that is, to perform the above-mentioned touch operation on the first display screen. In response to the user operation, the electronic device 100 may display the user interface 620 shown in (B) of FIG. 6 .
如图6的(B)所示,电子设备100可以在第二显示屏300的第六区域303上显示用户界面620。此时,电子设备100处于弯折状态,具体可参见图7的(B)所示的电子设备100的侧视图。用户界面620可以包括一个电子卡片:第一支付应用的付款码621。用户可以通过第一支付应用的付款码621进行支付操作。As shown in (B) of FIG. 6 , the electronic device 100 may display the user interface 620 on the sixth area 303 of the second display screen 300 . At this time, the electronic device 100 is in a bent state. For details, please refer to the side view of the electronic device 100 shown in (B) of FIG. 7 . User interface 620 may include an electronic card: payment code 621 of the first payment application. The user can perform a payment operation through the payment code 621 of the first payment application.
在一些实施例中,若用户支付完成后,可以取消保持上述弯折状态和/或取消上述作用于第一显示屏的触控操作,则电子设备100可以取消显示用户界面620。例如,用户支付完成后,将夹在第一显示区域201和第二显示区域202之间的手指抽出,并且展开电子设备至展开状态。响应于该用户操作,电子设备100可以重新在第一显示屏200显示用户界面610或上述视频应用的其他用户界面。用户可以快速方便地回到支付前的用户界面610继续观看视频,用户体验感更好。In some embodiments, if the user can cancel the above-mentioned bending state and/or cancel the above-mentioned touch operation on the first display screen after the payment is completed, the electronic device 100 can cancel the display of the user interface 620 . For example, after completing the payment, the user pulls out the finger sandwiched between the first display area 201 and the second display area 202, and unfolds the electronic device to the unfolded state. In response to the user operation, the electronic device 100 may redisplay the user interface 610 or other user interfaces of the above video application on the first display screen 200 . The user can quickly and conveniently return to the user interface 610 before payment to continue watching the video, and the user experience is better.
请参见图8,图8示例性示出了一种电子设备100显示预设界面前后的对比图。其中,图8的(A)示出了显示预设界面前处于折叠状态的电子设备100,图8的(B)示出了显示预设界面后处于弯折状态的电子设备100。Referring to FIG. 8 , FIG. 8 exemplarily shows a comparison diagram before and after the electronic device 100 displays a preset interface. 8(A) shows the electronic device 100 in a folded state before displaying the preset interface, and FIG. 8(B) shows the electronic device 100 in a folded state after displaying the preset interface.
如图8的(A)所示,电子设备100可以为锁屏状态,在第六区域303上显示用户界面800。此时,电子设备100可以处于折叠状态,具体可参见图9的(A)所示的电子设备100的侧视图。As shown in (A) of FIG. 8 , the electronic device 100 may be in a locked screen state, and the user interface 800 is displayed on the sixth area 303 . At this time, the electronic device 100 may be in a folded state, and for details, please refer to the side view of the electronic device 100 shown in (A) of FIG. 9 .
用户可以将图8的(A)和图9的(A)所示的折叠状态下的电子设备100部分展开(即弯折部位两端之间的夹角可以从γ变换为β),以得到弯折状态下的电子设备100。并且,用户可以将一个手指(例如大拇指)夹在第一显示区域201和第二显示区域202之间,即执行上述作用于第一显示屏的触控操作。响应于该用户操作,电子设备100可以显示图8的(B)所示的用户界面620。此时,电子设备100的物理状态如图9的(B)所示。图8的(B)和 图9的(B)与上述图6的(B)和图7的(B)一致,不再赘述。The user can partially unfold the electronic device 100 in the folded state shown in FIG. 8(A) and FIG. 9(A) (that is, the angle between the two ends of the folded part can be transformed from γ to β) to obtain The electronic device 100 in a bent state. Moreover, the user may sandwich a finger (eg, thumb) between the first display area 201 and the second display area 202, that is, to perform the above-mentioned touch operation on the first display screen. In response to the user operation, the electronic device 100 may display the user interface 620 shown in (B) of FIG. 8 . At this time, the physical state of the electronic device 100 is as shown in (B) of FIG. 9 . (B) of FIG. 8 and (B) of FIG. 9 are the same as those of (B) of FIG. 6 and (B) of FIG. 7 , and will not be described again.
如图7的(B)和图9的(B)所示,用户手指(例如大拇指)夹在第一显示区域201和第二显示区域202之间时,用户手指与第一显示屏200接触的区域有两个:第一触控区域和第二触控区域。其中,第一触控区域是用户手指的指腹与第一显示区域201接触的区域,第二触控区域是用户手指的指背与第二显示区域202接触的区域。第一触控区域和第二触控区域在第一显示屏200中的示意图具体如图10A-图10D所示。As shown in FIG. 7(B) and FIG. 9(B) , when the user's finger (eg, the thumb) is sandwiched between the first display area 201 and the second display area 202 , the user's finger is in contact with the first display screen 200 There are two areas: the first touch area and the second touch area. The first touch area is the area where the pulp of the user's finger contacts the first display area 201 , and the second touch area is the area where the back of the user's finger contacts the second display area 202 . Schematic diagrams of the first touch area and the second touch area in the first display screen 200 are specifically shown in FIGS. 10A-10D .
如图10A所示,图10A示例性示出了一种第一显示屏200的示意图。第一显示屏200中可以设置有电容式的压力传感器和/或触摸传感器,第一显示屏200上的任意一个小格区域可以设置有电极。当电子设备100检测到作用于第一显示屏200的触控操作时,该触控操作的触控区域包括的至少一个小格区域的电极之间的电容会发生改变。也就是说,第一显示屏200上的任意一个小格区域可以对应一个电容变化值。As shown in FIG. 10A , FIG. 10A exemplarily shows a schematic diagram of a first display screen 200 . The first display screen 200 may be provided with a capacitive pressure sensor and/or a touch sensor, and any small grid area on the first display screen 200 may be provided with electrodes. When the electronic device 100 detects a touch operation acting on the first display screen 200 , the capacitance between electrodes in at least one small grid area included in the touch area of the touch operation will change. That is to say, any small grid area on the first display screen 200 may correspond to a capacitance change value.
图10A以第一显示屏200所在平面为二维平面为例进行描述。并且,在图10A中,第一显示屏200中左下角的小格区域为坐标原点(0,0),中轴线所在轴为y轴,与中轴线所在轴垂直的轴为x轴。第一显示屏200上的任意一个小格区域可以对应二维坐标系中的一个坐标点。接下来在图10A的基础上,通过图10B-图10D介绍上述第一触控区域和第二触控区域。FIG. 10A is described by taking an example that the plane where the first display screen 200 is located is a two-dimensional plane. 10A , the small grid area in the lower left corner of the first display screen 200 is the coordinate origin (0,0), the axis where the central axis is located is the y axis, and the axis perpendicular to the axis where the central axis is located is the x axis. Any small grid area on the first display screen 200 may correspond to a coordinate point in a two-dimensional coordinate system. Next, on the basis of FIG. 10A , the above-mentioned first touch area and second touch area are introduced through FIGS. 10B to 10D .
如图10B所示,图10B示例性示出了一种第一显示屏200的电容变化值的示意图。图10B所示的二维坐标系中的任意一个坐标点可以对应一个小格区域,并且该小格区域可以对应一个电容变化值。例如,坐标原点(0,0)对应的小格区域的电容变化值为-13。A点(x 1,0)对应的小格区域的电容变化值为-1。B点(x 2,0)对应的小格区域的电容变化值为-5。C点(x 3,0)对应的小格区域的电容变化值为7。D点(0,y 1)对应的小格区域的电容变化值为4。 As shown in FIG. 10B , FIG. 10B exemplarily shows a schematic diagram of a capacitance change value of the first display screen 200 . Any coordinate point in the two-dimensional coordinate system shown in FIG. 10B may correspond to a small grid area, and the small grid area may correspond to a capacitance change value. For example, the capacitance change value of the small grid area corresponding to the coordinate origin (0,0) is -13. The capacitance change value of the small grid area corresponding to point A (x 1 , 0) is -1. The capacitance change value of the small grid area corresponding to point B (x 2 ,0) is -5. The capacitance change value of the small grid area corresponding to point C (x 3 , 0) is 7. The capacitance change value of the small grid area corresponding to point D (0, y 1 ) is 4.
在一些实施例中,图10B所示的二维坐标系中的任意一个坐标点在x轴方向的坐标值大于或等于0并且小于或等于x 3,在y轴方向的坐标值大于或等于0并且小于或等于y 1。可选地,坐标点在x轴方向的坐标值大于或等于0且小于或等于x 1时,该坐标点对应的小格区域可以在第二显示区域202内。坐标点在x轴方向的坐标值大于x 1并且小于或等于x 2时,该坐标点对应的小格区域可以在第三区域203内。坐标点在x轴方向的坐标值大于x 2且小于或等于x 3时,该坐标点对应的小格区域可以在第一显示区域201内。 In some embodiments, the coordinate value of any coordinate point in the two-dimensional coordinate system shown in FIG. 10B in the x-axis direction is greater than or equal to 0 and less than or equal to x 3 , and the coordinate value in the y-axis direction is greater than or equal to 0 and less than or equal to y 1 . Optionally, when the coordinate value of the coordinate point in the x-axis direction is greater than or equal to 0 and less than or equal to x1, the small grid area corresponding to the coordinate point may be within the second display area 202 . When the coordinate value of the coordinate point in the x-axis direction is greater than x 1 and less than or equal to x 2 , the small grid area corresponding to the coordinate point may be within the third area 203 . When the coordinate value of the coordinate point in the x-axis direction is greater than x 2 and less than or equal to x 3 , the small grid area corresponding to the coordinate point may be within the first display area 201 .
如图10B所示,电子设备100可以根据第一显示屏200的电容变化值得到触控操作的触控区域的数量、位置、面积、形状等信息。例如,从图10B可以看出:第一触控区域和第二触控区域包括的小格区域的电容变化值的绝对值远远大于大多数其他小格区域的电容变化值的绝对值。因此,电子设备100可以得到图10B圈出的第一触控区域和第二触控区域。其中,第一触控区域位于第一显示区域201内,第二触控区域位于第二显示区域202内。第一触控区域的面积大于第二触控区域。第一触控区域的形状为椭圆形,第二触控区域的形状为圆形。第一触控区域在中轴线上的投影和第二触控区域在中轴线上的投影部分重叠,具体如图10C所示。可选地,电子设备100可以将形状为椭圆形并且面积较大的第一触控区域识别为用户指腹接触的区域,也可以将形状为圆形或面积较小的第二触控区域识别为用户指背接触的区域。As shown in FIG. 10B , the electronic device 100 can obtain information such as the number, position, area, and shape of the touch area for the touch operation according to the capacitance change value of the first display screen 200 . For example, it can be seen from FIG. 10B that the absolute value of the capacitance change value of the small grid areas included in the first touch area and the second touch area is much larger than that of most other small grid areas. Therefore, the electronic device 100 can obtain the first touch area and the second touch area circled in FIG. 10B . The first touch area is located in the first display area 201 , and the second touch area is located in the second display area 202 . The area of the first touch area is larger than that of the second touch area. The shape of the first touch area is an ellipse, and the shape of the second touch area is a circle. The projection of the first touch area on the central axis and the projection of the second touch area on the central axis partially overlap, as shown in FIG. 10C . Optionally, the electronic device 100 may identify the first touch area with an oval shape and a larger area as the area touched by the user's finger pad, and may also identify the second touch area with a circular shape or a smaller area. The area where the back of the user's finger touches.
如图10B所示,第一触控区域的形状为椭圆形,该椭圆形的长轴更偏向x轴,因此可以得到第一触控区域对应的方向为x轴方向。在具体实现中,该椭圆形的长轴也可以更偏向y轴,则可以得到第一触控区域对应的方向为y轴方向,具体可参见图10D的示例。需要说明的是,图10D仅示出了第一触控区域及周围部分小格区域的电容变化值的示意图,未示出的小格区域的电容变化值可以和图10B一致。As shown in FIG. 10B , the shape of the first touch area is an ellipse, and the long axis of the ellipse is more inclined to the x-axis, so it can be obtained that the direction corresponding to the first touch area is the x-axis direction. In a specific implementation, the long axis of the ellipse may also be more inclined to the y-axis, and it can be obtained that the direction corresponding to the first touch area is the y-axis direction. For details, see the example in FIG. 10D . It should be noted that, FIG. 10D only shows a schematic diagram of capacitance change values of the first touch area and surrounding small grid areas, and the capacitance change values of the unshown small grid areas may be consistent with FIG. 10B .
可以理解地,上述长轴偏向的轴可以是根据长轴和x轴之间的角度(简称为第一角度)与长轴和y轴之间的角度(简称为第二角度)的大小关系得到的。第一角度大于第二角度时,长轴更偏向y轴;第一角度小于第二角度时,长轴更偏向x轴。第一角度和第二角度相等时,长轴的方向可以为x轴方向和y轴方向中任意一个。It can be understood that the above-mentioned axis of the long axis deviation can be obtained according to the magnitude relationship between the angle between the long axis and the x axis (referred to as the first angle) and the angle between the long axis and the y axis (referred to as the second angle). of. When the first angle is greater than the second angle, the long axis is more inclined to the y-axis; when the first angle is smaller than the second angle, the long axis is more inclined to the x-axis. When the first angle and the second angle are equal, the direction of the long axis may be any one of the x-axis direction and the y-axis direction.
在一些实施例中,若第一触控区域、第二触控区域的形状为类圆形、类椭圆形、椭圆形、圆形等存在长轴的预设形状时,电子设备100显示的预设界面可以是根据第一触控区域对应的方向或第二触控区域对应的方向确认的。其中,第一触控区域对应的方向为第一触控区域的预设形状的长轴偏向的方向,第二触控区域对应的方向为第二触控区域的预设形状的长轴偏向的方向。例如,当第一触控区域为图10B所示的第一触控区域时,第一触控区域对应的方向为图10B所示的x轴方向,则电子设备100显示的预设界面可以为图6的(B)所示的用户界面620。当第一触控区域为图10D所示的第一触控区域时,第一触控区域对应的方向为图10D所示的y轴方向,则电子设备100显示的预设界面可以为图11所示的用户界面1100。其中,用户界面1100可以显示动车票的电子卡片,用户可以通过用户界面1100获取动车票的信息。In some embodiments, if the shape of the first touch area and the second touch area is a predetermined shape with a long axis, such as a circle-like shape, an ellipse-like shape, an ellipse, a circle, etc., the predetermined shape displayed by the electronic device 100 The setting interface may be confirmed according to the direction corresponding to the first touch area or the direction corresponding to the second touch area. The direction corresponding to the first touch area is the direction of the long axis of the preset shape of the first touch area, and the direction corresponding to the second touch area is the direction of the long axis of the preset shape of the second touch area. direction. For example, when the first touch area is the first touch area shown in FIG. 10B , and the direction corresponding to the first touch area is the x-axis direction shown in FIG. 10B , the preset interface displayed by the electronic device 100 may be The user interface 620 shown in (B) of FIG. 6 . When the first touch area is the first touch area shown in FIG. 10D , and the direction corresponding to the first touch area is the y-axis direction shown in FIG. 10D , the preset interface displayed by the electronic device 100 may be as shown in FIG. 11 . User interface 1100 shown. The user interface 1100 can display the electronic card of the train ticket, and the user can obtain the information of the train ticket through the user interface 1100 .
在一些实施例中,电子设备100显示的预设界面可以是根据第一触控区域在第一显示区域201中的位置,和/或,第二触控区域在第二显示区域202中的位置确认的,具体示例可参见图12-图13。In some embodiments, the preset interface displayed by the electronic device 100 may be based on the position of the first touch area in the first display area 201 and/or the position of the second touch area in the second display area 202 Confirmed, see Figure 12-Figure 13 for specific examples.
如图12所示,图12示例性示出了一种第一显示区域201的示意图。第一显示区域201可以包括区域一2011、区域二2012、区域三2013。当第一触控区域位于第一显示区域201中的不同区域内时,电子设备100显示的预设界面可以不同。例如,当第一触控区域位于区域一2011内时,电子设备100显示的预设界面可以为图6的(B)所示的用户界面620。当第一触控区域位于区域二2012内时,电子设备100显示的预设界面可以为图11所示的用户界面1100。当第一触控区域位于区域三2013内时,电子设备100显示的预设界面可以包括乘车码的电子卡片。As shown in FIG. 12 , FIG. 12 exemplarily shows a schematic diagram of a first display area 201 . The first display area 201 may include area one 2011 , area two 2012 , and area three 2013 . When the first touch area is located in different areas in the first display area 201, the preset interface displayed by the electronic device 100 may be different. For example, when the first touch area is located in the area one 2011, the preset interface displayed by the electronic device 100 may be the user interface 620 shown in (B) of FIG. 6 . When the first touch area is located in the second area 2012, the preset interface displayed by the electronic device 100 may be the user interface 1100 shown in FIG. 11 . When the first touch area is located in the area 3 2013, the preset interface displayed by the electronic device 100 may include an electronic card with a travel code.
不限于上述示例的第一显示区域201包括的区域,在具体实现中,第一显示区域201包括的区域数目可以更多,也可以更少,本申请实施例对此不作限定。It is not limited to the areas included in the first display area 201 in the above example. In a specific implementation, the number of areas included in the first display area 201 may be more or less, which is not limited in this embodiment of the present application.
接下来以第一显示区域201包括图12所示的三个区域为例进行说明。Next, the first display area 201 includes the three areas shown in FIG. 12 as an example for description.
在一些实施例中,当电子设备100显示预设界面时,第一触控区域在第一显示区域201中的位置可以改变。相应地,电子设备100显示的预设界面也可以改变。例如,如图13所示,用户手指可以从区域一2011滑动至区域二2012,响应于该滑动操作,电子设备100可以将显示的预设界面从图6的(B)所示的用户界面620切换为图11所示的用户界面1100。In some embodiments, when the electronic device 100 displays the preset interface, the position of the first touch area in the first display area 201 can be changed. Correspondingly, the preset interface displayed by the electronic device 100 can also be changed. For example, as shown in FIG. 13 , the user's finger may slide from the area one 2011 to the area two 2012. In response to the sliding operation, the electronic device 100 may change the displayed preset interface from the user interface 620 shown in (B) of FIG. 6 . Switch to the user interface 1100 shown in FIG. 11 .
在一些实施例中,为了方便用户使用,电子设备100可以在显示屏上显示多个标签。不同标签可以用于标识不同的预设界面,用户可以根据标签确认对应的预设界面,并根据自身需求选择显示的预设界面,具体示例可参见图14。In some embodiments, for the convenience of the user, the electronic device 100 may display a plurality of labels on the display screen. Different labels can be used to identify different preset interfaces. The user can confirm the corresponding preset interface according to the label, and select the preset interface displayed according to his own needs. For a specific example, see FIG. 14 .
如图14所示,图14示例性示出了一种预设界面的示意图。用户界面140可以包括第一支付应用的支付码141、支付码标签142、交通票标签143、个人证件标签144。其中,支付码标签142可以用于标识第一触控区域位于区域一2011内时显示的预设界面,例如用户界面140。交通票标签213可以用于标识第一触控区域位于区域二2012内时显示的预设界面,例如图11所示的用户界面1100。个人证件标签144可以用于标识第一触控区域位于区域三2013时显示的预设界面,例如显示身份证的电子卡片的预设界面。As shown in FIG. 14 , FIG. 14 exemplarily shows a schematic diagram of a preset interface. The user interface 140 may include a payment code 141 , a payment code label 142 , a transportation ticket label 143 , and a personal certificate label 144 of the first payment application. The payment code label 142 may be used to identify a preset interface displayed when the first touch area is located in the area one 2011, such as the user interface 140. The transportation ticket label 213 may be used to identify a preset interface displayed when the first touch area is located in the area two 2012, such as the user interface 1100 shown in FIG. 11 . The personal ID label 144 can be used to identify a preset interface displayed when the first touch area is located in the area three 2013, for example, a preset interface displaying an electronic card of an ID card.
不限于图14列举的情况,在具体实现中,标识预设界面的标签也可以在第一显示区域 201上显示,本申请实施例对此不作限定。Not limited to the situation enumerated in FIG. 14 , in a specific implementation, a label identifying the preset interface may also be displayed on the first display area 201, which is not limited in this embodiment of the present application.
以上实施例中预设界面仅包括一个电子卡片。在具体实现中,预设界面也可以包括多个电子卡片,电子设备可以按照预设显示方式在预设界面上显示该多个电子卡片。例如,在预设界面上显示多个电子卡片中一个卡片的全部内容(该卡片后续可称为首选卡片),除首选卡片外的电子卡片显示部分内容,具体示例可参见图15和图17所示用户界面。或者,在预设界面上显示多个电子卡片的全部内容,该多个电子卡片位于预设界面上的不同位置,具体示例可参见图19-图20所示用户界面。In the above embodiment, the preset interface only includes one electronic card. In a specific implementation, the preset interface may also include multiple electronic cards, and the electronic device may display the multiple electronic cards on the preset interface in a preset display manner. For example, the entire content of one card among the multiple electronic cards (the card may be referred to as the preferred card in the future) is displayed on the preset interface, and the electronic cards except the preferred card display part of the content. For specific examples, please refer to FIG. 15 and FIG. 17 display the user interface. Alternatively, the entire contents of multiple electronic cards are displayed on the preset interface, and the multiple electronic cards are located at different positions on the preset interface. For specific examples, see the user interfaces shown in FIGS. 19-20 .
请参见图15,图15示例性示出一种用户滑动手指前后的对比图。该滑动手指的用户操作的示意图如图16所示。其中,图15的(A)示出了用户滑动手指前的预设界面,图15的(B)示出了用户滑动手指后的预设界面。Please refer to FIG. 15 , which exemplarily shows a comparison diagram before and after a user slides a finger. A schematic diagram of the user operation of sliding a finger is shown in FIG. 16 . 15(A) shows the preset interface before the user slides the finger, and FIG. 15(B) shows the preset interface after the user slides the finger.
如图15的(A)所示,电子设备100在第六区域303上显示的用户界面150包括四个电子卡片:会员卡151、门禁卡152、交通卡153、银行卡154。并且,在用户界面150显示会员卡151的全部内容,显示门禁卡152、交通卡153、银行卡154的部分内容。即图15的(A)所示的用户界面150中的首选卡片是会员卡151。As shown in (A) of FIG. 15 , the user interface 150 displayed on the sixth area 303 of the electronic device 100 includes four electronic cards: membership card 151 , access card 152 , transportation card 153 , and bank card 154 . In addition, the user interface 150 displays the entire contents of the membership card 151 , and displays part of the contents of the access card 152 , the transportation card 153 , and the bank card 154 . That is, the preferred card in the user interface 150 shown in FIG. 15(A) is the membership card 151 .
在一些实施例中,当电子设备100显示图15的(A)所示的用户界面150时,用户手指可以在第一显示区域201内向下滑动一次(具体如图16所示)。响应于该滑动操作,电子设备100可以将用户界面150显示的首选卡片从会员卡151切换为门禁卡152,即显示图15的(B)所示的用户界面150。In some embodiments, when the electronic device 100 displays the user interface 150 shown in (A) of FIG. 15 , the user's finger can slide down once in the first display area 201 (specifically, as shown in FIG. 16 ). In response to the sliding operation, the electronic device 100 can switch the preferred card displayed on the user interface 150 from the membership card 151 to the access card 152, that is, the user interface 150 shown in (B) of FIG. 15 is displayed.
可选地,响应于该滑动操作,电子设备100还可以切换用户界面150显示的四个电子卡片的位置。图15的(A)所示的第四界面150中四个电子卡片的位置从下往上依次为:会员卡151、门禁卡152、交通卡153、银行卡154。切换后,图15的(B)所示的第四界面150中四个电子卡片的位置从下往上依次为:门禁卡152、交通卡153、银行卡154、会员卡151。Optionally, in response to the sliding operation, the electronic device 100 may also switch the positions of the four electronic cards displayed on the user interface 150 . The positions of the four electronic cards in the fourth interface 150 shown in (A) of FIG. 15 are from bottom to top: membership card 151 , access card 152 , transportation card 153 , and bank card 154 . After switching, the positions of the four electronic cards in the fourth interface 150 shown in (B) of FIG.
在一些实施例中,用户手指的滑动方向不同时,电子设备100切换的首选卡片也可以不同。例如,用户手指的滑动方向向上时,电子设备100可以将用户界面150显示的首选卡片从会员卡151切换为银行卡154,具体如图17-图18所示。In some embodiments, when the sliding direction of the user's finger is different, the preferred card switched by the electronic device 100 may also be different. For example, when the user's finger slides upward, the electronic device 100 can switch the preferred card displayed on the user interface 150 from the membership card 151 to the bank card 154, as shown in FIGS. 17-18 .
请参见图17,图17示例性示出又一种用户滑动手指前后的对比图。该滑动手指的用户操作的示意图如图18所示。其中,图17的(A)示出了用户滑动手指前的预设界面,图17的(B)示出了用户滑动手指后的预设界面。图17的(A)和图15的(A)一致,不再赘述。Please refer to FIG. 17 , FIG. 17 exemplarily shows another comparison diagram before and after a user slides a finger. A schematic diagram of the user operation of sliding a finger is shown in FIG. 18 . 17(A) shows the preset interface before the user slides the finger, and FIG. 17(B) shows the preset interface after the user slides the finger. (A) of FIG. 17 is the same as that of FIG. 15 (A), and will not be repeated.
如图17所示,当电子设备100显示图17的(A)所示的用户界面150时,用户手指可以在第一显示区域201内向上滑动一次(具体如图18所示)。响应于该滑动操作,电子设备100可以将用户界面150显示的首选卡片从会员卡151切换为银行卡154,即显示图17的(B)所示的用户界面150。As shown in FIG. 17 , when the electronic device 100 displays the user interface 150 shown in (A) of FIG. 17 , the user's finger can slide up in the first display area 201 once (specifically, as shown in FIG. 18 ). In response to the sliding operation, the electronic device 100 can switch the preferred card displayed on the user interface 150 from the membership card 151 to the bank card 154, that is, the user interface 150 shown in (B) of FIG. 17 is displayed.
在一些实施例中,用户手指的滑动方向不同时,电子设备100切换预设界面显示的多个电子卡片的位置的方式也可以不同。例如,图15-图16中用户手指的滑动方向向下,图17-图18中用户手指的滑动方向向上。图15的(B)所示的用户界面150中四个电子卡片的位置和图17的(B)所示的用户界面150中四个电子卡片的位置不同。其中,图17的(B)所示的第四界面150中四个电子卡片的位置从下往上依次为:银行卡154、会员卡151、门禁卡152、交通卡153。In some embodiments, when the sliding direction of the user's finger is different, the manner in which the electronic device 100 switches the positions of the plurality of electronic cards displayed on the preset interface may also be different. For example, the sliding direction of the user's finger in Figures 15-16 is downward, and the sliding direction of the user's finger in Figures 17-18 is upward. The positions of the four electronic cards in the user interface 150 shown in (B) of FIG. 15 are different from the positions of the four electronic cards in the user interface 150 shown in (B) of FIG. 17 . The positions of the four electronic cards in the fourth interface 150 shown in (B) of FIG. 17 are, from bottom to top, a bank card 154 , a membership card 151 , an access card 152 , and a transportation card 153 .
请参见图19,图19示例性示出一种用户点击屏幕前后的对比图。其中,图19的(A)示出了用户点击屏幕前的预设界面,图19的(B)示出了用户点击屏幕后的预设界面。Please refer to FIG. 19 , which exemplarily shows a comparison diagram before and after the user clicks on the screen. 19(A) shows the preset interface before the user clicks the screen, and FIG. 19(B) shows the preset interface after the user clicks the screen.
如图19的(A)所示,电子设备100在第六区域303上显示的用户界面190包括两个电子卡片:门禁卡152和交通卡153。并且,在用户界面190显示门禁卡152和交通卡153的全部内容,门禁卡152位于交通卡153的右侧。As shown in (A) of FIG. 19 , the user interface 190 displayed by the electronic device 100 on the sixth area 303 includes two electronic cards: an access card 152 and a traffic card 153 . In addition, the user interface 190 displays the entire contents of the access card 152 and the traffic card 153 , and the access card 152 is located on the right side of the traffic card 153 .
在一些实施例中,当电子设备100显示图19的(A)所示的用户界面190时,用户手指可以在第一显示区域201上点击一次。响应于该点击操作,电子设备100可以切换用户界面190显示的门禁卡152和交通卡153的位置,即显示图19的(B)所示的用户界面190。图19的(B)所示的用户界面190中,门禁卡152位于交通卡153的左侧。In some embodiments, when the electronic device 100 displays the user interface 190 shown in (A) of FIG. 19 , the user's finger may click on the first display area 201 once. In response to the click operation, the electronic device 100 can switch the positions of the access card 152 and the traffic card 153 displayed on the user interface 190, that is, display the user interface 190 shown in (B) of FIG. 19 . In the user interface 190 shown in (B) of FIG. 19 , the access card 152 is located on the left side of the traffic card 153 .
请参见图20,图20示例性示出一种用户滑动手指前后的对比图。其中,图20的(A)示出了用户滑动手指前的预设界面,图20的(B)示出了用户滑动手指后的预设界面。Please refer to FIG. 20 , which exemplarily shows a comparison diagram before and after a user slides a finger. Wherein, (A) of FIG. 20 shows the preset interface before the user slides the finger, and (B) of FIG. 20 shows the preset interface after the user slides the finger.
如图20的(A)所示,电子设备100在第六区域303上显示的用户界面2000包括两个电子卡片:第一支付应用的付款码2001、第二支付应用的付款码2002。并且,在用户界面2000显示第一支付应用的付款码2001、第二支付应用的付款码2002的全部内容,第一支付应用的付款码2001位于第二支付应用的付款码2002的上侧。As shown in (A) of FIG. 20 , the user interface 2000 displayed by the electronic device 100 on the sixth area 303 includes two electronic cards: a payment code 2001 of the first payment application and a payment code 2002 of the second payment application. In addition, the user interface 2000 displays the entire contents of the payment code 2001 of the first payment application and the payment code 2002 of the second payment application, and the payment code 2001 of the first payment application is located on the upper side of the payment code 2002 of the second payment application.
在一些实施例中,当电子设备100显示图20的(A)所示的用户界面2000时,用户手指可以在第一显示区域201上滑动一次。响应于该滑动操作,电子设备100可以切换用户界面2000显示的第一支付应用的付款码2001、第二支付应用的付款码2002的位置,即显示图20的(B)所示的用户界面2000。图20的(B)所示的用户界面2000中,第一支付应用的付款码2001位于第二支付应用的付款码2002的下侧。In some embodiments, when the electronic device 100 displays the user interface 2000 shown in (A) of FIG. 20 , the user's finger may slide on the first display area 201 once. In response to the sliding operation, the electronic device 100 can switch the positions of the payment code 2001 of the first payment application and the payment code 2002 of the second payment application displayed on the user interface 2000 , that is, the user interface 2000 shown in (B) of FIG. 20 is displayed. . In the user interface 2000 shown in (B) of FIG. 20 , the payment code 2001 of the first payment application is located on the lower side of the payment code 2002 of the second payment application.
不限于上述列举的预设显示方式,在具体实现中,首选卡片也可以包括多个电子卡片。用户界面190中门禁卡152的轮廓和交通卡153的轮廓也可以在不影响卡片内容显示的情况下部分重叠。本申请实施例对此不作限定。Not limited to the preset display manners listed above, in a specific implementation, the preferred card may also include multiple electronic cards. The outline of the access card 152 and the outline of the transportation card 153 in the user interface 190 may also partially overlap without affecting the display of the card content. This embodiment of the present application does not limit this.
不限于上述列举的切换预设界面的显示方式的用户操作,在具体实现中,图19中点击屏幕的操作也可以是点击第二显示屏300上显示的门禁卡152、交通卡153或任意区域的用户操作,本申请实施例对此不做限定。It is not limited to the user operation of switching the display mode of the preset interface listed above. In a specific implementation, the operation of clicking the screen in FIG. 19 may also be clicking the access control card 152, the traffic card 153 or any area displayed on the second display screen 300. This is not limited in this embodiment of the present application.
本申请实施例中,电子设备100显示预设界面的第二显示屏300的区域可以是系统预设的,也可以是响应于用户操作自定义设置的,还可以是按照预设规则确认的,本申请实施例对此不作限定。In the embodiment of the present application, the area of the second display screen 300 on which the electronic device 100 displays the preset interface may be preset by the system, may be customized in response to user operations, or may be confirmed according to preset rules, This embodiment of the present application does not limit this.
电子设备100按照预设规则确认的示例如下所示:An example of confirmation by the electronic device 100 according to the preset rules is as follows:
示例性地,电子设备100首先确认形状为椭圆形并且面积较大的第一触控区域,将其识别为用户指腹接触的区域。然后确认第一触控区域所在的第一显示屏200的区域,最后确认与上述第一显示屏200的区域相背的第二显示屏200的区域用于显示预设界面的。例如,图10A-图10D中,第一触控区域位于第一显示区域201内,与第一显示区域201相背的第四区域301用于显示预设界面。Exemplarily, the electronic device 100 first confirms the first touch area with an oval shape and a larger area, and identifies it as the area touched by the finger pad of the user. Then confirm the area of the first display screen 200 where the first touch area is located, and finally confirm that the area of the second display screen 200 opposite to the above-mentioned area of the first display screen 200 is used for displaying the preset interface. For example, in FIGS. 10A-10D , the first touch area is located in the first display area 201 , and the fourth area 301 opposite to the first display area 201 is used for displaying a preset interface.
示例性地,电子设备100首先确认形状为圆形和/或面积较小的第二触控区域,将其识别为用户指背接触的区域。然后确认第二触控区域所在的第一显示屏200的区域,最后确认与上述第一显示屏200的区域相背的第二显示屏200的区域用于显示预设界面的。例如,图10A-图10D中,第二触控区域位于第二显示区域202内,与第二显示区域202相背的六区域303用于显示预设界面。Exemplarily, the electronic device 100 first confirms the second touch area with a circular shape and/or a smaller area, and identifies it as the area touched by the back of the user's finger. Then confirm the area of the first display screen 200 where the second touch area is located, and finally confirm that the area of the second display screen 200 opposite to the above-mentioned area of the first display screen 200 is used for displaying the preset interface. For example, in FIGS. 10A-10D , the second touch area is located in the second display area 202 , and the six areas 303 opposite to the second display area 202 are used to display the preset interface.
本申请实施例中,预设界面包括的电子卡片可以是系统预设的,也可以是响应于用户操 作自定义设置的,还可以是按照预设规则确认。其中,用户自定义设置的示例如下图21-图25所示。电子设备100按照预设规则确认的示例如下所示:In the embodiment of the present application, the electronic card included in the preset interface may be preset by the system, may also be customized in response to user operations, or may be confirmed according to preset rules. Among them, examples of user-defined settings are shown in Figure 21-Figure 25 below. An example of confirmation by the electronic device 100 according to the preset rules is as follows:
示例性地,上述预设规则可以是:用户在预设时间内使用次数大于预设阈值的电子卡片为预设界面包括的电子卡片。Exemplarily, the above-mentioned preset rule may be: an electronic card whose number of times the user uses within a preset time is greater than a preset threshold is an electronic card included in the preset interface.
示例性地,上述预设规则可以是:存在优惠活动的会员卡、银行卡等电子卡片为预设界面包括的电子卡片。Exemplarily, the above-mentioned preset rule may be: electronic cards such as membership cards and bank cards that have preferential activities are electronic cards included in the preset interface.
示例性地,上述预设规则可以是:与电子设备100所在位置、所处时间、显示预设界面之前用户使用的应用程序等场景信息匹配的电子卡片为预设界面包括的电子卡片。例如,假设用户在机场,并且当前时间和飞机票中的起飞时间的间隔小于3个小时,则此时显示的预设界面可以包括飞机票的电子卡片、身份证的电子卡片等。Exemplarily, the above preset rule may be: an electronic card that matches scene information such as the location, time, and application of the user before displaying the preset interface of the electronic device 100 is an electronic card included in the preset interface. For example, assuming that the user is at the airport, and the interval between the current time and the departure time in the air ticket is less than 3 hours, the preset interface displayed at this time may include the electronic card of the air ticket, the electronic card of the ID card, and the like.
请参见图21,图21示例性示出一种用户界面实施例的示意图。用户界面2100可以包括第一设置界面2110和图片引导2120。其中:Please refer to FIG. 21 , which exemplarily shows a schematic diagram of an embodiment of a user interface. The user interface 2100 may include a first setting interface 2110 and a picture guide 2120 . in:
第一设置界面2110可以包括总控功能选项2111、区域关联选项2112、方向关联选项2113、方向设置选项2114、切换功能选项2115、刷新功能选项2116。其中:The first setting interface 2110 may include an overall control function option 2111 , an area association option 2112 , a direction association option 2113 , a direction setting option 2114 , a switch function option 2115 , and a refresh function option 2116 . in:
总控功能选项2111可以用于用户开启或关闭显示快捷界面的功能。电子设备100可以检测到作用于总控功能选项2111的用户操作(例如点击或滑动操作),响应于该操作,电子设备100可以开启或关闭显示快捷界面的功能。当用户开启显示快捷界面的功能时,用户界面2100可以显示上述区域关联功能选项2112、方向关联功能选项2113、方向设置选项2114、切换功能选项2115、刷新功能选项2116。否则,第一设置界面2110可以仅显示总控功能选项2111。在显示快捷界面的功能开启后,当电子设备100处于弯折状态时,若检测到作用于第一显示屏200的触控操作,电子设备100可以在第二显示屏300显示预设界面,具体示例如上图6-图9、图10A-图10D、图11-图20所示。The general control function option 2111 can be used by the user to enable or disable the function of displaying the shortcut interface. The electronic device 100 may detect a user operation (eg, a click or slide operation) acting on the master control function option 2111, and in response to the operation, the electronic device 100 may turn on or off the function of displaying the shortcut interface. When the user enables the function of displaying the shortcut interface, the user interface 2100 may display the above-mentioned area-related function options 2112 , direction-related function options 2113 , direction setting options 2114 , switching function options 2115 , and refresh function options 2116 . Otherwise, the first setting interface 2110 may only display the master control function option 2111 . After the function of displaying the shortcut interface is enabled, when the electronic device 100 is in a bent state, if a touch operation acting on the first display screen 200 is detected, the electronic device 100 can display a preset interface on the second display screen 300 . Specifically Examples are shown in Figures 6-9, 10A-10D, and 11-20 above.
区域关联功能选项2112可以用于用户开启或关闭内屏区域关联快捷界面的功能,其中内屏即为第一显示屏200,内屏区域即为第一显示区域201和/或第二显示区域202。电子设备100可以检测到作用于区域关联功能选项2112的用户操作(例如点击或滑动操作),响应于该操作,电子设备100可以开启或关闭内屏区域关联快捷界面的功能。当用户开启内屏区域关联快捷界面的功能时,电子设备100可以建立第一触控区域在第一显示区域201中的位置,和/或,第二触控区域在第二显示区域202中的位置和预设界面的映射关系,并且用户界面2100可以显示区域选项(如下图23所示的区域选项2117)。当用户关闭内屏区域关联快捷界面的功能时,用户界面2100可以显示上述方向关联功能选项2113、方向设置选项2114。在内屏区域关联快捷界面的功能开启后,电子设备100可以根据第一触控区域在第一显示区域201中的位置和/或第二触控区域在第二显示区域202中的位置显示对应的预设界面,具体示例如上图12-图13所示。The area associated function option 2112 can be used by the user to enable or disable the function of the shortcut interface associated with the inner screen area, where the inner screen is the first display screen 200 and the inner screen area is the first display area 201 and/or the second display area 202 . The electronic device 100 may detect a user operation (eg, a click or a swipe operation) acting on the area associated function option 2112, and in response to the operation, the electronic device 100 may enable or disable the function of the area associated shortcut interface on the internal screen. When the user enables the function of associating the shortcut interface with the internal screen area, the electronic device 100 may establish the position of the first touch area in the first display area 201 and/or the position of the second touch area in the second display area 202 The mapping relationship between the location and the preset interface, and the user interface 2100 can display area options (area options 2117 shown in Figure 23 below). When the user disables the function associated with the shortcut interface in the inner screen area, the user interface 2100 may display the above-mentioned direction associated function option 2113 and direction setting option 2114 . After the function of associating the shortcut interface in the inner screen area is enabled, the electronic device 100 can display the corresponding display according to the position of the first touch area in the first display area 201 and/or the position of the second touch area in the second display area 202 , the specific example is shown in Figure 12-13 above.
接下来以用户开启内屏区域关联快捷界面的功能时,电子设备100建立第一触控区域在第一显示区域201中的位置和预设界面的映射关系为例进行说明。Next, the electronic device 100 establishes a mapping relationship between the position of the first touch area in the first display area 201 and the preset interface as an example when the user activates the function of the shortcut interface associated with the internal screen area as an example.
方向关联功能选项2113可以用于用户开启或关闭手指方向关联快捷界面的功能。电子设备100可以检测到作用于方向关联功能选项2113的用户操作(例如点击或滑动操作),响应于该操作,电子设备100可以开启或关闭手指方向关联快捷界面的功能。当用户开启手指方向关联快捷界面的功能时,电子设备100可以建立第一触控区域对应的方向和/或第二触控区域对应的方向和预设界面的映射关系,并且用户界面2100可以显示上述方向设置选项2114。在手指方向关联快捷界面的功能开启后,电子设备100可以根据第一触控区域对应的方向和/ 或第二触控区域对应的方向显示对应的预设界面,具体可参见上述电子设备100显示的预设界面可以是根据第一触控区域对应的方向或第二触控区域对应的方向确认的所示说明。The direction association function option 2113 can be used by the user to enable or disable the function of the finger direction association shortcut interface. The electronic device 100 may detect a user operation (such as a click or slide operation) acting on the direction association function option 2113, and in response to the operation, the electronic device 100 may enable or disable the function of the finger direction association shortcut interface. When the user enables the function of associating the shortcut interface with the finger direction, the electronic device 100 can establish a mapping relationship between the direction corresponding to the first touch area and/or the direction corresponding to the second touch area and the preset interface, and the user interface 2100 can display Orientation setting option 2114 above. After the function of the finger direction associating the shortcut interface is enabled, the electronic device 100 can display the corresponding preset interface according to the direction corresponding to the first touch area and/or the direction corresponding to the second touch area. For details, please refer to the display of the electronic device 100 above. The preset interface may be the illustrated description confirmed according to the direction corresponding to the first touch area or the direction corresponding to the second touch area.
接下来以用户开启手指方向关联快捷界面的功能时,电子设备100建立第一触控区域对应的方向和预设界面的映射关系为例进行说明。Next, the electronic device 100 establishes the mapping relationship between the direction corresponding to the first touch area and the preset interface as an example when the user activates the function of the finger direction associating the shortcut interface.
方向设置选项2114可以包括竖向选项2114A和横向选项2114B。竖向选项2114A可以用于用户选择第一触控区域对应的方向为中轴线所在轴向(即图10A-图10D所示的y轴方向)时,显示的预设界面。横向选项2114B可以用于用户选择第一触控区域对应的方向为与中轴线垂直的直线的轴向(即图10A-图10D所示的x轴方向)时,显示的预设界面。 Orientation setting options 2114 may include a portrait option 2114A and a landscape option 2114B. The vertical option 2114A can be used for the preset interface displayed when the user selects that the direction corresponding to the first touch area is the axis where the central axis is located (ie, the y-axis direction shown in FIGS. 10A-10D ). The horizontal option 2114B can be used for the preset interface displayed when the user selects the direction corresponding to the first touch area as the axial direction of a straight line perpendicular to the central axis (ie, the x-axis direction shown in FIGS. 10A-10D ).
切换功能选项2115可以用于用户开启或关闭滑动手指切换电子卡片的功能。电子设备100可以检测到作用于切换功能选项2115的用户操作(例如点击或滑动操作),响应于该操作,电子设备100可以开启或关闭滑动手指切换电子卡片的功能。在预设界面包括一个电子卡片且内屏区域关联快捷界面的功能开启的情况下,在滑动手指切换电子卡片的功能开启后,电子设备100可以根据滑动手指的用户操作切换显示的预设界面,具体示例如图13所示。在预设界面包括多个电子卡片的情况下,在滑动手指切换电子卡片的功能开启后,电子设备100可以根据滑动操作切换预设界面显示的电子卡片的位置,具体示例如图15-图18、图20所示。可以理解地,切换功能选项2115还可以用于用户开启或关闭其他操作(如点击操作)切换电子卡片的功能。电子设备100可以根据该其他操作切换预设界面显示的电子卡片的位置,具体示例如图19所示。The switch function option 2115 can be used by the user to enable or disable the function of sliding a finger to switch electronic cards. The electronic device 100 may detect a user operation (eg, a tap or swipe operation) acting on the switching function option 2115, and in response to the operation, the electronic device 100 may turn on or off the function of sliding a finger to switch electronic cards. When the preset interface includes an electronic card and the function of the shortcut interface associated with the inner screen area is enabled, after the function of sliding the finger to switch the electronic card is enabled, the electronic device 100 can switch the displayed preset interface according to the user operation of sliding the finger, A specific example is shown in Figure 13. When the preset interface includes multiple electronic cards, after the function of sliding the finger to switch electronic cards is enabled, the electronic device 100 can switch the position of the electronic cards displayed on the preset interface according to the sliding operation. , as shown in Figure 20. It can be understood that the switch function option 2115 can also be used by the user to enable or disable other operations (eg, click operations) to switch the electronic card function. The electronic device 100 can switch the position of the electronic card displayed on the preset interface according to the other operation, and a specific example is shown in FIG. 19 .
刷新功能选项2116可以用于用户开启或关闭手指点击刷新电子卡片的功能。电子设备100可以检测到作用于刷新功能选项2116的用户操作(例如点击或滑动操作),响应于该操作,电子设备100可以开启或关闭手指点击刷新电子卡片的功能。在手指点击刷新电子卡片的功能开启后,电子设备100可以根据点击操作刷新预设界面显示的电子卡片。The refresh function option 2116 can be used by the user to enable or disable the function of finger tap to refresh the electronic card. The electronic device 100 may detect a user operation (eg, a tap or swipe operation) acting on the refresh function option 2116, and in response to the operation, the electronic device 100 may turn on or off the function of finger tap to refresh the electronic card. After the function of refreshing the electronic card by clicking with the finger is enabled, the electronic device 100 can refresh the electronic card displayed on the preset interface according to the clicking operation.
图片引导2120可以包括图片示例2121和了解更多选项2122。其中,图片示例2121可以包括多个图片,用户可以通过上述多个图片获取到显示快捷界面功能的使用示例。了解更多选项2122可以用于用户选择查看更多的图片示例。电子设备100可以检测到作用于了解更多选项2122的用户操作(例如点击操作),响应于该操作,电子设备100可以显示详细的图片示例。可选地,上述使用示例和上述详细的图片示例可以包括上图6-图9、图10A-图10D、图11-图20所示的任意一个实施例。 Picture guide 2120 may include picture examples 2121 and learn more options 2122. Wherein, the picture example 2121 may include multiple pictures, and the user may obtain a usage example of the function of displaying the shortcut interface through the above-mentioned multiple pictures. Learn more option 2122 may be used by the user to select to view more image examples. The electronic device 100 may detect a user operation (eg, a click operation) acting on the learn more option 2122, and in response to the operation, the electronic device 100 may display a detailed picture example. Optionally, the above usage example and the above detailed picture example may include any one of the embodiments shown in FIGS. 6-9, 10A-10D, and 11-20 above.
在一些实施例中,用户可以点击用户界面2100中的竖向选项2114A或横向选项2114B,以此选择预设界面显示的电子卡片的类型,具体示例如图22所示。In some embodiments, the user may click the vertical option 2114A or the horizontal option 2114B in the user interface 2100 to select the type of electronic card displayed in the preset interface, a specific example is shown in FIG. 22 .
请参见图22,图22示例性示出又一种用户界面实施例的示意图。用户界面2200可以包括第一设置界面2110和第一选择应用界面2210。其中,第一设置界面2110相比图21所示的第一设置界面2110,竖向选项2114A为选中状态。Please refer to FIG. 22 , which exemplarily shows a schematic diagram of yet another user interface embodiment. The user interface 2200 may include a first settings interface 2110 and a first selection application interface 2210 . In the first setting interface 2110, compared with the first setting interface 2110 shown in FIG. 21, the vertical option 2114A is in a selected state.
第一选择应用界面2210可以包括第一支付应用选项2211、第二支付应用选项2212、卡包应用选项2213等多个应用程序的功能选项。其中:The first selection application interface 2210 may include a first payment application option 2211, a second payment application option 2212, a card package application option 2213 and other functional options of multiple applications. in:
第一支付应用选项2211可以用于:用户选择或取消选择第一支付应用中的电子卡片为预设界面包括的电子卡片。电子设备100可以检测到作用于第一支付应用选项2211的用户操作(例如点击操作),响应于该操作,电子设备100可以建立第一支付应用中的电子卡片与预设界面的对应关系。在用户选择第一支付应用中的电子卡片后,当第一触控区域对应的方向为中轴线所在轴向时,电子设备100显示的预设界面可以包括第一支付应用中的电子卡片。The first payment application option 2211 may be used for: the user selects or deselects the electronic card in the first payment application as the electronic card included in the preset interface. The electronic device 100 may detect a user operation (eg, a click operation) acting on the first payment application option 2211, and in response to the operation, the electronic device 100 may establish a corresponding relationship between the electronic card in the first payment application and the preset interface. After the user selects the electronic card in the first payment application, when the direction corresponding to the first touch area is the axis where the central axis is located, the preset interface displayed by the electronic device 100 may include the electronic card in the first payment application.
可选地,电子设备100可以检测到作用于第一支付应用选项2211下的付款码选项2211A、收款码选项2211B、二维码名片选项2211C中任意一个选项的用户操作(例如点击操作),响应于该操作,电子设备100可以建立该选项的电子卡片与预设界面的对应关系。Optionally, the electronic device 100 may detect a user operation (such as a click operation) acting on any one of the payment code option 2211A, the payment code option 2211B, and the two-dimensional code business card option 2211C under the first payment application option 2211, In response to this operation, the electronic device 100 may establish a corresponding relationship between the electronic card of the option and the preset interface.
第二支付应用选项2212以及第二支付应用选项2212下的付款码选项2212A、收款码选项2212B、二维码名片选项2212C,和第一支付应用选项2211以及第一支付应用选项2211下的付款码选项2211A、收款码选项2211B、二维码名片选项2211C的描述类似。卡包应用选项2213和第一支付应用选项2211的描述类似,不再赘述。The second payment application option 2212 and the payment code option 2212A, the payment code option 2212B, the QR code business card option 2212C under the second payment application option 2212, and the first payment application option 2211 and the payment under the first payment application option 2211 The descriptions of the code option 2211A, the payment code option 2211B, and the two-dimensional code business card option 2211C are similar. The description of the card package application option 2213 is similar to the description of the first payment application option 2211, and will not be repeated here.
如图22所示,在第一选择应用界面2210中,第一支付应用选项2211下的付款码选项2211A和第二支付应用选项2212下的付款码选项2212A已被用户选择,则当第一触控区域对应的方向为中轴线所在轴向时,电子设备100显示的预设界面可以包括两个电子卡片:第一支付应用的付款码和第二支付应用的付款码。例如,当第一触控区域为图10B所示的第一触控区域时,电子设备100显示的预设界面可以为上图20所示的用户界面2000。As shown in FIG. 22, in the first selection application interface 2210, the payment code option 2211A under the first payment application option 2211 and the payment code option 2212A under the second payment application option 2212 have been selected by the user, then when the first touch When the direction corresponding to the control area is the axis where the central axis is located, the preset interface displayed by the electronic device 100 may include two electronic cards: the payment code of the first payment application and the payment code of the second payment application. For example, when the first touch area is the first touch area shown in FIG. 10B , the preset interface displayed by the electronic device 100 may be the user interface 2000 shown in FIG. 20 above.
在一些实施例中,当用户开启区域关联功能选项2112时,电子设备100可以显示区域选项2117,以此让用户选择:第一触控区域在第一显示区域201的不同位置时,预设界面显示的电子卡片的类型,具体示例如图23所示。In some embodiments, when the user enables the area associated function option 2112, the electronic device 100 may display the area option 2117, so as to allow the user to select: when the first touch area is in a different position of the first display area 201, a preset interface The type of electronic card displayed, a specific example is shown in Figure 23.
请参见图23,图23示例性示出又一种用户界面实施例的示意图。用户界面2300可以包括第一设置界面2110和区域示例界面2310。其中,第一设置界面2110可以是用户在图21所示的第一设置界面2110中开启区域关联功能选项2112后,电子设备100显示的用户界面。相比图21所示的第一设置界面2110,图23所示的第一设置界面2110可以不包括方向关联功能选项2113、方向设置选项2114,以及还可以包括区域选项2117。Please refer to FIG. 23 , which exemplarily shows a schematic diagram of yet another user interface embodiment. User interface 2300 may include a first settings interface 2110 and an area example interface 2310. The first setting interface 2110 may be a user interface displayed by the electronic device 100 after the user enables the region associated function option 2112 in the first setting interface 2110 shown in FIG. 21 . Compared with the first setting interface 2110 shown in FIG. 21 , the first setting interface 2110 shown in FIG. 23 may not include the direction associated function option 2113 , the direction setting option 2114 , and may further include the area option 2117 .
如图23所示,区域选项2117可以包括区域一选项21171、区域二选项21172、区域三选项21173。区域示例界面2310可以包括区域一2011、区域二2012、区域三2013的界面示例。其中,区域一选项21171可以用于用户选择:第一触控区域位于区域一2011时,预设界面显示的电子卡片的类型。区域二选项21172可以用于用户选择:第一触控区域位于区域二2012时,对应的预设界面显示的电子卡片的类型,区域三选项21173可以用于用户选择:第一触控区域位于区域三2013时,预设界面显示的电子卡片的类型。As shown in FIG. 23 , the area options 2117 may include area one option 21171 , area two option 21172 , and area three option 21173 . The area example interface 2310 may include interface examples of area one 2011 , area two 2012 , and area three 2013 . Among them, the area one option 21171 can be used for the user to select: when the first touch area is located in the area one 2011, the type of the electronic card displayed on the preset interface. Area 2 option 21172 can be used for user selection: when the first touch area is located in area 2 2012, the corresponding electronic card type displayed on the preset interface, area 3 option 21173 can be used for user selection: the first touch area is located in area 2012 3. In 2013, the type of electronic card displayed on the preset interface.
电子设备100可以检测到作用于区域选项2117中的任意一个选项的用户操作(例如点击操作),响应于该操作,电子设备100可以显示选择应用的用户界面。例如,当检测到作用于区域二选项21172的点击操作,响应于该点击操作,电子设备100显示的用户界面可以用于用户选择:第一触控区域位于区域二2012时,预设界面显示的电子卡片的类型。The electronic device 100 may detect a user operation (eg, a click operation) acting on any one of the area options 2117, and in response to the operation, the electronic device 100 may display a user interface for selecting an application. For example, when a click operation acting on the area two option 21172 is detected, in response to the click operation, the user interface displayed by the electronic device 100 can be used for the user to select: when the first touch area is located in the area two 2012, the preset interface displayed Type of electronic card.
在一些实施例中,区域选项2117中的任意一个选项还可以包括方向设置选项。例如区域一选项21171还可以包括竖向选项21171A和横向选项21171B。其中,竖向选项21171A可以用于用户选择:第一触控区域位于区域一2011且对应方向为中轴线所在轴向时,预设界面显示的电子卡片的类型。横向选项21171B可以用于用户选择:第一触控区域位于区域一2011且对应方向为与中轴线垂直的直线所在轴向时,预设界面显示的电子卡片的类型,具体示例如下图24-图25所示。In some embodiments, any of the area options 2117 may also include an orientation setting option. For example, the area one option 21171 may also include a portrait option 21171A and a landscape option 21171B. Among them, the vertical option 21171A can be used for the user to select: when the first touch area is located in the area one 2011 and the corresponding direction is the axis where the central axis is located, the type of the electronic card displayed on the preset interface. The horizontal option 21171B can be used by the user to select: when the first touch area is located in area one 2011 and the corresponding direction is the axis where the line perpendicular to the central axis is located, the type of electronic card displayed on the default interface, a specific example is shown in Figure 24-Figure 25 shown.
请参见图24,图24示例性示出又一种用户界面实施例的示意图。用户界面2400可以包括第一设置界面2110和第二选择应用界面2410。其中,第一设置界面2110相比图23所示的第一设置界面2110,区域一选项21171中的竖向选项21171A为选中状态。Please refer to FIG. 24, which exemplarily shows a schematic diagram of yet another user interface embodiment. User interface 2400 may include a first settings interface 2110 and a second selection application interface 2410 . In the first setting interface 2110, compared with the first setting interface 2110 shown in FIG. 23, the vertical option 21171A in the area one option 21171 is selected.
第二选择应用界面2410可以包括第一支付应用选项2411、第二支付应用选项2412、卡 包应用选项2413、银行应用选项2414、购票应用选项2415等多个应用程序的功能选项。电子设备100可以检测到作用于第二选择应用界面2410中的任意一个选项的用户操作(例如点击操作),响应于该操作,电子设备100可以显示该选项下的电子卡片,如下图25所示的第三选择应用界面2510。The second selection application interface 2410 may include a first payment application option 2411, a second payment application option 2412, a card package application option 2413, a bank application option 2414, a ticket purchase application option 2415 and other functional options of multiple applications. The electronic device 100 may detect a user operation (such as a click operation) acting on any option in the second selection application interface 2410, and in response to the operation, the electronic device 100 may display the electronic card under the option, as shown in FIG. 25 below The third selection application interface 2510.
如图25所示,电子设备100可以检测到作用于第一支付应用选项2411的点击操作,响应于该点击操作,电子设备100可以显示第三选择应用界面2510。第三选择应用界面2510可以用于用户选择第一支付应用包括的电子卡片。第三选择应用界面2510可以包括付款码选项2511、收款码选项2512、二维码名片2513。电子设备100可以检测到作用于第三选择应用界面2510中的任意一个选项的用户操作(例如点击操作),响应于该操作,电子设备100可以建立第一支付应用中的电子卡片与预设界面的映射关系。As shown in FIG. 25 , the electronic device 100 may detect a click operation acting on the first payment application option 2411 , and in response to the click operation, the electronic device 100 may display a third selection application interface 2510 . The third selection application interface 2510 may be used by the user to select an electronic card included in the first payment application. The third selection application interface 2510 may include a payment code option 2511 , a payment code option 2512 , and a two-dimensional code business card 2513 . The electronic device 100 can detect a user operation (such as a click operation) acting on any one option in the third selection application interface 2510, and in response to the operation, the electronic device 100 can establish the electronic card in the first payment application and the preset interface mapping relationship.
基于上述图1-图9、图10A-图10D、图11-图25所示的一些实施例,下面介绍本申请提供的显示方法。Based on some embodiments shown in FIGS. 1 to 9 , 10A to 10D, and 11 to 25 above, the display method provided by the present application is described below.
请参见图26,图26是本申请实施例提供的一种显示方法。该方法可以应用于图1和图2所示的电子设备100。该方法也可以应用于图3-图5所示的电子设备100。该方法包括但不限于如下步骤:Referring to FIG. 26, FIG. 26 is a display method provided by an embodiment of the present application. The method can be applied to the electronic device 100 shown in FIGS. 1 and 2 . The method can also be applied to the electronic device 100 shown in FIGS. 3-5 . The method includes but is not limited to the following steps:
S110:电子设备检测作用于第一显示屏的触控操作。S110: The electronic device detects a touch operation acting on the first display screen.
具体地,电子设备检测作用于第一显示屏的触控操作时,电子设备处于弯折状态。该电子设备为可折叠的电子设备。该电子设备包括第一显示屏和第二显示屏,第一显示屏包括第一显示区域和第二显示区域。第一显示屏和第二显示屏的说明具体可参见图3-图5中第一显示屏200和第二显示屏300的说明,第一显示区域和第二显示区域的说明具体可参见图3-图5中第一显示区域201和第二显示区域202的说明。Specifically, when the electronic device detects the touch operation acting on the first display screen, the electronic device is in a bent state. The electronic device is a foldable electronic device. The electronic device includes a first display screen and a second display screen, and the first display screen includes a first display area and a second display area. For the description of the first display screen and the second display screen, please refer to the description of the first display screen 200 and the second display screen 300 in FIG. 3 to FIG. 5 , and for the description of the first display area and the second display area, please refer to FIG. 3 - Illustration of the first display area 201 and the second display area 202 in FIG. 5 .
当第一显示屏所在平面和第二显示屏所在平面之间的角度处于预设区间时,电子设备处于弯折状态。预设区间可以是(0°,180°)。示例性地,预设区间可以是(0°,90°)、(0°,60°)、(0°,45°)、(0°,30°)、(0°,15°)、(15°,30°)、(15°,45°)、(15°,60°)、(15°,90°)等。When the angle between the plane where the first display screen is located and the plane where the second display screen is located is within a preset interval, the electronic device is in a bent state. The preset interval can be (0°, 180°). Exemplarily, the preset interval may be (0°, 90°), (0°, 60°), (0°, 45°), (0°, 30°), (0°, 15°), ( 15°, 30°), (15°, 45°), (15°, 60°), (15°, 90°), etc.
上述弯折状态可以是展开状态下的电子设备接收到折叠操作变换得到的物理状态,具体示例如上述图6-图7所示。上述弯折状态也可以是折叠状态下的电子设备接收到展开操作变换得到的物理状态,具体示例如上述图8-图9所示。上述弯折状态还可以是电子设备原先就处于的物理状态,本申请实施例对此不作限定。The above-mentioned folded state may be a physical state obtained by the electronic device in the unfolded state receiving a folding operation transformation, and specific examples are shown in the above-mentioned FIGS. 6-7 . The above-mentioned bent state may also be a physical state obtained by the electronic device in the folded state receiving the unfolding operation transformation, and specific examples are shown in the above-mentioned FIGS. 8-9 . The above-mentioned bending state may also be a physical state that the electronic device is in originally, which is not limited in this embodiment of the present application.
上述作用于第一显示屏的触控操作作用于第一显示区域的第一触控区域,还作用于第二显示区域的第二触控区域。例如,该触控操作为上图6-图9所示的用户将一个手指(例如大拇指)夹在第一显示区域201和第二显示区域202之间的操作。用户手指的指腹与第一显示区域201接触的区域为第一触控区域,用户手指的指背与第二显示区域202接触的区域为第二触控区域。The above-mentioned touch operation acting on the first display screen acts on the first touch area of the first display area, and also acts on the second touch area of the second display area. For example, the touch operation is an operation in which the user sandwiches a finger (eg, a thumb) between the first display area 201 and the second display area 202 as shown in FIGS. 6-9 above. The area where the pulp of the user's finger contacts the first display area 201 is the first touch area, and the area where the back of the user's finger contacts the second display area 202 is the second touch area.
在一些实施例中,第一触控区域和第二触控区域满足以下至少一项:第一触控区域在中轴线上的投影和第二触控区域在中轴线上的投影至少部分重叠、第一触控区域的面积大于第二触控区域的面积、第一触控区域或第二触控区域的面积在预设范围内、第一触控区域或第二触控区域的形状为预设形状。其中,预设形状为类圆形、类椭圆形、圆形、椭圆形等存在长轴的形状。第一触控区域、第二触控区域的示例可参见上述图10A-图10D所示的第一触控区域、第二触控区域。In some embodiments, the first touch area and the second touch area satisfy at least one of the following: the projection of the first touch area on the central axis and the projection of the second touch area on the central axis at least partially overlap, The area of the first touch area is larger than the area of the second touch area, the area of the first touch area or the second touch area is within a predetermined range, and the shape of the first touch area or the second touch area is predetermined. set shape. The preset shape is a shape with a long axis, such as a circle-like shape, an ellipse-like shape, a circle, and an ellipse. For examples of the first touch area and the second touch area, reference may be made to the first touch area and the second touch area shown in FIGS. 10A to 10D .
S120:响应于触控操作,电子设备在第二显示屏显示预设界面。S120: In response to the touch operation, the electronic device displays a preset interface on the second display screen.
在一些实施例中,若第一触控区域、第二触控区域的形状为上述预设形状时,第一触控区域对应的方向和/或第二触控区域对应的方向和预设界面存在映射关系。其中,第一触控区域对应的方向为第一触控区域的预设形状的长轴偏向的方向,第二触控区域对应的方向为第二触控区域的预设形状的长轴偏向的方向。具体示例可参见上图10A-图10D,上述电子设备100显示的预设界面可以是根据第一触控区域对应的方向或第二触控区域对应的方向确认的所示说明。In some embodiments, if the shapes of the first touch area and the second touch area are the above-mentioned preset shapes, the direction corresponding to the first touch area and/or the direction corresponding to the second touch area and the preset interface There is a mapping relationship. The direction corresponding to the first touch area is the direction of the long axis of the preset shape of the first touch area, and the direction corresponding to the second touch area is the direction of the long axis of the preset shape of the second touch area. direction. For specific examples, see FIGS. 10A-10D above. The preset interface displayed by the electronic device 100 may be the illustrated description confirmed according to the direction corresponding to the first touch area or the direction corresponding to the second touch area.
在一些实施例中,第一触控区域在第一显示区域201中的位置,和/或,第二触控区域在第二显示区域202中的位置和预设界面存在映射关系。In some embodiments, there is a mapping relationship between the position of the first touch area in the first display area 201 and/or the position of the second touch area in the second display area 202 and the preset interface.
例如,第一触控区域位于第一显示区域的第一位置,第二触控区域位于第二显示区域的第二位置时,第二显示屏显示的预设界面为第一界面。第一触控区域位于第一显示区域的第三位置,第二触控区域位于第二显示区域的第四位置时,第二显示屏显示的预设界面为第二界面。其中,第一位置在图12-图13所示的第一显示区域201的区域一2011内,第三位置在图12-图13所示的第一显示区域201的区域2012。位于第二位置的第二触控区域在中轴线上的投影和位于第一位置的第一触控区域在中轴线上的投影部分重叠。位于第四位置的第二触控区域在中轴线上的投影和位于第三位置的第一触控区域在中轴线上的投影部分重叠。第一界面可以为图6和图8所示的用户界面620,第二界面可以为图11所示的用户界面1100。For example, when the first touch area is located at the first position of the first display area, and the second touch area is located at the second position of the second display area, the preset interface displayed on the second display screen is the first interface. When the first touch area is located at the third position of the first display area, and the second touch area is located at the fourth position of the second display area, the preset interface displayed on the second display screen is the second interface. Wherein, the first position is in the area 1 2011 of the first display area 201 shown in FIGS. 12-13 , and the third position is in the area 2012 of the first display area 201 shown in FIGS. 12-13 . The projection of the second touch area at the second position on the central axis partially overlaps the projection of the first touch area at the first position on the central axis. The projection of the second touch area located at the fourth position on the central axis partially overlaps the projection of the first touch area located at the third position on the central axis. The first interface may be the user interface 620 shown in FIG. 6 and FIG. 8 , and the second interface may be the user interface 1100 shown in FIG. 11 .
可以理解地,上述任意一个映射关系可以是系统预设的,也可以是响应于用户操作自定义设置的,还可以是按照预设规则确认的,具体说明可参见图21-图25所示实施例。It can be understood that any one of the above mapping relationships can be preset by the system, or can be customized in response to user operations, or can be confirmed according to preset rules. For details, please refer to the implementation shown in FIG. 21-FIG. 25. example.
在一些实施例中,电子设备100可以在显示屏上显示多个标签。不同标签可以用于标识不同的预设界面,用户可以根据标签确认对应的预设界面,并根据自身需求选择显示的预设界面,具体示例如图14所示。In some embodiments, the electronic device 100 may display multiple labels on the display screen. Different labels can be used to identify different preset interfaces. The user can confirm the corresponding preset interface according to the label, and select the displayed preset interface according to his own needs. A specific example is shown in FIG. 14 .
具体地,预设界面可以显示一个或多个电子卡片。电子卡片可以但不限于是付款码、乘车码、个人名片等二维码,付款码、订单编码、快递单号编码等条形码,身份证、社保卡等个人证件,飞机票、动车票等交通票,电影票,景点门票,银行卡,会员卡,或者备忘录中的一条记录信息等预设信息。预设界面显示一个电子卡片的示例可参见上图6和图8所示的用户界面620、图11所示的用户界面1100。Specifically, the preset interface may display one or more electronic cards. Electronic cards can be, but are not limited to, QR codes such as payment codes, travel codes, personal business cards, barcodes such as payment codes, order codes, and express tracking numbers, personal documents such as ID cards and social security cards, and transportation such as air tickets and train tickets. Preset information such as ticket, movie ticket, attraction ticket, bank card, membership card, or a record message in the memo. For examples of displaying an electronic card on the preset interface, please refer to the user interface 620 shown in FIG. 6 and FIG. 8 and the user interface 1100 shown in FIG. 11 .
在一些实施例中,若预设界面显示一个电子卡片,并且,预设界面可以是根据第一触控区域在第一显示区域201中的位置,和/或,第二触控区域在第二显示区域202中的位置决定的。可选地,电子设备还可以根据用户操作(例如滑动操作)切换显示的预设界面。具体示例如图12-图13所示。In some embodiments, if the preset interface displays an electronic card, and the preset interface may be based on the position of the first touch area in the first display area 201, and/or the second touch area in the second The position in the display area 202 is determined. Optionally, the electronic device may also switch the displayed preset interface according to a user operation (eg, a sliding operation). Specific examples are shown in Figures 12-13.
具体地,预设界面显示多个电子卡片时,电子设备可以按照预设显示方式在预设界面上显示该多个电子卡片。该多个电子卡片可以包括第一卡片和第二卡片,第一卡片和第二卡片均可以是一个或多个电子卡片。该预设显示方式可以包括:Specifically, when the preset interface displays multiple electronic cards, the electronic device may display the multiple electronic cards on the preset interface in a preset display manner. The plurality of electronic cards may include a first card and a second card, each of which may be one or more electronic cards. The preset display mode can include:
第一,在预设界面上显示第一卡片的全部内容,显示第二卡片的部分内容,具体示例可参见图15和图17所示的用户界面150。First, the entire content of the first card is displayed on the preset interface, and part of the content of the second card is displayed. For specific examples, please refer to the user interface 150 shown in FIG. 15 and FIG. 17 .
第二,预设界面上显示的第一卡片位于第五位置,第二卡片位于第六位置,第五位置和第六位置不同,具体示例可参见图19所示的用户界面190、图20所示的用户界面2000。Second, the first card displayed on the preset interface is located at the fifth position, and the second card is located at the sixth position. The fifth position is different from the sixth position. For specific examples, please refer to the user interface 190 shown in FIG. 19 and the user interface shown in FIG. 20 . User interface 2000 shown.
在一些实施例中,该方法还可以包括:在预设界面显示第一卡片的全部内容,显示第二卡片的部分内容时,检测第三操作;响应于该第三操作,在预设界面显示第二卡片的全部内容,显示第一卡片的部分内容。其中,第三操作可以作用于第一显示屏、第二显示屏上的任意区域。具体示例如图15-图18所示。In some embodiments, the method may further include: when displaying the entire content of the first card on the preset interface and displaying part of the content of the second card, detecting a third operation; in response to the third operation, displaying on the preset interface The entire content of the second card, showing part of the content of the first card. Wherein, the third operation can act on any area on the first display screen and the second display screen. Specific examples are shown in Figures 15-18.
在一些实施例中,该方法还可以包括:在预设界面的第五位置显示第一卡片,在预设界面的第六位置显示第二卡片时,检测第四操作;响应于第四操作,在预设界面的第六位置显示第一卡片,在预设界面的第五位置显示第二卡片。其中,第四操作可以作用于第一显示屏、第二显示屏上的任意区域。具体示例如图15-图20所示。In some embodiments, the method may further include: displaying the first card in the fifth position of the preset interface, and when displaying the second card in the sixth position of the preset interface, detecting a fourth operation; in response to the fourth operation, The first card is displayed in the sixth position of the preset interface, and the second card is displayed in the fifth position of the preset interface. Wherein, the fourth operation can act on any area on the first display screen and the second display screen. Specific examples are shown in Figures 15-20.
在一些实施例中,S110之前,该方法还可以包括:在第一显示屏和/或第二显示屏显示第一应用的界面。S120之后,该方法还可以包括:接收第五操作;响应于该第五操作,在第一显示屏和/或第二显示屏显示上述第一应用的界面。其中,用户执行第五操作之后,电子设备不处于弯折状态和/或电子设备未检测到上述作用于第一显示屏的触控操作。In some embodiments, before S110, the method may further include: displaying an interface of the first application on the first display screen and/or the second display screen. After S120, the method may further include: receiving a fifth operation; in response to the fifth operation, displaying the interface of the first application on the first display screen and/or the second display screen. Wherein, after the user performs the fifth operation, the electronic device is not in a bent state and/or the electronic device does not detect the above-mentioned touch operation acting on the first display screen.
例如,S110之前,电子设备在第一显示屏显示视频应用的视频播放界面(如图6所示的用户界面610)。S120之后,电子设备接收第五操作(如图6-图7中将夹在第一显示区域201和第二显示区域202之间的手指抽出,并且展开电子设备至展开状态的用户操作)。响应于该第五操作,电子设备在第一显示屏恢复显示视频应用的界面(如图6所示的用户界面610,或者视频应用的首页等其他界面)。For example, before S110, the electronic device displays a video playing interface of the video application on the first display screen (the user interface 610 shown in FIG. 6). After S120, the electronic device receives a fifth operation (as shown in FIGS. 6-7 , a user operation of pulling out the finger sandwiched between the first display area 201 and the second display area 202 and unfolding the electronic device to the unfolded state). In response to the fifth operation, the electronic device resumes displaying the interface of the video application (the user interface 610 shown in FIG. 6 , or other interfaces such as the home page of the video application) on the first display screen.
在一些实施例中,S120之前,该方法还可以包括:电子设备采集用户的生物特征信息,对该生物特征信息进行验证。在该生物特征信息验证通过的情况下,电子设备才执行S120。其中,生物特征信息可以但不限于为人脸信息、指纹信息、声纹信息、虹膜信息、脉搏信息、心率信息、步态信息等。In some embodiments, before S120, the method may further include: collecting the biometric information of the user by the electronic device, and verifying the biometric information. The electronic device executes S120 only when the biometric information verification is passed. The biometric information may be, but is not limited to, face information, fingerprint information, voiceprint information, iris information, pulse information, heart rate information, gait information, and the like.
可选地,S120之前,电子设备处于黑屏状态、息屏显示状态或锁屏状态。Optionally, before S120, the electronic device is in a black screen state, a screen-off display state, or a screen-locked state.
可选地,上述预设界面为用户身份验证通过后才能访问的用户界面。Optionally, the above-mentioned preset interface is a user interface that can only be accessed after the user passes the authentication.
例如,电子设备可以通过设置于第二显示屏300的摄像头(如图3-图5所示的摄像头3031和3032)获取用户的人脸信息,并进行人脸验证。在该人脸验证通过的情况下,电子设备执行S120。若该人脸验证不通过,电子设备可以再次验证。例如,获取用户其他的生物特征信息进行验证,或者,提示用户进行密码验证、图形验证等验证操作。若该再次验证通过,电子设备可以执行S120。For example, the electronic device may acquire the user's face information through the cameras ( cameras 3031 and 3032 shown in FIGS. 3-5 ) disposed on the second display screen 300 and perform face verification. If the face verification is passed, the electronic device executes S120. If the face verification fails, the electronic device can verify again. For example, obtain other biometric information of the user for verification, or prompt the user to perform verification operations such as password verification and graphic verification. If the re-verification is passed, the electronic device may execute S120.
在图26所示的方法中,若用户需打开预设界面,可以无需查找用于打开预设界面的控件,也无需执行用于打开预设界面的多个用户操作。用户可以在电子设备处于弯折状态时,直接通过上述作用于第一显示屏的触控操作快速打开预设界面。从而大大简化了用户的操作过程,用户使用方便,电子设备的实用性也更高。In the method shown in FIG. 26 , if the user needs to open the preset interface, there is no need to search for a control for opening the preset interface, and there is no need to perform multiple user operations for opening the preset interface. When the electronic device is in a bent state, the user can quickly open the preset interface directly through the above-mentioned touch operation acting on the first display screen. Thus, the user's operation process is greatly simplified, the user is convenient to use, and the practicability of the electronic device is also higher.
并且,用户可以通过第一触控区域和第二触控区域不同的触控操作快速打开不同的预设界面,还可以根据用户操作切换显示的预设界面、预设界面中显示的多个电子卡片的位置。不仅用户操作简单,用户选择也更为广泛,电子设备的实用性更高。In addition, the user can quickly open different preset interfaces through different touch operations in the first touch area and the second touch area, and can also switch the displayed preset interface and multiple electronic devices displayed in the preset interface according to the user operation. position of the card. Not only is the user's operation simple, but also the user's choice is wider, and the practicability of the electronic device is higher.
接下来介绍电子设备100中的各个部件在图26所示的方法步骤的一种协作关系,如图27所示。其中,图27以角度传感器180M检测电子设备100的弯折角度,压力传感器180A检测触控操作为例进行说明。并且,在图27中,用于验证身份的生物特征信息为人脸信息。用于决定预设界面的触控区域为第一触控区域。Next, a cooperative relationship of the various components in the electronic device 100 in the method steps shown in FIG. 26 is introduced, as shown in FIG. 27 . 27, the angle sensor 180M detects the bending angle of the electronic device 100, and the pressure sensor 180A detects the touch operation as an example for description. Also, in FIG. 27 , the biometric information used for identity verification is face information. The touch area used for determining the preset interface is the first touch area.
1.显示屏194处于弯折状态。其中,该弯折状态可以是由展开状态或折叠状态变换而来的,也可以是原本处于的状态。1. The display screen 194 is in a bent state. The bent state may be transformed from the unfolded state or the folded state, or may be the original state.
2.角度传感器180M检测显示屏194的弯折角度。2. The angle sensor 180M detects the bending angle of the display screen 194 .
3.角度传感器180M将显示屏194的弯折角度上报至处理器110。3. The angle sensor 180M reports the bending angle of the display screen 194 to the processor 110 .
4.处理器110确定显示屏194的弯折角度在预设区间内,即确定电子设备100处于弯折 状态。4. The processor 110 determines that the bending angle of the display screen 194 is within a preset interval, that is, determines that the electronic device 100 is in a bent state.
5.压力传感器180A检测到作用于第一显示屏的触控操作。该触控操作作用于第一显示区域的第一触控区域,还作用于第二显示区域的第二触控区域。5. The pressure sensor 180A detects the touch operation on the first display screen. The touch operation acts on the first touch area of the first display area and also acts on the second touch area of the second display area.
6.压力传感器180A将接收到上述作用于第一显示屏的触控操作的事件上报至处理器110。上述作用于第一显示屏的触控操作的事件包括第一触控区域、第二触控区域的位置、面积、形状等信息。6. The pressure sensor 180A reports to the processor 110 the event of receiving the above-mentioned touch operation acting on the first display screen. The above-mentioned events acting on the touch operation on the first display screen include information such as the position, area, and shape of the first touch area and the second touch area.
7.响应于上述作用于第一显示屏的触控操作的事件,处理器110指示摄像头193采集人脸信息。7. In response to the above-mentioned event of the touch operation acting on the first display screen, the processor 110 instructs the camera 193 to collect face information.
8.摄像头193采集用户的人脸信息。8. The camera 193 collects the face information of the user.
9.摄像头193向处理器110发送采集的人脸信息。9. The camera 193 sends the collected face information to the processor 110 .
10.处理器110验证摄像头193采集的人脸信息通过。10. The processor 110 verifies that the face information collected by the camera 193 is passed.
11.响应于上述作用于第一显示屏的触控操作的事件,处理器110确定第一触控区域对应的方向和/或所在位置,并根据上述第一触控区域对应的方向和/或所在位置确定显示的预设界面。11. In response to the above-mentioned event of the touch operation acting on the first display screen, the processor 110 determines the direction and/or location corresponding to the first touch area, and determines the direction and/or location corresponding to the first touch area according to the above-mentioned direction and/or position corresponding to the first touch area. The location determines the default interface displayed.
12.处理器110指示显示屏194显示上述确认的预设界面。12. The processor 110 instructs the display screen 194 to display the above confirmed preset interface.
13.响应于处理器110的指示,显示屏194显示上述确认的预设界面。13. In response to the instruction of the processor 110, the display screen 194 displays the above-mentioned confirmation preset interface.
上述2-6可以对应图26中的S110。上述11-13可以对应图26中的S120。上述7-10可以对应图26中采集用户的生物特征信息,对该生物特征信息进行验证的步骤。其中,上述7-10和上述11的执行顺序不作限定,也可以同时执行。The above 2-6 may correspond to S110 in FIG. 26 . The above 11-13 may correspond to S120 in FIG. 26 . The above 7-10 may correspond to the steps of collecting the biometric information of the user and verifying the biometric information in FIG. 26 . The execution order of the above 7-10 and the above 11 is not limited, and can also be executed simultaneously.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。上述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行上述计算机程序指令时,全部或部分地产生按照本申请上述的流程或功能。上述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。上述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,上述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。上述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。上述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product described above includes one or more computer instructions. When the computer program instructions described above are loaded and executed on a computer, the procedures or functions described above in accordance with the present application are produced in whole or in part. The aforementioned computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The above-mentioned computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the above-mentioned computer instructions may be transmitted from a website site, computer, server or data center via wired communication. (eg coaxial cable, optical fiber, digital subscriber line) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The above-mentioned computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that includes one or more available media integrated. The above-mentioned usable media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital versatile disc (DVD)), or semiconductor media (eg, solid state disk (SSD)) )Wait.
总之,以上上述仅为本发明技术方案的实施例而已,并非用于限定本发明的保护范围。凡根据本发明的揭露,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。In a word, the above are only examples of the technical solutions of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included within the protection scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (14)

  1. 一种显示方法,其特征在于,所述方法应用于可折叠的电子设备,所述电子设备包括第一显示屏和第二显示屏;当所述电子设备处于展开状态时,所述第一显示屏的出光面和所述第二显示屏的出光面相背;所述第一显示屏包括第一显示区域和第二显示区域;当所述电子设备处于所述展开状态时,所述第一显示区域和所述第二显示区域处于同一平面;当所述电子设备处于弯折状态时,所述第一显示区域所在平面和所述第二显示区域所在平面之间的角度小于180度;所述方法包括:A display method, characterized in that the method is applied to a foldable electronic device, the electronic device includes a first display screen and a second display screen; when the electronic device is in an unfolded state, the first display screen The light-emitting surface of the screen is opposite to the light-emitting surface of the second display screen; the first display screen includes a first display area and a second display area; when the electronic device is in the unfolded state, the first display area and the second display area are on the same plane; when the electronic device is in a bent state, the angle between the plane where the first display area is located and the plane where the second display area is located is less than 180 degrees; the Methods include:
    检测作用于所述第一显示屏的触控操作,其中,所述电子设备处于所述弯折状态;所述触控操作作用于所述第一显示区域的第一触控区域,还作用于所述第二显示区域的第二触控区域;Detecting a touch operation acting on the first display screen, wherein the electronic device is in the bent state; the touch operation acts on the first touch area of the first display area, and also acts on the first touch area of the first display area. a second touch area of the second display area;
    响应于所述触控操作,在所述第二显示屏显示预设界面。In response to the touch operation, a preset interface is displayed on the second display screen.
  2. 如权利要求1所述的方法,其特征在于,当所述电子设备处于所述弯折状态时,所述第一显示区域所在平面和所述第二显示区域所在平面之间的角度大于15度,小于30度。The method according to claim 1, wherein when the electronic device is in the bent state, the angle between the plane where the first display area is located and the plane where the second display area is located is greater than 15 degrees , less than 30 degrees.
  3. 如权利要求1所述的方法,其特征在于,所述电子设备处于所述弯折状态时,所述第一显示区域所在平面和所述第二显示区域所在平面相交的交线为所述第一显示屏的中轴线;所述第一触控区域在所述中轴线上的投影和所述第二触控区域在所述中轴线上的投影至少部分重叠。The method of claim 1, wherein when the electronic device is in the bent state, an intersection line intersecting a plane where the first display area is located and a plane where the second display area is located is the first A central axis of a display screen; the projection of the first touch area on the central axis and the projection of the second touch area on the central axis at least partially overlap.
  4. 如权利要求3所述的方法,其特征在于,所述第一触控区域位于所述第一显示区域的第一位置,所述第二触控区域位于所述第二显示区域的第二位置时,所述第二显示屏显示的所述预设界面为第一界面;所述第一触控区域位于所述第一显示区域的第三位置,所述第二触控区域位于所述第二显示区域的第四位置时,所述第二显示屏显示的所述预设界面为第二界面。The method of claim 3, wherein the first touch area is located at a first position of the first display area, and the second touch area is located at a second position of the second display area , the preset interface displayed on the second display screen is the first interface; the first touch area is located at the third position of the first display area, and the second touch area is located at the third position of the first display area. When the second display area is at the fourth position, the preset interface displayed on the second display screen is the second interface.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述预设界面显示一个或多个电子卡片。The method according to any one of claims 1-4, wherein the preset interface displays one or more electronic cards.
  6. 如权利要求5所述的方法,其特征在于,所述预设界面显示多个电子卡片时,所述多个电子卡片包括第一卡片和第二卡片;所述预设界面显示所述第一卡片的全部内容,显示所述第二卡片的部分内容。The method of claim 5, wherein when the preset interface displays multiple electronic cards, the multiple electronic cards include a first card and a second card; the preset interface displays the first card The entire content of the card, displaying part of the content of the second card.
  7. 如权利要求5所述的方法,其特征在于,所述预设界面显示多个电子卡片时,所述多个电子卡片包括第一卡片和第二卡片;所述预设界面显示所述第一卡片和所述第二卡片的全部内容,所述第一卡片位于第五位置,所述第二卡片位于第六位置,所述第五位置和所述第六位置不同。The method of claim 5, wherein when the preset interface displays multiple electronic cards, the multiple electronic cards include a first card and a second card; the preset interface displays the first card The entire contents of the card and the second card, the first card is located at the fifth position, the second card is located at the sixth position, and the fifth position is different from the sixth position.
  8. 如权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6, wherein the method further comprises:
    在所述预设界面显示所述第一卡片的全部内容,显示所述第二卡片的部分内容时,检测第三操作;When the preset interface displays the entire content of the first card and displays part of the content of the second card, detecting a third operation;
    响应于所述第三操作,在所述预设界面显示所述第二卡片的全部内容,显示所述第一卡片的部分内容。In response to the third operation, the entire content of the second card is displayed on the preset interface, and part of the content of the first card is displayed.
  9. 如权利要求6或7所述的方法,其特征在于,所述方法还包括:The method of claim 6 or 7, wherein the method further comprises:
    在所述预设界面的第五位置显示所述第一卡片,在所述预设界面的第六位置显示所述第二卡片时,检测第四操作;When the first card is displayed at the fifth position of the preset interface, and the second card is displayed at the sixth position of the preset interface, a fourth operation is detected;
    响应于所述第四操作,在所述预设界面的所述第六位置显示所述第一卡片,在所述预设界面的所述第五位置显示所述第二卡片。In response to the fourth operation, the first card is displayed in the sixth position of the preset interface, and the second card is displayed in the fifth position of the preset interface.
  10. 如权利要求1-4任一项所述的方法,其特征在于,所述在所述第二显示屏显示预设界面之前,所述方法还包括:The method according to any one of claims 1-4, wherein before the second display screen displays a preset interface, the method further comprises:
    采集用户的生物特征信息;Collect the user's biometric information;
    对所述生物特征信息进行验证;verifying the biometric information;
    所述在所述第二显示屏显示预设界面,包括:The displaying a preset interface on the second display screen includes:
    响应于所述生物特征信息验证通过,在所述第二显示屏显示所述预设界面。In response to the verification of the biometric information passing, the preset interface is displayed on the second display screen.
  11. 如权利要求10所述的方法,其特征在于,所述生物特征信息包括以下至少一种:人脸信息、指纹信息、声纹信息、或虹膜信息。The method of claim 10, wherein the biometric information includes at least one of the following: face information, fingerprint information, voiceprint information, or iris information.
  12. 如权利要求1-4任一项所述的方法,其特征在于,所述检测作用于所述第一显示屏的触控操作之前,所述方法还包括:在所述第一显示屏和/或所述第二显示屏显示第一应用的界面;The method according to any one of claims 1-4, characterized in that before the detecting a touch operation acting on the first display screen, the method further comprises: in the first display screen and/or or the second display screen displays the interface of the first application;
    所述在所述第二显示屏显示预设界面之后,所述方法还包括:接收第五操作;响应于所述第五操作,在所述第一显示屏和/或所述第二显示屏显示所述第一应用的界面。After the preset interface is displayed on the second display screen, the method further includes: receiving a fifth operation; in response to the fifth operation, displaying on the first display screen and/or the second display screen The interface of the first application is displayed.
  13. 一种电子设备,其特征在于,所述电子设备可折叠,所述电子设备包括第一显示屏、第二显示屏、存储器、一个或多个处理器;当所述电子设备处于展开状态时,所述第一显示屏的出光面和所述第二显示屏的出光面相背;所述第一显示屏包括第一显示区域和第二显示区域;当所述电子设备处于所述展开状态时,所述第一显示区域和所述第二显示区域处于同一平面;当所述电子设备处于弯折状态时,所述第一显示区域所在平面和所述第二显示区域所在平面之间的角度小于180度;所述存储器用于存储一个或多个计算机程序,所述一个或多个处理器用于调用所述一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行权利要求1至12任一项所述的方法。An electronic device, characterized in that the electronic device is foldable, and the electronic device includes a first display screen, a second display screen, a memory, and one or more processors; when the electronic device is in an unfolded state, The light-emitting surface of the first display screen is opposite to the light-emitting surface of the second display screen; the first display screen includes a first display area and a second display area; when the electronic device is in the unfolded state, The first display area and the second display area are on the same plane; when the electronic device is in a bent state, the angle between the plane where the first display area is located and the plane where the second display area is located is less than 180 degrees; the memory for storing one or more computer programs, the one or more processors for invoking the one or more computer programs, the one or more computer programs including instructions, when the instructions When executed by the one or more processors, the electronic device is caused to perform the method of any one of claims 1 to 12.
  14. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1至12任一项所述的方法。A computer-readable storage medium comprising instructions, characterized in that, when the instructions are executed on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 12.
PCT/CN2021/110431 2020-08-19 2021-08-04 Display method and electronic device WO2022037408A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010847676.XA CN114173165B (en) 2020-08-19 2020-08-19 Display method and electronic equipment
CN202010847676.X 2020-08-19

Publications (1)

Publication Number Publication Date
WO2022037408A1 true WO2022037408A1 (en) 2022-02-24

Family

ID=80323362

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/110431 WO2022037408A1 (en) 2020-08-19 2021-08-04 Display method and electronic device

Country Status (2)

Country Link
CN (1) CN114173165B (en)
WO (1) WO2022037408A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130127918A1 (en) * 2011-11-22 2013-05-23 Samsung Electronics Co., Ltd Flexible display apparatus and method of providing user interface by using the same
CN109889630A (en) * 2019-01-11 2019-06-14 华为技术有限公司 Display methods and relevant apparatus
CN110286972A (en) * 2019-05-14 2019-09-27 华为技术有限公司 A kind of method and electronic equipment of Folding screen display application
CN110543287A (en) * 2019-08-01 2019-12-06 华为技术有限公司 Screen display method and electronic equipment
CN110620833A (en) * 2019-08-16 2019-12-27 华为技术有限公司 Display method of foldable electronic equipment and electronic equipment
CN110839096A (en) * 2019-08-30 2020-02-25 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
CN111124561A (en) * 2019-11-08 2020-05-08 华为技术有限公司 Display method applied to electronic equipment with folding screen and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9354742B2 (en) * 2013-04-10 2016-05-31 Samsung Electronics Co., Ltd Foldable electronic device and method of managing visible regions thereof
CN109918165B (en) * 2019-03-12 2022-07-01 北京小米移动软件有限公司 Interface display method, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130127918A1 (en) * 2011-11-22 2013-05-23 Samsung Electronics Co., Ltd Flexible display apparatus and method of providing user interface by using the same
CN109889630A (en) * 2019-01-11 2019-06-14 华为技术有限公司 Display methods and relevant apparatus
CN110286972A (en) * 2019-05-14 2019-09-27 华为技术有限公司 A kind of method and electronic equipment of Folding screen display application
CN110543287A (en) * 2019-08-01 2019-12-06 华为技术有限公司 Screen display method and electronic equipment
CN110620833A (en) * 2019-08-16 2019-12-27 华为技术有限公司 Display method of foldable electronic equipment and electronic equipment
CN110839096A (en) * 2019-08-30 2020-02-25 华为技术有限公司 Touch method of equipment with folding screen and folding screen equipment
CN111124561A (en) * 2019-11-08 2020-05-08 华为技术有限公司 Display method applied to electronic equipment with folding screen and electronic equipment

Also Published As

Publication number Publication date
CN114173165B (en) 2023-02-14
CN114173165A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
CN109889630B (en) Display method and related device
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
US11687235B2 (en) Split-screen method and electronic device
US10402625B2 (en) Intelligent electronic device and method of operating the same
WO2021017901A1 (en) Screen display method and electronic device
EP3846427B1 (en) Control method and electronic device
WO2020253758A1 (en) User interface layout method and electronic device
US20210342044A1 (en) System navigation bar display method, system navigation bar control method, graphical user interface, and electronic device
CN111443836B (en) Method for temporarily storing application interface and electronic equipment
WO2021063098A1 (en) Touch screen response method, and electronic device
WO2021082564A1 (en) Operation prompt method and electronic device
WO2021078032A1 (en) User interface display method and electronic device
WO2022052662A1 (en) Display method and electronic device
WO2022037726A1 (en) Split-screen display method and electronic device
WO2022057512A1 (en) Split-screen method and apparatus, and electronic device
WO2021175272A1 (en) Method for displaying application information and related device
WO2020107463A1 (en) Electronic device control method and electronic device
JP2022501739A (en) Stylus pen detection method, system and related equipment
WO2022161119A1 (en) Display method and electronic device
WO2022222752A1 (en) Display method and related apparatus
WO2022160991A1 (en) Permission control method and electronic device
WO2022022674A1 (en) Application icon layout method and related apparatus
WO2022001279A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
WO2021190524A1 (en) Screenshot processing method, graphic user interface and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21857503

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21857503

Country of ref document: EP

Kind code of ref document: A1