WO2021082564A1 - 一种操作提示的方法和电子设备 - Google Patents

一种操作提示的方法和电子设备 Download PDF

Info

Publication number
WO2021082564A1
WO2021082564A1 PCT/CN2020/105380 CN2020105380W WO2021082564A1 WO 2021082564 A1 WO2021082564 A1 WO 2021082564A1 CN 2020105380 W CN2020105380 W CN 2020105380W WO 2021082564 A1 WO2021082564 A1 WO 2021082564A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
fingerprint
touch
display
mobile phone
Prior art date
Application number
PCT/CN2020/105380
Other languages
English (en)
French (fr)
Inventor
李展
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021082564A1 publication Critical patent/WO2021082564A1/zh

Links

Images

Classifications

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

Definitions

  • the present invention relates to the technical field of terminals, and in particular to an operation prompt method and electronic equipment.
  • the user-facing display screen is called the main screen
  • the display screen folded on the back of the electronic device is called the secondary screen.
  • the user can see the content displayed on the main screen but not the secondary screen.
  • the user can only directly operate the main screen with his fingers to open the applications or controls on the main screen. In some scenarios, such as holding with one hand, the user hopes to be able to control the secondary screen. Perform operations to display the corresponding operation results on the main screen. Since the user cannot see the secondary screen of the mobile phone, when the user operates the secondary screen, the user cannot see whether the operating position is the desired operating position. Misoperation, thereby affecting the user experience.
  • the embodiment of the present application provides an operation prompt method and electronic device, so as to prompt the operation acting on the secondary screen on the main screen and prevent misoperation.
  • an embodiment of the present application provides an operation prompt method, which is applied to an electronic device with a foldable touch screen.
  • the foldable touch screen includes a first screen and a second screen. The angle is smaller than the preset angle.
  • the electronic device detects the first operation on the display touch area on the first screen; in response to the first operation, according to the position mapping relationship, the prompt indicator is displayed at the corresponding position on the second screen , Wherein the display position of the prompt mark on the second screen is associated with the touch position of the first operation, and the position mapping relationship is determined according to the display touch area of the first screen and the second screen.
  • the area of the display touch area of the first screen is smaller than or equal to the area of the display touch area of the second screen. In this way, the user's finger only needs to operate on the small display touch area of the first screen, and the entire display touch area of the large second screen can be operated, which is convenient for the user to operate.
  • the first operation may be a click operation.
  • the user performs a click operation on the display touch area of the first screen, and the electronic device can display a prompt mark on the display touch area of the second screen in response to the click operation.
  • the prompt mark can be an arrow, a circle, or other shapes. There is no restriction here.
  • the first operation may be a sliding operation
  • the prompt mark may move in the second screen as the finger slides in the display touch area.
  • the user performs a sliding operation on the display touch area of the first screen, and can see the movement track of the prompt mark on the second screen, so that the corresponding operation can be performed at the position where the next operation is desired.
  • the electronic device responds to the first operation and according to the position mapping relationship, after the prompt mark is displayed on the second screen, the method further includes: checking the position of the prompt mark on the second screen Recognizing the display content of the display; In response to the sliding operation in the first direction, the recognized display content is zoomed in; In response to the sliding operation in the second direction, the recognized display content is zoomed out.
  • the click operation and the sliding operation can be completed by the same finger.
  • the index finger of the user's right hand first performs the click operation to realize the recognition of the displayed content at the location of the prompt mark, and then the index finger is used to perform the sliding operation.
  • tapping and sliding operations can also be done by different fingers.
  • the index finger of the user's right hand performs the tap operation first, and the middle finger of the right hand performs the sliding operation.
  • the tap operation and the sliding operation can also be done by two fingers of different hands. .
  • the user can click and slide the display touch area of the first screen to zoom in on the content displayed on the second screen that wants to be further carefully viewed, or to zoom out the content displayed on the first screen.
  • the first operation is a click operation
  • the touch position of the click operation on the first screen corresponds to the position of the application displayed on the second screen; in response to the first operation, according to the position mapping relationship, in the second screen After displaying the prompt logo, you can also open the application on the second screen in response to the click operation.
  • any operation performed on the display touch area of the first screen can display the corresponding operation execution result on the display touch area of the second screen.
  • the display touch area on the first screen is provided with a fingerprint sensor, and the first operation is a touch operation; in response to the first operation, before the prompt identification is displayed on the second screen, the fingerprint sensor can also collect Touch the corresponding fingerprint and verify that the fingerprint matches the fingerprint template in the fingerprint template library.
  • the display touch area on the first screen is provided with a fingerprint sensor, and the first operation is a touch operation; in response to the first operation, a prompt indicator is displayed on the second screen, including: collecting touch operations through the fingerprint sensor Corresponding fingerprint, and display the fingerprint on the second screen.
  • the preset included angle is less than or equal to 180 degrees. In this way, the angle between the first screen and the second screen is less than 180 degrees, that is to say, the foldable touch screen of the electronic device is in the folded state at this time, and the first screen can be operated and the second screen can be operated. Prompt way to prevent accidental touch.
  • an embodiment of the present application provides an electronic device, including a foldable touch screen, a processor, and a memory.
  • the foldable touch screen includes a first screen and a second screen.
  • the first screen and the second screen are different from each other.
  • the included angle between the two is smaller than the preset included angle, and the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the electronic device can realize the above The first aspect and any possible design method in the first aspect.
  • an embodiment of the present application further provides a device, which includes a module/unit that executes any one of the possible design methods in any of the foregoing aspects.
  • modules/units can be realized by hardware, or by hardware executing corresponding software.
  • an embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium includes a computer program.
  • the computer program runs on an electronic device, the electronic device executes the above-mentioned first aspect. And any possible design method in the first aspect.
  • the embodiments of the present application also provide a computer program product that, when the computer program product runs on a terminal, causes the electronic device to execute any one of the above-mentioned first aspect and any one of the possible designs in the first aspect Methods.
  • FIG. 1A is a schematic diagram of a fully deployed scene of a mobile phone according to an embodiment of the application
  • FIG. 1B is a schematic diagram of a partial folding scene of a mobile phone according to an embodiment of the application
  • FIG. 1C is a schematic diagram of a fully folded scenario of a mobile phone according to an embodiment of the application.
  • FIG. 2A is a schematic structural diagram of a mobile phone provided by an embodiment of this application.
  • 2B is a schematic diagram of a software structure provided by an embodiment of this application.
  • 2C is a schematic diagram of another software structure provided by an embodiment of the application.
  • Figure 3 is a schematic diagram of a set of interfaces provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of another set of interfaces provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a location mapping provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram of another set of interfaces provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of another set of interfaces provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of another set of interfaces provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of another set of interfaces provided by an embodiment of the application.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • the electronic device with a foldable touch screen in the embodiment of the present application may be a mobile phone, a pad, a notebook computer, or the like.
  • the foldable touch screen of the mobile phone can adopt an integrated flexible display screen, or a display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
  • the foldable touch screen provided by the embodiment of the present application includes three parts as an example. As shown in FIGS. 1A, 1B, and 1C, the foldable touch screen may include a first screen 111, a second screen 112, and a connection between the first screen 111 and the second screen. The bendable area 112 of the screen 113.
  • FIG. 1A shows a schematic diagram of the shape of the mobile phone when it is fully unfolded.
  • the foldable touch screen 110 may include a first screen 111, a bendable area 112, and a second screen 113.
  • the first screen 111, the bendable area 112, and the second screen 113 is connected into a whole screen.
  • the gravity sensor can detect that the angle a between the first screen 111 and the second screen 113 is 180° (the actual folding angle may not reach 180°, so the actual folding angle Prevail).
  • the foldable touch screen 110 when the first screen 111 or the second screen 113 is rotated, the foldable touch screen 110 can be folded through the bendable area 112.
  • the foldable touch screen of the mobile phone when the foldable touch screen of the mobile phone is partially folded, see FIG. 1B.
  • the fully folded shape can be seen in Figure 1C.
  • the housing 120 of the mobile phone is also folded; at the same time, the foldable touch screen 110 is also folded.
  • 1B and 1C exemplarily show that the foldable touch screen 110 is located on the exposed side when the mobile phone is folded. It should be understood that the housing 120 may also be exposed when the mobile phone is folded, and the foldable touch screen 110 is located on the inner side.
  • the angle a between the first screen 111 and the second screen 113 is getting smaller and smaller.
  • the included angle between the first screen 111 and the second screen 113 is 180°.
  • the gravity sensor 180E can detect that the angle between the first screen 111 and the second screen 113 is 40°.
  • the sensor detects that the angle between the first screen 111 and the second screen 113 is 0 degrees (the actual folding angle may not reach 0°, so the actual folding angle may not reach 0°. The reported folding angle shall prevail).
  • the first screen 111 and the second screen 113 are located on the exposed side when the mobile phone is folded, so that the first screen 111 and the second screen 113 can be operated simultaneously when the mobile phone is folded.
  • the first screen 111 and the second screen 113 form an entire screen, and the user faces the entire screen.
  • the gravity sensor detects that the first screen 111 is rotated, the second screen 113 faces the user. It is called the main screen, and the first screen 111 is called the secondary screen on the back.
  • the mobile phone can respond to the user's operation on the secondary screen, and display the corresponding prompt mark on the user interface on the primary screen to prompt the user of the location of the operation.
  • the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device with wireless communication function (such as a smart watch), and so on.
  • the portable terminal has a foldable touch screen and arithmetic operation capability (which can run the operation prompt method provided in the embodiment of the present application).
  • Exemplary embodiments of portable devices include, but are not limited to, carrying Or portable devices with other operating systems.
  • the above-mentioned portable device may also be other portable devices, as long as it has a foldable touch screen and arithmetic operation capability (which can run the operation prompt method provided in the embodiment of the present application).
  • the above-mentioned electronic device may not be a portable device, but a desktop with a foldable touch screen and arithmetic operation capability (that can run the operation prompt method provided by the embodiment of the present application) computer.
  • FIG. 2A only shows a schematic diagram of the hardware structure of a mobile phone 100 provided by an embodiment of the present application. On the basis of FIG. 2A, there may be other modified structures. As shown in FIG.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, 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, earphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • 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 sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100.
  • the mobile phone 100 may include more or fewer components than shown in FIG. 2A, or combine certain components, or split certain components, or arrange different components.
  • the components shown in FIG. 2A can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • GPU graphics processing unit
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory, thereby avoiding repeated access, reducing the waiting time of the processor 110, and improving the efficiency of the system.
  • the processor 110 may run the operation prompt method provided in the embodiments of the present application.
  • the processor may respond to a touch operation on the secondary screen when the mobile phone 100 is in the folded state, and determine that the position of the touch operation on the secondary screen is mapped to the primary screen. , And display the prompt mark corresponding to the touch operation in the corresponding position on the main screen.
  • the processor 110 integrates different devices, such as integrated CPU and GPU, the CPU and GPU can cooperate to execute the operation prompt method provided in the embodiment of the present application. For example, in the operation prompt method, part of the algorithm is executed by the CPU, and the other part of the algorithm is executed by the GPU. Execute to get faster processing efficiency.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous transceiver ( universal asynchronous receiver/transmitter, UART interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface , And/or Universal Serial Bus (USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the mobile phone 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the mobile phone 100.
  • the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the mobile phone 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the mobile phone 100.
  • the mobile phone 100 may also adopt different interface connection modes in the above-mentioned embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the mobile phone 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect 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, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the mobile phone 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the mobile phone 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, 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 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna
  • the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband 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 global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
  • the processor 110 runs the operation prompt method provided by the embodiment of the present application, when the display screen 194 is folded, the secondary screen receives a touch operation, and the processor 110 determines that the touch position of the touch operation on the secondary screen is mapped to the location on the primary screen. Location, and display a prompt logo on the main screen.
  • the mobile phone 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the mobile phone 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the mobile phone 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the mobile phone 100 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code 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, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the mobile phone 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the mobile phone 100 answers a call or a voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the mobile phone 100 may be provided with at least one microphone 170C. In other embodiments, the mobile phone 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the mobile phone 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the mobile phone 100 determines the intensity of the pressure according to the change of the capacitance.
  • a touch operation acts on the display screen 194, the mobile phone 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the mobile phone 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an 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, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyroscope sensor 180B detects the shake angle of the mobile phone 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the mobile phone 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the mobile phone 100 uses the air pressure value measured by the air pressure sensor 180C to calculate the altitude to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the mobile phone 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the mobile phone 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the mobile phone 100 emits infrared light to the outside through the light emitting diode.
  • the mobile phone 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the mobile phone 100. When insufficient reflected light is detected, the mobile phone 100 can determine that there is no object near the mobile phone 100.
  • the mobile phone 100 can use the proximity light sensor 180G to detect that the user holds the mobile phone 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the proximity light sensor 180G may be arranged on the first screen of the foldable display screen 194, and the proximity light sensor 180G detects the folding angle between the first screen and the second screen according to the optical path difference of the infrared signal Or the size of the unfolding angle.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the mobile phone 100 can adaptively adjust the brightness of the display 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • a fingerprint sensor may be arranged on the front of the mobile phone 100 (below the display screen 194), or a fingerprint sensor may be arranged on the back of the mobile phone 100 (below the rear camera).
  • the fingerprint recognition function can also be realized by configuring a fingerprint sensor in the touch screen, that is, the fingerprint sensor can be integrated with the touch screen to realize the fingerprint recognition function of the mobile phone 100.
  • the fingerprint sensor may be configured in the touch screen, may be a part of the touch screen, or may be configured in the touch screen in other ways.
  • the fingerprint sensor can also be implemented as a full panel fingerprint sensor. Therefore, the touch screen can be regarded as a panel that can collect fingerprints at any position.
  • the fingerprint sensor may process the collected fingerprint (for example, whether the fingerprint is verified) and send it to the processor 110, and the processor 110 will perform corresponding processing according to the fingerprint processing result.
  • the fingerprint sensor may also send the collected fingerprint to the processor 110, so that the processor 110 can process the fingerprint (for example, fingerprint verification, etc.).
  • the fingerprint sensor in the embodiments of the present application can use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technology.
  • the temperature sensor 180J is used to detect temperature.
  • the mobile phone 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the mobile phone 100 performs a reduction in the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the mobile phone 100 when the temperature is lower than another threshold, the mobile phone 100 heats the battery 142 to prevent the mobile phone 100 from shutting down abnormally due to low temperature.
  • the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the mobile phone 100 can receive key input, and generate key signal input related to user settings and function control of the mobile phone 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195.
  • the mobile phone 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can 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 may also be compatible with external memory cards.
  • the mobile phone 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the mobile phone 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
  • the mobile phone 100 may also include a Bluetooth device, a positioning recognition device, a flashlight, a micro-projection device, a near field communication (NFC) device, etc., which will not be repeated here.
  • a Bluetooth device a positioning recognition device
  • a flashlight a micro-projection device
  • NFC near field communication
  • the above-mentioned software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the mobile phone 100 by way of example.
  • FIG. 2B is a software structure block diagram of the mobile phone 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages. As shown in Figure 2B, applications such as camera, gallery, calendar, call, map, navigation, Bluetooth, music, video, short message, etc. can be installed in the application layer.
  • applications such as camera, gallery, calendar, call, map, navigation, Bluetooth, music, video, short message, etc. can be installed in the application layer.
  • 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.
  • the application framework layer can include a window manager (WMS), a content provider, a phone manager, a resource manager, a display manager service (DMS), a view system, and an activity manager. , Notification manager, etc., this embodiment of the application does not impose any restriction on this.
  • WMS window manager
  • DMS display manager service
  • the display management service can be used to obtain the specific physical form of the current flexible screen from the underlying display system, such as the fully folded state shown in Figure 1C, the partially folded state shown in Figure 1B, and the expanded state shown in Figure 1A. status.
  • the system library and kernel layer below the application framework layer can be called the bottom system.
  • the bottom system includes the bottom display system for providing display services.
  • the bottom display system includes the display driver in the core layer and the surface in the system library. manager etc.
  • the underlying system in this application also includes a status monitoring service for identifying changes in the physical form of the flexible screen.
  • the status monitoring service can be independently set in the underlying display system, or in the system library and/or kernel layer.
  • the condition monitoring service may call a sensor service to start sensors such as a gyroscope and an acceleration sensor for detection.
  • the condition monitoring service can calculate the angle between the current main screen and the secondary screen based on the detection data reported by each sensor. In this way, through the angle between the main screen and the secondary screen, the state monitoring service can determine that the flexible screen is in the unfolded state, folded state, or stand state, and other physical forms.
  • the status monitoring service can report the determined physical form to the above-mentioned display management service.
  • the gyroscope and acceleration sensor at the hardware layer can report the detected data to the sensor driver, and the sensor driver reports the data detected by the gyroscope and acceleration sensor to the state monitoring service through the sensor service.
  • the condition monitoring service can determine the angle between the main screen and the secondary screen based on the data detected by the gyroscope and acceleration sensor, and then determine the physical form of the mobile phone.
  • the touch device can also report the data of the detected input event to the state monitoring service through the TP driver.
  • the status monitoring service can report the determined physical form of the mobile phone to the display management service.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • 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 life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a graphics engine for 2D graphics.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, etc., which are not limited in the embodiment of the present application.
  • the following embodiments can all be implemented in an electronic device having the above-mentioned hardware structure (for example, a mobile phone 100.
  • a mobile phone 100 for example, a mobile phone 100.
  • the following embodiments will take the mobile phone 100 as an example and describe in detail the operation prompt method provided by the embodiments of the present application with reference to the accompanying drawings.
  • GUI graphical user interface
  • the commonly used form of the user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen 194 of the electronic device.
  • the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. Visual interface elements.
  • UI user interfaces
  • the secondary screen and the main screen of the electronic device 100 form an integrated screen and display a user interface.
  • the foldable touch screen of the mobile phone 100 is in a fully unfolded state, and the mobile phone 100 displays a user interface 310, which is the main interface of the mobile phone.
  • the user interface 310 may include a status bar 311, a time and weather widget 313, and icons of various applications, such as an icon of an alarm clock application, an icon of a Taobao application, a picture of a photo application, an icon of a memo, and the like.
  • the status bar 311 may include the name of the operator (for example, China Mobile), Wi-Fi icon, time, and remaining power (for example, 30%).
  • the user interface may also include a hideable navigation bar (not shown in the figure), and the navigation bar may include a back button icon, a home button icon, and a forward button icon.
  • the status bar 311 may also include a Bluetooth icon, a mobile network (for example, 4G), an alarm clock icon, an external device icon, and the like.
  • the user interface 310 shown in 3a in FIG. 3 may also include a Dock bar 312, and the Dock bar 312 may include commonly used application icons, such as browser application icons, Set the application icon, WeChat application icon, camera application icon, etc.
  • the processor 110 When the processor 110 detects a touch event of the user’s finger (or stylus, etc.) on the icon of an application, in response to the touch event, it opens the user interface of the application corresponding to the application icon, and displays it on the display screen 194 The user interface of the application is displayed on the screen.
  • the mobile phone 100 may also include a home button.
  • the main screen key can be a physical key or a virtual key.
  • the home screen key is used to return the graphical user interface GUI displayed on the touch screen to a certain page of the home screen according to the user's operation, so that it is convenient for the user to view the home screen and operate the controls (such as icons) in the home screen at any time .
  • the foregoing operation may specifically be that the user presses the home screen key, or the user presses the home screen key twice in a short period of time, or the user long presses the home screen key.
  • the home screen key may also be integrated with a fingerprint sensor, so that when the user presses the home screen key, the mobile phone 100 will then perform fingerprint collection to confirm the user's identity.
  • the home screen key may also include an under-screen fingerprint sensor.
  • the display When the display is on, the light emitted by the display illuminates the fingerprint lines, and the light reflected on the fingerprint lines is captured by the under-screen fingerprint sensor.
  • Fingerprint image compare the fingerprint image with the pre-stored fingerprint image. In the screen fingerprint unlocking scenario, if the matching is successful, the unlocking is executed.
  • the comparison process can be to extract the fingerprint image feature to compare with the pre-stored feature template. When the similarity exceeds a certain threshold, it indicates that the matching is successful.
  • 3a in FIG. 3 only exemplarily shows the user interface of the mobile phone 100 with the foldable touch screen in a fully unfolded state, and does not constitute a limitation to the embodiment of the present application.
  • both the main screen and the secondary screen are located on the exposed side as an example for introduction.
  • the secondary screen and the main screen can display the same content.
  • the main screen displays a user interface 320 as shown in 3b in FIG. 3, and the user interface 320 includes the same content as the user interface 310. Similarly, for example, it may include a status bar, time and weather widgets, and icons of various applications. For details, please refer to the description of the user interface 310.
  • the user interface displayed on the secondary screen may be the same as the user interface 320, that is, the secondary screen also displays the user interface 320.
  • the secondary screen and the main screen may also display different content.
  • the primary screen displays the user interface 320 as shown in 3b in FIG. 3, and the secondary screen does not display content.
  • the mobile phone 100 when the mobile phone 100 is in a folded state, as shown in 3b in Figure 3, the user faces the main screen and the secondary screen is on the back of the main screen, so the user can only see the content displayed on the main screen, but not
  • the content on the secondary screen when the general user holds the mobile phone 100 with one hand, in order to support the weight of the mobile phone and maintain the balance of the mobile phone, the palm is used to face the secondary screen, the thumb is on one side of the main screen, and the other fingers are on the other side of the main screen. To hold the phone from the side, the user's index finger can operate on the secondary screen.
  • the mobile phone can detect the user's operation on the secondary screen and display the result of the operation on the main screen so that the user can see the user's operation on the secondary screen at any time. Therefore, the embodiment of the present application provides an operation prompt method.
  • the mobile phone 100 can provide a display touch area on the secondary screen, and the mobile phone 100 can respond to the touch when the user performs a touch operation on the display touch area on the secondary screen.
  • the operation displays a prompt mark at a corresponding position on the main screen according to the position mapping relationship, the display position of the prompt mark on the main screen is associated with the touch position of the touch operation, and the position mapping relationship is determined according to the display touch areas of the main screen and the secondary screen.
  • the mobile phone 100 can display the prompt mark on the main screen after receiving the user's touch operation on the display touch area of the secondary screen, so that the user can adjust the operating position in time when seeing the prompt mark, thereby preventing the user from being unable to see the secondary screen.
  • the position triggered by the touch operation is wrong, and the user experience is improved.
  • the operation prompt method provided by the embodiments of this application can be applied to a variety of scenarios.
  • the size of the display touch area of the secondary screen can also be different.
  • the display touch area of the secondary screen may be that of the secondary screen.
  • the entire screen displays the touch area.
  • the display touch area of the secondary screen can also be a part of the screen area on the secondary screen, so that the user's finger only needs to operate on a small display touch area to achieve the entire display touch on the large primary screen Operation in the area is convenient for users to operate.
  • the following embodiments of the present application will take the mobile phone with the structure shown in FIG. 2A as an example, and combine the software structure of FIG. 2C and various application scenarios provided by the embodiments of the present application to provide an operation prompt method provided by the embodiments of the present application.
  • the following embodiments of the present application will take the mobile phone with the structure shown in FIG. 2A as an example, and combine the software structure of FIG. 2C and various application scenarios provided by the embodiments of the present application to provide an operation prompt method provided by the embodiments of the present application.
  • Application scenario 1 The main screen of the mobile phone 100 displays a certain user interface (such as the main interface, a negative screen, or the user interface of other applications, etc.).
  • a certain user interface such as the main interface, a negative screen, or the user interface of other applications, etc.
  • the following embodiment takes the main screen of the mobile phone 100 displaying the main interface as an example, and introduces the process of displaying the prompt mark on the main screen by operating the sub-screen.
  • a main interface 410 is displayed on the main screen of the mobile phone 100.
  • the main interface 410 may include one or more application icons, such as the icon of the alarm clock application, the icon of the Taobao application, and the icon of the photo application shown in 4a in FIG. Icon, memo application icon, mail application icon, settings application icon, WeChat application icon, and camera application icon.
  • a display touch area 420 is displayed on the secondary screen of the mobile phone 100.
  • the user's finger touches the touch position 421 of the display touch area 420 on the secondary screen.
  • the touch device in the mobile phone 100 detects the touch operation of the user's finger on the display touch area 420 on the secondary screen.
  • the driver reports the input event and the coordinate value of the touch position 421 on the secondary screen to the state detection service, and the state monitoring service reports the input event and the coordinate value of the touch position 421 on the secondary screen to the display management service.
  • the display management service determines that the coordinate value of the touch position 421 on the secondary screen is based on the coordinate value of the touch position 421 on the secondary screen and the position mapping relationship between the display touch area 410 of the primary screen and the display touch region 420 of the secondary screen.
  • the response position on the main screen is the position where the prompt mark 411 shown in 4b in FIG. 4 is located.
  • FIG. 5 is a schematic diagram of the location mapping relationship provided in this application.
  • the shape of the display touch area 420 of the secondary screen and the shape of the display touch area 410 of the main screen are both rectangular.
  • the coordinates of each pixel on the rectangular display touch area 420 can be compared with the rectangular display touch area 410.
  • the coordinates of each pixel point on the map are mapped to obtain the position mapping relationship.
  • the embodiment of the present application does not limit the shape of the display touch area on the secondary screen.
  • the shape of the display touch area may also be an ellipse, diamond, circle, or other shapes.
  • the position A(x, y) on the display touch area 420 on the secondary screen of the mobile phone 100 according to the position mapping relationship between the display touch area 420 of the secondary screen and the display touch area 410 of the primary screen, the position can be A(x, y) is mapped to the position B(X, Y) in the display touch area 410 of the main screen. That is, when the user performs a touch operation at the position A(x, y) of the display touch area 420 on the secondary screen, the mobile phone 100 can display a prompt mark at the position B(X, Y) in response to the touch operation.
  • the mapping parameter between the position A (x, y) and the position B (X, Y) can be a numerical value, for example, the mapping parameter is m, and the position A (x, y) corresponds to the position B (mx, my);
  • the mapping parameter can also be an array, such as (m, n), position A (x, y) corresponds to position B (mx, ny).
  • the mapping parameter is not limited in the embodiment of the present application.
  • the area of the display touch area of the secondary screen is less than or equal to the area of the display touch area of the main screen, so that the user's fingers only need to operate on the small area of the display touch area to achieve the entire display touch of the large area of the main screen Operation in the area is convenient for users to operate.
  • the display management service After it is determined that the coordinate value of the user's finger touch position 421 on the secondary screen is mapped to the response position on the main screen, the display management service reports the coordinate value of the response position on the main screen to the window manager, and the window manager according to the coordinate value on the main screen Draw the prompt mark 411 in response to the coordinate value of the position, and send the drawn layer including the prompt mark 411 and other layers to the surface manager (SurfaceFlinger). After the surface manager merges all the layers, it is sent to the display Drive to drive the display screen (such as the main screen) to display the display interface including the prompt mark 411 through the display drive.
  • the prompt identification 411 may be an arrow icon, and it should be understood that the prompt identification 411 may also be other icons, such as icons such as dots, pens, etc., which are not limited here.
  • the user can also perform a touch operation on the display touch area 420 on the secondary screen.
  • the user can slide his finger on the display touch area 420 of the secondary screen to move the prompt mark to the desired opening. Click on the icon of the application, and then click on the secondary screen to open the application.
  • the following embodiment takes the opening of the photo application on the main screen as an example, and introduces the process of displaying the prompt mark on the main screen by operating the secondary screen of the mobile phone.
  • the display touch area 610 of the main screen of the mobile phone 100 displays a picture 630
  • the display touch area 620 of the secondary screen is rectangular.
  • the specific shape of the display touch area 620 is not limited here, and other shapes are also possible.
  • the display touch area 610 and the display touch area 620 have a position mapping relationship.
  • the mobile phone 100 detects a touch operation on the display touch area 620 on the secondary screen, and the touch device in the mobile phone 100 detects a user's finger touch operation on the display touch area 620 on the secondary screen, and detects the state through the TP drive
  • the service reports the input event and the coordinate value of the touch position 621 on the secondary screen
  • the state monitoring service reports the input event and the coordinate value of the touch position 621 on the secondary screen to the display management service.
  • the display management service determines that the coordinate value of the touch position 621 on the secondary screen is based on the coordinate value of the touch position 621 on the secondary screen and the position mapping relationship between the display touch area 610 of the primary screen and the display touch region 620 of the secondary screen.
  • the response position on the main screen is the position where the prompt mark 611 shown in 6a in FIG. 6 is located.
  • the display management service After it is determined that the coordinate value of the user's finger touch position 621 on the secondary screen is mapped to the response position on the main screen, the display management service reports the coordinate value of the response position on the main screen to the window manager, and the window manager according to the position on the main screen Draw the prompt mark 611 in response to the coordinate value of the position, and send the drawn layers including the picture 630 and the prompt mark 611 and other layers to the surface manager (SurfaceFlinger). After the surface manager merges all the layers, download It is sent to the display driver to drive the display screen (such as the main screen) to display the display interface including the prompt mark 611 through the display driver.
  • the prompt mark 611 is an arrow icon, and the prompt mark 611 may also have other shapes, and the specific shape of the prompt mark 611 is not limited here.
  • the user's finger sliding operation on the secondary screen, the prompt mark 611 displayed on the main screen will also move with the sliding finger operation.
  • the user can slide his finger on the secondary screen to the area that needs to be operated, and perform operations, such as tapping (click, double tap, multiple taps) on the area that needs to be operated, the tap operation is used to lock (or identify) the need Perform the next operation area, and then perform the sliding operation.
  • the sliding operation is used to zoom in or out the locked area in the picture.
  • this The sliding operation is used to move forward or backward, or adjust the brightness to increase or decrease.
  • the mobile phone 100 After displaying the prompt mark 611 on the main screen, referring to 6b in FIG. 6, when the mobile phone 100 detects an upward sliding operation at the touch position 622, it displays an enlarged picture on the main screen in response to the operation (as shown in 6c in FIG. 6). Show), a prompt mark 613 may also be displayed on the main screen, and the prompt mark 613 is used to instruct the user's finger to slide upward at a certain point on the secondary screen.
  • the mobile phone 100 detects the downward sliding operation at the touch position 622, and can respond to the operation to display a reduced picture on the main screen and a prompt mark for indicating the sliding track of the user's finger on the secondary screen.
  • the secondary screen may be a touch screen or a fingerprint screen with fingerprint entry function.
  • the fingerprint screen may be a fingerprint sensor provided under the display screen to collect fingerprints.
  • the photo application is equipped with a fingerprint verification function. Before operating the photo, it is also necessary to verify whether the input fingerprint corresponding to the touch operation is the fingerprint in the fingerprint template library.
  • the user’s finger is performed on the display touch area 620 on the secondary screen.
  • the fingerprint sensor can collect the input fingerprint of the user's finger, and the fingerprint sensor reports the collected input fingerprint to the fingerprint trusted application in the TEE to identify whether the fingerprint image matches the fingerprint template stored in the secure memory to obtain the fingerprint Recognition results.
  • the fingerprint trusted application sends the fingerprint recognition result to the fingerprint daemon, and then the fingerprint daemon reports the fingerprint recognition result to the fingerprint manager through the fingerprint service. If the fingerprint recognition result is a match, then the fingerprint verification is successful; if the fingerprint recognition result is not a match , Then the fingerprint verification fails.
  • the fingerprint manager determines that the fingerprint verification is successful, it sends a drawing instruction to the WMS.
  • the drawing instruction packet is used to instruct to draw the map 630 and prompt the layer of the mark 611.
  • the fingerprint manager determines that the fingerprint verification fails, it does not send the drawing instruction to the WMS That is, the mobile phone 100 does not respond to the user's touch operation on the display touch area of the secondary screen, that is, does not display the prompt mark on the primary screen.
  • the user can click and slide the display touch area on the secondary screen with a single finger, that is to say, the click and slide operations are performed by a single finger, so that the primary screen can be controlled through the secondary screen. Zoom in or zoom out on the picture displayed on the top.
  • the user can also use two fingers to click and slide the display touch area on the secondary screen, so as to achieve zoom in or zoom out of the picture displayed on the primary screen.
  • the display touch area 710 on the main screen displays a picture 730.
  • the user can perform a tap operation on the touch position 721 of the display touch area 720 on the secondary screen.
  • the mobile phone 100 detects the tap operation and collects and executes the Click the fingerprint A corresponding to the operation, and match the fingerprint A with the fingerprint template in the fingerprint template library. If there is a fingerprint template in the fingerprint template library that matches the fingerprint A, the mobile phone 100 displays on the main screen in response to the click operation Prompt the logo 711, the graphic logo 711 may be an oval icon. If there is no fingerprint template in the fingerprint template library that matches the fingerprint A, the mobile phone 100 does not respond to the click operation, that is, the prompt indicator 711 is not displayed on the main screen.
  • the mobile phone 100 detects the sliding operation at the touch position 722, the fingerprint sensor collects the fingerprint B performing the sliding operation, and matches the fingerprint B with the fingerprint in the fingerprint template library. If there is a fingerprint template in the fingerprint template library Matching with the fingerprint B, the mobile phone 100 displays an enlarged picture on the main screen in response to the sliding operation (such as sliding upwards) (as shown in 7c in FIG. 7). Accordingly, the mobile phone 100 detects that the sliding operation is performed at the touch position 722 (For example, sliding down), the reduced picture can be displayed on the main screen in response to the operation. If there is no fingerprint template matching the fingerprint B in the fingerprint template library, the mobile phone 100 does not respond to the sliding operation.
  • the fingerprint sensor collects the fingerprint B performing the sliding operation, and matches the fingerprint B with the fingerprint in the fingerprint template library. If there is a fingerprint template in the fingerprint template library Matching with the fingerprint B, the mobile phone 100 displays an enlarged picture on the main screen in response to the sliding operation (such as sliding upwards) (as shown in 7c in FIG
  • the user can click and slide the display touch area on the secondary screen with two fingers, that is, the click operation and the slide operation are performed by two fingers respectively, so as to realize the upper display on the main screen.
  • the click operation and the sliding operation may be two different fingers of the same hand, or fingers of two different hands.
  • two different fingers of the same hand are generally used to perform click operations and slide operations respectively.
  • the user can use the index finger of the right hand to perform a click operation, and the middle finger of the right hand to perform a sliding operation.
  • a click operation is used to lock the position that needs to be zoomed in
  • an upward sliding operation is used to enlarge the picture
  • a downward sliding operation is used to reduce the picture. It is possible to perform operations such as double-clicking, multiple-clicking, and drawing a circle on the position that needs to be enlarged to lock the position that needs to be enlarged, which is not limited in this application.
  • the position of the center point of the picture can be zoomed in or out by default during the sliding operation;
  • the mobile phone 100 can automatically recognize the target object in the picture (the person shown in 6a in Figure 6), and then zoom in or out the target object; for another example, the mobile phone can start the sliding operation. The position of the starting point is zoomed in or out.
  • the click operation can be set to zoom in the picture, and the long press operation can be used to zoom out the picture; or, the click operation can be set to zoom out the picture, and the long press operation can be set to zoom in.
  • the secondary screen can support fingerprint entry functions, such as fingerprint entry, fingerprint unlocking and other scenarios), the display touch area in the secondary screen (such as the display touch area 810 in application scenario 2 and the display in application scenario 3)
  • the touch area 910) supports the fingerprint entry function.
  • fingerprint entry function When the fingerprint entry function is turned on, fingerprints can be collected by the fingerprint sensor located in the display touch area of the secondary screen.
  • the fingerprint entry function of the secondary screen can be triggered and turned on in a variety of ways.
  • the mobile phone 100 when the mobile phone 100 is in the off-screen state, when the main screen of the mobile phone 100 is awakened (that is, the main screen enters the on-screen state from the off-screen state), the fingerprint entry function of the secondary screen is turned on.
  • the mobile phone 100 can enable the fingerprint entry function of the secondary screen when it is detected that the mobile phone 100 is picked up by the user.
  • the mobile phone 100 detects that the angle between the secondary screen and the primary screen is less than the preset threshold it means that the mobile phone is in a folded state, and the fingerprint entry function of the secondary screen is turned on.
  • the preset threshold may be 180°, it can also be any angle less than 180°, and there is no limitation here.
  • the fingerprint entry function may always be in the on state.
  • the mobile phone 100 turns off the fingerprint entry function of the secondary screen, and when the main screen is awakened again, the mobile phone 100 turns on the fingerprint entry function of the secondary screen.
  • the fingerprint entry function can be turned off periodically. For example, after the fingerprint entry function is turned on for a certain period of time, the fingerprint entry function of the secondary screen is turned off, and the fingerprint entry function is triggered to be turned on when the fingerprint entry function is required. It is also possible to turn off the fingerprint entry function of the secondary screen when the mobile phone 100 has not detected an operation on the secondary screen for a long time.
  • the main screen of the mobile phone 100 when the main screen of the mobile phone 100 is in the off-screen state, the main screen of the mobile phone needs to be awakened first, so that the main screen is in the on-screen state, so that the prompt logo can be displayed.
  • the secondary screen can be in the state of rest screen or in the state of bright screen. When the secondary screen needs to be touched, the fingerprint entry function of the secondary screen can be turned on.
  • Application scenario 2 Fingerprint entry scenario.
  • the mobile phone 100 can start the Settings application when the fingerprint entry function of the secondary screen is turned on, and open the fingerprint entry interface for the settings application to enter the fingerprint entry Scenario, the setting application of the application layer sends the relevant parameters of the user interface used to enter the fingerprint to the surface manager through WMS, and the surface manager calls the display driver to drive the display device (such as the main screen) to display the user used to enter the fingerprint interface.
  • the setting application enters the user interface of the fingerprint icon 820
  • the setting application of the application layer issues a command code of the fingerprint entry scene to the underlying system, for example, command code 1. After the fingerprint sensor driver receives the command code 1, it drives the fingerprint sensor to switch to the image acquisition mode and waits for the finger to input.
  • the fingerprint frame 810 on the secondary screen is mapped to the fingerprint icon 820 on the primary screen through position mapping.
  • the TP driver reports the input event and the coordinate value of the fingerprint frame 810 on the secondary screen to the display management service through the state detection service, and displays management
  • the service may determine the position of the fingerprint icon 820 according to the position mapping relationship between the display touch area of the main screen and the display touch area of the secondary screen. That is, the user's finger enters the fingerprint in the fingerprint frame 810 of the secondary screen, and the prompt indicator 821 can be displayed in the fingerprint icon 820 of the primary screen.
  • the fingerprint sensor When the fingerprint sensor detects a finger pressing, it reports an interrupt message to the fingerprint sensor driver, and the fingerprint sensor drives the fingerprint sensor to collect fingerprint images. After that, the fingerprint sensor drives to read the fingerprint image collected by the fingerprint sensor, and reports the fingerprint image and command code 1 to the fingerprint manager. The fingerprint manager determines that the fingerprint image is a newly entered fingerprint according to the command code 1. The fingerprint image is stored in the internal memory as a fingerprint template, and the result of successfully entering the fingerprint is reported to the setting application.
  • the touch position on the display touch area can be synthesized to obtain a complete fingerprint based on the fingerprints collected multiple times, and the complete fingerprint can be stored as a fingerprint template in the internal memory 121 of the mobile phone 100 so that the fingerprint can be unlocked.
  • the collected input fingerprint is compared with the fingerprint template, and when the input fingerprint matches the fingerprint template in the fingerprint library, the function of fingerprint unlocking is realized.
  • the fingerprint template may also be stored in secure hardware.
  • the secure hardware may be a secure memory.
  • the input fingerprint is verified in a trusted execution environment.
  • the touch operation occupies a part of the fingerprint frame 810 in the touch area 811 of the fingerprint frame 810, and the mobile phone 100 is on the main screen.
  • the fingerprint icon 820 displays a prompt mark 821 corresponding to the touch area 811, the shape of the prompt mark 821 is consistent with the shape of the touch area 811, the position of the prompt mark 821 in the display touch area of the main screen and the display of the touch area 811 on the secondary screen.
  • the position of the touch area satisfies the position mapping relationship, so that the mobile phone can prompt the user on the main screen of the shape and position of the fingerprint entered in the secondary screen.
  • the prompt mark 821 indicates that the fingerprint collected by the touch area 811 does not meet the requirements.
  • the user can adjust the touch position of the finger in the display touch area 820, for example, touch again at the position where the fingerprint icon 820 is not occupied by the prompt mark 821, So that the mobile phone 100 can collect more complete fingerprints.
  • the user After the main screen displays the prompt mark 821 as shown in 8b in FIG. 8, the user performs a touch operation again on the left side of the fingerprint frame 810 of the secondary screen. See 8c in FIG. 8, the mobile phone 100 responds to the user's finger on the secondary screen.
  • Touch operation on the fingerprint frame 810 touch position is in the touch area 811 of the fingerprint frame 810), and the fingerprint icon 820 on the main screen displays a prompt mark 822.
  • the shape of the prompt mark 822 corresponds to the touch operation in the touch area of the fingerprint frame 810.
  • the shapes of 812 are consistent, and the position of the prompt mark 822 in the display touch area of the main screen and the position of the touch area 812 in the display touch area of the secondary screen satisfy a position mapping relationship.
  • the prompt indicator 822 indicates that the area of the fingerprint still does not meet the requirement for fingerprint entry, and the user's finger touch position on the secondary screen needs to be adjusted continuously until the prompt indicator displayed by the fingerprint icon 820 on the primary screen of the mobile phone 100 indicates that the entered fingerprint meets the requirement.
  • the user After the main screen displays the prompt mark 822 as shown in 8c in FIG. 8, the user performs a touch operation again at a position to the right in the fingerprint frame 810 of the secondary screen. See 8d in Figure 8.
  • the mobile phone 100 responds to the user's finger on the secondary screen. Touch operation of the fingerprint frame 810 (the touch position is in the touch area 813 of the fingerprint frame 810), the fingerprint icon 820 on the main screen displays the prompt mark 823, the shape of the prompt mark 823 is the same as the touch operation in the touch area 813 of the fingerprint frame 810 And the prompt mark 823 indicates that the area of the fingerprint meets the requirements for fingerprint entry.
  • the mobile phone 100 can obtain a complete fingerprint, and store the complete fingerprint as a fingerprint template in the secure memory.
  • 8a, 8b, 8c, and 8d in FIG. 8 that the user adjusts the touch position on the secondary screen twice to collect fingerprints that meet the requirements.
  • the prompt mark 822 shown in 8b in FIG. 8 is displayed on the main screen, after one adjustment of the touch position on the secondary screen, you can obtain The prompt mark 823 shown in 8d in the middle is a fingerprint indicating that the requirement is met.
  • the user can obtain a complete fingerprint by directly touching the display touch area 810 on the secondary screen with one touch operation.
  • the embodiments of this application only exemplarily show that one, two, and three touch operations are performed on the touch area on the secondary screen, so as to collect a complete fingerprint. In specific implementations, more than three touch area adjustments on the secondary screen may be required. Touch the location to collect a complete fingerprint.
  • the fingerprint unlocking scene may be a scene of unlocking the mobile phone 100 in a locked screen state, or a scene where fingerprint verification is required when using payment functions of applications such as Alipay and WeChat on the mobile phone 100.
  • the user can perform a touch operation in the display touch area on the secondary screen of the mobile phone 100, and display a prompt mark in the display touch area of the main screen, which can indicate that the user's finger is on the display touch area of the secondary screen Touch area and touch location in.
  • the following describes a scenario of unlocking the mobile phone 100 in the locked screen state.
  • the display touch area of the main screen of the mobile phone 100 displays a fingerprint icon 920, which is used to display fingerprints collected when the user touches the fingerprint frame 910 on the display touch area of the secondary screen.
  • the secondary screen of the mobile phone 100 displays a fingerprint frame 910 for collecting fingerprints when a touch operation on the fingerprint frame 910 is detected.
  • the fingerprints may be incomplete.
  • the fingerprint sensor of the mobile phone 100 detects the user’s fingerprint frame on the secondary screen During the touch operation of 910, the touch operation is in the touch area 911 formed by the fingerprint frame 910, and the mobile phone 100 displays a prompt mark 921 in the fingerprint icon 920 on the main screen in response to the touch operation. At this time, the prompt mark 921 displays a broken fingerprint.
  • the prompt identification 921 may also be text prompt information, such as prompting to adjust the fingerprint entry position.
  • the mobile phone 100 detects a user's touch operation on the fingerprint frame 910 on the secondary screen, the touch operation is in the touch area 912 formed by the fingerprint frame 910, and the mobile phone 100 responds to the touch operation on the main screen.
  • the prompt mark 922 is displayed in the fingerprint icon 920.
  • the prompt mark 921 displays a complete fingerprint, so that the user knows that the fingerprint area entered by the touch operation is correct.
  • the mobile phone 100 compares the fingerprint collected from the display touch area 912 with the fingerprint template stored in the mobile phone. If the collected fingerprint matches the fingerprint template, then unlocking can be achieved; if the collected fingerprint does not match the fingerprint template, then unlock failure.
  • the mobile phone 100 may have a user interface 930 on the home screen, and the user interface 930 may include multiple application icons.
  • the user can perform operations on the display touch area 940 of the secondary screen, and map the position of the touch operation to the display touch area on the main screen, and can display the prompt mark at the corresponding position on the main screen.
  • fingerprint verification can also be applied to the fingerprint verification scenario of the fingerprint application.
  • fingerprint verification may be used instead of password verification.
  • the application's fingerprint verification implementation process is similar to the implementation process of the fingerprint unlocking scenario.
  • an electronic device may include a touch screen 1001, where the touch screen 1001 includes a touch panel 1006 and a display screen 1007; one or A plurality of processors 1002; a memory 1003; one or more application programs (not shown); and one or more computer programs 1004.
  • the aforementioned devices may be connected through one or more communication buses 1005.
  • the one or more computer programs 1004 are stored in the aforementioned memory 1003 and are configured to be executed by the one or more processors 1002, the one or more computer programs 1004 include instructions, and the aforementioned instructions can be used to execute the aforementioned implementations. The method in the example.
  • the embodiments of the present application also provide a computer storage medium that stores computer instructions, and when the computer instructions run on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the touch screen method in the foregoing method embodiments.
  • the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in the embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Abstract

