WO2022048453A1 - 解锁方法及电子设备 - Google Patents

解锁方法及电子设备 Download PDF

Info

Publication number
WO2022048453A1
WO2022048453A1 PCT/CN2021/113610 CN2021113610W WO2022048453A1 WO 2022048453 A1 WO2022048453 A1 WO 2022048453A1 CN 2021113610 W CN2021113610 W CN 2021113610W WO 2022048453 A1 WO2022048453 A1 WO 2022048453A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
mobile phone
target device
user
screen
Prior art date
Application number
PCT/CN2021/113610
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 WO2022048453A1 publication Critical patent/WO2022048453A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present application relates to the technical field of terminal devices, and in particular, to an unlocking method and an electronic device.
  • terminal devices With the rapid development of terminal technologies, more and more functions can be implemented by terminal devices. For example, more and more applications are installed on terminal devices, and the functions of the applications are also more and more abundant.
  • the embodiments of the present application provide an unlocking method and an electronic device, which can solve at least one technical problem related to the prior art.
  • an embodiment of the present application provides an unlocking method, which is applied to an electronic device, and the unlocking method includes:
  • the display interface of the display screen includes one or more device identifiers, and the device identifiers are identifiers of peripheral devices that can be connected to the electronic device and/or connected peripheral devices;
  • the target device identifier is any one of the one or more device identifiers
  • the embodiment of the first aspect of the present application enables the user to quickly unlock the electronic device and enable the shortcut path for the target device by displaying the device identifiers of the peripheral devices in the screen-on-screen display interface, thereby improving the efficiency of cross-device interaction under the screen-on screen.
  • the distribution of the one or more device identifiers in the information screen display interface is mapped according to the spatial relationship between each of the peripheral devices and the electronic device.
  • the distribution of device identifiers is mapped according to the spatial relationship between peripheral devices and electronic devices, allowing users to quickly and accurately select the target device identifier, start a shortcut path for the target device, and improve the efficiency of cross-device interaction under the screen. and accuracy.
  • the spatial relationship includes a spatial relationship of positioning and/or orientation.
  • the spatial relationship includes a spatial relationship of positioning and orientation
  • the spatial relationship includes a distance between each of the peripheral devices and the electronic device, and each of the The angle between the connection line between the peripheral device and the electronic device and the orientation of the electronic device.
  • the information screen display interface further includes an orientation identifier of the electronic device.
  • the orientation of the electronic device is identified through the visualization of the screen-on-screen display interface, so that the user can quickly match the distribution of the device identifiers on the screen-on screen display interface with the actual scene, which improves the operation efficiency and accuracy.
  • the enabling of the shortcut path corresponding to the target device identifier includes:
  • the touch operation includes a finger pressing operation
  • the user identity authentication includes user identity authentication based on fingerprint recognition
  • the one or more device identifiers satisfy a first condition, where the first condition includes an upper limit of the number of device identifiers, and/or peripheral devices corresponding to the device identifiers
  • the deviation angle from the electronic device is less than or equal to the maximum deviation angle.
  • the number of device identifiers displayed in the information screen display interface is reduced, which can prevent the user from mistakenly selecting a target device due to overlapping of device identifiers when there are too many peripheral devices, and improves the accuracy of interaction.
  • an unlocking device configured in an electronic device, and the unlocking device includes:
  • the receiving module is used for receiving the touch operation input by the user in the information screen display interface, the information screen display interface includes one or more device identifiers, and the device identifiers are peripheral devices and/or connected peripheral devices that can be connected to the electronic device. Identification of peripheral equipment;
  • an authentication module configured to initiate user identity authentication if it is determined that the touch operation acts on a target device identifier; the target device identifier is any one of the one or more device identifiers;
  • the unlocking module is used for unlocking and enabling the shortcut path corresponding to the target device identification if the user identity authentication is passed.
  • the distribution of the one or more device identifiers in the information screen display interface is mapped according to the spatial relationship between each of the peripheral devices and the electronic device.
  • the spatial relationship includes a spatial relationship of positioning and/or orientation.
  • the spatial relationship includes a spatial relationship of positioning and orientation
  • the spatial relationship includes the distance between each of the peripheral devices and the electronic device, and each of the The angle between the connection line between the peripheral device and the electronic device and the orientation of the electronic device.
  • the information screen display interface further includes an orientation identifier of the electronic device.
  • the unlocking module is specifically used for:
  • the touch operation includes a finger pressing operation
  • the user identity authentication includes user identity authentication based on fingerprint recognition
  • the one or more device identifiers satisfy a first condition, where the first condition includes an upper limit of the number of device identifiers, and/or peripheral devices corresponding to the device identifiers
  • the deviation angle from the electronic device is less than or equal to the maximum deviation angle.
  • an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program , so that the electronic device implements the method according to any one of the first aspect and possible implementation manners of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the first aspect and the first aspect are possible Implement the method described in any one of the modes.
  • an embodiment of the present application provides a computer program product that, when the computer program product runs on an electronic device, enables the electronic device to execute the method described in any one of the first aspect and the possible implementation manners of the first aspect. .
  • FIG. 1 is a schematic diagram of an information screen display interface of a mobile phone provided by an embodiment of the present application
  • FIG. 2A is a schematic structural diagram of a positioning system provided by an embodiment of the present application.
  • 2B is a schematic diagram of a positioning principle provided by an embodiment of the present application.
  • FIG. 2C is a schematic diagram of an orientation principle provided by an embodiment of the present application.
  • 2D is a schematic diagram of another orientation principle provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 4 is a software architecture diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a first application scenario provided by an embodiment of the present application.
  • 6A is a schematic diagram of a mobile phone-setting interface provided by an embodiment of the present application.
  • 6B is a schematic diagram of another setting interface of the mobile phone provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a mobile phone-setting interface provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another setting interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 9A is a schematic diagram of an on-screen display interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 9B is a schematic diagram of an on-screen display interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 10 is a third application scenario provided by an embodiment of the present application.
  • FIG. 11A is a schematic diagram of an on-screen display interface of a mobile phone according to an embodiment of the present application.
  • 11B is a schematic diagram of a mobile phone displaying a TV control panel interface provided by an embodiment of the present application.
  • FIG. 12A is a schematic diagram of an on-screen display interface of a mobile phone provided by an embodiment of the present application.
  • 12B is a schematic diagram of adjusting a display interface of a tablet computer on a mobile phone according to an embodiment of the present application
  • FIG. 13A is a schematic diagram of the positioning of a first mobile phone, a TV and a tablet computer in a third application scenario
  • 13B is a schematic diagram of the angle between the first mobile phone and the TV in the third application scenario
  • 13C is another schematic diagram of the angle between the mobile phone and the TV in the third application scenario
  • 13D is a schematic diagram of the orientation of the mobile phone in the third application scenario
  • Figure 14 is a schematic diagram of the scene change of the third application scene before and after the mobile phone is rotated counterclockwise;
  • Figure 15 is a schematic diagram of the change of the display interface of the one-touch screen before and after the mobile phone is rotated counterclockwise in the third application scenario;
  • 16 is a schematic diagram of the change of another screen display interface before and after the mobile phone is rotated counterclockwise in the third application scenario;
  • 17 is a flowchart of an implementation of an unlocking method provided by an embodiment of the present application.
  • FIG. 18 is an implementation flowchart of an unlocking method provided by another embodiment of the present application.
  • the term “comprising” indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other features, integers , step, operation, element, component and/or the presence or addition of a collection thereof.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • the present application provides an unlocking method and an electronic device, which can reduce the complexity of the user's operation and improve the operation efficiency.
  • On-screen display refers to the direct display of time, temperature, date, calendar, caller information, or push messages in part of the screen without lighting the entire screen of an electronic device.
  • FIG. 1 shows a screen display interface of a mobile phone.
  • a part of the screen of the mobile phone is lit up to display the time, date and power.
  • the electronic device when the screen of the electronic device is not fully lit, the electronic device is usually in a locked screen state.
  • Wireless positioning technology refers to a measurement method to obtain mobile location information in various wireless networks, that is, a positioning algorithm.
  • Wireless positioning technologies include, but are not limited to, Ultra Wide Band (UWB), wireless fidelity (Wi-Fi), or Bluetooth (bluetooth, BT).
  • the most commonly used wireless positioning algorithms mainly include: positioning algorithm based on Angle of Arrival (AOA), positioning algorithm based on Time of Arrival (TOA), and positioning algorithm based on Time Difference of Arrival (TDOA) A positioning algorithm, or a positioning algorithm based on Received Signal Strength (RSS), etc.
  • AOA Angle of Arrival
  • TOA Time of Arrival
  • TDOA Time Difference of Arrival
  • RSS Received Signal Strength
  • multiple positioning algorithms can be combined for positioning.
  • the localization algorithms of TOA and TDOA Due to the high temporal resolution of UWB signals, the localization algorithms of TOA and TDOA have higher accuracy than other localization algorithms. At present, the more effective solution for UWB positioning is to use the hybrid positioning algorithm of TOA and TDOA. Because the two positioning algorithms complement each other and combine the advantages of the two positioning algorithms, high positioning accuracy can be achieved.
  • the embodiments of the present application take the UWB positioning technology based on the TOA positioning algorithm as an example for description. It should be understood that the use of the UWB positioning technology cannot be construed as a specific limitation to the present application, and all positioning methods that can implement the technical solutions of the present application can be used in the present application.
  • the TOA positioning algorithm means that the base station sends a specific ranging command or command signal to the electronic device, and requires the electronic device to respond to the command.
  • the base station will record the time from sending the ranging command to receiving the confirmation signal from the electronic device, which is mainly determined by the propagation delay of the radio frequency signal (such as UWB signal) on the loop, the response delay of the electronic device and the processing delay , and the processing delay of the base station. If the response and processing delay of the electronic equipment and the base station can be accurately obtained, the loop propagation delay of a radio frequency signal (such as a UWB signal) can be calculated. Because radio waves travel in the air at the speed of light, the distance between the base station and the electronic device can be estimated. When there are three base stations participating in the measurement, the location (eg UWB signal) can be determined according to the triangulation method.
  • the UWB positioning system includes: 3 base stations carrying UWB modules (may be referred to as UWB base stations) and mobile phones carrying UWB modules (ie tags to be positioned).
  • UWB base stations need to be installed in the environment in advance.
  • three UWB base stations are installed, namely a first UWB base station 21 , a second UWB base station 22 and a third UWB base station 23 . Relying on three UWB base stations, the mobile phone 20 in the environment is positioned.
  • UWB orientation can be implemented in the following two ways.
  • the first is the AOA measurement method, in which a UWB device that needs to be directed uses multiple antennas, while a UWB base station or a device that the UWB base station relies on uses only one antenna.
  • the UWB base station transmits special data packets through a single antenna through a low-power transmitter.
  • the surrounding low-power receivers such as mobile phone receivers, have multiple antennas arranged in an array. Since the distances between multiple antennas and the transmitter are different, each antenna of the receiver will find the received signal phase difference , and finally calculate the relative direction of the signal through data calculation, for example, the angle of the mobile phone relative to the UWB base station is ⁇ .
  • the second is the angle of departure or angle of departure (AOD) measurement method.
  • AOD angle of departure or angle of departure (AOD) measurement method.
  • the UWB device that needs to be oriented uses only one antenna, while the UWB base station or the equipment that the UWB base station relies on uses multiple antennas.
  • the mobile phone can receive signals through the low-power receiver, and the UWB base station sends special data packets when switching between the arrayed active antennas through the low-power transmitter.
  • the receiver of the mobile phone obtains IQ samples from the received signal, understands the antenna arrangement in the transmitter, and finally calculates the relative direction of the signal through the data.
  • the angles of the mobile phone relative to the two UWB base stations are ⁇ 1 and ⁇ 2 respectively.
  • UWB orientation technology Through UWB orientation technology, the angle of the mobile phone relative to electronic devices such as TVs, smart speakers, and tablet computers that carry UWB modules can be calculated.
  • the unlocking methods provided in the embodiments of the present application can be applied to electronic devices, including but not limited to mobile phones with touch display screens, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (virtual reality, VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, tablets, smart speakers, or TVs, etc.
  • electronic devices including but not limited to mobile phones with touch display screens, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (virtual reality, VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, tablets, smart speakers, or TVs, etc.
  • AR augmented reality
  • VR virtual reality
  • UMPCs ultra-mobile personal computers
  • the electronic device may include a portable, handheld or mobile electronic device, such as a mobile phone, a tablet computer, a wearable device, or a portable game console, and the like.
  • FIG. 3 shows a schematic structural diagram of the electronic device 100 by taking a mobile phone as an example.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • 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 light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • 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 (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) 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 (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • 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 electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • 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 may be provided in the same device as at least part of the modules of the processor 110 .
  • 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.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation 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 electronic device 100 including wireless local area networks (WLAN) (such as Wi-Fi networks), BT, global navigation satellite system (GNSS), frequency modulation (frequency). modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR), UWB communication technology and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT global navigation satellite system
  • GNSS global navigation satellite system
  • frequency modulation frequency
  • FM near field communication technology
  • NFC near field communication technology
  • infrared technology infrared, IR
  • UWB communication technology UWB communication technology and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, UWB, and/or IR technology, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • 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 electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for incoming call vibration alerts, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 as an example.
  • FIG. 4 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • 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 may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGLES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGLES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • the workflow of the software and hardware of the electronic device 100 is exemplified.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into raw input events (including touch coordinates, timestamps of touch operations, etc.).
  • Raw input events are stored at the kernel layer.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event.
  • the first application scenario is the scenario of unlocking the mobile phone under the screen-on display, and entering a specific function or specific application of the mobile phone.
  • the mobile phone uses off-screen fingerprint recognition for user identity authentication.
  • the mobile phone is a mobile phone that supports full-screen fingerprint recognition.
  • one block is the first block 51, and one block is the second block 52.
  • the mobile phone When the user is ready to pay with the mobile phone at the convenience store, the mobile phone receives the user's finger, such as the left or right thumb, etc., the pressing operation of the first block 51 shown in Figure A in FIG. After the identity authentication is successful, the mobile phone is unlocked, and the information screen display interface directly enters the payment code interface provided by applications such as Alipay TM , WeChat TM , or financial clients.
  • the payment code interface may be as shown in Figure B in Figure 5, and the payment code adopts a two-dimensional code.
  • the phone After paying for a period of time, the phone will automatically lock the screen and display the interest screen display interface.
  • the user walks out of the convenience store, if the user wants to quickly check the chat messages of instant messaging applications such as WeChat TM .
  • the mobile phone receives the user's finger, such as the thumb of the left hand or the right hand, and the pressing operation in the second block 52 shown in Figure A in FIG.
  • the interface directly enters the display interface of the chat information list.
  • the display interface of the chat information list may be as shown in Figure C in FIG. 5 .
  • the mobile phone determines that the user is willing to unlock the mobile phone according to the detected user operations, such as the user picking up or shaking the mobile phone, pressing mechanical buttons such as the power button or volume button, touching or tapping the screen, etc.
  • the user presses the fingerprint in the first block 51 to prepare to unlock the mobile phone.
  • the mobile phone collects the user's fingerprint according to the user's pressing operation on the first area 51 and authenticates the fingerprint.
  • the mobile phone lights up and presents the payment code display interface.
  • the mobile phone can automatically enter the lock screen state, or enter the lock screen state according to the lock screen operation input by the user (such as pressing the power button, etc.).
  • the screen of the mobile phone is turned off (that is, the screen is black), and after the screen of the mobile phone is off for a period of time, the user wants to view the chat message.
  • the mobile phone presents an on-screen display interface, the user presses the fingerprint on the second block 52 of the on-screen display interface to unlock the mobile phone, the mobile phone lights up, and the display interface for the chat information list is presented.
  • the mobile phone performs fingerprint recognition according to the received user's pressing operation.
  • the fingerprint recognition is passed, the user identity authentication is successful, and the mobile phone enters the function or application interface corresponding to the block.
  • the payment code interface uses a two-dimensional code as the payment code.
  • the payment code interface may also use a barcode, or a combination code of a barcode and a two-dimensional code, etc., as the payment code.
  • the embodiment of the present application does not specifically limit the specific presentation form of the payment code.
  • the unlocking area is divided on the terminal screen that supports full-screen fingerprints in combination with the visual feedback displayed on the information screen, and each area is used as a shortcut path for entering a specific function or application.
  • the user can quickly enter specific functions or applications through fingerprint unlocking, thereby achieving the purpose of improving user operation efficiency.
  • the number of blocks included in the information screen display interface, and/or the function or application corresponding to each block can be set by default by the system, or can be set by the user.
  • the electronic device may provide a setting interface for the shortcut path, and the user may modify or edit the number of blocks in the information screen display interface on the setting interface, and/or the specific function corresponding to each block or application, which is not limited in this application.
  • the shortcut path setting interface 61 of the mobile phone provides 6 optional shortcut paths, and each shortcut path corresponds to a bar-shaped control.
  • the upper left block corresponds to the bar control 611
  • the lower left block corresponds to the bar control 612 .
  • the mobile phone receives the click operation that the user acts on the bar control 611, and determines that the block that the user wants to set this time is the upper left block, and the mobile phone presents the setting interface 62 for the upper left block.
  • the setting interface 62 of the upper left block may include a block layout display area 621 , a system recommendation area 622 , and a user-defined area 623 .
  • the block layout display area 621 is used to display the position of the upper left area in the entire layout, and to visually identify the currently set block, so as to facilitate the user to distinguish different blocks.
  • the upper left block and the other five blocks are displayed in different styles for distinguishing.
  • the system recommendation area 622 is used to display the functions or applications recommended by the system.
  • the ride code function in an application recommended by the system is displayed.
  • the user can click the switch control 6221 in the system recommendation area 622, and the mobile phone can turn on the switch control 6221 according to the user input. , you can set the upper left block to the function or application recommended by the system, that is, the ride code function.
  • the user-defined area 623 is used for user-defined functions or applications corresponding to the upper left block. The user clicks the drop-down menu control 6231 in the user-defined area 623, and can select a function or application in the drop-down menu list as the function or application corresponding to the upper left block.
  • the mobile phone receives the user's click operation on the bar control 612, determines that the block that the user wants to set this time is the lower left block, and the mobile phone presents the setting interface 63 for the lower left block.
  • the setting interface 63 of the lower left block may include a block layout display area 631 , a system recommendation area 632 , and a user-defined area 633 .
  • the block layout display area 631 is used to display the position of the lower left area in the entire layout, and to visually identify the currently set block, so as to facilitate the user to distinguish different blocks.
  • the display styles of the lower left block and the other five blocks are different for distinguishing.
  • the system recommendation area 632 is used to display the functions or applications recommended by the system.
  • the payment code function in an application recommended by the system is displayed.
  • the user can click the switch control 6321 in the system recommendation area 632, and the mobile phone can turn on the switch control 6321 according to the user input. Click the operation to set the lower left block to the function or application recommended by the system, that is, the payment code function.
  • the user-defined area 633 is used for user-defined functions or applications corresponding to the lower left block.
  • the shortcut path setting interface 61 includes 6 optional shortcut paths, wherein two blocks are set with corresponding shortcut paths.
  • the lower left block is set to correspond to the payment code function
  • the middle right block is set to the chat information list corresponding to an application.
  • the user can activate the lower left block and the middle right block on the screen-in display interface to enter the respective functions or applications of the blocks, for example, see the example shown in FIG. 5 .
  • the two blocks may be displayed on the screen-on-screen display interface, and other blocks that do not have corresponding functions or applications are not displayed. block.
  • the shortcut path setting interface 71 of the mobile phone provides a variety of optional block layout forms, and different block layout forms can be switched through user operations.
  • the layout form of four blocks is displayed in the layout display area 711 .
  • the user can click the right control 7111 in the layout display area 711 or input a right sliding touch operation.
  • the user can click the left control 7112 in the layout display area 711 or input a left sliding touch operation, and the mobile phone switches to include 3 according to the received click operation on the left control 7112 or the left sliding touch operation input by the user.
  • the user can gradually increase the number of blocks displayed in the layout display area by inputting the first direction multiple times, such as a sliding touch operation to the right; A direction in the opposite direction, such as a sliding touch operation to the left, reduces the number of blocks displayed in the layout display area.
  • the user can input the first direction multiple times, such as a sliding touch operation to the right, to gradually decrease the number of blocks displayed in the layout display area; the user can input a direction opposite to the first direction by multiple inputting , such as a left sliding touch operation to gradually increase the number of blocks displayed in the layout display area.
  • the layout display area 711 in the shortcut path setting interface 71 displays the layout form of four blocks.
  • the user can move any block by long pressing to change the layout.
  • the display position of the block also changes the layout of the block.
  • the mobile phone receives the user's long-press moving touch operation on the block 7113, and changes the position of the block 7113 to the target position, which is the up position of the long-pressing and moving touch operation.
  • the layout display area 711 in the shortcut path setting interface 71 displays the layout form of four blocks, and the user can press and hold any block to perform functions for that block. or the settings of the application. That is to say, the mobile phone can enter the setting interface of the block according to the long-press operation on any block input by the user, and set the function or application corresponding to the block in the setting interface of the block.
  • the setting interface of the block may be similar to the setting interface 62 of the upper left block shown in FIG. 6A or the setting interface 63 of the lower left block shown in FIG. 6B .
  • the user can customize the number and/or layout of blocks displayed in the on-screen display interface.
  • FIGS. 6A , 6B, 7 and 8 are merely exemplary descriptions. In actual use, the user interface may include more or less interface elements than those shown in FIG. 6A , FIG. 6B , FIG. 7 and FIG. 8 , and the interface layout may also be different.
  • a rectangle is used as the identifier of each shortcut path.
  • icons, patterns and/or texts corresponding to functions or applications may also be used as identifiers of shortcut paths.
  • icons or patterns corresponding to functions or applications are used as identifiers of shortcut paths, which is convenient for users to distinguish between shortcut paths, lowers user operation threshold, and improves operation accuracy.
  • FIG. 9A and FIG. 9B icons or patterns corresponding to functions or applications are used as identifiers of shortcut paths, which is convenient for users to distinguish between shortcut paths, lowers user operation threshold, and improves operation accuracy.
  • the icon 91 in the information screen display interface corresponds to the calculator application
  • the icon 92 corresponds to the music player application
  • the icon 93 corresponds to the mail application
  • the icon 94 corresponds to the WeChat TM application
  • the pattern 95 corresponds to a QR code payment function in the app.
  • the user can enter the calculator application interface after unlocking the mobile phone by pressing the screen area where the icon 91 is displayed.
  • the user can enter the music player application after unlocking the mobile phone by pressing the screen area where the icon 92 is displayed.
  • the user can enter the mailbox application after unlocking the mobile phone by pressing the screen area where the icon 93 is displayed.
  • the user can enter the WeChat TM application after unlocking the phone by pressing the screen area where the icon 94 is displayed.
  • the user can enter the two-dimensional code payment interface of an application after unlocking the mobile phone by pressing the screen area where the pattern 95 is displayed.
  • the shortcut path identifiers in the on-screen display interface are displayed in different areas of the screen.
  • the display area of the shortcut path identification can be set according to system settings or user-defined settings.
  • the screen of the mobile phone is relatively large.
  • the screen-on-display interface can be displayed in the lower area of the screen as shown in FIG. 9B according to system default settings or user-defined settings.
  • the screen of the mobile phone is relatively large.
  • the shortcut path identifier can be displayed on the left or the lower part of the screen according to the detected holding state of the left or right hand. area on the right.
  • the display area can be changed by the shortcut path identifier in the screen-on-screen display interface.
  • other contents in the screen-on-screen display interface can also change the display area.
  • the displayed area is changed every preset time period The display position of the content; for another example, the display position of the content displayed in the screen-on-screen display interface is different from the previous display position.
  • the mobile phone determines the function or application corresponding to each block according to a combination of one or more of the installed application or function user's usage habits, consumed traffic, and scene information.
  • the user's usage habits may include usage rules, usage duration and/or usage frequency, and the like.
  • the scene information includes location information and/or motion state information, and the like.
  • the mobile phone can sort the applications and/or functions according to the usage time, usage times, or data consumption of the applications or functions in a certain period of time in the past.
  • the top-ranked apps and/or functions have a greater probability that the user wants to use them after unlocking, compared to the bottom-ranked apps and/or functions.
  • the mobile phone can set 6 shortcut paths by default.
  • the mobile phone analyzes the user's historical usage data and obtains the usage rate ranking of the application and/or function in the last week.
  • the top 6 applications and/or functions are ranked as follows: WeChat TM , WeChat Payment codes for blog, news, music, phone and AlipayTM . Therefore, the mobile phone sets the above-mentioned 6 applications and functions as shortcut paths, and displays the respective identifiers of the 6 shortcut paths on the information screen display interface for the user to select, so as to facilitate the user to quickly enter the application and/or function.
  • the mobile phone can count daily usage patterns of applications and/or functions according to daily usage records of applications or functions within a certain period of time in the past.
  • the time period in which the mobile phone is intensively used in a day may include N time periods, for example, 5 time periods and the like.
  • the usage duration of each application and/or function is recorded, and the applications and/or functions are sorted according to the usage duration.
  • the top-ranked apps and/or functions are more likely to be apps and/or functions that the user wants to use after unlocking than the bottom-ranked apps and/or functions. Therefore, , and set the top M (M is a positive integer) applications and/or functions as the shortcut paths of the time period.
  • the mobile phone analyzes the user's historical usage data, and obtains that there are 4 time periods for intensive use of the mobile phone every day, such as 8:00 to 10:00, 12:00 to 13:30, 18:00 to 20:00, and 20:30 to 20:00.
  • the usage rate of each application and/or function in these 4 time periods is counted separately, and the ranking is based on the usage rate.
  • the mobile phone sets the top M (M is a positive integer) applications and/or functions as shortcuts.
  • Path the respective identifiers of the shortcut paths are displayed on the information screen display interface for the user to select, and it is convenient for the user to quickly enter the application and/or function. It should be noted that the number of shortcut paths corresponding to the four time periods may be the same or different, which is not limited in this application.
  • the mobile phone may determine the current location of the user according to the positioning, and determine the environment where the user is located according to the current location of the user, such as shopping malls, airports, homes, subways, or movie theaters.
  • the mobile phone displays the shortcut path associated with the scene on the information screen display interface according to the scene where the user is located.
  • the mobile phone locates the current location, determines that the user's environment is a shopping mall according to the current location, and the mobile phone sets shopping applications and payment functions as shortcut paths. Icons or patterns corresponding to shopping applications and payment functions are displayed on the information screen display interface for the user to select, so that the user can quickly enter the application and/or function.
  • the mobile phone locates the current location, determines that the user's environment is home according to the current location, and the mobile phone sets applications or functions for controlling home equipment, reading applications, and music playing applications as shortcut paths. Icons or patterns corresponding to applications or functions for controlling home equipment, reading applications, and music playing applications are displayed on the information screen display interface for users to choose from, so that users can quickly enter applications and/or functions.
  • the mobile phone may acquire motion state information of the mobile phone according to the positioning, and/or acceleration sensor, and/or gyro sensor, etc., and may determine the motion state of the user according to the motion state information, such as running, walking or riding Cars, etc., the mobile phone displays the shortcut path associated with the motion status information on the information screen display interface.
  • the mobile phone determines that the current movement speed is slow, and judges that the user is in a jogging state, and the mobile phone sets the exercise management application and the music playback application as the shortcut path.
  • Icons or patterns corresponding to sports management applications, music playing applications, or music control functions are displayed on the screen display interface for the user to select, so as to facilitate the user to quickly enter the application and/or function.
  • the second application scenario is the scenario of unlocking the mobile phone under the screen-on display, and entering a specific function or specific application of the mobile phone.
  • the mobile phone performs user identity authentication by starting the camera for face recognition.
  • the mobile phone is a mobile phone that supports face recognition.
  • one block is the first block 51, and one block is the second block 52.
  • the mobile phone When the user prepares to pay with the mobile phone in the convenience store, and the mobile phone monitors the user's finger or stylus, etc., the mobile phone starts the front camera 53 to capture the user's face in the touch screen operation in the first block 51 shown in Figure A in FIG. 5 .
  • the phone After the face recognition is passed, that is, the user identity authentication is successful, the phone is unlocked, and the information screen display interface directly enters the payment code interface provided by applications such as Alipay TM , WeChat TM , or financial clients.
  • the payment code interface may be as shown in Figure B in Figure 5, and the payment code adopts a two-dimensional code.
  • the phone After paying for a period of time, the phone locks the screen and displays the interest screen display interface.
  • the mobile phone monitors the user's finger or stylus, etc., in the touch screen operation of the second block 52 shown in Figure A in Figure 5, the mobile phone starts the front camera 53 to capture the user's face image, and waits for the face recognition to pass, that is, the user's identity.
  • the mobile phone After the authentication is successful, the mobile phone is unlocked, and the mobile phone can directly enter the display interface of the chat information list from the information screen display interface.
  • the display interface of the chat information list may be as shown in Figure C in FIG. 5 .
  • the second application scenario uses a different user authentication method from the first application scenario, and the rest of the process is the same as the first application scenario, which will not be repeated here.
  • the third application scenario is an application scenario of cross-device interaction.
  • the user is sitting on the sofa at home. At this time, he is holding a mobile phone, his tablet is on the left, the TV is in front, the smart speaker is on the right, and a spare mobile phone is on the left of the sofa.
  • it includes a first mobile phone 1010, a TV 1020, a smart speaker 1030, a tablet computer 1040, and a second mobile phone 1050 (ie, a backup mobile phone) held by the user.
  • the first mobile phone 1010 is used as a search device, and other devices are used as connectable devices as an example for description.
  • the first mobile phone 1010 may establish a communication connection with one or more of the other devices.
  • Other devices include a TV 1020 , a smart speaker 1030 , a tablet 1040 and a second cell phone 1050 .
  • the second mobile phone 1050 can be used as a search device, and the first mobile phone 1010 can be used as a connectable device.
  • the roles of the devices can be interchanged, which is not limited in this application, and is only an exemplary description here.
  • the first mobile phone 1010 is a search device that searches for connectable devices around, and the first mobile phone 1010 can use the wireless communication technology supported by the device to communicate with any of the searched surrounding connectable devices or multiple for wireless communication.
  • the wireless communication technologies supported by the device include but are not limited to Wi-Fi, BT, IR, GPS, High Performance Radio LAN (HiperLAN), Radio Frequency (RF), Wireless USB (Wireless USB, WUSB) , or UWB etc. It should be understood that in practical applications, other wireless communication technologies may also be used, or wired communication technologies may also be used.
  • the first mobile phone 1010 can perform wireless communication with other peripheral devices as an example for illustration, that is, the first mobile phone 1010 can communicate with the TV 1020, the smart speaker 1030, the tablet computer 1040 and the second mobile phone. 1050 A wireless communication connection is established.
  • the first mobile phone 1010 After the first mobile phone 1010 establishes a wireless communication connection with the TV 1020, the smart speaker 1030, the tablet computer 1040 and the second mobile phone 1050, respectively, the first mobile phone 1010 and the TV 1020, the first mobile phone 1010 and the smart speaker 1030, and the first mobile phone can be realized.
  • the on-screen display interface of the first mobile phone 1010 may display device identifiers of at least part of the connectable devices.
  • the device ID is used as the shortcut path ID.
  • the connectable device is a connectable peripheral device searched by the first mobile phone 1010 .
  • the user can select a connectable device in the on-screen display interface of the first mobile phone 1010, which is called a target device.
  • the first mobile phone 1010 activates fingerprint recognition or face recognition according to the user's pressing operation on the device identification of the target device, so as to unlock the first mobile phone 1010 . After the unlocking is successful, the first mobile phone 1010 establishes a wireless communication connection with the target device, and enables a shortcut path associated with the target device.
  • the device identifiers of at least part of the connected devices may be displayed on the screen-of-interest display interface of the first mobile phone 1010 .
  • the device ID is used as the shortcut path ID.
  • the connected device is a peripheral device that has established a wireless connection with the first mobile phone 1010 .
  • the user can select a connected device in the on-screen display interface of the first mobile phone 1010, which is called a target device.
  • the first mobile phone 1010 activates fingerprint recognition or face recognition according to the user's pressing operation on the device identification of the target device, so as to unlock the first mobile phone 1010 . After the unlocking is successful, the first mobile phone 1010 can enable the shortcut path associated with the target device.
  • the device identification includes, but is not limited to, a combination of one or more of patterns and texts.
  • Patterns include, but are not limited to, regular geometric patterns, irregular patterns, pictures, or engineering drawings.
  • the pattern can be an outline drawing or an appearance diagram of a connectable device, and the like.
  • the pattern can also be dots or any geometric pattern.
  • Text includes, but is not limited to, a combination of one or more of letters, numbers, words, and symbols (eg, emoticons), and the like.
  • the text can take the device name or device type of the connectable device, etc. Type of device such as TV, monitor, tablet or laptop.
  • the text may adopt the friendly name of the connectable device defined by the owner of the device, that is, a name that can be recognized by other devices.
  • the pattern and text corresponding to the same connectable device can be displayed independently.
  • a pattern takes an outline drawing of a connectable device and displays the device name below the outline drawing.
  • patterns and texts corresponding to the same connectable device may be displayed in fusion.
  • the pattern uses a rectangular frame within which the device name is displayed.
  • the device identification may be displayed in a static manner, or may be displayed in a dynamic manner, such as flashing display.
  • the display area of the device identifier in the display interface of the screen can be set by default by the system, or can be set by the user.
  • the display area of the device identification may include the upper area, the lower area, the lower left or right area, and the like of the screen of the electronic device.
  • the device identifiers displayed on the screen display interface, the electronic devices corresponding to these device identifiers are the same as the account logged in by the first mobile phone 1010 .
  • the first mobile phone 1010 may determine the number of device identifiers displayed in the information screen display interface according to system default settings or user-defined settings upper limit, etc.
  • the distribution of device identifiers in the information screen display interface may not be mapped according to the spatial relationship of each connectable device.
  • the distribution of the device identification in the display interface of the screen can be set by default by the system, or can be set by the user.
  • the distribution of the device identifiers may be random distribution or regular interval distribution.
  • the distribution of device identifications can form a regular geometric image, such as lines, triangles, or matrices.
  • the distribution of device identifications can also form irregular curves. For example, when the number of device identifiers is three, the three device identifiers are respectively distributed at three corners of an equilateral triangle; in another example, when there are four device identifiers, four device identifiers are respectively distributed at four corners of the rectangle.
  • the display interface of the first mobile phone 1010 in addition to displaying the time, date and power, four connectable
  • the respective device identifiers of the devices that is, the respective device identifiers corresponding to the TV 1020 , the smart speaker 1030 , the tablet computer 1040 , and the second mobile phone 1050 .
  • the distribution of the four device IDs forms a regular rectangle.
  • the device identifier 1102 corresponds to the TV 1020
  • the device identifier 1103 corresponds to the smart speaker 1030
  • the device identifier 1104 corresponds to the tablet computer 1040
  • the device identifier 1105 corresponds to the second mobile phone 1050 .
  • the device outline drawing is used for the device identification.
  • the first mobile phone 1010 detects that the user presses the area where the device identification 1102 is displayed in FIG.
  • the first mobile phone 1010 is unlocked, a wireless communication connection with the TV 1020 is established, and the TV control panel interface is entered.
  • the TV control panel interface 1110 can be as shown in FIG. 11B , and the user can control the TV 1020 to turn on by clicking the power-on control 1111 in the TV control panel interface 1110 .
  • the first mobile phone 1010 is unlocked, a wireless communication connection with the TV 1020 is established, and the TV 1020 is controlled to be turned on according to the established wireless communication connection.
  • the first mobile phone 1010 is unlocked and a wireless communication connection with the TV 1020 is established.
  • the first mobile phone 1010 controls the TV 1020 to turn on according to the established wireless communication connection, and enters the TV control panel interface. It should be understood that, after the user identity is passed, the operation performed by the first mobile phone 1010 is determined by the system default setting or the shortcut path of the user-defined setting.
  • the implementation manner in which the first mobile phone 1010 controls the TV 1020 to turn on may include the following two non-limiting examples.
  • the first mobile phone 1010 receives a user operation. For example, the user presses the device ID 1102 corresponding to the TV 1020 and successfully unlocks the first mobile phone 1010; 1010 generates a corresponding boot command, and based on the communication connection established between the first mobile phone 1010 and the TV 1020, the first mobile phone 1010 sends the control command to the TV 1020, so as to control the TV 1020 to turn on through the first mobile phone 1010 of the mobile phone.
  • the first mobile phone 1010 is operated according to the user, for example, the user presses the device ID 1102 corresponding to the TV 1020 and successfully unlocks the first mobile phone 1010; another example, the user clicks the power-on control in the TV control panel interface, the first mobile phone 1010 Generate a control command, send the control command to the cloud, such as the smart home cloud, the smart home cloud obtains the current state of the TV 1020 based on the communication connection established between the first mobile phone 1010 and the TV 1020, forwards the control command to the TV 1020, and obtains the information of the TV 1020. The execution result is returned to the first mobile phone 1010 .
  • the cloud such as the smart home cloud
  • the device identifiers corresponding to the connected devices that is, the device identifiers corresponding to the smart speaker 1030 and the tablet computer 1040 respectively.
  • the distribution of the 2 device IDs is random.
  • the device identifier 1203 corresponds to the smart speaker 1030
  • the device identifier 1204 corresponds to the tablet computer 1040 .
  • the device outline drawing is used for the device identification.
  • the first mobile phone 1010 when the first mobile phone 1010 detects that the user presses the area where the device identification 1204 is displayed in FIG. 12A , the first mobile phone 1010 activates fingerprint recognition or face recognition to authenticate the user identity. After the user identity is passed, the first mobile phone 1010 is unlocked, and the unlock interface of the first mobile phone 1010 and the display interface of the tablet computer 1040 are displayed at the same time.
  • the unlocking interface of the first mobile phone 1010 and the display interface of the tablet computer 1040 may be displayed in a split screen, or may be displayed in a superimposed manner. In the case of superimposed display, as an example, as shown in FIG. 12B , the display interface 1214 of the tablet computer 1040 can be superimposed and displayed on the unlocking interface 1211 of the first mobile phone 1010 in the form of a floating window.
  • the first mobile phone 1010 after the first mobile phone 1010 is successfully unlocked, it sends a screen projection instruction to the tablet computer 1040 according to the established wireless communication connection, and the tablet computer 1040 projects the display interface to the first mobile phone 1010 according to the screen projection instruction.
  • the display interface of the tablet computer is directly invoked across the devices on the first mobile phone 1010 . It can realize the flow of the display interface of the tablet computer to the mobile phone for display and operation.
  • the display interface of the tablet computer that can be activated by the first mobile phone 1010 may be set by the user of the tablet computer or set by default by the system of the tablet computer.
  • the first mobile phone 1010 continues to play music in the locked screen state, when the first mobile phone 1010 detects that the user presses the area where the device identification 1203 is displayed in FIG. 12A , the first mobile phone 1010 activates fingerprint recognition or face recognition to authenticate the user. After the user identity is passed, the first mobile phone 1010 is unlocked, and the music being played by the first mobile phone 1010 is projected to the smart speaker 1030 .
  • the distribution of the device identifiers in the information screen display interface may be mapped according to the spatial relationship of the electronic devices.
  • Spatial relationships include spatial relationships of positioning and/or orientation.
  • the first mobile phone 1010 acquires the spatial relationship between the peripheral electronic devices (including one or more of the TV 1020 , the smart speaker 1030 , the tablet computer 1040 and the second mobile phone 1050 ) and the first mobile phone 1010 .
  • the spatial relationship includes distance and included angle.
  • the distance refers to a relative or absolute distance between each peripheral electronic device and the first mobile phone.
  • the included angle is the included angle between the connection line between each peripheral electronic device and the first mobile phone and the orientation of the first mobile phone.
  • the distance and the included angle between the first mobile phone and the surrounding electronic devices can be calculated.
  • the directivity of the UWB technology when the orientation of the first mobile phone changes, the angle between the first mobile phone and the surrounding electronic devices changes accordingly.
  • the angle between the first mobile phone and the peripheral electronic device and the clockwise rotation from the line where the first mobile phone is facing is used as the angle for calculating the size of the included angle.
  • Exemplary description It should be understood that it should not be construed as a specific limitation to the present application.
  • point A represents the positioning point of the first mobile phone 1010
  • point B represents the positioning point of the TV 1020
  • the distance between point A and point B is a
  • point C represents The positioning point of the tablet computer 1040, the distance between point A and point C is b.
  • the orientation of the first mobile phone 1010 is the direction shown by the arrow X in FIG. 13A
  • the line where the arrow X is located is rotated clockwise by an angle ⁇ 1 to the line connecting point A and point B, and the angle ⁇ 1 is the distance between the TV 1020 and the first point B.
  • the angle between the connection line of the mobile phone 1010 and the straight line where the first mobile phone 1010 faces may be simply referred to as the angle between the first mobile phone 1010 and the TV 1020 .
  • the line where the arrow X is located is rotated clockwise by an angle ⁇ 2 to the line connecting point A and point C.
  • the angle ⁇ 2 is the included angle between the line connecting the tablet computer 1040 and the first mobile phone 1010 and the line where the first mobile phone 1010 is facing. It is referred to as the angle between the first mobile phone 1010 and the tablet computer 1040 for short.
  • the device identifiers in the information screen display interface of the first mobile phone 1010 are laid out according to the spatial relationship of the surrounding electronic devices. Specifically, the distribution of the device identifiers is mapped according to the spatial relationship between the surrounding electronic devices and the first mobile phone.
  • the orientation of the first mobile phone 1010 may be set to the direction shown by arrow X1 in FIG. 13B , that is, the ray direction along the long side of the top of the first mobile phone is taken as the orientation of the first mobile phone.
  • the included angle between the first mobile phone 1010 and the TV 1020 is ⁇ 1.
  • the orientation of the first mobile phone 1010 may be set to the direction shown by arrow X2 in FIG. 13C . In this case, the included angle between the first mobile phone 1010 and the TV 1020 is ⁇ 2. It should be understood that the orientation of the first mobile phone may be set according to the system default, or may be set by the user.
  • the orientation of the first mobile phone can be selected and set according to requirements and/or habits, and the orientation of the first mobile phone can be set in addition to the arrow directions shown in FIG. 13B and FIG. 13C .
  • This application does not specifically limit the orientation of the first mobile phone.
  • the orientation of the first mobile phone can be set to the direction shown by the arrow X1 in FIG. 13B .
  • the orientation of the mobile phone is exemplified by the ray direction along the long side of the mobile phone. It should be understood that it should not be construed as a specific limitation on the embodiments or implementations of the present application.
  • the distance and/or the included angle between the first mobile phone 1010 and the TV 1020 is used as an exemplary description.
  • the distance and included angle between a mobile phone 1010 can be compared with these examples.
  • the orientation of the first mobile phone 1010 is determined relative to the first mobile phone body, that is, unchanged.
  • the positions of the first mobile phone 1010 and the peripheral electronic devices are not changed, and the body of the first mobile phone 1010 is flipped or rotated, since the orientation of the first mobile phone 1010 relative to the device does not change, the mobile phone 1010 and each of the peripheral electronic devices The angle between them may vary. Since the distribution of device identifiers in the screen-on-screen display interface is mapped according to the spatial relationship between the first mobile phone and surrounding electronic devices, and the spatial relationship includes distance and angle, the distribution of device identifiers in the screen-on-screen display interface will follow the surrounding electronic devices. The angle between the device and the first mobile phone varies.
  • the orientation of the first mobile phone is a ray direction along the long side of the mobile phone as an example for description.
  • the orientation of the first mobile phone 1010 is adjusted from pointing to the TV 1020 shown in the picture A in FIG. 14 to pointing to the tablet computer 1040 shown in the picture B in FIG. 14 .
  • the user holds the body of the first mobile phone 1010 and rotates it by an angle ⁇ counterclockwise, and the facing direction of the first mobile phone 1010 is adjusted from pointing to the TV 1020 to pointing to the tablet computer 1040 .
  • the screen-of-interest display interface of the first mobile phone 1010 changes from that shown in picture A in FIG. 15 to that shown in picture B in FIG. 15 .
  • the orientation of the first mobile phone 1010 is the ray direction along the longitudinal direction of the mobile phone, that is, the direction indicated by the black arrow shown in FIG. 15 .
  • the information screen display interface of the first mobile phone 1010 displays the device identifiers corresponding to each of the four electronic devices that can be connected.
  • the equipment identification adopts the equipment outline drawing.
  • the device identifier 1502 corresponds to the TV 1020
  • the device identifier 1503 corresponds to the smart speaker 1030
  • the device identifier 1504 corresponds to the tablet computer 1040
  • the device identifier 1505 corresponds to the second mobile phone 1050. It can be seen from FIG. 15 that the distribution or layout of the device identifiers changes as the spatial relationship between the first mobile phone and the surrounding electronic devices changes.
  • the first mobile phone 1010 changes.
  • the distribution of connectable devices in an on-screen display interface displayed by a mobile phone 1010 changes with these changes.
  • the on-screen display interface may further include an orientation identifier of the first mobile phone 1010 .
  • Orientation signs can be presented in static forms such as lines or arrows, or in dynamic forms such as flashing lines or arrows.
  • the orientation mark may be synchronized with the display of the screen-on-screen display interface, or may be shorter than the display duration of the screen-on screen display interface.
  • the orientation sign is displayed for a certain period of time at the beginning of the display screen display interface, and then disappears.
  • the orientation indicator is displayed during a period of time when the user rotates, rotates or moves the first mobile phone, and then disappears.
  • the orientation of the first mobile phone 1010 is the ray direction along the long side of the mobile phone, that is, the direction indicated by the black arrow.
  • the orientation of the first mobile phone 1010 in the information screen display interface is marked as a white straight line 1611 .
  • the information screen display interface displays the four connectable devices searched by the first mobile phone 1010, and the device identification adopts a rectangular pattern.
  • the device identifier 1602 corresponds to the TV 1020
  • the device identifier 1603 corresponds to the smart speaker 1030
  • the device identifier 1604 corresponds to the tablet computer 1040
  • the device identifier 1605 corresponds to the second mobile phone 1050.
  • the body of the first mobile phone 1010 is rotated by an angle counterclockwise, and the facing direction of the first mobile phone 1010 is adjusted from pointing to the TV 1020 to pointing to the tablet computer 1040 .
  • the device identifier 1602 corresponding to the TV 1020 is located on the white straight line 1611 .
  • the device identifier 1604 corresponding to the tablet computer is located on the white straight line 1611 .
  • the orientation mark of the screen display interface that is, the position of the white straight line, does not change with the change of the spatial relationship between the first mobile phone 1010 and the connectable device.
  • the display position of the device identification corresponding to each connectable device has changed. Since the orientation indicator is displayed on the display interface of the information screen, the user can more intuitively confirm the device to which the orientation of the mobile phone points, which can facilitate the user to match the distribution or layout of the device identifier with the actual scene, and facilitate the user to accurately and efficiently select the device. target device and enable shortcut paths for the target device.
  • the user can display the screen area of any device identification by pressing (eg, clicking or long-pressing, etc.), and after unlocking the mobile phone, the mobile phone enables the shortcut path corresponding to the device identification.
  • the device identification (ie, the shortcut path identification) in the on-screen display interface is displayed in the upper area of the screen.
  • the display area of the shortcut path identification can be set according to system settings or user-defined settings.
  • the screen of the mobile phone is relatively large.
  • the shortcut path identifier in the display interface of the screen can be displayed in the lower area of the screen according to the system default setting or the user-defined setting. In some other embodiments, the screen of the mobile phone is relatively large.
  • the shortcut path identifier can be displayed on the left or the lower part of the screen according to the detected holding state of the left or right hand. area on the right.
  • the display area can be changed by the shortcut path identifier in the screen-on-screen display interface.
  • other contents in the screen-on-screen display interface can also change the display area.
  • the displayed area is changed every preset time period The display position of the content; for another example, the display position of the content displayed in the screen-on-screen display interface is different from the previous display position.
  • the first mobile phone 1010 can obtain presets according to system default settings or user-defined settings condition, the device identifiers of the peripheral devices that meet the preset conditions are displayed on the screen display interface.
  • the user-defined preset condition is the maximum deviation angle of the peripheral device, for example, 15° (angle unit: degree). Therefore, the deviation angle between the peripheral device corresponding to the device identifier displayed on the screen display interface of the first mobile phone 1010 and the first mobile phone 1010 is within 15°. That is to say, only when the included angle between the peripheral device and the first mobile phone 1010 is within 15°, or within 345° to 360°, the device identifier corresponding to the peripheral device is displayed on the screen-in display interface. Through this setting, the number of peripheral devices displayed in the information screen display interface is reduced, the misoperation caused by the user not accurately distinguishing the peripheral devices is avoided, and the accuracy of the operation is improved.
  • the user-defined preset condition is the maximum deviation angle of the peripheral device, for example, 15° (angle unit: degree), and the upper limit of the number of device identifiers is 2. Therefore, the display interface of the first mobile phone 1010 can display device identifiers corresponding to two peripheral devices at most, and the deviation angle between the peripheral devices corresponding to the displayed device identifiers and the first mobile phone 1010 is within 15°. In some examples, if the included angle between exactly two peripheral devices and the first mobile phone 1010 is within 15°, or within 345° to 360° (that is, within -15° to +15°), The device identifiers corresponding to the two peripheral devices are displayed on the screen display interface.
  • the included angle between more than two peripheral devices and the first mobile phone 1010 is within 15°, or within 345° to 360° (that is, within -15° to +15°)
  • the device identifiers corresponding to the two peripheral devices with the smallest deviation angle are displayed on the information screen display interface.
  • the mobile phone can determine the solution to adopt the first application scenario (hereinafter referred to as the first shortcut path solution) according to the user's usage habits and/or scene information, that is, the mobile phone is displayed on the screen-of-interest display interface.
  • the shortcut path identifier of the application or function in the APP; or the solution of the third application scenario (hereinafter referred to as the second shortcut path solution), that is, the shortcut path identifier for the peripheral device is displayed in the screen display interface.
  • the scene information includes location information and the like.
  • switching between different shortcut path schemes is implemented.
  • the mobile phone can count the usage rules of the first shortcut path scheme and the second shortcut path scheme according to the usage records of the first shortcut path scheme and the second shortcut path scheme in a certain period of time in the past.
  • the statistical result is: the concentrated use of the second shortcut path scheme in one day includes two time periods, 8:00 to 9:00, and 10:00 to 11:00.
  • a second shortcut path scheme is adopted, that is, a shortcut path identifier for peripheral devices is displayed on the screen-on-display interface.
  • the first shortcut path scheme is adopted, that is, a shortcut path identifier for an application or function in the mobile phone is displayed on the screen-on-display interface.
  • the mobile phone may determine the current position according to the positioning, and determine the scene where the user is located according to the current position, such as a scene such as a home or an office.
  • the mobile phone determines that the user is in a scenario such as a home or an office
  • the mobile phone switches to the second shortcut path scheme, that is, the shortcut path identifier for the peripheral devices is displayed on the screen display interface.
  • the mobile phone is switched to the first shortcut path scheme, that is, a shortcut path identifier for an application or function in the mobile phone is displayed on the screen-on-display interface.
  • whether to switch the shortcut path scheme can be set by the system by default, or can be set by the user.
  • the mobile phone can automatically switch the shortcut path scheme according to the user's usage habits and/or scene information, etc., or can switch the shortcut path scheme according to the user's manual operation.
  • an embodiment of the present application provides an unlocking method, and the unlocking method can be executed by an electronic device.
  • the unlocking method may be performed by the mobile phone in the aforementioned application scenario.
  • the unlocking method may also be performed by an electronic device such as a tablet computer with a touch display screen, a TV, or a smart speaker.
  • the unlocking method is applied to an electronic device, and the unlocking method includes steps S1710 to S1730.
  • S1710 Receive a touch operation input by a user in an on-screen display interface, where the on-screen display interface includes one or more shortcut path identifiers, where the shortcut path identifiers are identifiers corresponding to applications or functions in the electronic device.
  • the shortcut path identification includes a pattern and/or text and the like.
  • the electronic device determines the application or function corresponding to each shortcut path identifier according to the system default setting or the user-defined setting.
  • the target shortcut path identifier is any one of the one or more shortcut path identifiers.
  • the user identity authentication includes identity authentication based on fingerprint recognition and/or face recognition, and the like.
  • the electronic device pre-enters the user's fingerprint information and/or face information for subsequent identity authentication.
  • the touch operation input by the user in the display interface of the screen can be the operation of pressing a finger.
  • the electronic device can determine whether the user's finger acts on a certain shortcut path identifier, that is, the target shortcut path identifier; on the other hand, the user's fingerprint is collected for identity authentication.
  • the electronic device if it is determined that the touch operation does not act on any shortcut path identifier, the electronic device is not unlocked, and continues to display the information screen display interface. In some implementations, if it is determined that the touch operation does not act on any shortcut path identifier, the electronic device can activate the camera to perform face recognition, and after the face recognition is passed, the electronic device is unlocked and enters the unlock interface. In some implementations, a fingerprint pattern may be displayed on the screen-on-screen display interface to prompt the user to perform fingerprint recognition to unlock the electronic device. If it is determined that the touch operation acts on the fingerprint pattern displayed on the screen-on-screen display interface, the electronic device starts fingerprint recognition. , if the fingerprint recognition is passed, the electronic device is unlocked and enters the unlock interface.
  • the electronic device After the user identity authentication is passed, the electronic device is unlocked, and the interface of the application or function corresponding to the target shortcut path identifier is displayed, and the user can directly use the function or application.
  • the electronic device if the user identity authentication fails, the electronic device is not unlocked and continues to display the information screen display interface.
  • a plurality of areas are divided on the information screen display interface, and each area is used as a shortcut path for entering a specific application or function. Users can quickly enter specific applications or functions through fingerprint unlocking or face recognition, achieving the purpose of improving user operation efficiency.
  • the unlocking method can be executed by an electronic device.
  • the unlocking method may be performed by the mobile phone in the aforementioned application scenario.
  • the unlocking method may also be performed by a tablet computer with a touch display screen, a TV, a smart speaker, or the like.
  • the unlocking method is applied to an electronic device, and the unlocking method includes steps S1810 to S1830.
  • S1810 Receive a touch operation input by a user in an on-screen display interface, where the on-screen display interface includes one or more device identifiers, and the device identifiers are peripheral devices that can be connected to the electronic device and/or connected peripheral devices. logo.
  • the device identification includes patterns and/or texts and the like.
  • the electronic device determines the shortcut path of the peripheral device corresponding to each device identifier according to the system default setting or the user-defined setting.
  • the target device identifier is any one of the one or more device identifiers.
  • the user identity authentication includes identity authentication based on fingerprint recognition and/or face recognition, and the like.
  • the electronic device pre-enters the user's fingerprint information and/or face information for subsequent identity authentication.
  • the touch operation input by the user in the display interface of the screen can be the operation of pressing a finger.
  • the electronic device can determine whether the user's finger acts on a certain device identification, that is, the target device identification; on the other hand, the user's fingerprint is collected for identity authentication.
  • the electronic device if it is determined that the touch operation does not act on any device identification, the electronic device is not unlocked and continues to display the information screen display interface. In some implementations, if it is determined that the touch operation does not act on any device identification, the electronic device can activate the camera to perform face recognition, and after the face recognition is passed, the electronic device is unlocked and enters the unlocking interface. In some implementations, a fingerprint pattern may be displayed on the screen-on-screen display interface to prompt the user to perform fingerprint recognition to unlock the electronic device. If it is determined that the touch operation acts on the fingerprint pattern displayed on the screen-on-screen display interface, the electronic device starts fingerprint recognition. , if the fingerprint recognition is passed, the electronic device is unlocked and enters the unlock interface.
  • the electronic device After the user identity authentication is passed, the electronic device is unlocked, and the shortcut path corresponding to the target device identifier is enabled.
  • the shortcut path is associated with the target device corresponding to the target device identifier.
  • the shortcut path includes but is not limited to: controlling the target device to be turned on, displaying the control panel interface of the target device, calling up the display interface of the target device, projecting the screen or sounding to the target device, and so on.
  • the electronic device if the user identity authentication fails, the electronic device is not unlocked and continues to display the information screen display interface.
  • the device identifiers of one or more peripheral devices are displayed on the information screen display interface, and each device identifier is used as a shortcut path to enter a specific peripheral device.
  • the user can quickly activate the shortcut path for any peripheral device through fingerprint unlocking or face recognition, such as controlling the peripheral device, entering the control interface of the peripheral device, calling up the interface of the peripheral device, casting the screen or casting the sound, etc. It is convenient and quick to realize cross-device interaction under the screen, which achieves the purpose of improving user operation efficiency.
  • the embodiments of the present application further provide an unlocking device.
  • Each module included in the unlocking device can correspond to each step of the unlocking method.
  • the electronic device includes corresponding hardware and/or software modules for executing each function.
  • the present application can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
  • Embodiments of the present application further provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program, the The electronic device implements the steps in each of the foregoing method embodiments.
  • the electronic device may include a wearable device, a mobile phone, a tablet computer, or the like.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
  • the embodiments of the present application provide a computer program product, when the computer program product runs on an electronic device, the steps in the foregoing method embodiments can be implemented when the electronic device executes.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium.
  • the computer program includes computer program code
  • the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like.
  • the computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the photographing device/electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals, and software distribution media.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunication signals
  • software distribution media For example, U disk, mobile hard disk, disk or CD, etc.
  • computer readable media may not be electrical carrier signals and telecommunications signals.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

一种解锁方法及电子设备。解锁方法包括:接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识;若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识。若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。本申请实施例提高了跨设备交互的效率。

Description

解锁方法及电子设备
本申请要求于2020年09月02日提交国家知识产权局、申请号为202010911832.4、申请名称为“解锁方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端设备技术领域,尤其涉及一种解锁方法及电子设备。
背景技术
随着终端技术的快速发展,终端设备可实现的功能越来越多。例如,终端设备上安装的应用也越来越多,应用的功能也越来越丰富。
在实际使用中,当需要使用终端设备的某一应用或某一功能,用户需要先解锁终端设备,再开启应用,或开启应用进入功能界面。
可见,用户需要经过繁琐操作,才可以使用某一应用或功能,效率低下。
发明内容
本申请实施例提供了一种解锁方法及电子设备,可以解决与现有技术相关的至少一个技术问题。
第一方面,本申请实施例提供了一种解锁方法,应用于电子设备,所述解锁方法包括:
接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识;
若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识;
若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。
本申请第一方面的实施例通过在息屏显示界面中显示周边设备的设备标识,让用户能够快速解锁电子设备并启用针对目标设备的快捷路径,提高了息屏下跨设备交互的效率。
作为第一方面的一可能实现方式,所述一个或多个设备标识在所述息屏显示界面中的分布,根据各个所述周边设备与所述电子设备的空间关系进行映射。
该实现方式中,设备标识的分布根据周边设备与电子设备的空间关系进行映射,让用户能够快速准确地选择目标设备标识,启动针对目标设备的快捷路径,提高了息屏下跨设备交互地效率和准确性。
作为第一方面的一可能实现方式,所述空间关系包括定位和/或定向的空间关系。
作为第一方面的一可能实现方式,在所述空间关系包括定位和定向的空间关系的情形下,所述空间关系包括各个所述周边设备与所述电子设备之间的距离,和,各个所述周边设备与所述电子设备的连线与所述电子设备的朝向之间的夹角。
作为第一方面的一可能实现方式,所述息屏显示界面还包括所述电子设备的朝向标识。
该实现方式中,通过息屏显示界面的可视化,标识电子设备的朝向,让用户可以将息屏显示界面的设备标识分布快速与实际场景对应起来,提高了操作效率和准确性。
作为第一方面的一可能实现方式,所述启用与所述目标设备标识对应的快捷路径,包括:
控制所述目标设备标识对应的目标设备响应预设指令;或,
显示所述目标设备标识对应的目标设备的控制面板界面;或,
调起所述目标设备标识对应的目标设备的显示界面;或,
投屏或投音到所述目标设备标识对应的目标设备。
该实现方式中,实现了快捷路径的多样化,使得本申请可以适用于不同的应用场景,具有较强的环境适应性。
作为第一方面的一可能实现方式,所述触摸操作包括手指按压操作,所述用户身份认证包括基于指纹识别的用户身份认证。
该实现方式中,基于全屏指纹识别的电子设备,将启用快捷路径和用户身份识别的用户操作进行合并,减少了繁琐操作,提高了操作效率。
作为第一方面的一可能实现方式,所述一个或多个设备标识满足第一条件,所述第一条件包括所述设备标识的数量上限,和/或,所述设备标识所对应的周边设备与电子设备之间的偏离角度小于或等于最大偏离角度。
该实现方式中,减少了息屏显示界面中显示的设备标识的数量,可以避免周边设备过多时,设备标识发生重叠导致用户误选目标设备,提高交互的准确性。
第二方面,对应于第一方面提供的解锁方法,提供了一种解锁装置,配置于电子设备,所述解锁装置包括:
接收模块,用于接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识;
认证模块,用于若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识;
解锁模块,用于若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。
作为第二方面的一可能实现方式,所述一个或多个设备标识在所述息屏显示界面中的分布,根据各个所述周边设备与所述电子设备的空间关系进行映射。
作为第二方面的一可能实现方式,所述空间关系包括定位和/或定向的空间关系。
作为第二方面的一可能实现方式,在所述空间关系包括定位和定向的空间关系的情形下,所述空间关系包括各个所述周边设备与所述电子设备之间的距离,和,各个所述周边设备与所述电子设备的连线与所述电子设备的朝向之间的夹角。
作为第二方面的一可能实现方式,所述息屏显示界面还包括所述电子设备的朝向标识。
作为第二方面的一可能实现方式,所述解锁模块具体用于:
解锁并控制所述目标设备标识对应的目标设备响应预设指令;或,
解锁并显示所述目标设备标识对应的目标设备的控制面板界面;或,
解锁并调起所述目标设备标识对应的目标设备的显示界面;或,
解锁并投屏或投音到所述目标设备标识对应的目标设备。
作为第二方面的一可能实现方式,所述触摸操作包括手指按压操作,所述用户身份认证包括基于指纹识别的用户身份认证。
作为第二方面的一可能实现方式,所述一个或多个设备标识满足第一条件,所述第一条件包括所述设备标识的数量上限,和/或,所述设备标识所对应的周边设备与电子设备之间的偏离角度小于或等于最大偏离角度。
第三方面,本申请实施例提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,使得所述电子设备实现如第一方面和第一方面可能的实现方式中任一所述的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面和第一方面可能的实现方式中任一所述的方法。
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面和第一方面可能的实现方式中任一所述的方法。
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述。
附图说明
图1是本申请一实施例提供的手机的息屏显示界面的示意图;
图2A是本申请一实施例提供的一定位系统的结构示意图;
图2B是本申请一实施例提供的一定位原理示意图;
图2C是本申请一实施例提供的一定向原理示意图;
图2D是本申请一实施例提供的另一定向原理示意图;
图3是本申请一实施例提供的电子设备的结构示意图;
图4是本申请一实施例提供的电子设备的软件架构图;
图5是本申请一实施例提供的第一个应用场景;
图6A是本申请一实施例提供的手机一设置界面示意图;
图6B是本申请一实施例提供的手机另一设置界面示意图;
图7是本申请一实施例提供的手机一设置界面示意图;
图8是本申请一实施例提供的手机另一设置界面示意图;
图9A是本申请一实施例提供的手机的息屏显示界面的示意图;
图9B是本申请一实施例提供的手机的息屏显示界面的示意图;
图10是本申请一实施例提供的第三个应用场景;
图11A是本申请一实施例提供的手机的息屏显示界面的示意图;
图11B是本申请一实施例提供的手机显示电视控制面板界面的示意图;
图12A是本申请一实施例提供的手机的息屏显示界面的示意图;
图12B是本申请一实施例提供的在手机上调起平板电脑显示界面的示意图;
图13A是第三个应用场景中第一手机、电视和平板电脑的定位示意图;
图13B是第三个应用场景中第一手机和电视之间夹角的一示意图;
图13C是第三个应用场景中手机和电视之间夹角的另一示意图;
图13D是第三个应用场景中手机朝向的示意图;
图14是手机逆时针转动前后第三个应用场景的场景变化示意图;
图15是第三个应用场景中手机在逆时针转动前后的一息屏显示界面的变化示意图;
图16是第三个应用场景中手机在逆时针转动前后的另一息屏显示界面的变化示意图;
图17是本申请一实施例提供的一种解锁方法的实现流程图;
图18是本申请另一实施例提供的一种解锁方法的实现流程图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。
还应当理解,在本申请实施例中,“若干个”和“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
如在本申请说明书和所附权利要求书中所使用的那样,术语“若”或“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
目前,电子设备中安装的应用越来越多,当用户要打开某一应用或使用应用的某一功能,需要通常复杂的用户操作才可以进入应用或功能的界面。因此,本申请提供了一种解锁方法和电子设备,降低用户操作复杂度,提高操作效率。
为了更好的理解本申请的技术方案,先介绍本申请涉及的几个重要技术名词。
息屏显示(Always On Display,AOD)
息屏显示是指在不点亮电子设备的整块屏幕的前提下,在屏幕的部分区域直接显示时间、温度、日期、日历、来电信息、或推送消息等内容。
作为一非限制性示例,图1所示为手机的一息屏显示界面。在图1所示的息屏显示界面中,手机屏幕的部分区域被点亮,用于显示时间、日期和电量。
在实际应用中,电子设备的屏幕未整块点亮时,电子设备通常处于锁屏状态。
无线定位技术
无线定位技术是指在各种不同的无线网络中获取移动位置信息的测量方法,即定位算法。无线定位技术包括但不限于超宽带(Ultra Wide Band,UWB),无线保真(wireless fidelity,Wi-Fi),或蓝牙(bluetooth,BT)等。
目前最常用的无线定位算法主要有:基于到达角度(Angle of Arrival,AOA)的定位算法、基于到达时间(Time of Arrival,TOA)的定位算法、基于到达时间差(Time Difference of Arrival,TDOA)的定位算法、或基于接收信号强度(Received Signal Strength,RSS)的定位算法等。在一些实际应用中,可以组合多种定位算法进行定位。
由于UWB信号的高时间分辨率,TOA和TDOA的定位算法相对于其他定位算法具有更高的准确度。目前对于UWB定位来说比较有效的解决方案是采用TOA与TDOA的混合定位算法,因为两种定位算法相互补充,结合了两种定位算法的优点,可以实现高定位精度。
为了描述的方便,本申请实施例以基于TOA定位算法的UWB定位技术为例进行说明。应理解,采用UWB定位技术不能解释为对本申请的具体限制,所有能实现本申请技术方案的定位方法都可以用于本申请。
TOA定位算法是指由基站向电子设备发出特定的测距命令或指令信号,并要求电子设备对该指令进行响应。基站会纪录下由发出测距指令到收到电子设备确认信号所花费的时间,该时间主要由射频信号(例如UWB信号)在环路上的传播时延、电子设备的响应时延和处理时延、基站的处理时延组成。如果能够准确地得到电子设备和基站的响应和处理时延,就可以算出射频信号(例如UWB信号)的环路传播时延。因为无线电波在空气中以光速传播,所以基站与电子设备之间的距离可以估算出来。当有三个基站参与测量时,就可以根据三角定位法来确定(例如UWB信号)所在的位置。
作为一非限制性示例,如图2A所示,UWB定位系统包括:3个携带UWB模块的基站(可称为UWB基站)和携带UWB模块的手机(即待定位标签)。使用UWB定位技术,需要事先在环境中安装UWB基站。在本示例中安装了3个UWB基站,即第一UWB基站21、第二UWB基站22和第三UWB基站23。依赖3个UWB基站,对环境中的手机20进行定位。
根据图2B所示,根据第一UWB基站21到手机20的第一距离r1,第二UWB基站22到手机20的第二距离r2,第三UWB基站23到手机20的第三距离r3,再结合第一UWB基站21的已知位置坐标(x1,y1),第二UWB基站22的已知位置坐标(x2,y2),第三UWB基站23的已知位置坐标(x3,y3),来获取手机20的位置坐标(x0,y0)。
UWB定向可以采取如下两种方法来实现。
第一种为AOA测量方法,在该方法中,需要定向的UWB设备使用多个天线,而UWB 基站或UWB基站依赖的设备仅使用一个天线。如图2C所示,UWB基站通过低功耗发射器通过单一天线发送特殊的数据封包。周围的低功耗接收器,例如手机的接收器,拥有阵列排布的多个天线,由于多个天线到发射器的距离不同,因而接收器的每个天线会发现所接收到的信号相位差,最终通过数据计算得出信号的相对方向,如手机相对于UWB基站的角度为θ。
第二种为出发角或离开角(Angle Of Depart,AOD)测量方法,在该方法中,需要定向的UWB设备仅使用一个天线,而UWB基站或UWB基站依赖的设备使用多个天线。如图2D所示,手机可以通过低功耗接收器来接收信号,UWB基站通过低功耗发射器以陈列排布的有源天线之间切换时,发送特殊的数据封包。手机的接收器在接收到信号中获取IQ样本,了解发射器内的天线排布,最后通过数据计算得出信号的相对方向,如手机相对于两个UWB基站的角度分别为θ1和θ2。
通过UWB定向技术,可以计算出手机相对于携带有UWB模块的电视、智能音响、平板电脑等电子设备的角度。
为了说明本申请的技术方案,下面通过具体实施例来进行说明。
本申请实施例提供的解锁方法可以应用于电子设备上,电子设备包括但不限于具有触摸显示屏的手机、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、平板电脑、智能音箱、或电视等。本申请实施例对电子设备的具体类型不作任何限制。
在本申请一些实施例中,电子设备可以包括便携式、手持或移动电子设备,例如手机、平板电脑、可穿戴设备、或便携式游戏控制台等。
图3以手机为例,示出了电子设备100的结构示意图。
电子设备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可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网 络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器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)(如Wi-Fi网络),BT,全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR),UWB通信技术等无线通信的解决方案。无线通信模块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,UWB,和/或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的正整数。
电子设备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也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器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分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图4是本发明实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图4所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图4所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGLES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
示例性说明电子设备100软件以及硬件的工作流程。
当电子设备100的触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。
下面通过非限制示例对本申请实施例的应用场景和实现流程进行举例说明。为了描述方便,在下面的应用场景中,以手机作为电子设备的示例进行描述。需要说明的是,针对某一应用场景的示例性描述,并不用于限定该应用场景。事实上,针对各个应用场景的示例性描述,可以想到的各种变形、组合、替代或改变均不超出本申请。
第一个应用场景
第一个应用场景为在息屏显示下解锁手机,进入到手机的特定功能或特定应用的场景。
目前,屏下指纹技术日益成熟,各大终端厂商开始在全面屏指纹技术方面发力,目前也已有相关全面屏指纹解锁终端产品面世。在第一个应用场景中,手机采用屏下指纹识别的方式进行用户身份认证。手机为支持全面屏指纹识别的手机。
如图5中的A图所示,手机的息屏显示界面中,除了显示了时间、日期和电量, 还显示了6个区块。6个区块中有一个区块为第一区块51,一个区块为第二区块52。
当用户在便利店准备用手机付款,手机接收到用户的手指,例如左手或右手拇指等,在图5中的A图所示的第一区块51的按压操作,待指纹识别通过,即用户身份认证成功,手机解锁,从息屏显示界面直接进入到例如支付宝 TM、微信 TM、或金融客户端等应用提供的支付码界面。支付码界面可以如图5中的B图所示,支付码采用二维码。
付款完一段时间后,手机自动锁屏,显示息屏显示界面。用户走出便利店,若用户想要迅速地查看一下例如微信 TM等即时通讯应用的聊天消息。手机接收到用户的手指,例如左手或右手拇指等,在图5中的A图所示的第二区块52的按压操作,待指纹识别通过,即用户身份认证成功,手机可以从息屏显示界面直接进入到聊天信息列表的显示界面。聊天信息列表的显示界面可以如图5中的C图所示。
在这个过程中,手机根据检测到的用户操作,例如用户拿起或晃动手机、按压开机键或音量键等机械按键、触碰或敲击屏幕等,确定用户有意愿解锁手机,手机显示如图5中的A图所示的息屏显示界面。用户在第一区块51按压指纹准备解锁手机,手机根据用户作用于第一区域51的按压操作采集用户指纹,并对指纹进行认证,待认证通过后,手机亮屏,呈现支付码显示界面。用户扫支付码完成付款后,手机可以自动进入锁屏状态,或根据接收到的用户输入的锁屏操作(例如按压开机键等)进入锁屏状态。当手机进入到锁屏状态,手机灭屏(即黑屏),手机灭屏一段时间后,用户想查看聊天消息,手机根据检测到的用户操作或动作,例如用户手指触碰手机屏幕等,手机确定用户有意愿解锁手机,手机呈现息屏显示界面,用户在息屏显示界面的第二区块52按压指纹解锁手机,手机亮屏,呈现聊天信息列表的显示界面。
在图5中的A图所示的息屏显示界面中,显示了6个区块。除了第一区块51和第二区块52外,其余的4个区块可以各自对应特定功能或应用的界面。用户手指按压任一区块,手机根据接收到的用户的按压操作,进行指纹识别,当指纹识别通过,即用户身份认证成功,手机进入到该区块对应的功能或应用界面。
需要说明的是,在图5所示的示例中,支付码界面采用的是二维码作为支付码。在其他示例中,支付码界面还可以采用条形码,或者,采用条形码与二维码的组合码等作为支付码。本申请实施例对支付码的具体呈现形式不予具体限制。
本申请实施例结合息屏显示的可视反馈,在支持全面屏下指纹的终端屏幕进行解锁区域的划分,每个区域作为进入特定功能或应用的快捷路径。使得用户可以通过指纹解锁快捷地进入具体功能或应用,达到了提升用户操作效率的目的。
需要说明的是,息屏显示界面包括的区块的数量,和/或,每个区块对应的功能或应用,可以由系统默认设置,也可以由用户自定义设置。
在一些可能的实现方式中,电子设备可以提供针对快捷路径的设置界面,用户可以在该设置界面修改或编辑息屏显示界面中区块的数量,和/或,各个区块对应的特定功能或应用,本申请对此不予限制。
作为一非限制性示例,如图6A和图6B所示,手机的快捷路径设置界面61提供了6个可选的快捷路径,每个快捷路径对应一个条状控件。例如,左上区块对应条状控件611,左下区块对应条状控件612。
如图6A所示,手机接收到用户作用于条状控件611的点击操作,确定用户本次欲设置 的区块为左上区块,手机呈现针对左上区块的设置界面62。左上区块的设置界面62可以包括区块布局显示区域621,系统推荐区域622,以及用户自定义区域623。区块布局显示区域621用于显示左上区域在整个布局中的位置,对当前设置的区块进行可视化标识,方便用户区分不同区块。在图6A所示区块布局显示区域621中,左上区块与其他5个区块显示的样式不相同,以示区分。系统推荐区域622用于显示系统推荐设置的功能或应用。在图6A所示的系统推荐区域622中,显示的是系统推荐的某一应用中的乘车码功能,用户可以点击系统推荐区域622中的开关控件6221,手机根据用户输入的开启开关控件6221的点击操作,可以将左上区块设置成对应系统推荐的功能或应用,即乘车码功能。用户自定义区域623用于供用户自定义设置左上区块对应的功能或应用。用户点击用户自定义区域623中的下拉菜单控件6231,可以在下拉菜单列表中选择一个功能或应用作为左上区块对应的功能或应用。
如图6B所示,手机接收到用户作用于条状控件612的点击操作,确定用户本次欲设置的区块为左下区块,手机呈现针对左下区块的设置界面63。左下区块的设置界面63可以包括区块布局显示区域631,系统推荐区域632,以及用户自定义区域633。区块布局显示区域631用于显示左下区域在整个布局中的位置,对当前设置的区块进行可视化标识,方便用户区分不同区块。在图6B所示区块布局显示区域631中,左下区块与其他5个区块显示的样式不相同,以示区分。系统推荐区域632用于显示系统推荐设置的功能或应用。在图6B所示的系统推荐区域632中,显示的是系统推荐的某一应用中的支付码功能,用户可以点击系统推荐区域632中的开关控件6321,手机根据用户输入的开启开关控件6321的点击操作,可以将左下区块设置成对应系统推荐的功能或应用,即支付码功能。用户自定义区域633用于供用户自定义设置左下区块对应的功能或应用。用户点击用户自定义区域633中的下拉菜单控件6331,可以在下拉菜单列表中选择一个功能或应用作为左下区块对应的功能或应用。
如图6A和图6B所示,快捷路径设置界面61中包括6个可选的快捷路径,其中,有两个区块设置有对应的快捷路径。左下区块设置成对应支付码功能,右中区块设置成对应某一应用的聊天信息列表。基于此设置,用户可以在息屏显示界面中通过触发左下区块和右中区块,进入区块各自对应的功能或应用,例如参见图5所示的示例。需要说明的是,在其他示例中,当有两个区块设置有对应的快捷路径的情形下,可以在息屏显示界面中显示两个区块,而不显示其他未设置对应功能或应用的区块。
作为另一非限制性示例,如图7所示,手机的快捷路径设置界面71提供了多种可选的区块布局形式,可以通过用户操作切换不同的区块布局形式。在布局显示区域711显示4个区块的布局形式。用户可以点击布局显示区域711中的向右控件7111或输入向右滑动触摸操作,手机根据接收到的用户作用于向右控件7111的点击操作或用户输入的向右滑动触摸操作,切换到包括5个区块的布局形式的布局显示区域712。用户可以点击布局显示区域711中的向左控件7112或输入向左滑动触摸操作,手机根据接收到的用户作用于向左控件7112的点击操作或用户输入的向左滑动触摸操作,切换到包括3个区块的布局形式的布局显示区域713。
基于图7所示示例,在一些实现方式中,用户可以通过多次输入第一方向,例如向右的滑动触摸操作,使布局显示区域显示的区块数量逐渐增加;可以通过多次输入 与第一方向相反方向,例如向左的滑动触摸操作,使布局显示区域显示的区块数量减少。或者,在其他一些实现方式中,用户可以通过多次输入第一方向,例如向右的滑动触摸操作,使布局显示区域显示的区块数量逐渐减少;可以通过多次输入与第一方向相反方向,例如向左的滑动触摸操作,使布局显示区域显示的区块数量逐渐增加。
在图7所示示例的基础上,如图8所示,快捷路径设置界面71中的布局显示区域711,显示4个区块的布局形式,用户可以通过长按移动任一区块,改变该区块的显示位置,也就改变了区块的布局。例如,如图8所示,手机接收到用户作用于区块7113的长按移动触摸操作,改变区块7113的位置到目标位置,目标位置即长按移动触摸操作的抬起(up)位置。
在图7和图8所示示例的基础上,快捷路径设置界面71中的布局显示区域711,显示4个区块的布局形式,用户可以通过长按任一区块,针对该区块进行功能或应用的设置。也就是说,手机根据用户输入的作用于任一区块的长按操作,可以进入该区块的设置界面,在该区块的设置界面中设置该区块对应的功能或应用。区块的设置界面可以类似于图6A中所示的左上区块的设置界面62或图6B中所示的左下区块的设置界面63。
基于图7和图8所示的示例,用户可以自定义设置息屏显示界面中显示的区块数量和/或布局。
应理解,图6A、图6B、图7和图8所示的用户界面仅为示例性描述。在实际使用中,用户界面可以比图6A、图6B、图7和图8包括更多或更少的界面元素,界面布局也可能不尽相同。
需要说明的是,在图5所示的示例中,采用矩形作为各个快捷路径的标识。在其他示例中,还可以采用功能或应用对应的图标、图案和/或文字等作为快捷路径的标识。例如,如图9A和图9B所示,采用功能或应用对应的图标或图案作为快捷路径的标识,方便用户区分各个快捷路径,降低用户操作门槛,提高操作准确性。在图9A和图9B所示的示例中,息屏显示界面中的图标91对应计算器应用,图标92对应音乐播放器应用,图标93对应邮件应用,图标94对应微信 TM应用,图案95对应一应用中二维码支付功能。用户可以通过按压显示图标91的屏幕区域,解锁手机后进入计算器应用界面。用户可以通过按压显示图标92的屏幕区域,解锁手机后进入音乐播放器应用。用户可以通过按压显示图标93的屏幕区域,解锁手机后进入邮箱应用。用户可以通过按压显示图标94的屏幕区域,解锁手机后进入微信 TM应用。用户可以通过按压显示图案95的屏幕区域,解锁手机后进入一应用的二维码支付界面。
在图9A和图9B所示的示例中,息屏显示界面中的快捷路径标识显示在屏幕的不同区域。可以根据系统设置,或根据用户自定义设置,对快捷路径标识的显示区域进行设置。在一些实施例中,手机屏幕较大,为了便于用户操作,提高操作效率,息屏显示界面可以根据系统默认设置或用户自定义设置,显示在如图9B所示的屏幕下方区域。在另一些实施例中,手机屏幕较大,为了进一步方便用户操作,从而进一步提供操作效率,可以根据检测到的左手或右手的握持状态,将快捷路径标识显示在屏幕下方的靠左侧或靠右侧的区域。在另一些实施例中,息屏显示界面中的快捷路径标识可以改变显示区域,类似的,息屏显示界面中的其他内容也可以改变显示区域,例如,每间隔预设时长改变一次所显示的内容的显示位置;又如,息屏显示界面中所显示的 内容的显示位置都与上一次的显示位置不相同。应理解,此处仅为示例性描述,不能解释为对本申请的具体限制。
在另一些可能的实现方式中,手机根据已安装的应用或功能的用户使用习惯、所消耗的流量、和场景信息等中的一个或多个的组合,确定各个区块对应的功能或应用。其中,用户使用习惯可以包括使用规律,使用时长和/或使用频率等。场景信息包括位置信息和/或运动状态信息等。
作为一非限制性示例,手机可以根据过去某一段时间内应用或功能的使用时长、使用次数、或所消耗的流量等,对应用和/或功能进行排序。排名靠前的应用和/或功能,相较于排名靠后的应用和/或功能,有更大的概率为用户想要在解锁后使用。
例如,手机默认可设置6个快捷路径,手机分析用户历史使用数据,获得应用和/或功能最近一周的使用率排名,排名靠前的前6个应用和/或功能依次为:微信 TM、微博、新闻、音乐、电话和支付宝 TM的支付码。因此,手机将上述6个应用和功能设置成快捷路径,将6个快捷路径各自的标识显示在息屏显示界面上,供用户进行选择,方便用户快捷进入应用和/或功能。
作为一非限制性示例,手机可以根据过去某一段时间内,应用或功能的每天使用记录,统计应用和/或功能在每天的使用规律。一天中集中使用手机的时间段可以包括N个时间段,例如5个时间段等。针对每个时间段,记录各个应用和/或功能的使用时长等,根据使用时长对应用和/或功能进行排序。针对每个时间段,排名靠前的应用和/或功能,相较于排名靠后的应用和/或功能,有更大的概率为用户想要在解锁后使用的应用和/或功能,因此,将排名靠前的前M(M为正整数)个应用和/或功能设置成该时间段的快捷路径。
例如,手机分析用户历史使用数据,获得每天集中使用手机有4个时间段,例如8:00至10:00,12:00至13:30,18:00至20:00,以及20:30至23:00,分别统计这4个时间段内各个应用和/或功能的使用率,根据使用率进行排名,手机将排名靠前的M(M为正整数)个应用和/或功能设置成快捷路径,将快捷路径各自的标识显示在息屏显示界面上,供用户进行选择,方便用户快捷进入应用和/或功能。需要说明的是,4个时间段对应的快捷路径的数量可以相同,也可以不相同,本申请对此不予限制。
作为另一非限制性示例,手机可以根据定位确定用户当前所处位置,根据用户当前所处位置确定用户所处环境,例如商场、机场、家、地铁或电影院等。手机根据用户所处场景在息屏显示界面展示场景相关联的快捷路径。
例如,手机定位当前位置,根据当前位置确定用户所处环境为商场,手机将购物类应用和支付功能等设置为快捷路径。在息屏显示界面显示购物类应用和支付功能等对应的图标或图案,供用户进行选择,方便用户快捷进入应用和/或功能。
又如,手机定位当前位置,根据当前位置确定用户所处环境为家中,手机将控制家居设备的应用或功能、阅读类应用和音乐播放类应用等设置为快捷路径。在息屏显示界面显示控制家居设备的应用或功能、阅读类应用和音乐播放类应用等对应的图标或图案,供用户进行选择,方便用户快捷进入应用和/或功能。
作为另一非限制性示例,手机可以根据定位、和/或加速度传感器、和/或陀螺仪传感器等获取手机的运动状态信息,可以根据运动状态信息确定用户的运动状态,例 如跑步、走路或乘车等,手机在息屏显示界面展示与运动状态信息相关联的快捷路径。
例如,手机确定当前运动速度较慢,判断用户为慢跑状态,手机将运动管理类应用和音乐播放类应用等设置为快捷路径。在息屏显示界面显示运动管理类应用,音乐播放类应用或音乐控制功能等对应的图标或图案,供用户进行选择,方便用户快捷进入应用和/或功能。
第二个应用场景
第二个应用场景为在息屏显示下解锁手机,进入到手机的特定功能或特定应用的场景。
目前,人脸识别技术日益成熟和安全,目前也已有通过人脸识别解锁终端产品面世。在第二个应用场景中,手机采用启动摄像头进行人脸识别的方式进行用户身份认证。手机为支持人脸识别的手机。
继续参见如图5中的A图所示,手机的息屏显示界面中,除了显示了时间、日期和电量,还显示了6个区块。6个区块中有一个区块为第一区块51,一个区块为第二区块52。
当用户在便利店准备用手机付款,手机监听到用户手指或手写笔等,在图5中的A图所示的第一区块51的触屏操作,手机启动前置摄像头53拍摄用户人脸图像,待人脸识别通过,即用户身份认证成功,手机解锁,从息屏显示界面直接进入到例如支付宝 TM、微信 TM、或金融客户端等应用提供的支付码界面。支付码界面可以如图5中的B图所示,支付码采用二维码。
付款完一段时间后,手机锁屏,显示息屏显示界面。用户走出便利店,若用户想要迅速地查看一下例如微信 TM等即时通讯应用的聊天消息。手机监听到用户手指或手写笔等,在图5中的A图所示的第二区块52的触屏操作,手机启动前置摄像头53拍摄用户人脸图像,待人脸识别通过,即用户身份认证成功,手机解锁,手机可以从息屏显示界面直接进入到聊天信息列表的显示界面。聊天信息列表的显示界面可以如图5中的C图所示。
需要说明的是,第二个应用场景采用与第一个应用场景不相同的用户身份认证方式,其余过程与第一个应用场景相同,此处不再赘述。
第三个应用场景
第三个应用场景为跨设备交互的应用场景。在第三个应用场景中,用户坐在家中沙发上,此时他手持手机,自己的平板电脑在左侧,电视在正前方,智能音箱在右侧,还有个备用手机在沙发左侧。在第三个应用场景中,包括用户手持的第一手机1010、电视1020、智能音箱1030、平板电脑1040和第二手机1050(即备用手机)。
在图10所示的场景中,以第一手机1010作为搜索设备,其他设备作为可连接设备为例进行说明。第一手机1010可以与其他设备中的一个或多个建立通信连接。其他设备包括电视1020、智能音箱1030、平板电脑1040和第二手机1050。应理解,在其他应用场景中,第二手机1050可以作为搜索设备,第一手机1010可以作为可连接设备。根据应用场景的实际情况,设备角色可以互换,本申请对此不予限制,此处仅为示例性说明。
在图10所示的场景中,第一手机1010是搜索周围可连接设备的搜索设备,第一 手机1010可以使用设备所支持的无线通信技术来与搜索到的周围可连接设备中的任一个或多个进行无线通信。设备所支持的无线通信技术包括但不限于Wi-Fi、BT、IR、GPS、高性能无线局域网(High Performance Radio LAN,HiperLAN)、射频(Radio Frequency,RF)、无线USB(Wireless USB,WUSB)、或UWB等。应理解,在实际应用中,还可以采用其他无线通信技术,或者,还可以采用有线通信技术。在针对第三个应用场景的描述中,以第一手机1010可以与周边其他设备进行无线通信为例进行说明,即第一手机1010可以与电视1020、智能音箱1030、平板电脑1040和第二手机1050建立无线通信连接。
在第一手机1010分别与电视1020、智能音箱1030、平板电脑1040和第二手机1050建立无线通信连接后,可以实现第一手机1010与电视1020、第一手机1010与智能音箱1030、第一手机1010与平板电脑1040、和第一手机1010与第二手机1050之间的数据交互,从而实现第一手机1010对电视1020、智能音箱1030、平板电脑1040和第二手机1050的控制等。
在第一种实现方式中,第一手机1010的息屏显示界面可以显示至少部分可连接设备的设备标识。设备标识作为快捷路径标识。可连接设备为第一手机1010搜索到的可连接的周边设备。用户可以在第一手机1010的息屏显示界面中选中一个可连接设备,称为目标设备。第一手机1010根据用户作用于目标设备的设备标识的按压操作,启动指纹识别或人脸识别,以解锁第一手机1010。解锁成功后,第一手机1010建立与该目标设备的无线通信连接,并启用与该目标设备关联的快捷路径。
在第二种实现方式中,第一手机1010的息屏显示界面中可以显示至少部分已连接设备的设备标识。设备标识作为快捷路径标识。已连接设备为与第一手机1010建立了无线连接的周边设备。用户可以在第一手机1010的息屏显示界面中选中一个已连接设备,称为目标设备。第一手机1010根据用户作用于目标设备的设备标识的按压操作,启动指纹识别或人脸识别,以解锁第一手机1010。解锁成功后,第一手机1010可以启用与该目标设备关联的快捷路径。
在第一种实现方式和第二种实现方式中,设备标识包括但不限于图案和文本等中的一种或多种的组合。
图案包括但不限于规则几何图案、不规则图案、图片、或工程图等。例如,图案可以采用可连接设备的外形图或外观示意图等。又如,图案还可以采用点或任一几何图案等。
文本包括但不限于字母、数字、文字和符号(例如表情符号)等中的一种或多种的组合。例如,文本可以采用可连接设备的设备名称或设备类型等。设备类型如电视、显示屏、平板电脑或笔记本等。又如,文本可以采用设备的持有者自定义的可连接设备的友好名称,即可被其他设备识别的名称。
在设备标识采用图案和文本组合的情形下,在一些实现方式中,同一可连接设备对应的图案和文本可以独立显示。例如,图案采用可连接设备的外形图,在外形图下方显示设备名称。在另一些实现方式中,同一可连接设备对应的图案和文本可以融合显示。例如,图案采用一矩形框,在矩形框内显示设备名称。
需要说明的是,设备标识可以采用静态显示的方式,也可以采用动态显示的方式, 例如,闪烁显示等。
还需要说明的是,设备标识在息屏显示界面中的显示区域可以由系统默认设置,也可以由用户自定义设置。设备标识的显示区域可以包括电子设备的屏幕上方区域、下方区域、下方靠左或靠右区域等。
在第一种实现方式或第二种实现方式的基础上,在一些实现方式中,息屏显示界面中显示的设备标识,这些设备标识对应的电子设备与第一手机1010登录的账户相同。
在第一种实现方式或第二种实现方式的基础上,在一些实现方式中,第一手机1010可以根据系统默认设置或用户自定义设置,确定息屏显示界面中所显示的设备标识的数量上限等。
在第一种实现方式或第二种实现方式的基础上,在一些实现方式中,设备标识在息屏显示界面中的分布可以不根据各个可连接设备的空间关系进行映射。设备标识在息屏显示界面中的分布可以由系统默认设置,也可以由用户自定义设置。
设备标识的分布可以采用随机分布,也可以采用规则间隔分布。设备标识的分布可以形成一规则的几何图像,例如直线、三角形、或矩阵等。设备标识的分布也可以形成非规则的曲线。例如,设备标识为三个时,三个设备标识各自分布在等边三角形的三个角;又如,设备标识为四个时,四个设备标识各自分布在矩形的四个角。
作为一非限制性示例,在图10所示应用场景的基础上,如图11A所示,在第一手机1010的息屏显示界面中,除了显示时间、日期和电量,还显示四个可连接设备各自对应的设备标识,即电视1020、智能音箱1030、平板电脑1040和第二手机1050各自对应的设备标识。四个设备标识的分布形成规则的矩形。设备标识1102对应的是电视1020,设备标识1103对应的是智能音箱1030,设备标识1104对应的是平板电脑1040,设备标识1105对应的是第二手机1050。在图11A所示的示例中,为了更好的让用户对各个可连接设备进行区分,提高操作效率和操作准确性,设备标识采用设备外形图。
根据系统默认设置或用户自定义设置的快捷路径,当第一手机1010检测到用户按压图11A中显示设备标识1102的区域,第一手机1010启动指纹识别或人脸识别以认证用户身份。在一些实施例中,待用户身份通过,第一手机1010解锁,建立与电视1020的无线通信连接,并进入电视机控制面板界面。电视机控制面板界面1110可以如图11B所示,用户可以通过点击电视机控制面板界面1110中的开机控件1111,控制电视1020开启。在另一些实施例中,待用户身份通过,第一手机1010解锁,建立与电视1020的无线通信连接,根据建立的无线通信连接控制电视1020开启。在另一些实施例中,待用户身份通过,第一手机1010解锁,建立与电视1020的无线通信连接,第一手机1010根据建立的无线通信连接控制电视1020开启,并进入电视机控制面板界面。应理解,在用户身份通过后,第一手机1010执行何种操作,由系统默认设置或用户自定义设置的快捷路径决定。
在图11A和图11B所示示例的基础上,第一手机1010控制电视1020开启的实现方式可以包括如下两种非限制性示例。
第一种,第一手机1010接收到用户操作,例如,用户按压电视1020对应的设备标识1102并成功解锁第一手机1010;又如,用户点击电视机控制面板界面中的开机控件,第一手机1010生成对应的开机指令,并基于第一手机1010与电视1020间建立 的通信连接,第一手机1010将控制指令发给电视1020,以此来通过手机第一手机1010控制电视1020开启。
第二种,第一手机1010根据用户操作,例如,用户按压电视1020对应的设备标识1102并成功解锁第一手机1010;又如,用户点击电视机控制面板界面中的开机控件,第一手机1010生成控制指令,控制指令发给云端,例如智能家居云,智能家居云基于第一手机1010与电视1020建立的通信连接,获得电视1020的当前状态,将控制指令转发给电视1020,获取电视1020的执行结果并返回该执行结果给第一手机1010。
作为另一非限制性示例,在图10所示应用场景的基础上,如图12A所示,在第一手机1010的息屏显示界面中,除了显示时间、日期和电量,还显示2个已连接设备各自对应的设备标识,即智能音箱1030和平板电脑1040各自对应的设备标识。2个设备标识的分布随机。设备标识1203对应的是智能音箱1030,设备标识1204对应的是平板电脑1040。在图12A所示的示例中,为了更好的让用户对各个可连接设备进行区分,提高操作效率和操作准确性,设备标识采用设备外形图。
根据系统默认设置或用户自定义设置的快捷路径,当第一手机1010检测到用户按压图12A中显示设备标识1204的区域,第一手机1010启动指纹识别或人脸识别以认证用户身份。待用户身份通过,第一手机1010解锁,同时显示第一手机1010的解锁界面和平板电脑1040的显示界面。第一手机1010的解锁界面与平板电脑1040的显示界面可以分屏显示,也可以叠加显示。在叠加显示的情形下,作为一示例,可以如图12B所示,平板电脑1040的显示界面1214可以以悬浮窗形式叠加显示在第一手机1010的解锁界面1211上。
在一些实施例中,第一手机1010成功解锁后,根据已建立的无线通信连接,发送投屏指令给平板电脑1040,平板电脑1040根据投屏指令将显示界面投屏到第一手机1010。在第一手机1010上直接跨设备调起平板电脑的显示界面。可以实现将平板电脑的显示界面流转到手机上显示和操作。
需要说明的是,第一手机1010可调起的平板电脑的显示界面,可以由平板电脑的用户自定义设置或由平板电脑的系统默认设置。
若第一手机1010在锁屏状态下继续播放音乐,当第一手机1010检测到用户按压图12A中显示设备标识1203的区域,第一手机1010启动指纹识别或人脸识别以认证用户身份。待用户身份通过,第一手机1010解锁,将第一手机1010正在播放的音乐投音给智能音响1030。
在第一种实现方式或第二种实现方式的基础上,在一些实现方式中,设备标识在息屏显示界面中的分布可以根据电子设备的空间关系进行映射。空间关系包括定位和/或定向的空间关系。
第一手机1010获取周边电子设备(包括电视1020、智能音箱1030、平板电脑1040和第二手机1050中的一个或多个)与第一手机1010的空间关系。该空间关系包括距离和夹角。作为一实现方式,距离是指各周边电子设备与第一手机之间的相对或绝对距离。夹角是各周边电子设备与第一手机的连线与第一手机的朝向之间的夹角。作为一示例,根据UWB定位技术以及UWB技术的指向性,可以计算出第一手机与周边电子设备的距离和夹角。根据UWB技术的指向性,当第一手机的朝向发生变化时,第一手 机与周边电子设备的夹角随之发生变化。
在本申请后续的实施例或示例中,为了方便描述,以从第一手机朝向所在直线出发顺时针方向旋转到第一手机与周边电子设备的连线之间的角度,作为计算夹角大小的示例性描述。应理解,不能解释为对本申请的具体限制。
结合图10所示的应用场景,如图13A所示,点A代表第一手机1010的定位点,点B代表电视1020的定位点,点A与点B之间的距离为a;点C代表平板电脑1040的定位点,点A与点C之间的距离为b。如图13A所示,假设第一手机1010的朝向为图13A中箭头X所示方向,箭头X所在直线顺时针方向旋转角度θ1到点A与点B的连线,角度θ1即电视1020与第一手机1010的连线与第一手机1010的朝向所在直线之间的夹角,可简称为第一手机1010与电视1020之间的夹角。箭头X所在直线顺时针方向旋转角度θ2到点A与点C的连线,角度θ2即平板电脑1040与第一手机1010的连线与第一手机1010的朝向所在直线之间的夹角,可简称为第一手机1010与平板电脑1040之间的夹角。第一手机1010的息屏显示界面中设备标识根据周边电子接设备的空间关系进行布局。具体地,设备标识的分布根据周边电子设备与第一手机之间的空间关系进行映射。
需要说明的是,在一些实现方式中,第一手机1010的朝向可以设定为如图13B中箭头X1所示方向,即将第一手机顶部沿长边的射线方向作为第一手机的朝向。此时,第一手机1010与电视1020之间的夹角为θ1。在其他一些实现方式中,第一手机1010的朝向可以设定为如图13C中箭头X2所示方向,此时,第一手机1010与电视1020之间的夹角为θ2。应理解,第一手机的朝向可以按照系统默认设置,也可以由用户自定义设置。第一手机的朝向可以根据需求和/或习惯选择设置,第一手机的朝向除了采用图13B和图13C所示箭头方向,还可以采用其他设定。例如,图13D中箭头X3或X4所示方向。本申请对第一手机的朝向不予具体限制。优选地,为了降低用户使用难度,节省记忆成本,提升操作效率,可以将第一手机的朝向设定为如图13B中箭头X1所示方向。在本申请后续的应用场景、实施例、实现方式或示例中,为了方便描述,手机的朝向以沿手机长边方向的射线方向作为示例。应理解,不能解释为对本申请实施例或实现方式的具体限制。
在图13A、图13B和图13C中以第一手机1010与电视1020之间的距离和/或夹角作为示例性描述,应理解,智能音响1030、平板电脑1040和第二手机1050各自与第一手机1010之间的距离和夹角可以参照这些示例进行类比。
在第一手机1010的朝向设定为某一方向的情形下,第一手机的朝向相对第一手机本体是确定的,即不变。当第一手机1010与周边电子设备的位置均未改变,而第一手机1010本体发生翻转或转动时,由于第一手机1010的朝向相对于本机未变,因而手机1010与每个周边电子设备之间的夹角可能发生变化。由于息屏显示界面中设备标识的分布根据第一手机与周边电子设备之间的空间关系进行映射,且空间关系包括距离和夹角,因而息屏显示界面中设备标识的分布将随着周边电子设备与第一手机之间夹角的变化而变化。
作为一非限制性示例,以第一手机的朝向为沿手机长边方向的射线方向为例进行说明。结合图14所示的应用场景,第一手机1010的朝向从图14中的A图所示的指向 电视1020,调整到图14中的B图所示的指向平板电脑1040。在这个过程中,用户握持第一手机1010的本体逆时针针转动一角度θ,第一手机1010的朝向方向从指向电视1020调整到指向平板电脑1040。在第一手机1010的本体转动的过程中,第一手机1010与可连接的四个电子设备之间的夹角发生了变化,而距离未改变。第一手机1010的息屏显示界面从图15中的A图所示,变成图15中的B图所示。如图15所示,第一手机1010的朝向为沿手机长边方向的射线方向,即如图15所示的黑色箭头所示方向。第一手机1010的息屏显示界面显示可连接的四个电子设备各自对应的设备标识。设备标识采用设备外形图。设备标识1502对应的是电视1020,设备标识1503对应的是智能音箱1030,设备标识1504对应的是平板电脑1040,设备标识1505对应的是第二手机1050。从图15可以看出,设备标识的分布或布局随着第一手机与周边电子设备的空间关系变化而变化。
更一般地,当第一手机1010和可连接设备中的至少一个电子设备的位置发生变化,和/或,第一手机1010与任一个或多个可连接设备之间的夹角发生变化,第一手机1010显示的息屏显示界面中可连接设备的分布随着这些变化而变化。
在另一非限制性示例中,息屏显示界面还可以包括第一手机1010的朝向标识。朝向标识可以采用线条或箭头等静态形式呈现,也可以采用闪烁的线条或箭头等动态形式呈现。朝向标识可以与息屏显示界面的显示同步,也可以比息屏显示界面的显示时长短。例如,朝向标识在显示息屏显示界面的开始一段时长内显示,然后消失。又如,朝向标识在用户旋转、转动或移动第一手机的这一段时间内显示,然后消失。
例如,继续结合图14所示的应用场景,如图16所示,第一手机1010的朝向为沿手机长边方向的射线方向,即黑色箭头所示方向。息屏显示界面中第一手机1010的朝向标识为白色直线1611。息屏显示界面显示第一手机1010搜索到的四个可连接设备,设备标识采用矩形图案。设备标识1602对应的是电视1020,设备标识1603对应的是智能音箱1030,设备标识1604对应的是平板电脑1040,设备标识1605对应的是第二手机1050。第一手机1010本体逆时针转动一角度,第一手机1010的朝向方向从指向电视1020调整到指向平板电脑1040。图16中的A图所示的息屏显示界面中,电视1020对应的设备标识1602位于白色直线1611上。图16中的B图所示的息屏显示界面中,平板电脑对应的设备标识1604位于白色直线1611上。从图16可以看出,息屏显示界面的朝向标识,即白色直线的位置,并未随着第一手机1010与可连接设备的空间关系的变化而变化。而是各可连接设备对应的设备标识的显示位置发生了变化。由于息屏显示界面中显示了朝向标识,用户可以更直观地确认手机的朝向所指向的设备,可以方便用户将设备标识的分布或布局与实际所处场景进行对应,方便用户准确且高效地选中目标设备,并启用针对目标设备的快捷路径。
在图15和图16所示的示例中,用户可以通过按压(例如点击或长按操作等)显示任一设备标识的屏幕区域,解锁手机后,手机启用该设备标识对应的快捷路径。
在图15和图16所示的示例中,息屏显示界面中的设备标识(即快捷路径标识)显示在屏幕的上方区域。可以根据系统设置,或根据用户自定义设置,对快捷路径标识的显示区域进行设置。在一些实施例中,手机屏幕较大,为了便于用户操作,提高操作效率,息屏显示界面中的快捷路径标识,可以根据系统默认设置或用户自定义设 置,显示在屏幕的下方区域。在另一些实施例中,手机屏幕较大,为了进一步方便用户操作,从而进一步提供操作效率,可以根据检测到的左手或右手的握持状态,将快捷路径标识显示在屏幕下方的靠左侧或靠右侧的区域。在另一些实施例中,息屏显示界面中的快捷路径标识可以改变显示区域,类似的,息屏显示界面中的其他内容也可以改变显示区域,例如,每间隔预设时长改变一次所显示的内容的显示位置;又如,息屏显示界面中所显示的内容的显示位置都与上一次的显示位置不相同。应理解,此处仅为示例性描述,不能解释为对本申请的具体限制。
针对设备标识在息屏显示界面中的分布根据各个可连接设备的空间关系进行映射的实现方式,在这些实现方式的基础上,第一手机1010可以根据系统默认设置或用户自定义设置获取预设条件,将满足预设条件的周边设备的设备标识显示在息屏显示界面中。
作为一非限制性示例,用户自定义设置了预设条件为周边设备的最大偏离角度,例如为15°(角度单位:度)。因而,第一手机1010的息屏显示界面中所显示的设备标识对应的周边设备与第一手机1010之间的偏离角度在15°以内。也就是说,当周边设备与第一手机1010之间的夹角在15°以内,或345°至360°以内时,才在息屏显示界面中显示该周边设备对应的设备标识。通过这种设置,减少了息屏显示界面中显示的周边设备的数量,避免用户未准确区分周边设备导致的误操作,提高了操作的准确率。
作为另一非限制性示例,用户自定义设置了预设条件为周边设备的最大偏离角度,例如为15°(角度单位:度),且设备标识数量上限为2个。因此,第一手机1010的息屏显示界面中最多可显示2个周边设备对应的设备标识,并且所显示的设备标识对应的周边设备与第一手机1010之间的偏离角度在15°以内。在一些示例中,如果刚好有2个周边设备与第一手机1010之间的夹角在15°以内,或345°至360°以内(即在-15°至+15°以内)时,在息屏显示界面中显示这2个周边设备对应的设备标识。在另一些示例中,如果有大于2个周边设备与第一手机1010之间的夹角在15°以内,或345°至360°以内(即在-15°至+15°以内)时,在息屏显示界面中显示偏离角度最小的两个周边设备对应的设备标识。
第四个应用场景
在一些可能的实现方式中,手机可以根据用户使用习惯和/或场景信息等,确定采用第一个应用场景的方案(以下简称第一快捷路径方案),即在息屏显示界面中显示针对手机中应用或功能的快捷路径标识;还是采用第三个应用场景的方案(以下简称第二快捷路径方案),即在息屏显示界面中显示针对周边设备的快捷路径标识。其中,场景信息包括位置信息等。在第四个应用场景中,实现了不同快捷路径方案的切换。
作为一非限制性示例,手机可以根据过去某一段时间内,第一快捷路径方案和第二快捷路径方案的使用记录,统计两个方案的使用规律。例如,统计结果为:一天中集中使用第二快捷路径方案包括2个时间段,8:00至9:00,和10:00至11:00。手机检测到当前时间处于这2个时间段时,采用第二快捷路径方案,即在息屏显示界面中显示针对周边设备的快捷路径标识。而当前时间处于这2个时间段时,采用第一快捷路径方案,即在息屏显示界面中显示针对手机中应用或功能的快捷路径标识。
作为另一非限制性示例,手机可以根据定位确定当前位置,根据当前位置确定用户所处场景,例如家或办公室等场景。当手机确定用户所处为家或办公室等场景,手机切换为第二快捷路径方案,即在息屏显示界面中显示针对周边设备的快捷路径标识。在除家或办公室外的其他场景,手机切换为第一快捷路径方案,即在息屏显示界面中显示针对手机中应用或功能的快捷路径标识。
需要说明的是,是否切换快捷路径方案可以由系统默认设置,也可以由用户自定义设置。手机可以自动根据用户使用习惯和/或场景信息等切换快捷路径方案,也可以根据用户手动操作切换快捷路径方案。
结合上述应用场景及相关附图,本申请一实施例提供了一种解锁方法,所述解锁方法可以由电子设备执行。例如,所述解锁方法可以由前述应用场景中的手机执行。又如,在其他实际应用场景中,所述解锁方法还可以由具有触摸显示屏的平板电脑、电视或智能音箱等电子设备执行。如图17所示,所述解锁方法应用于电子设备,所述解锁方法包括步骤S1710至S1730。
S1710,接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个快捷路径标识,所述快捷路径标识为对应电子设备中应用或功能的标识。
其中,所述快捷路径标识包括图案和/或文本等。
电子设备根据系统默认设置或用户自定义设置,确定每个快捷路径标识所对应的应用或功能。
S1720,若确定所述触摸操作作用于目标快捷路径标识,启动用户身份认证;所述目标快捷路径标识为所述一个或多个快捷路径标识中的任一所述快捷路径标识。
其中,所述用户身份认证包括基于指纹识别和/或人脸识别的身份认证等。电子设备预先录入用户的指纹信息和/或人脸信息,以便进行后续的身份认证。
当采用基于指纹识别的身份认证时,用户在息屏显示界面中输入的触摸操作可以为按压手指操作。一方面,电子设备可以确定用户手指是否作用于某一快捷路径标识,即目标快捷路径标识;另一方面,采集用户指纹进行身份认证。
需要说明的是,在一些实现方式中,若确定所述触摸操作并没有作用于任一快捷路径标识,则电子设备不解锁,继续显示息屏显示界面。在一些实现方式中,若确定所述触摸操作并没有作用于任一快捷路径标识,则电子设备可以启动摄像头进行人脸识别,待人脸识别通过后,电子设备解锁并进入解锁界面。在一些实现方式中,息屏显示界面中可以显示指纹图案,以提示用户进行指纹识别解锁电子设备,若确定所述触摸操作作用于息屏显示界面中显示的指纹图案,则电子设备启动指纹识别,若指纹识别通过,电子设备解锁并进入解锁界面。
S1730,若用户身份认证通过,解锁并显示与所述目标快捷路径标识对应的应用或功能的界面。
待用户身份认证通过,电子设备解锁,并显示与所述目标快捷路径标识对应的应用或功能的界面,用户可以直接使用该功能或应用。
需要说明的是,在一些实现方式中,若用户身份认证不通过,则电子设备不解锁,继续显示息屏显示界面。
本实施例在息屏显示界面划分多个区域,每个区域作为进入特定应用或功能的快 捷路径。用户可以通过指纹解锁或人脸识别快捷地进入具体应用或功能,达到了提升用户操作效率的目的。
本申请另一实施例提供了一种解锁方法,所述解锁方法可以由电子设备执行。例如,所述解锁方法可以由前述应用场景中的手机执行。又如,在其他实际应用场景中,所述解锁方法还可以由具有触摸显示屏的平板电脑、电视或智能音箱等执行。如图18所示,所述解锁方法应用于电子设备,所述解锁方法包括步骤S1810至S1830。
S1810,接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识。
其中,所述设备标识包括图案和/或文本等。
电子设备根据系统默认设置或用户自定义设置,确定每个设备标识对应的周边设备的快捷路径。
S1820,若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识。
其中,所述用户身份认证包括基于指纹识别和/或人脸识别的身份认证等。电子设备预先录入用户的指纹信息和/或人脸信息,以便进行后续的身份认证。
当采用基于指纹识别的身份认证时,用户在息屏显示界面中输入的触摸操作可以为按压手指操作。一方面,电子设备可以确定用户手指是否作用于某一设备标识,即目标设备标识;另一方面,采集用户指纹进行身份认证。
需要说明的是,在一些实现方式中,若确定所述触摸操作并没有作用于任一设备标识,则电子设备不解锁,继续显示息屏显示界面。在一些实现方式中,若确定所述触摸操作并没有作用于任一设备标识,则电子设备可以启动摄像头进行人脸识别,待人脸识别通过后,电子设备解锁并进入解锁界面。在一些实现方式中,息屏显示界面中可以显示指纹图案,以提示用户进行指纹识别解锁电子设备,若确定所述触摸操作作用于息屏显示界面中显示的指纹图案,则电子设备启动指纹识别,若指纹识别通过,电子设备解锁并进入解锁界面。
S1830,若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。
待用户身份认证通过,电子设备解锁,并启用与目标设备标识对应的快捷路径。
应理解,快捷路径与目标设备标识对应的目标设备关联。
快捷路径包括但不限于:控制目标设备开启、显示目标设备的控制面板界面、调起目标设备的显示界面、投屏或投音到目标设备等等。
需要说明的是,在一些实现方式中,若用户身份认证不通过,则电子设备不解锁,继续显示息屏显示界面。
本实施例在息屏显示界面显示一个或多个周边设备的设备标识,每个设备标识作为进入特定周边设备的快捷路径。用户可以通过指纹解锁或人脸识别快捷地启用针对任一周边设备的快捷路径,快捷路径例如控制周边设备、进入周边设备的控制界面、调起周边设备的界面、投屏或投音等。方便快捷地在息屏下实现跨设备交互,达到了提升用户操作效率的目的。
应理解,上述实施例中各过程的执行顺序应以其功能和内在逻辑确定,而不应对 本申请实施例的实施过程构成任何限定。
对应于上文实施例所述的解锁方法,本申请实施例还提供了了一种解锁装置。解锁装置包括的各个模块可以对应实现解锁方法的各个步骤。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例的描述,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不用方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
需要说明的是,上述模块/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本申请实施例还提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,使得所述电子设备实现上述各个方法实施例中的步骤。
作为一示例,电子设备可以包括可穿戴设备、手机、或平板电脑等。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现上述各个方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行时可实现上述各个方法实施例中的步骤。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/电子设备的任何实体或装置、记录介质、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据 立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的电子设备实施例仅仅是示意性的。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种解锁方法,应用于电子设备,其特征在于,所述解锁方法包括:
    接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识;
    若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识;
    若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。
  2. 根据权利要求1所述的解锁方法,其特征在于,所述一个或多个设备标识在所述息屏显示界面中的分布,根据各个所述周边设备与所述电子设备的空间关系进行映射。
  3. 根据权利要求2所述的解锁方法,其特征在于,所述空间关系包括定位和/或定向的空间关系。
  4. 根据权利要求3所述的解锁方法,其特征在于,在所述空间关系包括定位和定向的空间关系的情形下,所述空间关系包括各个所述周边设备与所述电子设备之间的距离,和,各个所述周边设备与所述电子设备的连线与所述电子设备的朝向之间的夹角。
  5. 根据权利要求4所述的解锁方法,其特征在于,所述息屏显示界面还包括所述电子设备的朝向标识。
  6. 根据权利要求1至5任一项所述的解锁方法,其特征在于,所述启用与所述目标设备标识对应的快捷路径,包括:
    控制所述目标设备标识对应的目标设备响应预设指令;或,
    显示所述目标设备标识对应的目标设备的控制面板界面;或,
    调起所述目标设备标识对应的目标设备的显示界面;或,
    投屏或投音到所述目标设备标识对应的目标设备。
  7. 根据权利要求1至5任一项所述的解锁方法,其特征在于,所述触摸操作包括手指按压操作,所述用户身份认证包括基于指纹识别的用户身份认证。
  8. 一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,使得所述电子设备实现如下步骤:
    接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识;
    若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识;
    若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。
  9. 根据权利要求8所述的电子设备,其特征在于,所述一个或多个设备标识在所述息屏显示界面中的分布,根据各个所述周边设备与所述电子设备的空间关系进行映射。
  10. 根据权利要求9所述的电子设备,其特征在于,所述空间关系包括定位和/或定向的空间关系。
  11. 根据权利要求10所述的电子设备,其特征在于,在所述空间关系包括定位和定向的空间关系的情形下,所述空间关系包括各个所述周边设备与所述电子设备之间的距离,和,各个所述周边设备与所述电子设备的连线与所述电子设备的朝向之间的夹角。
  12. 根据权利要求11所述的电子设备,其特征在于,所述息屏显示界面还包括所述电子设备的朝向标识。
  13. 根据权利要求8至12任一项所述的电子设备,其特征在于,所述启用与所述目标设备标识对应的快捷路径,包括:
    控制所述目标设备标识对应的目标设备响应预设指令;或,
    显示所述目标设备标识对应的目标设备的控制面板界面;或,
    调起所述目标设备标识对应的目标设备的显示界面;或,
    投屏或投音到所述目标设备标识对应的目标设备。
  14. 根据权利要求8至12任一项所述的电子设备,其特征在于,所述触摸操作包括手指按压操作,所述用户身份认证包括基于指纹识别的用户身份认证。
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如下步骤:
    接收用户在息屏显示界面中输入的触摸操作,所述息屏显示界面包括一个或多个设备标识,所述设备标识为电子设备可连接的周边设备和/或已连接的周边设备的标识;
    若确定所述触摸操作作用于目标设备标识,启动用户身份认证;所述目标设备标识为所述一个或多个设备标识中的任一所述设备标识;
    若用户身份认证通过,解锁并启用与所述目标设备标识对应的快捷路径。
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述一个或多个设备标识在所述息屏显示界面中的分布,根据各个所述周边设备与所述电子设备的空间关系进行映射。
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述空间关系包括定位和/或定向的空间关系。
  18. 根据权利要求17所述的计算机可读存储介质,其特征在于,在所述空间关系包括定位和定向的空间关系的情形下,所述空间关系包括各个所述周边设备与所述电子设备之间的距离,和,各个所述周边设备与所述电子设备的连线与所述电子设备的朝向之间的夹角。
  19. 根据权利要求15至18任一项所述的计算机可读存储介质,其特征在于,所述启用与所述目标设备标识对应的快捷路径,包括:
    控制所述目标设备标识对应的目标设备响应预设指令;或,
    显示所述目标设备标识对应的目标设备的控制面板界面;或,
    调起所述目标设备标识对应的目标设备的显示界面;或,
    投屏或投音到所述目标设备标识对应的目标设备。
  20. 根据权利要求15至18任一项所述的计算机可读存储介质,其特征在于,所述触摸操作包括手指按压操作,所述用户身份认证包括基于指纹识别的用户身份认证。