一种操作提示的方法和电子设备,该方法应用于具有可折叠触摸屏的电子设备,可折叠触摸屏包括第一屏和第二屏,第一屏与第二屏之间的夹角小于预设夹角,在该方法中,电子设备检测到对第一屏上的显示触摸区域的第一操作;响应于第一操作,根据位置映射关系,在第二屏对应位置显示提示标识,其中,提示标识在第二屏的显示位置与第一操作的触摸位置关联,位置映射关系根据第一屏与第二屏的显示触摸区域确定。本申请实施例中,以第一屏为副屏,第二屏为主屏为例,用户对副屏的显示触摸区域进行第一操作,可以根据位置映射关系在主屏的相应位置显示提示标识,从而实现在主屏上对作用在副屏上的操作进行提示,防止误操作。

Description

一种操作提示的方法和电子设备
相关申请的交叉引用
本申请要求在2019年10月31日提交中国专利局、申请号为201911056861.0、申请名称为“一种操作提示的方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,尤其涉及一种操作提示的方法和电子设备。
背景技术
目前各种常见的电子设备,比如手机、平板电脑等,为了给用户更好的使用体验,屏幕越来越大,给用户提供更丰富的信息,可以提高人机交流的效率。但是,这类电子设备的屏幕太大也会影响其便携性能,而折叠式电子设备由于可以在展开时给用户大屏体验,也可以在折叠时满足便携需求,从而开始推广使用。
折叠式电子设备在折叠时,面向用户的显示屏称为主屏,折叠在电子设备背部的显示屏称为副屏,用户可以看到主屏上显示的内容,而看不到副屏。而折叠式电子设备在折叠后,用户只能用手指直接对主屏进行操作,以实现打开主屏上的应用或控件等,在有些场景下,比如单手握持时,用户希望可以通过对副屏进行操作以实现在主屏显示相应的操作结果,由于用户看不到手机的副屏,所以在用户对副屏进行操作时,用户并不能看到操作位置是否是想要操作的位置,可能会产生误操作,从而影响用户体验。
发明内容
本申请实施例提供一种操作提示的方法和电子设备,以实现在主屏对作用在副屏上的操作进行提示,防止误操作。
第一方面,本申请实施例提供了一种操作提示的方法,应用于具有可折叠触摸屏的电子设备,可折叠触摸屏包括第一屏和第二屏,第一屏与第二屏之间的夹角小于预设夹角,在该方法中,电子设备检测到对第一屏上的显示触摸区域的第一操作;响应于第一操作,根据位置映射关系,在第二屏对应位置显示提示标识,其中,提示标识在第二屏的显示位置与第一操作的触摸位置关联,位置映射关系根据第一屏与第二屏的显示触摸区域确定。
本申请实施例中,电子设备中的第一屏的显示触摸区域与第二屏的显示触摸区域之间存在位置映射关系,这样用户对第一屏的显示触摸区域进行第一操作时,该第一操作在显示触摸区域中的操作位置,可以映射到第二屏上的显示触摸区域中,从而在第二屏中与该第一操作存在位置映射关系的位置显示提示标识,以第一屏为副屏,第二屏为主屏为例,在副屏上进行操作,就可以实现在主屏上对作用在副屏上的操作进行提示,防止误操作。
在一种可能的设计中,第一屏的显示触摸区域的面积小于或等于第二屏的显示触摸区域的面积。这样用户手指只需要在第一屏上小面积的显示触摸区域进行操作,就可以实现对大面积的第二屏的整个显示触摸区域进行操作,便于用户操作。
在一种可能的设计中,第一操作可以为点击操作。用户对第一屏的显示触摸区域进行点击操作,电子设备可以响应于该点击操作在第二屏的显示触摸区域显示提示标识,提示标识可以为箭头,也可以为圆圈,也可以为其它形状,此处不作限制。
在一种可能的设计中,第一操作可以为滑动操作,提示标识可随着手指在显示触摸区域中的滑动而在第二屏中移动。这样用户在第一屏的显示触摸区域进行滑动操作,可以在第二屏上看到提示标识的移动轨迹,从而可以实现在想要进行下一步操作的位置进行相应操作。
在一种可能的设计中,电子设备响应于所述第一操作,根据位置映射关系,在所述第二屏显示提示标识之后,所述方法还包括:对第二屏中的提示标识所在位置的显示内容进行识别;响应于沿第一方向的滑动操作,对识别的显示内容进行放大;响应于沿第二方向的滑动操作,对识别的显示内容进行缩小。应理解,点击操作和滑动操作可以由同一手指完成,比如,用户右手的食指先进行点击操作,实现对提示标识所在位置的显示内容进行识别,再采用食指进行滑动操作。或者,点击操作和滑动操作也可以由不同手指完成,比如,用户右手的食指先进行点击操作,右手的中指进行滑动操作,当然,点击操作和滑动操作也可以是由不同手的两个手指完成。
通过该设计,用户可以对第一屏的显示触摸区域进行点击操作和滑动操作,实现对第二屏显示的想要进一步仔细查看内容进行放大,或者,对第一屏显示的内容进行缩小。
在一种可能的设计中,第一操作为点击操作,点击操作在第一屏的触摸位置对应第二屏上显示的应用的位置;响应于第一操作,根据位置映射关系,在第二屏显示提示标识之后,还可以响应于点击操作,在第二屏打开应用。
应理解,在第一屏的显示触摸区域进行任何操作,都可以在第二屏上的显示触摸区域显示相应的操作执行结果。
在一种可能的设计中,第一屏上的显示触摸区域设有指纹传感器,第一操作为触摸操作;在响应于第一操作,在第二屏显示提示标识之前,还可以通过指纹传感器采集触摸操作对应的指纹,并验证指纹与指纹模板库中的指纹模板匹配。
通过该设计,满足指纹与指纹模板库中的指纹模板匹配的条件的用户才可以对第一屏的显示触摸区域进行操作,从而可以增加安全性,当然,用户可以将常用的手指的指纹录入指纹模板库中,这样也可以防止用户的其它手指误触。
在一种可能的设计中,第一屏上的显示触摸区域设有指纹传感器,第一操作为触摸操作;响应于第一操作,在第二屏显示提示标识,包括:通过指纹传感器采集触摸操作对应的指纹,并在第二屏上显示指纹。如此,用户可以在第一屏的显示触摸区域录入指纹时,看到第二屏上显示指纹录入的情况,以便采集到完整可用的指纹。
在一种可能的设计中,预设夹角小于或等于180度。这样第一屏与所述第二屏之间的夹角小于180度,也就是说,这时电子设备的可折叠触摸屏处于折叠状态,可采用对第一屏进行操作,并在第二屏进行提示的方式来防止误触。
第二方面,本申请实施例提供一种电子设备,包括可折叠触摸屏、处理器和存储器,所述可折叠触摸屏包括第一屏和第二屏,所述第一屏与所述第二屏之间的夹角小于预设夹角,所述存储器用于存储一个或多个计算机程序;当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得该电子设备能够实现上述第一方面以及第一方面中任一种可能的设计的方法。
第三方面,本申请实施例还提供一种装置,该装置包括执行上述任一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。
第四方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行上述第一方面以及第一方面中任一种可能的设计的方法。
第五方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在终端上运行时,使得所述电子设备执行上述第一方面以及第一方面中任一种可能的设计的方法。
本申请的第二方面至第五方面的有益效果请参见第一方面的相关描述,此处不再赘述。
附图说明
图1A为本申请实施例提供的一种手机完全展开场景示意图;
图1B为本申请实施例提供的一种手机部分折叠场景示意图;
图1C为本申请实施例提供的一种手机完全折叠场景示意图;
图2A为本申请实施例提供的一种手机的结构示意图;
图2B为本申请实施例提供的一种软件结构示意图;
图2C为本申请实施例提供的另一种软件结构示意图;
图3为本申请实施例提供的一组界面示意图;
图4为本申请实施例提供的另一组界面示意图;
图5为本申请实施例提供的一种位置映射示意图;
图6为本申请实施例提供的另一组界面示意图;
图7为本申请实施例提供的另一组界面示意图;
图8为本申请实施例提供的另一组界面示意图;
图9为本申请实施例提供的另一组界面示意图;
图10为本申请实施例提供的一种电子设备结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
本申请实施例中的具有可折叠触摸屏的电子设备,该电子设备可以为手机、pad、笔记本电脑等。以电子设备为手机为例,手机的可折叠触摸屏可以采用一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的显示屏。本申请实施例提供的可折叠触摸屏以包括三部分为例,如图1A、1B以及1C所示,可折叠触摸屏可包括第一屏111、第二屏112、以及连接第一屏111和第二屏113的可弯折区112。
下面结合附图对手机的可折叠触摸屏处于不同状态下的形状进行说明。
图1A示出了手机在完全展开时的形状示意图。如图1A中所示,在手机展开时,手机的壳体120展开,同时,可折叠触摸屏110也展开。其中,可折叠触摸屏110可以包括第一屏111、可弯折区112以及第二屏113,在手机的可折叠触摸屏110被完全展开时,第一屏111、可弯折区112以及第二屏113连接成一个整屏幕,此时,重力传感器可以检测到 第一屏111和第二屏113之间的夹角a为180°(实际的折叠角度可能无法达到180°,以实际上报的折叠角度为准)。
本申请实施例中,当第一屏111或者第二屏113发生旋转时,该可折叠触摸屏110可通过可弯折区112进行折叠,在手机的可折叠触摸屏被部分折叠时可参见图1B,完全折叠后的形状可参见图1C。
如图1B以及1C所示,在手机折叠时,手机的壳体120也折叠;同时,可折叠触摸屏110也折叠。图1B以及1C中示例性示出了可折叠触摸屏110在手机折叠时位于外露的一侧,应理解,手机折叠时也可以是壳体120外露,而可折叠触摸屏110位于内侧。
手机的可折叠触摸屏110从完全展开到被完全折叠的过程中,第一屏111与第二屏113之间的夹角a越来越小。如图1A所示,在可折叠触摸屏110完全展开时,第一屏111与第二屏113之间的夹角为180°。如图1B所示,在手机的可折叠触摸屏110被部分折叠时,重力传感器180E可以检测到第一屏111和第二屏113之间的夹角为40°。如1C所示,在手机的可折叠触摸屏110被完全折叠时,传感器检测到第一屏111和第二屏113之间的夹角为0度(实际的折叠角度可能无法达到0°,以实际上报的折叠角度为准),此时第一屏111与第二屏113在手机折叠时位于外露的一侧,这样可以手机折叠时,可以同时对第一屏111和第二屏113进行操作。
本申请实施例中,当手机从完全展开时,第一屏111与第二屏113组成一整个屏幕,用户面向整个屏幕,当重力传感器检测到第一屏111旋转时,第二屏113面向用户称为主屏,第一屏111在背面称为副屏,手机可以响应于用户在副屏上进行操作,在主屏上的用户界面显示相应的提示标识,以便提示用户操作的位置。
需要说明的是,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。且在本申请实施例的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
以下介绍电子设备、用于这样的电子设备的图形用户界面、和用于使用这样的电子设备的实施例。在本申请一些实施例中,电子设备可以是便携式设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便捷式终端具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的操作提示的方法)。便携式设备的示例性实施例包括但不限于搭载
Figure PCTCN2020105380-appb-000001
或者其它操作系统的便携式设备。上述便携式设备也可以是其它便携式设备,只要具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的操作提示的方法)即可。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式设备,而是具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的操作提示的方法)的台式计算机。
结合附图,进一步说明上述电子设备的结构。
以电子设备是手机为例,图2A仅示出了本申请实施例提供的一种手机100的硬件结构示意图,在图2A所示的基础上,还可以有其他变型结构方式存在。如图2A所示,手机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等。
可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图2A中所示出的更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图2A所示的部件可以以硬件、软件、或软件和硬件的组合实现。
下面对图2A示出的手机100具有的部件进行详细介绍。
处理器110可以包括一个或多个处理单元,例如,处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用,从而可避免重复存取,可减少处理器110的等待时间,因而可提高系统的效率。
处理器110可以运行本申请实施例提供的操作提示的方法,处理器可以在手机100处于折叠状态下,响应于对副屏的触摸操作,确定该触摸操作在副屏上的位置映射到主屏上的位置,并在主屏上相应位置显示该触摸操作对应的提示标识。当处理器110集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的操作提示的方法,比如操作提示的方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。
在一些实施例中,处理器110可以包括一个或多个接口。比如,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110 与触摸传感器180K通过I2C总线接口通信,实现手机100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现手机100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现手机100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机100充电,也可以用于手机100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电 管理模块140也可以设置于同一个器件中。
手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块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转为电磁波辐射出去。
在一些实施例中,手机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)。
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏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的正整数。
在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的拼接的显示屏。当处理器110运行本申请实施例提供的操作提示的方法,在显示屏194在折叠时,副屏接收到触摸操作,处理器110确定该触摸操作在副屏上的触摸位置映射在主屏上的位置,并在主屏上显示提示标识。
手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器。这样,手机100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。 内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机100的各种功能应用以及数据处理。
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机100可以设置至少一个麦克风170C。在另一些实施例中,手机100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。手机100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,手机100根据压力传感器180A检测所述触摸操作强度。手机100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定手机100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测手机100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消手机100的 抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,手机100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。手机100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当手机100是翻盖机时,手机100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测手机100在各个方向上(一般为三轴)加速度的大小。当手机100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。手机100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,手机100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机100通过发光二极管向外发射红外光。手机100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机100附近有物体。当检测到不充分的反射光时,手机100可以确定手机100附近没有物体。手机100可以利用接近光传感器180G检测用户手持手机100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。本申请实施例中,接近光传感器180G可以设置在可折叠的显示屏194的第一屏上,接近光传感器180G根据红外信号的光程差来检测第一屏与第二屏之间的折叠角度或者展开角度的大小。
环境光传感器180L用于感知环境光亮度。手机100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测手机100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。例如,可以在手机100的正面(显示屏194的下方)配置指纹传感器,或者,在手机100的背面(后置摄像头的下方)配置指纹传感器。另外,也可以通过在触摸屏中配置指纹传感器来实现指纹识别功能,即指纹传感器可以与触摸屏集成在一起来实现手机100的指纹识别功能。在这种情况下,该指纹传感器可以配置在触摸屏中,可以是触摸屏的一部分,也可以是以其他方式配置在触摸屏中。另外,该指纹传感器还可以被实现为全面板指纹传感器,因此,可以把触摸屏看成是任何位置可都可以进行指纹采集的一个面板。在一些实施例中,该指纹传感器可以对采集到的指纹进行处理(例如指纹是否验证通过)发送给处理器110,由处理器110根据指纹处理结果做出相应的处理。在另一些实施例中,还指纹传感器还可以将采集到的指纹发送给处理器110,以便处理器110对该指纹进行处理(例如指纹验证等)。本申请实施例中的指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。
温度传感器180J用于检测温度。在一些实施例中,手机100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,手机100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,手机100对电池142加热,以避免低温导致手机100 异常关机。在其他一些实施例中,当温度低于又一阈值时,手机100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
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分离。
尽管图2A中未示出,手机100还可以包括蓝牙装置、定位识别装置、闪光灯、微型投影装置、近场通信(near field communication,NFC)装置等,在此不予赘述。
上述手机100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明手机100的软件结构。
图2B是本申请实施例的手机100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。如图2B所示,应用程序层内可以安装相机, 图库,日历,通话,地图,导航,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2B所示,应用程序框架层可以包括窗口管理器(WMS),内容提供器,电话管理器,资源管理器,显示管理服务(display manager service,DMS),还包括视图系统,活动管理器,通知管理器等,本申请实施例对此不作任何限制。
其中,显示管理服务可用于从底层显示系统中获取当前柔性屏幕的具体物理形态,例如图1C所示的完全折叠状态,又例如图1B所示的部分折叠状态,再例如图1A所示的展开状态。
应用程序框架层以下的系统库和内核层等可称为底层系统,底层系统中包括用于提供显示服务的底层显示系统,例如,底层显示系统包括内核层中的显示驱动以及系统库中的surface manager等。并且,本申请中的底层系统还包括用于识别柔性屏幕物理形态变化的状态监测服务,该状态监测服务可独立设置在底层显示系统内,也可设置在系统库和/或内核层内。
示例性的,状态监测服务可调用传感器服务(sensor service)启动陀螺仪、加速度传感器等传感器进行检测。状态监测服务可根据各个传感器上报的检测数据计算当前主屏和副屏之间的夹角。这样,通过主屏和副屏之间的夹角,状态监测服务可确定出柔性屏幕处于展开状态、折叠状态或支架状态等物理形态。并且,状态监测服务可将确定出的物理形态上报给上述显示管理服务。
如图2C所示,为安卓操作系统内部的数据流向示意图。示例性的,硬件层的陀螺仪和加速度传感器可将检测到的数据上报给传感器驱动,传感器驱动通过传感器服务将陀螺仪和加速度传感器检测到的数据上报状态监测服务。状态监测服务可根据陀螺仪和加速度传感器检测到的数据确定主屏和副屏之间的夹角,进而确定出手机的物理形态。同时,触控器件也可通过TP驱动将检测到的输入事件的数据上报给状态监测服务。状态监测服务可将确定出的手机的物理形态上报给显示管理服务,由显示管理服务确定输入事件作用在副屏时,确定出在副屏的操作位置,以及该输入事件映射到主屏的位置,并通知窗口管理器绘制并在主屏显示相应的提示标识。
安卓运行时(Android Runtime)包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图 的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。
以下实施例均可以在具有上述硬件结构的电子设备(例如手机100中实现。以下实施例将以手机100为例,结合附图对本申请实施例提供的操作提示方法进行详细介绍。
本申请的说明书和权利要求书及附图中的术语“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏194中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。
下面介绍手机100提供的一些示例性用户界面(user interface,UI)。
本申请实施例中,在电子设备100处于完全展开状态时,电子设备100的副屏和主屏组成一个整体的屏幕,显示一个用户界面。
如图3中的3a所示,手机100的可折叠触摸屏处于完全展开的状态,手机100显示的用户界面310,该用户界面310为手机的主界面。其中,用户界面310可包括状态栏311、时间和天气小组件(widget)313、以及各种应用的图标,例如闹钟应用的图标、淘宝应用的图标、照片应用的图片、备忘录的图标等。状态栏311中可包括运营商名称(例如中国移动)、Wi-Fi图标、时间和剩余电量(如30%)等。该用户界面还可以包括可隐藏的导航栏(未在图中示出),导航栏中可包括后退(back)键图标、主屏幕(home)键图标和前进键图标。此外,可以理解的是,在一些实施例中,状态栏311中还可以包括蓝牙图标、移动网络(例如,4G)、闹钟图标、外接设备图标等。还可以理解的是,在另一些实施例中,图3中的3a所示的用户界面310中还可以包括Dock栏312,Dock栏312中可以包括常用的应用图标,如浏览器应用的图标、设置应用的图标、微信应用的图标、相机应用的图标等。当处理器110检测到用户的手指(或触控笔等)针对某一应用的图标的触摸事件后,响应于该触摸事件,打开与该应用图标对应的应用的用户界面,并在显示屏194上显示该应用的用户界面。
在其他一些实施例中,该手机100还可以包括主屏幕键。该主屏幕键可以是实体按键,也可以是虚拟按键。该主屏幕键用于根据用户的操作,将触摸屏上显示的图形用户界面GUI返回到主屏幕的某一页面,这样可以方便用户随时查看主屏幕并对主屏幕中的控件(例如图标)进行操作。上述操作具体可以是用户按下主屏幕键,也可以是用户在短时间内连续两次按下主屏幕键,还可以是用户长按主屏幕键。在本申请其他一些实施例中,主屏幕键还可以集成指纹传感器,这样用户可以在按下主屏幕键的时候,手机100随之进行指纹采集,进而对用户身份进行确认。还有一些实施例中,主屏幕键中还可以包括屏下指纹传感器,在显示屏点亮状态下,显示屏发出的光照亮指纹纹路,指纹纹路上反射的光线被屏下指纹传感器捕获形成指纹图像,将该指纹图像与预存的指纹图像对比。在屏幕指纹解锁场景下,如果匹配成功即执行解锁,其中,比对的过程可以是提取指纹图像特征来和预存的特征模板进行比对,在相似度超过一定阈值时表明匹配成功。
可以理解的是,图3中3a仅仅示例性示出了手机100可折叠触摸屏处于完全展开的状 态上的用户界面,不构成对本申请实施例的限定。
本申请以下实施例中,以手机100折叠时主屏和副屏均位于外露的一侧为例进行介绍。
当手机100的完整的显示屏194被折叠时,副屏和主屏可以显示相同的内容,比如,主屏显示如图3中3b所示的用户界面320,该用户界面320包括的内容与用户界面310类似,比如,可以包括状态栏、时间和天气小组件(widget)、以及各种应用的图标等,具体可以参见关于用户界面310的描述。其中,副屏显示的用户界面与该用户界面320可以相同,即副屏也显示与用户界面320。副屏和主屏也可以显示不同的内容,比如主屏显示如图3中3b所示的用户界面320,副屏不显示内容。
本申请实施例中,当手机100处于折叠状态时,参见如图3中3b所示,用户面向主屏,副屏在主屏的背面,所以用户只能看到主屏上显示的内容,而看不到副屏上的内容,一般用户单手握持手机100时,为了能够支持手机重量、保持手机平衡,习惯掌心朝向副屏,大拇指在主屏的一个侧边,其它几个手指在主屏的另一侧边来握持手机,用户食指可以在副屏上进行操作。手机可以检测用户对副屏进行操作,并将该操作的结果显示在主屏上,以便于用户可以随时看到用户在副屏上的操作情况。所以,本申请实施例提供一种操作提示的方法,手机100可以在副屏提供一个显示触摸区域,手机100可以在接收到用户对副屏上的显示触摸区域进行触摸操作时,响应于该触摸操作根据位置映射关系在主屏上对应位置显示提示标识,提示标识在主屏中的显示位置与触摸操作的触摸位置关联,位置映射关系根据所述主屏与所述副屏的显示触摸区域确定。这样手机100可在接收到用户对副屏的显示触摸区域的触摸操作,在主屏显示提示标识,从而可以使得用户在看到提示标识时及时调整操作位置,进而可以避免用户因为看不到副屏而导致触摸操作所触发的位置错误,提升用户体验。
本申请实施例提供的操作提示方法可以应用于多种场景,在不同的场景下,副屏的显示触摸区域的大小也可以不同,在一些场景中,副屏的显示触摸区域可以是副屏的整个屏幕显示触摸区域。在另一些场景中,副屏的显示触摸区域也可以是副屏上的部分屏幕区域,这样用户手指只需要在小范围的显示触摸区域进行操作,就可以实现对大范围的主屏的整个显示触摸区域进行操作,便于用户操作。
为了便于理解,本申请以下实施例将以具有图2A所示结构的手机为例,结合附图2C的软件结构以及本申请实施例提供的各种应用场景,对本申请实施例提供的操作提示方法进行详细介绍。
应用场景1:手机100的主屏显示某一用户界面(比如主界面、负一屏、或者其它应用的用户界面等)的场景。在该场景下,副屏包括的显示触摸区域与主屏上的显示触摸区域存在位置映射关系,即在副屏上的显示触摸区域进行操作,可以在主屏的相应的位置显示提示标识。
以下实施例以手机100的主屏显示主界面为例,介绍通过对副屏进行操作,实现在主屏上显示提示标识的过程。
参见图4中4a,手机100的主屏上显示主界面410,该主界面410可以包括一个或多个应用图标,例如图4中4a所示的闹钟应用的图标、淘宝应用的图标、照片应用的图标、备忘录应用的图标、邮件应用的图标、设置应用的图标、微信应用的图标以及相机应用的 图标。手机100的副屏上显示有显示触摸区域420。
参见图4中4b,用户手指在副屏上的显示触摸区域420的触摸位置421进行触摸操作,手机100中的触摸器件检测到用户手指对副屏上的显示触摸区域420的触摸操作,通过TP驱动向状态检测服务上报输入事件以及副屏上的触摸位置421的坐标值,状态监测服务向显示管理服务上报输入事件以及副屏上的触摸位置421的坐标值。显示管理服务根据副屏上的触摸位置421的坐标值,以及主屏的显示触摸区域410与副屏的显示触摸区域420之间的位置映射关系,确定出副屏上的触摸位置421的坐标值在主屏上的响应位置,即图4中4b所示的提示标识411所在的位置。
下面结合图5,对主屏的显示触摸区域410与副屏的显示触摸区域420之间的位置映射关系进行说明。参见图5,为本申请提供的位置映射关系示意图。
如图5所示,副屏的显示触摸区域420的形状和主屏的显示触摸区域410的形状为均矩形,可以将矩形的显示触摸区域420上的各像素点的坐标与矩形的显示触摸区域410上的各像素点的坐标进行映射,得到位置映射关系。应理解,本申请实施例对副屏上的显示触摸区域的形状不作限制,比如显示触摸区域的形状也可以为椭圆形、菱形、圆形、或其它形状。
示例性的,手机100的副屏上的显示触摸区域420上的位置A(x,y),根据副屏的显示触摸区域420与主屏的显示触摸区域410之间的位置映射关系,可以将位置A(x,y)映射到主屏的显示触摸区域410中位置B(X,Y)。也就是说,当用户在副屏上的显示触摸区域420的位置A(x,y)进行触摸操作,手机100可以响应于该触摸操作在位置B(X,Y)显示提示标识。其中,位置A(x,y)和位置B(X,Y)之间的映射参数可以为一个数值,比如映射参数为m,位置A(x,y)对应的位置B(mx,my);映射参数也可以是数组,比如(m,n),位置A(x,y)对应位置B为(mx,ny)。本申请实施例中对映射参数不作限定。
示例性的,副屏的显示触摸区域的面积小于或等于主屏的显示触摸区域的面积,这样用户手指只需要在小面积的显示触摸区域进行操作,就可以实现对大面积的主屏的整个显示触摸区域进行操作,便于用户操作。
在确定出用户手指在副屏上的触摸位置421的坐标值映射到主屏上的响应位置之后,显示管理服务将主屏上的响应位置的坐标值上报给窗口管理器,窗口管理器根据主屏上的响应位置的坐标值绘制提示标识411,并将绘制的包括提示标识411的图层以及其它图层一起发给表面管理器(SurfaceFlinger),表面管理器对所有图层进行合并之后,下发给显示驱动,以通过显示驱动来驱动显示屏(如主屏)显示该包括提示标识411的显示界面。
本申请实施例中,提示标识411可以为箭头图标,应理解该提示标识411也可以为其它图标,比如圆点、笔等图标,此处不作限制。
用户还可以在副屏上的显示触摸区域420上进行触摸操作,实现在主屏上显示该提示标识411之后,在副屏的显示触摸区域420上滑动手指以实现将提示标识移动到想要打开的应用的图标上,然后在副屏上进行点击操作,以实现打开应用。
在打开应用之后,也可以在副屏上进行触摸操作,对主屏上显示的应用的用户界面进行操作,在主屏上显示手指在副屏上操作的位置。以下实施例以打开主屏上的照片应用为例,介绍通过对手机的副屏进行操作,实现对主屏上显示提示标识的过程。
参见图6中6a所示,手机100的主屏的显示触摸区域610显示有图片630,副屏的显 示触摸区域620为矩形,此处并不限制显示触摸区域620的具体形状,也可以为其它形状。其中,显示触摸区域610与显示触摸区域620存在位置映射关系。
示例性的,手机100检测到对副屏上的显示触摸区域620的触摸操作,手机100中的触摸器件检测到用户手指对副屏上的显示触摸区域620的触摸操作,通过TP驱动向状态检测服务上报输入事件以及副屏上的触摸位置621的坐标值,状态监测服务向显示管理服务上报输入事件以及副屏上的触摸位置621的坐标值。显示管理服务根据副屏上的触摸位置621的坐标值,以及主屏的显示触摸区域610与副屏的显示触摸区域620之间的位置映射关系,确定出副屏上的触摸位置621的坐标值在主屏上的响应位置,即图6中6a所示的提示标识611所在的位置。
在确定出用户手指在副屏上的触摸位置621的坐标值映射到主屏上的响应位置之后,显示管理服务将主屏上的响应位置的坐标值上报给窗口管理器,窗口管理器根据主屏上的响应位置的坐标值绘制提示标识611,并将绘制的包括图片630和提示标识611的图层以及其它图层一起发给表面管理器(SurfaceFlinger),表面管理器对所有图层进行合并之后,下发给显示驱动,以通过显示驱动来驱动显示屏(如主屏)显示该包括提示标识611的显示界面。
示例的,该提示标识611为一个箭头图标,提示标识611也可以为其它形状,此处并不限定该提示标识611的具体形状。
用户手指在副屏上滑动手指的操作,在主屏上显示的提示标识611也会随着该滑动手指的操作而移动。用户可以在副屏上滑动手指至需要操作的区域,并进行操作,比如对需要操作的区域进行点击(单击、双击、多次点击)操作,该点击操作用于锁定(或者识别)住需要进行下一步操作的区域,然后再执行滑动操作,比如在主屏显示图片的场景中,该滑动操作用于放大或者缩小图片中锁定的区域,再比如,在播放视频或者播放音乐的场景中,该滑动操作用于前进或者后退,或者调节亮度变大或变小。
在主屏上显示提示标识611之后,参见图6中6b,当手机100检测到在该触摸位置622进行向上滑动的操作时,响应于该操作在主屏上显示放大的图片(如图6中6c所示),在主屏上还可以显示提示标识613,该提示标识613用于指示用户手指在副屏上的某一点向上滑动轨迹。相应的,手机100检测到在该触摸位置622进行向下滑动的操作,可以响应于该操作在主屏上显示缩小的图片,以及用于指示用户手指在副屏上的滑动轨迹的提示标识。
在图4以及图6所示的示例中,副屏可以是触摸屏,也可以是具有指纹录入功能的指纹屏,指纹屏可以是在显示屏下方设置有指纹传感器,用于采集指纹。比如,照片应用设置有指纹验证的功能,那么在对照片进行操作之前,还需要验证触摸操作对应的输入指纹是否为指纹模板库中的指纹,在用户手指对副屏上的显示触摸区域620进行触摸操作时,指纹传感器可以采集用户手指的输入指纹,指纹传感器将采集的输入指纹上报至TEE中的指纹可信应用中,识别该指纹图像是否与安全存储器中存储的指纹模板进行匹配,得到指纹识别结果。指纹可信应用将指纹识别结果发送给指纹守护进程,之后,指纹守护进程通过指纹服务向指纹管理器上报指纹识别结果,如果指纹识别结果为匹配,那么指纹验证成功;如果指纹识别结果为不匹配,那么指纹验证失败。当指纹管理器确定指纹验证成功时,向WMS发送绘制指令,该绘制指令包用于指示绘制图谱630和提示标识611的图层,当指纹管理器确定指纹验证失败时,不向WMS发送绘制指令,也就是说,手机100对用户 在副屏的显示触摸区域上的触摸操作不进行响应,即不在主屏上显示提示标识。
通过上述图6所示的示例,用户可以单指对副屏上的显示触摸区域进行点击操作和滑动操作,也就是说,点击操作和滑动操作是单个手指执行的,从而实现通过副屏对主屏上的上显示的图片进行放大或缩小。
在其他一些实施例中,用户也可以采用双指对副屏上的显示触摸区域进行点击操作和滑动操作,从而实现对主屏上的上显示的图片进行放大或缩小。
示例性的,参见图7中7a,主屏上的显示触摸区域710显示图片730,用户可以在副屏上的显示触摸区域720的触摸位置721进行点击操作,手机100检测到点击操作,采集执行该点击操作对应的指纹A,并将该指纹A与指纹模板库中的指纹模板进行匹配,若该指纹模板库中存在指纹模板与该指纹A匹配,则手机100响应于该点击操作在主屏上显示提示标识711,该图示标识711可以为椭圆形图标。若该指纹模板库中不存在指纹模板与该指纹A匹配,手机100对该点击操作不作响应,即主屏不显示提示标识711。
之后,手机100检测到在该触摸位置722进行滑动操作,指纹传感器采集执行该滑动操作的指纹B,并将该指纹B与指纹模板库中的指纹进行匹配,若该指纹模板库中存在指纹模板与该指纹B匹配,手机100响应于该滑动操作(比如向上滑动)在主屏上显示放大的图片(如图7中7c所示),相应的,手机100检测到在该触摸位置722进行滑动操作(比如向下滑动),可以响应于该操作在主屏上显示缩小的图片。若该指纹模板库中不存在指纹模板与该指纹B匹配,手机100对该滑动操作不作响应。
通过上述图7所示的示例,用户可以双指对副屏上的显示触摸区域进行点击操作和滑动操作,即点击操作和滑动操作分别由两个手指执行的,从而实现对主屏上的上显示的图片进行放大或缩小。在图7所示的示例中,进行点击操作和滑动操作可以是同一手的两个不同手指,也可以是两个不同手的手指。为了操作方便,一般采用同一手的两个不同手指分别进行点击操作和滑动操作。示例的,用户可以用右手的食指进行点击操作,采用右手的中指进行滑动操作。
需要说明的是,上述图6和图7所示的示例中,是以点击操作实现锁定需要放大的位置,以向上滑动操作实现放大图片,向下滑动操作实现缩小图片为例进行说明的,还可以对需要放大的位置进行双击操作、多次点击操作、画圈等操作,来实现锁定该需要放大的位置,本申请对此不作限定。
应理解,也可以直接进行滑动操作实现放大或缩小图片,即不需要用户进行操作来锁定需要放大的位置,比如,可以在进行滑动操作时默认对图片的中心点的位置进行放大或缩小;再比如,可以在进行滑动操作时,手机100自动识别出图片中的目标对象(如图6中6a所示的人物),然后对目标对象进行放大或缩小;又比如,手机可将滑动操作的起始点的位置进行放大或缩小。
在其他一些实施例中,也可以设置向上滑动操作用于实现缩小图片,向下滑动操作用于实现放大图片。在其他一些实施例中,可以设置点击操作用于放大图片,长按操作用于缩小图片;或者,可以设置点击操作用于缩小图片,长按操作用于放大图片。
在其它一些场景中,副屏可以支持指纹录入功能,例如指纹录入、指纹解锁等场景),副屏中的显示触摸区域(如应用场景2中的显示触摸区域810、以及应用场景3中的显示触摸区域910)支持指纹录入功能,在开启指纹录入功能的情况下,可以通过位于副屏的 显示触摸区域的指纹传感器采集指纹。
其中,副屏的指纹录入功能可以通过多种方式触发开启。一种可能的实现方式中,当手机100处于灭屏状态时,手机100的主屏被唤醒(即主屏从灭屏状态进入亮屏状态)时,开启副屏的指纹录入功能。在另一种可能的实现方式中,手机100可以在检测到手机100被用户拿起时,开启副屏的指纹录入功能。还有一种可能的实现方式中,当手机100在检测到副屏与主屏之间的夹角小于预设阈值时,说明手机处于折叠状态,打开副屏的指纹录入功能,该预设阈值可以为180°,也可以为小于180°的任意角度,此处不作限制。
应理解,在开启指纹录入功能之后,该指纹录入功能可以一直处于开启状态。为节省功耗,当主屏从亮屏状态进入灭屏状态时,手机100关闭副屏的指纹录入功能,当主屏再次被唤醒时,手机100开启副屏的指纹录入功能。在其他一些实施例中,可以在开启指纹录入功能之后,定期关闭指纹录入功能,比如开启指纹录入功能后达到一定时长,关闭副屏的指纹录入功能,在需要使用指纹录入功能时再触发开启,也可以在手机100长时间未检测到在副屏上的操作时,关闭副屏的指纹录入功能。
本申请实施例中,当手机100的主屏处于息屏状态时,首先需要将手机的主屏唤醒,以使主屏处于亮屏状态,从而可以显示提示标识。而副屏可以处于息屏状态,也可以处于亮屏状态,在需要对副屏进行触摸操作时,副屏已开启指纹录入功能即可。
应用场景2:指纹录入场景。当手机100的用户需要在手机100中录入新指纹,可以在已打开副屏的指纹录入功能的情况下,手机100启动设置(Settings)应用,并给该设置应用打开指纹录入界面,进入指纹录入场景,应用程序层的设置应用将用于录入指纹的用户界面的相关参数通过WMS下发到表面管理器,表面管理器调用显示驱动,以驱动显示设备(如主屏)显示用于录入指纹的用户界面。另外,在设置应用进入指纹图标820的用户界面时,应用程序层的设置应用向底层系统下发指纹录入场景的命令码,例如为命令码1。指纹传感器驱动接收到该命令码1之后,驱动指纹传感器切换到采图模式,等待手指录入。
如图8中8a所示,副屏的显示触摸区域与主屏的显示触摸区域存在位置映射关系,例如,副屏上的指纹框810经过位置映射到主屏上的指纹图标820。当触摸器件检测到用户手指在副屏的显示触摸区域中的指纹框810进行触摸操作,TP驱动通过状态检测服务向显示管理服务上报输入事件以及副屏上的指纹框810的坐标值,显示管理服务可以根据主屏的显示触摸区域与副屏的显示触摸区域之间的位置映射关系,确定出指纹图标820的位置。即用户手指在副屏的指纹框810中录入指纹,可以在主屏的指纹图标820中显示提示标识821。
当指纹传感器检测到手指按压时,上报一个中断信息给指纹传感器驱动,指纹传感器驱动该指纹传感器采集指纹图像。之后,指纹传感器驱动读取指纹传感器采集到的指纹图像,并将该指纹图像以及命令码1上报至指纹管理器,指纹管理器根据命令码1,确定该指纹图像为新录入的指纹,将该指纹图像作为指纹模板存储在内部存储器中,并将已成功录入指纹的结果通过上报至设置应用。
在一些实施例中,在录入指纹的过程中,当采集的指纹不满足要求时,比如触摸位置不在指定区域内、录入指纹的面积小于预设面积等,可能会需要多次调整手指在副屏的显示触摸区域上的触摸位置,才能根据多次采集到的指纹合成得到一个完整的指纹,并将该完整的指纹作为一个指纹模板存储在手机100中的内部存储器121中,以便在指纹解锁的 场景中将采集到的输入指纹与指纹模板进行比较,并在输入指纹与指纹库中的与指纹模板匹配时,实现指纹解锁的功能。为了保证指纹模板的安全性,也可以将指纹模板存储在安全硬件中,比如安全硬件可以为安全存储器,指纹解锁的场景中在可信执行环境中验证输入指纹。
参见图8中8b,当手机100检测到用户手指触摸副屏中的指纹框810的触摸操作,该触摸操作在指纹框810的触摸区域811占用指纹框810的一部分面积,手机100在主屏上的指纹图标820显示与该触摸区域811对应的提示标识821,该提示标识821的形状与触摸区域811的形状一致,提示标识821在主屏的显示触摸区域中的位置与触摸区域811在副屏的显示触摸区域的位置满足位置映射关系,这样手机可以在主屏上提示用户在副屏中所录入的指纹的形状以及位置。
当用户看到如图8中8b所示的主屏上的提示标识821的面积小于指纹图标820的面积,而且提示标识821在指纹图标820中的位置靠中间,说明手机采集到的指纹是残缺的,所以提示标识821指示该触摸区域811采集到的指纹不满足要求,用户可以调整手指在显示触摸区域820中的触摸位置,比如在指纹图标820未被提示标识821占用的位置再次进行触摸操作,以便手机100可以采集到更完整的指纹。
在主屏显示如图8中8b所示的提示标识821之后,用户在副屏的指纹框810中偏左的位置再次进行触摸操作,参见图8中的8c,手机100响应于用户手指在副屏上的指纹框810的触摸操作(触摸位置在指纹框810的触摸区域811),在主屏上的指纹图标820显示提示标识822,该提示标识822的形状与该触摸操作在指纹框810的触摸区域812的形状一致,且该提示标识822在主屏的显示触摸区域中的位置与触摸区域812在副屏的显示触摸区域中的位置之间满足位置映射关系。该提示标识822指示指纹的面积依然不满足录入指纹的要求,需要继续调整用户手指在副屏中的触摸位置,直到手机100在主屏上的指纹图标820显示的提示标识指示录入的指纹满足要求。
在主屏显示如图8中8c所示的提示标识822之后,用户在副屏的指纹框810中偏右的位置再次进行触摸操作,参见图8中8d,手机100响应于用户手指在副屏上的指纹框810的触摸操作(触摸位置在指纹框810的触摸区域813),在主屏上的指纹图标820显示提示标识823,该提示标识823的形状与该触摸操作在指纹框810的触摸区域813的形状一致,且该提示标识823指示指纹的面积满足录入指纹的要求。此时,手机100可以得到完整的指纹,并将该完整的指纹作为指纹模板存储安全存储器中。
通过上述图8中8a、8b、8c以及8d可见,用户两次调整在副屏上的触摸位置从而采集到满足要求的指纹。在另一些实施例中,参见图8中8a、8b以及8d,当主屏上显示如图8中8b所示的提示标识822之后,经过一次调整在副屏上的触摸位置就可以得到如图8中8d所示的提示标识823,即指示满足要求的指纹。在其他一些实施例中,参见图8中8a以及8d,用户直接在副屏上的显示触摸区域810一次触摸操作就可以得到完整的指纹。本申请实施例仅示例性示出一次、两次、三次在副屏上的触摸区域进行触摸操作,从而采集到完整的指纹,在具体实施中,可能需要不止三次在副屏上的触摸区域调整触摸位置,才能采集到完整的指纹。
应用场景3:指纹解锁场景。本申请实施例中,指纹解锁场景可以是对处于锁屏状态的手机100进行解锁的场景,也可以在使用手机100上支付宝、微信等应用的支付功能时 需要验证指纹的场景。在指纹解锁场景中,用户可以在手机100的副屏上的显示触摸区域中进行触摸操作,并在主屏的显示触摸区域中显示提示标识,该提示标识可以指示用户手指在副屏的显示触摸区域中的触摸区域以及触摸位置。
下面以对处于锁屏状态的手机100进行解锁的场景为进行说明。
参见图9中9a,手机100的主屏的显示触摸区域显示一个指纹图标920,该指纹图标920用于显示指示用户对副屏的显示触摸区域上的指纹框910进行触摸操作时采集到的指纹。手机100的副屏显示一个指纹框910用于在检测到对指纹框910的触摸操作时采集指纹。
在需要验证指纹时,用户在副屏上的指纹框910进行触摸操作时,可能录入的指纹不全,如图9中9b所示,当手机100的指纹传感器检测到用户在副屏上的指纹框910的触摸操作时,该触摸操作在该指纹框910形成的触摸区域911,手机100响应于该触摸操作在主屏上的指纹图标920中显示提示标识921,此时提示标识921显示一个残缺的指纹,以使用户知晓该触摸操作所录入的指纹不正确,提示标识921在指纹图标920中的位置偏左,这样用户可以向右调整触摸位置进行触摸操作,以实现得到如图9中9c所示的完整的指纹。该提示标识921还可以是文字提示信息,比如提示调整指纹录入位置。
参见图9中9c,当手机100检测到用户在副屏上的指纹框910的触摸操作时,该触摸操作在该指纹框910形成的触摸区域912,手机100响应于该触摸操作在主屏上的指纹图标920中显示提示标识922,此时提示标识921显示一个完整的指纹,以使用户知晓该触摸操作所录入的指纹区域正确。然后,手机100将从显示触摸区域912采集的指纹与手机中存储的指纹模板进行比对,如果采集的指纹与指纹模板匹配,那么可以实现解锁;如果采集的指纹与指纹模板不匹配,那么解锁失败。
在解锁之后,参见图9中9d,手机100可以在主屏上用户界面930,用户界面930可以包括多个应用图标。用户可以在副屏的显示触摸区域940进行操作,并将触摸操作的位置映射到主屏上的显示触摸区域,并可以在主屏上的相应位置显示提示标识,具体过程参见图6的相关介绍,此处不再赘述。
应理解,上述指纹解锁的场景的实现过程,也可以应用于指纹应用的指纹验证的场景中,在使用支付宝、微信等指纹应用中的支付功能时,可能会采用指纹验证以代替密码验证,指纹应用的指纹验证实现过程与指纹解锁场景的实现过程类似。
在本申请的另一些实施例中,还公开了一种电子设备,如图10所示,该电子设备可以包括:触摸屏1001,其中,该触摸屏1001包括触控面板1006和显示屏1007;一个或多个处理器1002;存储器1003;一个或多个应用程序(未示出);以及一个或多个计算机程序1004、上述各器件可以通过一个或多个通信总线1005连接。其中该一个或多个计算机程序1004被存储在上述存储器1003中并被配置为被该一个或多个处理器1002执行,该一个或多个计算机程序1004包括指令,上述指令可以用于执行上述实施例中的方法。
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的方法。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (19)

  1. 一种操作提示的方法,其特征在于,应用于具有可折叠触摸屏的电子设备,所述可折叠触摸屏包括第一屏和第二屏,所述第一屏与所述第二屏之间的夹角小于预设夹角,所述方法包括:
    检测到对第一屏上的显示触摸区域的第一操作;
    响应于所述第一操作,根据位置映射关系,在所述第二屏对应位置显示提示标识,其中,所述提示标识在所述第二屏的显示位置与所述第一操作的触摸位置关联,所述位置映射关系根据所述第一屏与所述第二屏的显示触摸区域确定。
  2. 根据权利要求1所述的方法,其特征在于,所述第一屏的显示触摸区域的面积小于或等于所述第二屏的显示触摸区域的面积。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一操作为点击操作。
  4. 根据权利要求1或2所述的方法,其特征在于,所述第一操作为滑动操作,所述提示标识随着手指在所述显示触摸区域中的滑动而在第二屏中移动。
  5. 根据权利要求3所述的方法,其特征在于,所述响应于所述第一操作,根据位置映射关系,在所述第二屏显示提示标识之后,所述方法还包括:
    对所述第二屏中所述提示标识所在位置的显示内容进行识别;
    响应于沿第一方向的滑动操作,对识别的所述显示内容进行放大;响应于沿第二方向的滑动操作,对所述识别的显示内容进行缩小。
  6. 根据权利要求3所述的方法,其特征在于,所述点击操作的触摸位置对应第二屏上显示的应用的位置;所述响应于所述第一操作,根据位置映射关系,在所述第二屏显示提示标识之后,所述方法还包括:
    响应于所述点击操作,在所述第二屏打开所述应用。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一屏上设有指纹传感器,所述第一操作为触摸操作;
    所述响应于所述第一操作,在所述第二屏显示提示标识之前,还包括:
    通过所述指纹传感器采集所述触摸操作对应的指纹,并验证所述指纹与指纹模板库中的指纹模板匹配。
  8. 根据权利要求1所述的方法,其特征在于,所述第一屏上设有指纹传感器,所述第一操作为触摸操作;
    所述响应于所述第一操作,在所述第二屏显示提示标识,包括:
    通过所述指纹传感器采集所述触摸操作对应的指纹,并在所述第二屏上显示所述指纹。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述预设夹角小于或等于180度。
  10. 一种电子设备,其特征在于,包括可折叠触摸屏、处理器和存储器,所述可折叠触摸屏包括第一屏和第二屏,所述第一屏与所述第二屏之间的夹角小于预设夹角,所述存储器用于存储一个或多个计算机程序;
    检测到对第一屏上的显示触摸区域的第一操作;
    响应于所述第一操作,根据位置映射关系,在所述第二屏对应位置显示提示标识,其中,所述提示标识在所述第二屏的显示位置与所述第一操作的触摸位置关联,所述位置映 射关系根据所述第一屏与所述第二屏的显示触摸区域确定。
  11. 根据权利要求10所述的电子设备,其特征在于,所述第一屏的显示触摸区域的面积小于或等于所述第二屏的显示触摸区域的面积。
  12. 根据权利要求10或11所述的电子设备,其特征在于,所述第一操作为点击操作。
  13. 根据权利要求10或11所述的电子设备,其特征在于,所述第一操作为滑动操作,所述提示标识随着手指在所述显示触摸区域中的滑动而在第二屏中移动。
  14. 根据权利要求12所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,还使得所述电子设备执行:
    对所述第二屏中所述提示标识所在位置的显示内容进行识别;
    响应于沿所述第一方向的滑动操作,对识别的所述显示内容进行放大;响应于沿所述第二方向的滑动操作,对所述识别的显示内容进行缩小。
  15. 根据权利要求12所述的电子设备,其特征在于,所述点击操作的触摸位置对应第二屏上显示的应用的位置;当所述存储器存储的一个或多个计算机程序被所述处理器执行时,还使得所述电子设备执行:
    响应于所述点击操作,在所述第二屏打开所述应用。
  16. 根据权利要求10-15任一项所述的电子设备,其特征在于,所述第一屏上的显示触摸区域设有指纹传感器,所述第一操作为触摸操作;
    当所述存储器存储的一个或多个计算机程序被所述处理器执行时,还使得所述电子设备执行:
    通过所述指纹传感器采集所述触摸操作对应的指纹,并验证所述指纹与指纹模板库中的指纹模板匹配。
  17. 根据权利要求10所述的电子设备,其特征在于,所述第一屏上的显示触摸区域设有指纹传感器,所述第一操作为触摸操作;
    当所述存储器存储的一个或多个计算机程序被所述处理器执行时,还使得所述电子设备执行:
    通过所述指纹传感器采集所述触摸操作对应的指纹,并在所述第二屏上显示所述指纹。
  18. 根据权利要求10-17任一项所述的电子设备,其特征在于,所述预设夹角小于或等于180度。
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至9任一项所述的方法。
PCT/CN2020/105380 2019-10-31 2020-07-29 一种操作提示的方法和电子设备 WO2021082564A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911056861.0 2019-10-31
CN201911056861.0A CN112751954B (zh) 2019-10-31 2019-10-31 一种操作提示的方法和电子设备

Publications (1)

Publication Number Publication Date
WO2021082564A1 true WO2021082564A1 (zh) 2021-05-06

Family

ID=75644942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105380 WO2021082564A1 (zh) 2019-10-31 2020-07-29 一种操作提示的方法和电子设备

Country Status (2)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363049A (zh) * 2021-12-30 2022-04-15 武汉杰创达科技有限公司 基于个性化交互差异的物联设备多id识别方法
CN115686252A (zh) * 2021-09-24 2023-02-03 荣耀终端有限公司 触控屏中的位置信息计算方法和电子设备
CN116048341A (zh) * 2022-07-28 2023-05-02 荣耀终端有限公司 一种多屏协同方法及电子设备
WO2023078211A1 (zh) * 2021-11-08 2023-05-11 Oppo广东移动通信有限公司 应用控制方法、装置、终端、存储介质及计算机程序产品

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641292B (zh) * 2021-07-09 2022-08-12 荣耀终端有限公司 在触摸屏上进行操作的方法和电子设备
CN114415996A (zh) * 2021-12-13 2022-04-29 西安广和通无线软件有限公司 双屏显示装置及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309594A (zh) * 2012-03-12 2013-09-18 联想(北京)有限公司 一种触摸屏输入方法及电子设备
US20140340299A1 (en) * 2013-05-16 2014-11-20 Lg Electronics Portable device and control method thereof
CN108064368A (zh) * 2016-12-30 2018-05-22 深圳市柔宇科技有限公司 柔性显示设备的控制方法及装置
CN108595075A (zh) * 2018-05-01 2018-09-28 苏州鸥鹄智能科技有限公司 一种电子设备触控交互方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024156A (zh) * 2012-11-29 2013-04-03 广东欧珀移动通信有限公司 一种单手操作移动终端的实现方法、系统及移动终端
CN103324347B (zh) * 2013-06-27 2017-09-22 广东欧珀移动通信有限公司 一种基于多触控面板的移动终端的操作方法和系统
CN103761045A (zh) * 2014-01-22 2014-04-30 深圳市欧珀通信软件有限公司 一种移动终端缩放触控方法及装置
CN105094654B (zh) * 2014-05-07 2020-02-07 中兴通讯股份有限公司 一种屏幕控制方法及装置
US10175726B2 (en) * 2014-11-17 2019-01-08 Lg Electronics Inc. Foldable display device capable of fixing screen by means of folding display and method for controlling the foldable display device
CN108595076A (zh) * 2018-05-01 2018-09-28 苏州鸥鹄智能科技有限公司 一种电子设备触控交互方法
CN108958615B (zh) * 2018-07-25 2021-03-02 维沃移动通信有限公司 一种显示控制方法、终端及计算机可读存储介质
CN109918007A (zh) * 2019-01-25 2019-06-21 努比亚技术有限公司 一种终端显示方法、终端及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309594A (zh) * 2012-03-12 2013-09-18 联想(北京)有限公司 一种触摸屏输入方法及电子设备
US20140340299A1 (en) * 2013-05-16 2014-11-20 Lg Electronics Portable device and control method thereof
CN108064368A (zh) * 2016-12-30 2018-05-22 深圳市柔宇科技有限公司 柔性显示设备的控制方法及装置
CN108595075A (zh) * 2018-05-01 2018-09-28 苏州鸥鹄智能科技有限公司 一种电子设备触控交互方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686252A (zh) * 2021-09-24 2023-02-03 荣耀终端有限公司 触控屏中的位置信息计算方法和电子设备
CN115686252B (zh) * 2021-09-24 2023-10-20 荣耀终端有限公司 触控屏中的位置信息计算方法和电子设备
WO2023078211A1 (zh) * 2021-11-08 2023-05-11 Oppo广东移动通信有限公司 应用控制方法、装置、终端、存储介质及计算机程序产品
CN114363049A (zh) * 2021-12-30 2022-04-15 武汉杰创达科技有限公司 基于个性化交互差异的物联设备多id识别方法
CN116048341A (zh) * 2022-07-28 2023-05-02 荣耀终端有限公司 一种多屏协同方法及电子设备
CN116048341B (zh) * 2022-07-28 2023-09-15 荣耀终端有限公司 一种多屏协同方法及电子设备