PCT/CN2021/113610 2020-09-02 2021-08-19 解锁方法及电子设备 WO2022048453A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010911832.4A CN114201738B (zh) 2020-09-02 2020-09-02 解锁方法及电子设备
CN202010911832.4 2020-09-02

Publications (1)

Publication Number Publication Date
WO2022048453A1 true WO2022048453A1 (zh) 2022-03-10

Family

ID=80491580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113610 WO2022048453A1 (zh) 2020-09-02 2021-08-19 解锁方法及电子设备

Country Status (2)

Country Link
CN (1) CN114201738B (zh)
WO (1) WO2022048453A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700473A (zh) * 2022-09-13 2023-09-05 荣耀终端有限公司 息屏显示方法、装置及终端设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117131555A (zh) * 2023-04-28 2023-11-28 荣耀终端有限公司 一种信息显示方法及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181683A1 (en) * 2012-12-21 2014-06-26 Samsung Electronics Co., Ltd. Method and system for controlling external device
CN108243281A (zh) * 2017-12-27 2018-07-03 深圳信炜科技有限公司 电子设备的指纹识别方法
CN108958582A (zh) * 2018-06-28 2018-12-07 维沃移动通信有限公司 一种应用程序启动方法及终端
CN110597473A (zh) * 2019-07-30 2019-12-20 华为技术有限公司 一种投屏方法与电子设备
CN111328051A (zh) * 2020-02-25 2020-06-23 上海银基信息安全技术股份有限公司 数字钥匙分享方法、装置、电子设备及存储介质
CN111459388A (zh) * 2020-04-13 2020-07-28 深圳康佳电子科技有限公司 一种智慧家居信息的息屏显示方法、显示设备及存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140081642A (ko) * 2012-12-21 2014-07-01 삼성전자주식회사 외부 기기 제어 방법 및 시스템

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181683A1 (en) * 2012-12-21 2014-06-26 Samsung Electronics Co., Ltd. Method and system for controlling external device
CN108243281A (zh) * 2017-12-27 2018-07-03 深圳信炜科技有限公司 电子设备的指纹识别方法
CN108958582A (zh) * 2018-06-28 2018-12-07 维沃移动通信有限公司 一种应用程序启动方法及终端
CN110597473A (zh) * 2019-07-30 2019-12-20 华为技术有限公司 一种投屏方法与电子设备
CN111328051A (zh) * 2020-02-25 2020-06-23 上海银基信息安全技术股份有限公司 数字钥匙分享方法、装置、电子设备及存储介质
CN111459388A (zh) * 2020-04-13 2020-07-28 深圳康佳电子科技有限公司 一种智慧家居信息的息屏显示方法、显示设备及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700473A (zh) * 2022-09-13 2023-09-05 荣耀终端有限公司 息屏显示方法、装置及终端设备
CN116700473B (zh) * 2022-09-13 2024-04-05 荣耀终端有限公司 息屏显示方法、装置及终端设备