Also Published As

Publication number Publication date
CN112751954B (zh) 2022-08-26
CN112751954A (zh) 2021-05-04

Similar Documents

Publication Publication Date Title
WO2021129326A1 (zh) 一种屏幕显示方法及电子设备
WO2020168965A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
WO2020224449A1 (zh) 一种分屏显示的操作方法及电子设备
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2021082564A1 (zh) 一种操作提示的方法和电子设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021052290A1 (zh) 一种音量调节方法及电子设备
WO2021104008A1 (zh) 一种折叠屏的显示方法及相关装置
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2021063237A1 (zh) 电子设备的控制方法及电子设备
WO2021052279A1 (zh) 一种折叠屏显示方法及电子设备
WO2021169337A1 (zh) 屏下指纹显示方法及电子设备
WO2020173370A1 (zh) 一种应用图标的移动方法及电子设备
WO2021057343A1 (zh) 一种对电子设备的操作方法及电子设备
WO2021063098A1 (zh) 一种触摸屏的响应方法及电子设备
CN110543287A (zh) 一种屏幕显示方法及电子设备
CN112740152B (zh) 手写笔检测方法、系统及相关装置
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2021052407A1 (zh) 一种电子设备操控方法及电子设备
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2022042770A1 (zh) 控制通信服务状态的方法、终端设备和可读存储介质
WO2021082815A1 (zh) 一种显示要素的显示方法和电子设备
WO2021238370A1 (zh) 显示控制方法、电子设备和计算机可读存储介质
WO2021057699A1 (zh) 具有柔性屏幕的电子设备的控制方法及电子设备

Legal Events

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

Ref document number: 20880785

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

Country of ref document: EP

Kind code of ref document: A1