Also Published As

Publication number Publication date
CN114201738A (zh) 2022-03-18
CN114201738B (zh) 2023-04-21

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
EP3800876A1 (en) Method for terminal to switch cameras, and terminal
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2022033320A1 (zh) 蓝牙通信方法、终端设备及计算机可读存储介质
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
WO2020088633A1 (zh) 支付方法、装置和用户设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2020024108A1 (zh) 一种应用图标的显示方法及终端
CN113805487B (zh) 控制指令的生成方法、装置、终端设备及可读存储介质
CN112130788A (zh) 一种内容分享方法及其装置
WO2022052740A1 (zh) 一种折叠设备及其开合控制方法
WO2022048453A1 (zh) 解锁方法及电子设备
WO2020133006A1 (zh) 基于低功耗蓝牙的通信方法及相关装置
WO2020221062A1 (zh) 一种导航操作方法及电子设备
WO2022135157A1 (zh) 页面显示的方法、装置、电子设备以及可读存储介质
WO2022170856A1 (zh) 建立连接的方法与电子设备
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
CN115016697A (zh) 投屏方法、计算机设备、可读存储介质和程序产品
CN114356195B (zh) 一种文件传输的方法及相关设备
CN114095542A (zh) 显示控制方法及电子设备
WO2023116414A1 (zh) 一种多屏的解锁方法和电子设备
WO2023029916A1 (zh) 批注展示方法、装置、终端设备及可读存储介质
WO2022152174A9 (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: 21863520

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

Country of ref document: EP

Kind code of ref document: A1