WO2022217969A1 - 一种在应用中启用功能的方法及装置 - Google Patents

一种在应用中启用功能的方法及装置 Download PDF

Info

Publication number
WO2022217969A1
WO2022217969A1 PCT/CN2021/141504 CN2021141504W WO2022217969A1 WO 2022217969 A1 WO2022217969 A1 WO 2022217969A1 CN 2021141504 W CN2021141504 W CN 2021141504W WO 2022217969 A1 WO2022217969 A1 WO 2022217969A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
interface
electronic device
function
contact
Prior art date
Application number
PCT/CN2021/141504
Other languages
English (en)
French (fr)
Inventor
陈美星
刘丰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21936835.4A priority Critical patent/EP4310645A1/en
Publication of WO2022217969A1 publication Critical patent/WO2022217969A1/zh
Priority to US18/486,505 priority patent/US20240045586A1/en

Links

Images

Classifications

    • 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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

Definitions

  • the present application relates to the field of computers, and in particular, to a method and apparatus for enabling functions in an application.
  • FIG. 1 is a schematic diagram showing a group of interfaces for sending emails through an application (instant messaging) in the prior art.
  • the main interface of the application includes response areas corresponding to multiple functions, such as response areas corresponding to the mail function.
  • the application switches from the main interface to the email interface in (b) of FIG. 1 .
  • the user touches the button of writing an email in the email interface to enter the email writing interface of (c) in FIG. 1 .
  • the user can write the content of the email in the email writing interface, and touch the button for selecting recipients (the plus sign in (c) in Figure 1) to enter the selecting recipient interface, and the selecting recipient interface is shown in (d) in Figure 1. shown.
  • the button for selecting recipients the plus sign in (c) in Figure 1
  • the selecting recipient interface is shown in (d) in Figure 1. shown.
  • the electronic device will display Zhang San at the recipient's position in the email writing interface, as shown in (e) in Figure 1, and then the user touches the send button to send the email To Zhang San.
  • the present application provides a method and apparatus for enabling a function in an application, so as to reduce user operations when enabling a function in an application.
  • the present application provides a method for enabling a function in an application, which can be applied to an electronic device.
  • the method includes: receiving a first operation, where the first operation is that a user drags a first icon in a first interface and/or Or the second icon, until the positional relationship between the first icon and the second icon satisfies the preset condition; in response to the first operation, the second interface corresponding to the target function indicated by the second icon is displayed, and the first icon corresponding to the first icon is displayed.
  • a contact is the operation object of the target function.
  • the user can drag the first icon and/or the second icon until the positional relationship between the two satisfies the preset condition, so that the electronic device can control the first contact (ie the target contact) corresponding to the first icon. ) to perform the target function, the user does not need to touch the interface many times, and does not need to switch between different interfaces many times, which helps to reduce user operations. And it does not change the visual elements and information architecture of the application interface, which helps to reduce development costs.
  • the first interface and the second interface belong to the same application or different applications.
  • the user can start different interfaces in the same application or start different interfaces in different applications by dragging the first icon and/or the second icon until the positional relationship between the two satisfies the preset condition, On the premise of providing a variety of functions, it helps to simplify user operations.
  • the first icon includes a plurality of icons.
  • multiple icons may correspond to multiple target contacts, which is equivalent to that the electronic device can perform target functions on multiple target contacts at the same time, which is helpful for simplifying user operations.
  • the positional relationship between the first icon and the second icon satisfies a preset condition, including: the first icon and the second icon overlap or the first icon and the second icon overlap.
  • the distance is less than the preset distance.
  • the method before receiving the first operation, further includes: receiving a second operation, where the second operation is that the user touches the first response area corresponding to the first contact in the first interface to the first preset Set the duration; in response to the second operation, generate the first icon at the touch position of the second operation.
  • a movable first icon may be displayed in the first interface. , the first icon is in a floating state. Then the user can drag the moved first icon until the positional relationship with the second icon satisfies the preset condition.
  • the method further includes: highlighting a plurality of optional function icons, where the plurality of optional function icons include the second icon.
  • the plurality of optional function icons include the second icon.
  • the method before receiving the first operation, further includes: receiving a second operation, where the second operation is that the user touches the response area corresponding to the target function in the first interface to a second preset duration; responding For the second operation, a second icon is generated at the touch position of the second operation.
  • a second movable icon may be displayed in the first interface, exemplarily, the second icon in a floating state. Then the user can drag the moved second icon until the positional relationship with the first icon satisfies the preset condition.
  • the method further includes: highlighting multiple selectable contact icons, where the multiple selectable contact icons include the first icon.
  • the multiple selectable contact icons include the first icon.
  • a second movable icon can be displayed in the first interface, but also a plurality of optional contact icons can be highlighted in the first interface to prompt the user which contact icons correspond to the contacts. It can be used as the target contact, which helps to prevent the user from dragging the second icon to the vicinity of the unselectable contact icon.
  • the second icon includes any one of an address book icon, a phone icon, an email icon, a message icon, and a blog icon.
  • the electronic device may display function icons corresponding to each function in the first interface, such as an address book icon, a phone icon, an email icon, a message icon, a blog icon, etc., and the second icon may be one of the above function icons. .
  • the electronic device jumps from the first interface to the second interface corresponding to the target function. In this way, more operation functions can be provided to the user on the premise of reducing user operations.
  • the first contact is a contact group, and the contact group includes multiple contacts.
  • the user can perform the operation of the target function on multiple contacts in the contact group, which helps to improve the convenience of the user's operation.
  • the method further includes: after performing the target function on the first contact, returning from the second interface to the first interface.
  • the electronic device determines that the user has completed the target function on the target contact, it jumps back to the first interface from the current second interface without the user touching the return button, which further reduces user operations and helps improve user experience. .
  • the present application provides an electronic device including a processor, a memory and a touch screen, the memory and the touch screen are coupled to the processor, the memory is used to store computer program codes, and the computer program codes include computer instructions, when the processor is retrieved from the memory Reading the computer instructions, so that the electronic device performs the following operation: receiving a first operation, the first operation is that the user drags the first icon and/or the second icon in the first interface to between the first icon and the second icon The location relationship of the first icon satisfies the preset condition; in response to the first operation, the second interface corresponding to the target function indicated by the second icon is displayed, and the first contact corresponding to the first icon is the operation object of the target function.
  • the first icon includes a plurality of icons.
  • the positional relationship between the first icon and the second icon satisfies a preset condition, including: the first icon and the second icon overlap or the first icon and the second icon overlap.
  • the distance is less than the preset distance.
  • the electronic device before the electronic device receives the first operation, it is further configured to perform: receiving a second operation, where the second operation is that the user touches the first response area corresponding to the first contact in the first interface to a first preset duration; in response to the second operation, generating a first icon at the touch position of the second operation.
  • the electronic device after the electronic device receives the second operation, it is further configured to perform: highlighting multiple selectable function icons, where the multiple selectable function icons include the second icon.
  • the second icon includes any one of an address book icon, a phone icon, an email icon, a message icon, and a blog icon.
  • the first contact is a contact group, and the contact group includes multiple contacts.
  • the electronic device after the electronic device performs the target function on the first contact, the electronic device is further configured to perform: returning from the second interface to the first interface.
  • the present application provides a computing device, the computing device has the function of implementing the above-mentioned first aspect or any possible implementation manner of the first aspect, the function can be implemented by hardware, or can be implemented by hardware software implementation.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a computer, cause the computer to execute the above-mentioned first aspect or the first aspect.
  • the computer-readable storage medium stores a computer program
  • the computer program includes program instructions
  • the program instructions when executed by a computer, cause the computer to execute the above-mentioned first aspect or the first aspect.
  • the present application provides a computer program product, wherein a computer program is stored in the computer program product, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer program is executed.
  • a computer program is stored in the computer program product, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer program is executed.
  • the present application provides a chip system, including one or more processors, and when the one or more processors execute an instruction, the one or more processors execute the first aspect or any one of the first aspects. methods in possible implementations.
  • FIG. 1 is a schematic diagram of a group of interface displays for sending emails through applications in the prior art
  • FIG. 2 is a schematic diagram of a hardware structure of an electronic device provided by the application.
  • FIG. 3 is a schematic diagram of a group of main interfaces exemplarily provided by this application.
  • FIG. 4 is a schematic diagram of interface display for sending emails by a first group of users provided by the present application
  • FIG. 5 is a schematic diagram of interface display for sending emails by a second group of users provided by the present application.
  • FIG. 6 is a schematic diagram of interface display for sending emails by a third group of users provided by the present application.
  • FIG. 7 is a schematic diagram of interface display of a group of users calling contacts provided by the present application.
  • FIG. 8 is a schematic diagram of interface display of a group of users viewing contact blogs provided by the present application.
  • FIG. 9 is a schematic diagram of an interface display of a group of users sending emails to multiple contacts provided by the present application.
  • FIG. 10 is a schematic diagram of a set of interfaces for highlighting optional functions provided by this application.
  • FIG. 11 is a schematic flowchart of a method for enabling a function in an application provided by the application
  • FIG. 12 is a schematic structural diagram of an electronic device provided by the application.
  • the electronic device may be a portable electronic device including functions such as personal digital assistants and/or music players, such as mobile phones, tablet computers, wearable devices (such as smart watches) with wireless communication functions, Vehicle equipment, etc.
  • portable electronic devices include, but are not limited to, carry-on Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be, for example, a laptop or the like having a touch-sensitive surface (eg, a touch panel). It should also be understood that, in some other embodiments of the present application, the above-mentioned electronic device may also be a desktop computer having a touch-sensitive surface (eg, a touch panel).
  • FIG. 2 exemplarily shows a schematic structural diagram of an electronic device 100 for this application.
  • the illustrated electronic device 100 is only an example and that the electronic device 100 may have more or fewer components than those shown, two or more components may be combined, or may have different Parts configuration.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • 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 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • 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 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receive
  • 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 processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor and/or neural-network processing unit (neural-network processing unit, NPU), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100 . The controller can generate the operation control signal according to the instruction operation code and the timing signal, and complete the control of reading the instruction and executing the instruction.
  • 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 directly called from the memory, so that repeated access can be avoided, the waiting time of the processor 110 can be reduced, and the efficiency of the system can be improved.
  • the processor 110 may execute the method for enabling a function in an application provided by the present application, and the processor may, in response to a touch operation on the display screen, start a function corresponding to the touch operation in the application.
  • the processor 110 integrates different devices, such as integrating a CPU and a GPU, the CPU and the GPU can cooperate to execute the method for enabling functions in an application provided by the present application, so as to obtain faster processing efficiency.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver ( universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface , and/or, a 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 mobile industry processor interface
  • 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 realize 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 embodiments of the present application 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 some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some 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. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • 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), New Radio Access Technology (new radio access technology, NR), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • 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 organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • 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 one or more cameras 193 .
  • 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 program storage area may store an operating system, an application 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 executing 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 may be the USB interface 130, or may 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. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions.
  • 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 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, and then set characteristics such as automatic unlocking of the flip.
  • 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 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.
  • a fingerprint sensor may be disposed on the front of the electronic device 100 (below the display screen 194 ), or a fingerprint sensor may be disposed on the back of the electronic device 100 (below the rear camera).
  • the fingerprint recognition function can also be realized by configuring a fingerprint sensor in the touch screen, that is, the fingerprint sensor can be integrated with the touch screen to realize the fingerprint recognition function of the electronic device 100 .
  • the fingerprint sensor may be configured in the touch screen, may be a part of the touch screen, or may be configured in the touch screen in other ways.
  • the fingerprint sensor can also be implemented as a full-panel fingerprint sensor. Therefore, the touch screen can be regarded as a panel that can perform fingerprint collection at any position.
  • the fingerprint sensor can process the collected fingerprint (for example, whether the fingerprint is verified) and send it to the processor 110, and the processor 110 performs corresponding processing according to the fingerprint processing result.
  • the fingerprint sensor can also send the collected fingerprint to the processor 110, so that the processor 110 can process the fingerprint (eg, fingerprint verification, etc.).
  • the fingerprint sensor in this application may employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric, or ultrasonic sensing technology.
  • the temperature sensor 180J is used to detect 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 panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • 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 vibrating alerts for incoming calls, 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 electronic device 100 may further include a Bluetooth device, a positioning device, a flash, a pico-projection device, a near field communication (NFC) device, etc., which will not be described here.
  • a Bluetooth device a positioning device
  • a flash a pico-projection device
  • NFC near field communication
  • a mobile phone can provide users with multiple functions, such as an address book function, a phone function, an email function, a message function, a blog function, and the like.
  • the multiple functions may be set in one application, or may be set in different applications.
  • Each function may correspond to a function interface, for example, the address book function corresponds to the address book interface, the phone function corresponds to the phone interface, the mail function corresponds to the mail interface, and the like.
  • the mobile phone may display a main interface, and the main interface may include a response area corresponding to at least one contact and a response area corresponding to at least one function.
  • the main interface such as the message interface, the address book interface or the mail interface, etc.
  • the contact may be a single contact, such as Zhang San or Li Si.
  • the contact may also be a contact group, and the contact group includes multiple contacts.
  • the contact group is a business group A, and the business group A includes Zhang San and Li Si.
  • the response area corresponding to the contact may include information for indicating the contact.
  • the response area corresponding to the contact may include, but is not limited to, one of the contact's avatar, name, contact information, chat record (user and contact), email record (user and contact), or multiple.
  • the response area corresponding to Zhang San includes Zhang San's avatar, Zhang San's name, and chat records.
  • the response area corresponding to the function may include information for indicating the function, such as a function icon and/or a function name.
  • the response area corresponding to the message function includes a message icon and a message name.
  • FIG. 3 is a schematic diagram of a set of main interfaces exemplarily provided by the present application.
  • Figure 3 (a) is a schematic diagram when the main interface is a message interface.
  • the message interface includes response areas corresponding to five contacts, and the five contacts are Zhang San, Li Si, Wang Wu, business group A, and business group B.
  • the responses corresponding to Zhang San In the area there are Zhang San's avatar (represented by ⁇ ), the name "Zhang San", and chat records.
  • the message interface also includes response areas corresponding to seven functions. Among the seven functions, the message function, mail function, address book function, business function and blog function are all located at the bottom of the message interface; + indicates) are located at the top right of the message interface.
  • the plus sign function can correspond to different functions in different function interfaces.
  • the response area corresponding to the message function includes a message icon and a message name.
  • FIG. 3 is a schematic diagram when the main interface is the address book interface.
  • the address book interface includes response areas corresponding to five contacts.
  • the response area corresponding to Zhang San includes Zhang San's avatar (represented by ⁇ ) and the name "Zhang San”.
  • the address book interface also includes response areas corresponding to seven functions, which are similar to the message interface in (a) of FIG. 3 , and will not be repeated here.
  • FIG. 3 is a schematic diagram when the main interface is an email interface.
  • the email interface includes response areas corresponding to five contacts.
  • the response area corresponding to Zhang San includes Zhang San's avatar (represented by ⁇ ), the name "Zhang San", and the email record.
  • the email interface also includes response areas corresponding to seven functions, which are similar to the message interface in (a) of FIG. 3 , and will not be repeated here.
  • the mobile phone when the user touches the response area corresponding to a certain contact, the mobile phone can at least display the touch with the user based on one or more parameters of the user's touch position, touch duration, and touch pressure. Operate the corresponding interface.
  • the response area corresponding to the contact may be a rectangular area, and the rectangular area includes not only information for indicating the contact, but also a blank area.
  • the message interface in (a) of FIG. 3 the response area corresponding to Zhang San is framed by a dotted frame 1.
  • the mobile phone can determine that the user selected the response area.
  • the contact person is Zhang San.
  • the response area corresponding to the function may also be a rectangular area, and the rectangular area includes not only information for indicating the function, but also a blank area.
  • the response area corresponding to the email is framed by a dotted frame 2, and when the touch position of the user's finger is located in the dotted frame 2, the mobile phone can determine the function selected by the user. for mail.
  • a sliding bar may also be included, and the sliding bar may be located on the right or left side of the main interface, and the user's finger slides the sliding bar to realize the contact displayed in the main interface
  • the response area corresponding to the person slides up and down.
  • the sliding bar may be located above or below the main interface, and the user's finger slides the sliding bar to realize left and right sliding of the response area corresponding to the contact displayed in the main interface.
  • Figure 3 (b) although only five contact response areas are displayed on the main interface, the user can slide the slider to slide up and down or left and right the response areas corresponding to the contacts displayed in the main interface. to display the response area corresponding to other contacts.
  • the user can directly issue an operation instruction for the target function of the target contact in the main interface of the application, without the need for the user to touch the buttons in the interface multiple times, and without the need for The user switches the display interface multiple times, thereby reducing user operations.
  • the message interface displayed by the application in the mobile phone is as shown in (a) of FIG. 3 .
  • the user can perform operations with different target functions on the target contact in the message interface, such as sending an email to the target contact, sending a message, making a phone call, viewing the blog of the target contact, and so on.
  • the user can implement the operation of performing the target function on the target contact in the message interface in at least three ways.
  • the mobile phone After determining that the user's finger touches the response area corresponding to the target contact to a first preset duration, the mobile phone generates and displays the first icon at the touch position of the user's finger in the message interface.
  • the first icon may be generated based on the information contained in the response area corresponding to the target contact.
  • the target contact is Zhang San
  • the response area corresponding to Zhang San includes Zhang San's avatar, Zhang San's name and chat history
  • the first icon can include Zhang San's avatar, or Zhang San's name, or Zhang San's name.
  • San's avatar and Zhang San's name or include Zhang San's avatar, Zhang San's name and chat history, etc.
  • the first icon is in a movable state, the user can drag the first icon in the message interface, and drag the first icon to the target area corresponding to the target function, where the target area corresponding to the target function may be corresponding to the distance target function
  • the response area is smaller than the area of the first preset distance.
  • the target area corresponding to the target function includes a second icon corresponding to the target function, and the user can drag the first icon to overlap with the second icon in the message interface, or to the first icon.
  • the distance between the icon and the second icon is smaller than the first preset distance.
  • the mobile phone interface jumps from the main interface to the function interface corresponding to the target function.
  • FIG. 4 is a schematic diagram showing an interface for sending emails by the first group of users provided by the present application.
  • the user wants to send an email to Zhang San
  • Zhang San is the target contact
  • the email function is the target function.
  • the user can touch the response area corresponding to Zhang San with his finger, and the user's finger can be seen as shown in (a) in FIG. 4 .
  • the message interface displays the first icon shown in (b) in FIG. 4 , and the first icon is specifically the avatar of Zhang San.
  • the user can drag the first icon (ie Zhang San's avatar) to the target area corresponding to the mail function, thereby opening the mail function.
  • the drag track of the user's finger dragging the first icon that is, the avatar of Zhang San
  • the mail interface corresponding to the mail function is shown in (f) in FIG. 4 , which is equivalent to switching the display interface from (a) in FIG. 4 to (f) in FIG. 4 . Since the email function has obtained that the target contact is Zhang San, Zhang San can be directly displayed in the recipient without the need for the user to select the recipient from the email interface again.
  • the first icon may also be the name of Zhang San, for example, (d) in FIG. 4 exemplarily shows a drag track of the user's finger dragging the first icon (ie, the name of Zhang San).
  • the first icon can also be Zhang San's avatar, Zhang San's name, and chat records.
  • Fig. 4 (e) exemplarily shows that the user's finger drags the first icon (that is, Zhang San's avatar, Zhang San's name, and chat history). record) drag track.
  • the first icon may also be a response area corresponding to a complete target contact, or other icons used to indicate the target contact, which are not limited in this application.
  • the mobile phone In the second optional implementation manner, the mobile phone generates and displays the second icon at the touch position of the user's finger in the message interface after determining the response area corresponding to the user's finger touching the target function to the second preset time period.
  • the second icon may be generated based on the information contained in the response area corresponding to the target function.
  • the target function is an email function
  • the response area corresponding to the email function includes an email icon and an email name
  • the second icon may include an email icon, an email name, or an email icon and an email name.
  • the second icon is in a movable state, the user can drag the second icon in the message interface, and drag the second icon to the target area corresponding to the target contact, where the target area corresponding to the target contact can be a distance from the target contact
  • the response area corresponding to the person is smaller than the area of the second preset distance.
  • the target area corresponding to the target contact includes a first icon corresponding to the target contact, and the user can drag the second icon to overlap with the first icon in the message interface, or to The distance between the first icon and the second icon is smaller than the second preset distance.
  • the mobile phone interface jumps from the main interface to the interface corresponding to the target function.
  • FIG. 5 is a schematic diagram showing an interface for sending emails by a second group of users provided by the present application.
  • the user wants to send an email to Zhang San, Zhang San is the target contact, and the email function is the target function.
  • the user can touch the response area corresponding to the mail function with a finger to a second preset duration, and a second icon as shown in (a) in FIG. 5 is displayed in the message interface, and the second icon is specifically a mail icon.
  • the user can drag the second icon (ie, the mail icon) into the target area of the target contact, thereby opening the mail function.
  • the drag track of the user's finger dragging the second icon (ie, the mail icon) can be referred to as shown in (b) of FIG. 5 .
  • the mail interface corresponding to the mail function is shown in (f) in Figure 4.
  • the second icon may also be an email name, such as shown in (c) of FIG. 5 .
  • the second icon may also be a response area corresponding to a complete target function, or other icons used to indicate the target function, which is not limited in this application.
  • the mobile phone determines the response area corresponding to the touch target contact with one finger of the user to the third preset duration, and determines the response area corresponding to the target function touched by another finger of the user to the fourth preset duration After the time period, the first icon and the second icon are displayed in the message interface.
  • the first icon may be generated based on the information contained in the response area corresponding to the target contact.
  • the target contact is Zhang San
  • the response area corresponding to Zhang San includes Zhang San's avatar, Zhang San's name and chat.
  • the first icon includes Zhang San's avatar.
  • the second icon may be generated based on the information contained in the response area corresponding to the target function, for example, the target function is an email function, the response area corresponding to the email function includes the email icon and the email name, and the second icon includes the email. icon.
  • Both the first icon and the second icon are in a movable state, and the user can pinch the first icon and the second icon with two fingers in the message interface. Specifically, the user can drag the first icon toward the second icon with one finger, and simultaneously drag the second icon toward the first icon with another finger.
  • the interface corresponding to the target function is displayed.
  • the first preset distance, the second preset distance and the third preset distance may be the same or different, which are not limited in this application.
  • the user can touch the response area corresponding to the target contact with the index finger to the third preset time period, and touch the response area corresponding to the target function with the thumb to the fourth preset time period. icon and second icon. Then, the user pinches the first icon and the second icon with the index finger and the thumb until the distance between them is less than the third preset distance, the interface corresponding to the target function is displayed.
  • the third preset duration and the fourth preset duration may be the same or different, which are not limited in this application.
  • FIG. 6 is a schematic diagram of interface display for sending emails by a third group of users according to an exemplary embodiment of the present application.
  • the user wants to send an email to Zhang San, Zhang San is the target contact, and the email function is the target function.
  • the user can touch the response area corresponding to Zhang San with the index finger, and touch the response area corresponding to the mail function with the thumb.
  • the two fingers of the user can be seen as shown in (a) in FIG. 6 .
  • the message interface displays the first message shown in (b) in FIG. 6 .
  • the first icon is specifically Zhang San's avatar
  • the second icon is specifically a mail icon.
  • the user can pinch the first icon (ie Zhang San's avatar) and the second icon (ie the mail icon) with two fingers, and the distance between the two is less than the third preset distance, thereby opening the mail function.
  • the trace of the user pinching the first icon (ie Zhang San's avatar) and the second icon (ie the mail icon) with two fingers can be seen in (c) of FIG. 6 .
  • FIG. 7 Schematic diagram of the interface display. Specifically, in Fig. 7(a), the user touches the response area corresponding to Zhang San with his finger, and then the first icon (that is, Zhang San's avatar) is displayed in the message interface in Fig. 7 (b), and the user places the first icon (ie Zhang San's avatar) and drag it to the target area of the phone function to enter the phone interface as shown in (c) in Figure 7 .
  • the user may also view Zhang San's blog in the message interface.
  • FIG. 8 a schematic diagram of an interface display of a group of users viewing a contact's blog through an application is exemplarily shown. Specifically, in FIG. 8( a ), the user touches the response area corresponding to Zhang San with a finger. Then, as shown in (b) in Figure 8, the first icon (ie Zhang San's avatar) is displayed in the message interface, and the user drags the first icon (ie Zhang San's avatar) to the target area of the blog function, and enters the The blog interface in (c) of Figure 8.
  • the present application may also perform the above operations on other target contacts, such as Li Si, etc., which will not be repeated here.
  • the target contact may also be a contact group, and the contact group includes multiple contacts, such as the A business group and the B business group.
  • the target function may be jointly performed by multiple contacts in the contact group.
  • the target contact is business group A
  • business group A includes Zhang San and Li Si.
  • the recipients are all contacts in business group A, namely Zhang San and Li Si. Equivalently, you can send the same email to all contacts in the group in this email interface.
  • the user drags the first icon corresponding to the A business group to the target area of the phone function, the user enters the phone interface.
  • the application simultaneously sends all contacts in the A business group, namely Zhang San and Li.
  • all contacts in the group can be called simultaneously in the phone interface, that is, a conference call is initiated in the group.
  • the target contact may be a single contact or a contact group.
  • the user wants to send emails or make phone calls to multiple target contacts at the same time, or implement other functions, the user can also select the multiple target contacts at the same time, and then execute the target function for the multiple target contacts.
  • the user can touch the response area of any one of the multiple target contacts to a fifth preset duration, and the message interface displays multiple contacts in a selectable state. Further, The user can select other target contacts from multiple contacts in selectable state. Then the user can drag the first icon corresponding to any one of the target contacts to the target area of the target function.
  • FIG. 9 is a schematic diagram of an interface display for a group of users to send emails to multiple target contacts according to an example provided by the present application.
  • the user can touch the response area corresponding to Zhang San to the fifth preset duration.
  • each contact is displayed in an optional state in the message interface (for example, a " ⁇ " is displayed in front of each contact's avatar to indicate that the contact is in an optional state). Since the user has touched the response area corresponding to Zhang San to the fifth preset time period, Zhang San is already selected in the message interface.
  • the user can touch the response area corresponding to one of the target contacts to obtain the first icon. For example, if the user touches the response area corresponding to Zhang San to the first preset duration, the message interface will display as shown in (c) in FIG. 9 .
  • the first icon that is, the avatar of Zhang San
  • the user drags the first icon that is, the avatar of Zhang San
  • the user can send emails to Zhang San, Li Si, and Wang Wu at the same time in the email interface.
  • a "finish” button may also be displayed in the message interface.
  • the user touches the “Finish” button.
  • the mobile phone determines multiple target contacts selected by the user according to the received instruction. Then the user touches the response area corresponding to one of the target contacts to obtain the first icon.
  • the application may not include a "complete” button. After the user finishes selecting multiple target contacts, the user directly touches the response area corresponding to one of the target contacts to obtain the first icon. This application is not limited.
  • the user touches the response area corresponding to Zhang San to the first preset time period, and the first icon (that is, Zhang San's avatar) is displayed in the message interface as a movable state, and the user drags the Move the avatar of Zhang San to the target area corresponding to the mail function.
  • the first icon corresponding to other target contacts can also be displayed in the message interface as a movable state at the same time.
  • the avatar of Zhang San can be displayed as The movable state can also show that other target contacts such as Li Si's avatar and Wang Wu's avatar are both movable.
  • the first icons corresponding to other target contacts namely Li Si's avatar and Wang Wu's avatar
  • the mobile phone jumps from the message interface to the mail interface. In this way, when the user performs the target function on the multiple target contacts, he can drag the first icons corresponding to the multiple target contacts at the same time, thereby providing the user with a more intuitive display and helping to improve the user experience.
  • the user touches the response area corresponding to Zhang San to the fifth preset duration, so that each contact is displayed in the message interface as being in a selectable state. Further, the user touches the response area corresponding to Zhang San to the first preset duration, so that the first icon corresponding to Zhang San is displayed in the message interface as a movable state.
  • the response area that the user touches twice corresponds to the same contact. In other examples, it may also correspond to different contacts, for example, the user touches the response area corresponding to Zhang San to the fifth preset duration, so that each contact is displayed in a selectable state in the message interface. Further, the user touches the response area corresponding to Li Si to the first preset time period, so that the first icon corresponding to Li Si is displayed in the message interface as a movable state.
  • the user can also touch the blank area in the message interface except for the response area corresponding to the contact and the response area corresponding to the function to the fifth preset duration, and the message interface displays that each contact is in a selectable state.
  • the user touches the response area corresponding to Zhang San to the first preset time period, and the message interface displays that the first icon corresponding to Zhang San is in a movable state.
  • the optional function icon corresponding to the target contact can be highlighted in the message interface at the same time.
  • FIG. 10 is a schematic diagram of a set of interfaces for highlighting optional functions provided by this application.
  • the first icon is displayed in the message interface, and one or more corresponding to the target contact is highlighted.
  • Multiple optional function icons may be included in the response area of the corresponding optional function.
  • a second icon may be included in one or more of the selectable function icons.
  • Optional functions such as mail function, blog function, phone function, plus function (can be used to add contacts as friends in the message interface).
  • the first icon when the user's finger touches the response area corresponding to Zhang San for the first preset duration, the first icon is displayed in the message interface, and the display is weakened (not highlighted) and the target One or more unselectable function icons corresponding to the contact.
  • the unselectable function icons may be included in the response area of the corresponding unselectable function.
  • Non-optional functions such as message function (the current interface is the message interface, so the message function is unavailable), address book function and business function. It should be understood here that the unselectable function icons are displayed in a weakened manner in the message interface, which is equivalent to highlighting the optional function icons in the message interface.
  • the user can drag the first icon to the target area of the selectable function with a finger according to the prompt in the display interface.
  • the current message interface can be switched to the function interface corresponding to the optional function.
  • the mobile phone may prompt the user that the selection function is unavailable.
  • each contact may correspond to its own optional function list, and when the user selects the target contact in the message interface, the mobile phone may determine the optional function corresponding to the target contact based on the target contact selected by the user.
  • the function list is displayed, and the icon corresponding to the optional function included in the optional function list is highlighted in the message interface.
  • the above description is only given by taking the user dragging the first icon into the target area of the target function as an example. This description is also applicable to the scenario where the user drags the second icon into the target area of the target contact.
  • the message interface will The second icon is displayed, and one or more optional contact icons corresponding to the target function are highlighted.
  • the optional contact icons may be included in the response area of the corresponding optional contact.
  • the first icon is included in the one or more selectable contact icons. For example, in FIG.
  • the second icon corresponding to the blog function is displayed in the message interface, and the optional contact corresponding to the blog function is highlighted.
  • Person icon, where the optional contact is a single contact for example, the contact icons of Zhang San, Li Si, and Wang Wu are highlighted.
  • the icon of the unselectable contact corresponding to the target function can also be displayed in a weakened manner, wherein the unselectable contact is, for example, a contact group, the contact icons of the A business group and the B business group are displayed weakened.
  • different functions can also correspond to their own optional contact lists.
  • the optional contact list corresponding to the target function can be determined based on the target function selected by the user, and displayed in the message interface. Highlight the icon for an optional contact included in the list of optional contacts.
  • the current function interface can be automatically switched back to the message interface. Therefore, the user can continue to perform other target functions on the current target contact or perform other target functions on other target contacts in the message interface.
  • the user touches the send button in the email interface to send the email to Zhang San.
  • the email interface is automatically switched back to the message interface.
  • the user can touch the response area corresponding to Zhang San in the message interface, enter the message chat interface (between the user and Zhang San), and send a message to Zhang San, such as "I sent you an email, Please check it out”.
  • the mobile phone can determine that the user has finished using the phone function, and the phone interface automatically changes the call. Switch back to the message interface. Further, the user can drag the first icon corresponding to Zhang San in the message interface to the target area corresponding to the mail function, and send the minutes of the conference call to Zhang San.
  • the user can also combine multiple single contacts into a contact group in the message interface.
  • Fig. 3 (a) the user's finger touches the response area corresponding to Zhang San until the first preset duration.
  • the first icon that is, the avatar of Zhang San
  • the user can drag the first icon (that is, the avatar of Zhang San) to the target area corresponding to Wang Wu, so that Zhang San and Wang Five form a contact group.
  • the user can also drag the first icon (ie, Zhang San's avatar) to the target area corresponding to the B business group, thereby adding Zhang San to the B business group.
  • the main interface is the message interface as an example for description.
  • the present application is also applicable to scenarios where the main interface is an address book interface, an email interface, or other interfaces including a response area corresponding to a contact and a response area corresponding to a function.
  • the specific implementation is similar to the above-mentioned message interface, and will not be repeated here.
  • FIG. 11 the flow of a method for enabling a function in an application provided by the present application is exemplarily shown, and the method is executed by an electronic device.
  • Step 1101 The electronic device receives a first operation, where the user drags the first icon and/or the second icon in the first interface until the positional relationship between the first icon and the second icon satisfies a preset condition.
  • Step 1102 In response to the first operation, the electronic device displays a second interface corresponding to the target function indicated by the second icon, and the first contact corresponding to the first icon is the operation object of the target function.
  • the first interface and the second interface belong to the same application or different applications.
  • the first icon includes a plurality of icons.
  • the positional relationship between the first icon and the second icon satisfies a preset condition, including: the first icon and the second icon overlap or the first icon and the second icon overlap.
  • the distance is less than the preset distance.
  • the preset distance may be the above-mentioned first preset distance or the second preset distance.
  • the method before receiving the first operation, further includes: receiving a second operation, where the second operation is that the user touches the first response area corresponding to the first contact in the first interface to the first preset Set the duration; in response to the second operation, generate the first icon at the touch position of the second operation.
  • the method further includes: highlighting a plurality of optional function icons, where the plurality of optional function icons include the second icon.
  • the second icon includes any one of an address book icon, a phone icon, an email icon, a message icon, and a blog icon.
  • the first contact is a contact group, and the contact group includes multiple contacts.
  • the method further includes: after performing the target function on the first contact, returning from the second interface to the first interface.
  • FIG. 11 shows a specific implementation manner of the process, which has been described in the above-mentioned method embodiments related to FIGS. 3 to 10 .
  • the first interface may be a main interface of the electronic device, such as a message interface, an address book interface, an email interface, etc. of the electronic device.
  • the second interface may be a function interface corresponding to the target function when the user triggers the target function in the first interface.
  • the first interface is a message interface
  • the second interface may be an email interface, a phone interface, etc.
  • the second interface may be an email interface, a phone interface, a message interface, and the like.
  • the user can instruct the electronic device to perform the target function on one target contact, and can also perform the target function on multiple target contacts, as described in the following sub-situations:
  • Case 1 Perform the target function on a target contact.
  • the target contact can be a single contact or a group of contacts.
  • the target contact is a single contact
  • the single contact is Zhang San.
  • the user performs the second operation on the electronic device, specifically, the user's finger touches the response area corresponding to Zhang San (ie, the target contact/first contact) in the message interface to the first preset duration, and the corresponding , the electronic device displays Zhang San's avatar (ie, the first icon) in the message interface. Then the user performs the first operation on the electronic device. Specifically, the user drags the avatar of Zhang San in the message interface with a finger to overlap with the mail icon (ie, the second icon) or between the avatar of Zhang San and the mail icon. The distance is less than the preset distance, and the mail function is activated.
  • the second operation performed by the user on the electronic device may specifically be that the user's finger touches the response area corresponding to the mail function (ie the target function) in the message interface to the second preset time period.
  • the electronic device is in A mail icon (ie, the second icon) is displayed in the message interface.
  • the user performs the first operation on the electronic device. Specifically, the user drags the mail icon in the message interface with a finger until it overlaps with Zhang San's avatar (ie, the first icon) or between Zhang San's avatar and the mail icon. The distance is less than the preset distance, and the mail function is activated.
  • the target contact is a contact group, for example, a single contact is a business group A.
  • the second operation performed by the user on the electronic device may specifically be that the user's finger touches the response area corresponding to the A business group (that is, the target contact/first contact) in the message interface to the first preset duration,
  • the electronic device displays the avatar (ie, the first icon) of the business group A in the message interface.
  • the user performs the first operation on the electronic device. Specifically, the user drags the avatar of business group A in the message interface with a finger until it overlaps with the email icon (ie, the second icon) or the avatar of business group A and the email icon The distance between them is less than the preset distance, and the mail function is activated.
  • the second operation performed by the user on the electronic device may specifically be that the user's finger touches the response area corresponding to the mail function (ie the target function) in the message interface to the second preset time period.
  • the electronic device is in A mail icon (ie, the second icon) is displayed in the message interface.
  • the user performs a first operation on the electronic device. Specifically, the user drags the mail icon in the message interface with a finger until it overlaps with the avatar of business group A (ie, the first icon) or the avatar of business group A and the mail icon The distance between them is less than the preset distance, and the mail function is activated.
  • Scenario 2 The target function is performed on multiple target contacts.
  • the electronic device may display a plurality of contacts as a selectable state in response to the user operation.
  • the user can touch the response area corresponding to the second contact to a fifth preset duration, so that the electronic device displays multiple contacts as an optional state, wherein the first contact and the second contact may be the same. or different.
  • the user can touch the blank area in the first interface to a fifth preset time period, so that the electronic device displays multiple contacts as a selectable state. See Examples 1 to 3 below for illustration.
  • multiple target contacts may be composed of multiple single contacts, multiple contact groups, or one or more single contacts and one or more contact groups composition. It can be exemplified that the multiple target contacts are composed of multiple single contacts.
  • Example 1 the user touches the response area corresponding to the second contact to a fifth preset duration, so that the electronic device displays multiple contacts as an optional state, wherein the first contact and the second contact are the same.
  • the user touches the response area corresponding to Zhang San (ie, the second contact) in the message interface to the fifth preset duration, and correspondingly, the electronic device may display multiple contacts as selectable in the message interface.
  • the user touches the response areas corresponding to Li Si and Wang Wu respectively, and selects Zhang San, Li Si, and Wang Wu at the same time. Further, the user touches the response area corresponding to Zhang San (ie, the first contact) in the message interface to a first preset duration, and the electronic device displays Zhang San's avatar (ie, the first icon) in the message interface. Then the user performs the first operation on the electronic device.
  • the user drags Zhang San's avatar (ie the first icon) in the message interface to overlap with the mail icon (ie the second icon) or between the two. If the distance is less than the preset distance, the mail function is activated, and the operation objects of the mail function are Zhang San, Li Si and Wang Wu.
  • Example 2 the user touches the response area corresponding to the second contact to a fifth preset duration, so that the electronic device displays multiple contacts as a selectable state, wherein the first contact and the second contact are different.
  • the user touches the response area corresponding to Zhang San (ie, the second contact) in the message interface to the fifth preset duration, and correspondingly, the electronic device may display multiple contacts as selectable in the message interface.
  • the user touches the response areas corresponding to Li Si and Wang Wu respectively, and selects Zhang San, Li Si, and Wang Wu at the same time.
  • the user touches the response area corresponding to Li Si (ie, the first contact) in the message interface to a first preset duration, and the electronic device displays Li Si's avatar (ie, the first icon) in the message interface. Then the user performs a first operation on the electronic device.
  • the user drags Li Si's avatar (ie, the first icon) in the message interface to overlap with the mail icon (ie, the second icon) or between the two. If the distance is less than the preset distance, the mail function is activated, and the operation objects of the mail function are Zhang San, Li Si and Wang Wu.
  • Example 3 the user touches the blank area in the first interface to a fifth preset time period, so that the electronic device displays multiple contacts as a selectable state.
  • the first interface and the second interface belong to the same application or different applications.
  • the first interface and the second interface belong to the application a, and the user touches the response area of the target contact in the first interface of the application a to generate the first icon.
  • the user drags the first icon to coincide with the second icon or the distance between the two is smaller than the preset distance.
  • the electronic device jumps from the first interface to the second interface in application a. After the electronic device determines to perform the completion target function on the target contact, it jumps back to the first interface from the second interface in application a.
  • the first interface belongs to application a
  • the second interface both belongs to application b
  • application a and application b are two different applications.
  • the user touches the response area of the target contact in the first interface of the application a to generate a first icon.
  • the user drags the first icon to coincide with the second icon or the distance between the two is smaller than the preset distance.
  • the electronic device starts the application b, and displays the second interface in the application b. After determining to complete the target function on the target contact, the electronic device jumps back to the application a from the application b, and the first interface is displayed in the application a.
  • the user can drag the first icon and the second icon on the display interface of the electronic device until the positional relationship between the two satisfies the preset condition, that is, by dragging the first icon and the second icon on the display interface.
  • the method of superposition realizes the implementation of the target function on the target contact, the user does not need to click the button in the interface many times, and the user does not need to switch between different interfaces many times, which helps to reduce user operations.
  • the visual elements and information structure in the application interface are not changed in this application, which helps to reduce the development cost.
  • FIG. 12 When implemented in hardware, reference may be made to FIG. 12 and its related descriptions for the hardware implementation of the electronic device.
  • the electronic device includes: a touch screen 1201, wherein the touch screen 1201 includes a touch panel 1207 and a display screen 1208; one or more processors 1202; a memory 1203; one or more applications (not shown) and one or more computer programs 1204, the sensors 1205, the various devices described above may be connected by one or more communication buses 1206. wherein the one or more computer programs 1204 are stored in the aforementioned memory 1203 and configured to be executed by the one or more processors 1202, the one or more computer programs 1204 comprising instructions that may be used to perform any of the aforementioned method in one embodiment.
  • 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 the computer program includes program instructions, and when the program instructions are executed by a computer, the program instructions cause the computer to execute the methods in the foregoing embodiments.
  • Embodiments of the present application also provide a computer program product, where a computer program is stored, the computer program includes program instructions, and when executed by a computer, the program instructions cause the computer to execute the methods in the foregoing embodiments.
  • the embodiments of the present application further provide a chip system, including one or more processors, and when the one or more processors execute program instructions, the one or more processors execute the methods in the foregoing embodiments.
  • embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; the memory is used to store computer program instructions, and when the apparatus runs, the processor The computer program instructions stored in the memory can be executed, so that the chip executes the methods in the above method embodiments.
  • the electronic devices, computer storage media, computer program products or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium.
  • a readable storage medium including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种在应用中启用功能的方法及装置,用于在应用中启用功能时,减少用户操作。在本申请中,接收第一操作,第一操作是用户在第一界面中拖动第一图标和/或第二图标,至第一图标与第二图标之间的位置关系满足预设条件;响应于第一操作,显示第二图标所指示的目标功能对应的第二界面,第一图标对应的第一联系人是目标功能的操作对象。

Description

一种在应用中启用功能的方法及装置
相关申请的交叉引用
本申请要求在2021年04月16日提交中国专利局、申请号为202110413236.8、申请名称为“一种在应用中启用功能的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,尤其涉及一种在应用中启用功能的方法及装置。
背景技术
应用已成为人们工作与生活中的一部分。人们可以通过同一个应用来操作很多不同功能,例如打电话、发邮件、发消息等。
在目前的应用中,不同功能对应于不同界面。用户在使用不同功能时,需要触摸应用的主界面中与功能对应的响应区域,使得在应用中显示与功能相对应的界面。在进入功能对应的界面之后,用户可以在该界面中执行功能对应的操作。
如图1中为现有技术中通过应用(即时通信)发送邮件的一组界面显示的示意图。如图1中(a),应用的主界面包括多个功能对应的响应区域,比如邮件功能对应的响应区域。用户需要发送邮件时,需要触摸主界面中的邮件功能对应的响应区域,应用由主界面切换至图1中(b)的邮件界面。然后用户在邮件界面中触摸写邮件的按钮,进入图1中(c)的写邮件界面。用户可以在写邮件界面中编写邮件内容,并触摸选择收件人的按钮(如图1中(c)的加号)进入选择收件人界面,选择收件人界面如图1中(d)所示。比如用户选择张三为收件人,则电子设备将张三显示在写邮件界面中收件人的位置,可参见如图1中(e)所示,随后用户触摸发送按钮,将该邮件发送给张三。
如此,用户在使用应用中的功能时,操作复杂,需要用户多次触摸操作才能完成。
发明内容
本申请提供一种在应用中启用功能的方法及装置,用于在应用中启用功能时,减少用户操作。
第一方面,本申请提供了一种应用中启用功能的方法,可应用于电子设备中,该方法包括:接收第一操作,第一操作是用户在第一界面中拖动第一图标和/或第二图标,至第一图标与第二图标之间的位置关系满足预设条件;响应于第一操作,显示第二图标所指示的目标功能对应的第二界面,第一图标对应的第一联系人是目标功能的操作对象。上述技术方案中,用户可以拖动第一图标和/或第二图标至二者之间的位置关系满足预设条件,从而实现电子设备对第一图标对应的第一联系人(即目标联系人)执行目标功能,用户无需多次触摸界面,也无需多次切换不同界面,有助于减少用户操作。而且未改变应用界面中视觉元素和信息架构,有助于降低开发成本。
在一种可能的实现方式中,第一界面与第二界面属于相同应用,或者不同应用。上述 技术方案中,用户可以通过拖动第一图标和/或第二图标至二者之间的位置关系满足预设条件,启动同一个应用中的不同界面,或者启动不同应用中的不同界面,在提供多种功能的前提下,有助于简化用户操作。
在一种可能的实现方式中,第一图标包括多个图标。上述技术方案中,多个图标可以对应于多个目标联系人,相当于,电子设备可以同时对多个目标联系人执行目标功能,有助于简化用户操作。
在一种可能的实现方式中,第一图标与第二图标之间的位置关系满足预设条件,包括:第一图标与第二图标之间有重合或者第一图标与第二图标之间的距离小于预设距离。上述技术方案中,电子设备在检测到第一图标与第二图标之间有重合或者第一图标与第二图标之间的距离小于预设距离的情况下,对目标联系人执行目标功能,有助于减少用户误操作。
在一种可能的实现方式中,在接收第一操作之前,方法还包括:接收第二操作,第二操作是用户在第一界面中触摸第一联系人对应的第一响应区域至第一预设时长;响应于第二操作,在第二操作的触摸位置生成第一图标。上述技术方案中,在检测到用户手指触摸第一界面中第一联系人对应的第一响应区域至第一预设时长时,可以在第一界面中显示可以移动的第一图标,示例性的,第一图标处于浮起状态。随后用户可以将该移动的第一图标拖动至与第二图标之间的位置关系满足预设条件。
在一种可能的实现方式中,在接收到第二操作之后,方法还包括:突出显示多个可选的功能图标,多个可选的功能图标包括第二图标。上述技术方案中,不仅可以在第一界面中显示可以移动的第一图标,还可以在第一界面中突出显示多个可选的功能图标,用于提示用户哪些功能图标对应的功能是可用的,有助于避免用户将第一图标拖动至不可选功能图标的附近。
在一种可能的实现方式中,在接收第一操作之前,方法还包括:接收第二操作,第二操作是用户在第一界面中触摸目标功能对应的响应区域至第二预设时长;响应于第二操作,在第二操作的触摸位置生成第二图标。上述技术方案中,在检测到用户手指触摸第一界面中目标功能对应的响应区域至第二预设时长时,可以在第一界面中显示可以移动的第二图标,示例性的,第二图标处于浮起状态。随后用户可以将该移动的第二图标拖动至与第一图标之间的位置关系满足预设条件。
在一种可能的实现方式中,在接收到第二操作之后,方法还包括:突出显示多个可选的联系人图标,多个可选的联系人图标包括第一图标。上述技术方案中,不仅可以在第一界面中显示可以移动的第二图标,还可以在第一界面中突出显示多个可选的联系人图标,用于提示用户哪些联系人图标对应的联系人是可以作为目标联系人的,有助于避免用户将第二图标拖动至不可选联系人图标的附近。
在一种可能的实现方式中,第二图标包括通讯录图标、电话图标、邮件图标、消息图标、博客图标中的任一个。上述技术方案中,电子设备可以在第一界面中显示各个功能对应的功能图标,比如通讯录图标、电话图标、邮件图标、消息图标、博客图标等,第二图标可以是上述功能图标中的一个。当用户手指拖动第一图标和/或第二图标至二者之间的位置关系满足预设条件时,电子设备由第一界面跳转至目标功能对应的第二界面中。通过该方式,可以在减少用户操作的前提下,为用户提供较多的操作功能。
在一种可能的实现方式中,第一联系人为联系人群组,联系人群组中包括多个联系人。上述技术方案中,用户可以对联系人群组中的多个联系人执行目标功能的操作,有助于提 高用户操作的便捷性。
在一种可能的实现方式中,方法还包括:在对第一联系人执行完目标功能之后,从第二界面返回至第一界面。上述技术方案中,当电子设备确定用户对目标联系人执行完成目标功能之后,由当前的第二界面跳转回第一界面,无需用户触摸返回按钮,进一步减少用户操作,有助于提高用户体验。
第二方面,本申请提供了一种电子设备,包括处理器、存储器和触摸屏,存储器、触摸屏与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器从存储器中读取计算机指令,以使得电子设备执行如下操作:接收第一操作,第一操作是用户在第一界面中拖动第一图标和/或第二图标,至第一图标与第二图标之间的位置关系满足预设条件;响应于第一操作,显示第二图标所指示的目标功能对应的第二界面,第一图标对应的第一联系人是目标功能的操作对象。
在一种可能的实现方式中,第一图标包括多个图标。
在一种可能的实现方式中,第一图标与第二图标之间的位置关系满足预设条件,包括:第一图标与第二图标之间有重合或者第一图标与第二图标之间的距离小于预设距离。
在一种可能的实现方式中,在电子设备接收第一操作之前,还用于执行:接收第二操作,第二操作是用户在第一界面中触摸第一联系人对应的第一响应区域至第一预设时长;响应于第二操作,在第二操作的触摸位置生成第一图标。
在一种可能的实现方式中,在电子设备接收第二操作之后,还用于执行:突出显示多个可选的功能图标,多个可选的功能图标包括第二图标。
在一种可能的实现方式中,第二图标包括通讯录图标、电话图标、邮件图标、消息图标、博客图标中的任一个。
在一种可能的实现方式中,第一联系人为联系人群组,联系人群组中包括多个联系人。
在一种可能的实现方式中,在电子设备对第一联系人执行完目标功能之后,还用于执行:从第二界面返回至第一界面。
第三方面,本申请提供了一种计算设备,该计算设备具有实现上述第一方面或第一方面任一种可能的实现方式中的功能,该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元或模块。
第四方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被计算机执行时,使计算机执行上述第一方面或第一方面任一种可能的实现方式中的方法。
第五方面,本申请提供了一种计算机程序产品,计算机程序产品中存储有计算机程序,计算机程序中包括程序指令,程序指令当被计算机执行时,使计算机执行上述第一方面或第一方面任一种可能的实现方式中的方法。
第六方面,本申请提供了一种芯片系统,包括一个或多个处理器,当一个或多个处理器执行指令时,一个或多个处理器执行上述第一方面或第一方面任一种可能的实现方式中的方法。
上述第二方面至第六方面中任一方面可以达到的技术效果可以参照上述第一方面中有益效果的描述,此处不再重复赘述。
附图说明
图1为现有技术中通过应用发送邮件的一组界面显示的示意图;
图2为本申请提供的一种电子设备的硬件结构示意图;
图3为本申请示例性提供的一组主界面的示意图;
图4为本申请示例性提供的第一组用户发送邮件的界面显示的示意图;
图5为本申请示例性提供的第二组用户发送邮件的界面显示的示意图;
图6为本申请示例性提供的第三组用户发送邮件的界面显示的示意图;
图7为本申请示例性提供的一组用户呼叫联系人的界面显示的示意图;
图8为本申请示例性提供的一组用户查看联系人博客的界面显示的示意图;
图9为本申请示例性提供的一组用户给多个联系人发送邮件的界面显示的示意图;
图10为本申请提供的一组突出显示可选功能的界面示意图;
图11为本申请提供的一种在应用中启用功能的方法的流程示意图;
图12为本申请提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请中的附图,对本申请中的技术方案进行描述。其中,在本申请的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。
本申请公开的各个实施例可以应用于设置有触摸屏的电子设备中。在本申请一些实施例中,电子设备可以是包含诸如个人数字助理和/或音乐播放器等功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)、车载设备等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2021141504-appb-000001
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是诸如具有触敏表面(例如触控面板)的膝上型计算机(laptop)等。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以是具有触敏表面(例如触控面板)的台式计算机。
图2为本申请示例性示出了一种电子设备100的结构示意图。
应理解,图示电子设备100仅是一个范例,并且电子设备100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
如图2所示,电子设备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等。
下面结合图2对电子设备100的各个部件进行具体的介绍:
处理器110可以包括一个或多个处理单元,例如,处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成读取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用,从而可避免重复存取,可减少处理器110的等待时间,因而可提高系统的效率。
处理器110可以运行本申请提供的在应用中启用功能的方法,处理器可以响应于对显示屏的触摸操作,在应用中启动与触摸操作相对应的功能。当处理器110集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请提供的在应用中启用功能的方法,以得到较快的处理效率。
在一些实施例中,处理器110可以包括一个或多个接口。比如,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或,通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信 模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请的另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施 例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),新无线接入技术(new radio access technology,NR),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。
电子设备100可以通过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可以包括一个或多个摄像头193。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备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还可以用于导航,体感游戏场景。
气压传感器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可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。例如,可以在电子设备100的正面(显示屏194的下方)配置指纹传感器,或者,在电子设备100的背面(后置摄像头的下方)配置指纹传感器。另外,也可以通过在触摸屏中配置指纹传感器来实现指纹识别功能,即指纹传感器可以与触摸屏集成在一起来实现电子设备100的指纹识别功能。在这种情况下,该指纹传感器可以配置在触摸屏中,可以是触摸屏的一部分,也可以是以其他方式配置在触摸屏中。另外,该指纹传感器还可以被实现为全面板指纹传感器,因此,可以把触摸屏看成是任何位置可都可以进行指纹采集的一个面板。在一些实施例中,该指纹传感器可以对采集到的指纹进行处理(例如指纹是否验证通过)发送给处理器110,由处理器110根据指纹处理结果做出相应的处理。在另一些实施例中,指纹传感器还可以将采集到的指纹发送给处理器110,以便处理器110对该指纹进行处理(例如指纹验证等)。本申请中的指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
尽管图2中未示出,电子设备100还可以包括蓝牙装置、定位装置、闪光灯、微型投影装置、近场通信(near field communication,NFC)装置等,在此不予赘述。
下面以电子设备为手机为例,对本申请提供的在应用中启用功能的方法详细介绍。
手机可以为用户提供多个功能,比如通讯录功能、电话功能、邮件功能、消息功能、博客功能等。该多个功能可以是设置于一个应用中,也可以是设置于不同应用中。每个功能可以对应于一个功能界面,比如通讯录功能对应于通讯录界面、电话功能对应于电话界面、邮件功能对应于邮件界面等。
手机可以显示主界面,主界面可以包括有至少一个联系人对应的响应区域,以及至少一个功能对应的响应区域。主界面比如消息界面、通讯录界面或邮件界面等。
在本申请中,联系人可以是单一联系人,单一联系人比如是张三或李四。联系人还可以是联系人群组,联系人群组中包括有多个联系人,联系人群组比如是A业务群,A业务群中包括张三和李四。进一步的,联系人对应的响应区域中可以包括用于指示联系人的信息。示例性的,联系人对应的响应区域中可以包括但不限于联系人的头像、姓名、联系方式、(用户与联系人的)聊天记录、(用户与联系人的)邮件记录中的一项或多项。比如张三对应的响应区域中包括有张三的头像、张三的姓名以及聊天记录。
功能对应的响应区域中可以包括用于指示该功能的信息,比如功能图标和/或功能名称。比如消息功能对应的响应区域中包括有消息图标和消息名称。
如图3为本申请示例性提供的一组主界面的示意图。如图3中(a)为主界面是消息界面时的示意图。示例性的,在消息界面中包括五个联系人对应的响应区域,五个联系人分别为张三、李四、王五、A业务群和B业务群,示例性的,张三对应的响应区域中,包括有张三的头像(用○表示)、名字“张三”、聊天记录。
在消息界面中还包括七个功能对应的响应区域,其中七个功能中的消息功能、邮件功能、通讯录功能、业务功能、博客功能均位于消息界面的下方;电话功能、加号功能(用+表示)均位于消息界面的右上方。其中加号功能可以在不同功能界面中对应于不同功能。示例性的,消息功能对应的响应区域中,包括有消息图标和消息名称。
如图3中(b)为主界面是通讯录界面时的示意图。示例性的,在通讯录界面中包括五个联系人对应的响应区域,示例性的,张三对应的响应区域中,包括有张三的头像(用○表示)、名字“张三”。在通讯录界面中还包括七个功能对应的响应区域,与图3中(a)的消息界面类似,不再赘述。
如图3中(c)为主界面是邮件界面时的示意图。示例性的,在邮件界面中包括五个联系人对应的响应区域,示例性的,张三对应的响应区域中,包括有张三的头像(用○表示)、名字“张三”、邮件记录。在邮件界面中还包括七个功能对应的响应区域,与图3中(a)的消息界面类似,不再赘述。
需要说明的是,在本申请中,当用户触摸某个联系人对应的响应区域时,手机至少可以基于用户的触摸位置、触摸时长、触摸压力中一项或多项参数,显示与用户的触摸操作相对应的界面。可选的,联系人对应的响应区域可以是一个矩形区域,该矩形区域中不仅包括用于指示联系人的信息,还可以包括空白区域。示例性的,如图3中(a)的消息界面中,张三对应的响应区域用虚线框1框出,当用户手指的触摸位置位于虚线框1中时,手机可以确定出用户选定的联系人为张三。同理,功能对应的响应区域也可以是一个矩形区域,该矩形区域中不仅包括用于指示功能的信息,还可以包括空白区域。示例性的,如图3中(a)的消息界面中,邮件对应的响应区域用虚线框2框出,当用户手指的触摸位置位于虚线框2中时,手机可以确定出用户选定的功能为邮件。
还需要说明的是,在图3的一组主界面示意图中,还可以包括滑动条,该滑动条可以位于主界面的右侧或左侧,用户手指滑动该滑动条实现主界面中显示的联系人对应的响应区域上下滑动。或者,该滑动条可以位于主界面的上方或下方,用户手指滑动该滑动条实现主界面中显示的联系人对应的响应区域左右滑动。比如图3中(b),虽然当前主界面中仅显示有五个联系人对应的响应区域,但用户可以滑动该滑动条,实现主界面中显示的联系人对应的响应区域上下滑动或者左右滑动,显示其他联系人对应的响应区域。
在本申请提供的在应用中启用功能的方法中,用户可以直接在应用的主界面中,下发针对于目标联系人的目标功能的操作指令,而无需用户多次触摸界面中按钮,也无需用户多次切换显示界面,从而减少用户操作。
如下以消息界面为主界面举例说明。用户启动应用之后,应用在手机中显示的消息界面如图3中(a)所示。用户可以在消息界面中,对目标联系人执行不同目标功能的操作,比如给目标联系人发邮件、发消息、打电话、查看目标联系人的博客等。
本申请中,用户可以通过至少三种方式实现在消息界面中对目标联系人执行目标功能的操作,具体可参见下述第一种可选实现方式至第三种可选实现方式。
第一种可选实现方式中,手机在确定用户手指触摸目标联系人对应的响应区域至第一预设时长之后,在消息界面中用户手指的触摸位置处生成并显示第一图标。
示例性的,第一图标可以基于目标联系人对应的响应区域中包含的信息生成。比如目标联系人为张三,张三对应的响应区域中包括张三的头像、张三的名字和聊天记录,而第一图标中可以包括张三的头像,或者包括张三的名字,或者包括张三的头像和张三的名字,或者包括张三的头像、张三的名字和聊天记录等。
第一图标处于可移动状态,用户可以在消息界面中拖动该第一图标,将第一图标拖动至目标功能对应的目标区域内,其中目标功能对应的目标区域可以是距离目标功能对应的响应区域小于第一预设距离的区域。一种可选实现方式中,目标功能对应的目标区域中包括有与目标功能相对应的第二图标,用户可以在消息界面中将第一图标拖动至与第二图标重叠,或者至第一图标与第二图标之间的距离小于第一预设距离。相应的,手机界面从主界面跳转至目标功能对应的功能界面。
如图4为本申请示例性提供的第一组用户发送邮件的界面显示的示意图。示例性的,用户想要给张三发邮件,张三为目标联系人,邮件功能为目标功能。用户可以用手指触摸张三对应的响应区域,用户手指可参见如图4中(a)所示。当用户手指触摸张三对应的响应区域至第一预设时长时,消息界面中显示如图4中(b)的第一图标,该第一图标具体为张三的头像。进一步的,用户可以拖动第一图标(即张三的头像)至邮件功能对应的目标区域内,从而打开邮件功能。其中,用户手指拖动第一图标(即张三的头像)的拖动轨迹可参见图4中(c)所示。
邮件功能对应的邮件界面如图4中(f),相当于,显示界面由图4中(a)切换至图4中(f)。由于邮件功能已经获取到目标联系人为张三,则可以直接在收件人中显示张三,而无需用户再次从邮件界面中选择收件人。
此外,第一图标还可以是张三的名字,比如图4中(d)示例性示出用户手指拖动第一图标(即张三的名字)的拖动轨迹。第一图标还可以是张三的头像、张三的名字和聊天记录,比如图4中(e)示例性示出用户手指拖动第一图标(即张三的头像、张三的名字和聊天记录)的拖动轨迹。当然,第一图标也可以一个完整的目标联系人对应的响应区域,或者其他用于指示目标联系人的图标,本申请不限定。
需要说明的是,在如图4中(c)、(d)、(e),仅仅画出第一图标,而之前已有的联系人对应的响应区域和功能对应的响应区域并未示出,从而更清楚的表示用户手指拖动第一图标的拖动轨迹。但实际操作中,联系人对应的响应区域和功能对应的响应区域仍在消息界面中显示。该说明同样适用于其他用于表示图标移动的示意图。
第二种可选实现方式中,手机在确定用户手指触摸目标功能对应的响应区域至第二预设时长之后,在消息界面中用户手指的触摸位置处生成并显示第二图标。
示例性的,第二图标可以基于目标功能对应的响应区域中包含的信息生成。比如目标功能为邮件功能,邮件功能对应的响应区域中包括邮件图标和邮件名称,而第二图标中可以包括邮件图标,或者包括邮件名称,或者包括邮件图标和邮件名称。
第二图标处于可移动状态,用户可以在消息界面中拖动该第二图标,将第二图标拖动至目标联系人对应的目标区域内,其中目标联系人对应的目标区域可以是距离目标联系人对应的响应区域小于第二预设距离的区域。一种可选实现方式中,目标联系人对应的目标区域中包括有与目标联系人相对应的第一图标,用户可以在消息界面中将第二图标拖动至与第一图标重叠,或者至第一图标与第二图标之间的距离小于第二预设距离。相应的,手机界面从主界面跳转至目标功能对应的界面。
如图5为本申请示例性提供的第二组用户发送邮件的界面显示的示意图。示例性的,用户想要给张三发邮件,张三为目标联系人,邮件功能为目标功能。用户可以用手指触摸邮件功能对应的响应区域至第二预设时长,消息界面中显示如图5中(a)的第二图标,该第二图标具体为邮件图标。进一步的,用户可以拖动第二图标(即邮件图标)至目标联系人的目标区域内,从而打开邮件功能。其中,用户手指拖动第二图标(即邮件图标)的拖动轨迹可参见如图5中(b)所示。邮件功能对应的邮件界面如图4中(f)所示。此外,第二图标还可以是邮件名称,比如图5中(c)所示。当然,第二图标也可以一个完整的目标功能对应的响应区域,或者其他用于指示目标功能的图标,本申请不限定。
第三种可选实现方式中,手机在确定用户的一个手指触摸目标联系人对应的响应区域至第三预设时长、以及确定用户的另一个手指触摸目标功能对应的响应区域至第四预设时长之后,在消息界面中显示第一图标和第二图标。
一个可选示例中,第一图标可以基于目标联系人对应的响应区域中包含的信息生成,比如目标联系人为张三,张三对应的响应区域中包括张三的头像、张三的名字和聊天记录,第一图标中包括张三的头像。一个可选示例中,第二图标可以基于目标功能对应的响应区域中包含的信息生成,比如目标功能为邮件功能,邮件功能对应的响应区域中包括邮件图标和邮件名称,第二图标中包括邮件图标。
第一图标和第二图标均处于可移动状态,用户可以在消息界面中用两个手指捏合第一图标和第二图标。具体的,用户可以用一个手指将第一图标向第二图标拖动,同时用另一个手指将第二图标向第一图标拖动。在第一图标和第二图标之间距离小于第三预设距离时,显示目标功能对应的界面。本申请中,第一预设距离、第二预设距离与第三预设距离,三者可以相同或不同,本申请不做限定。
一个可选示例中,用户可以通过食指触摸目标联系人对应的响应区域至第三预设时长,以及通过拇指触摸目标功能对应的响应区域至第四预设时长之后,在消息界面中显示第一图标和第二图标。然后用户通过食指和拇指捏合第一图标和第二图标至二者之间距离小于第三预设距离时,显示目标功能对应的界面。第三预设时长和第四预设时长可以相同或不同,本申请不做限定。
图6为本申请示例性提供的第三组用户发送邮件的界面显示的示意图。用户想要给张三发邮件,张三为目标联系人,邮件功能为目标功能。用户可以用食指触摸张三对应的响应区域,以及用拇指触摸邮件功能对应的响应区域,用户的两个手指可参见如图6中(a)所示。当用户食指触摸张三对应的响应区域至第三预设时长、以及用户的拇指触摸邮件功能对应的响应区域至第四预设时长之后,消息界面中显示如图6中(b)的第一图标和第二图标,该第一图标具体为张三的头像,该第二图标具体为邮件图标。用户可以用两个手指捏合第一图标(即张三的头像)和第二图标(即邮件图标),至二者之间的距离小于第三预设距离,从而打开邮件功能。其中,用户用两个手指捏合第一图标(即张三的头像)和第二图标(即邮件图标)的轨迹可参见如图6中(c)所示。
上述实施例只是以用户在消息界面中给张三发邮件为例说明,而本申请中,还可以是用户在消息界面中给张三打电话,参照图7示例性示出的一组用户呼叫联系人的界面显示的示意图。具体的,在图7中(a),用户用手指触摸张三对应的响应区域,随后如图7中(b)消息界面中显示第一图标(即张三的头像),用户将第一图标(即张三的头像)拖动至电话功能的目标区域内,进入如图7中(c)的电话界面。
本申请中,还可以是用户在消息界面中查看张三的博客,参照图8示例性示出的一组用户通过应用查看联系人博客的界面显示的示意图。具体的,在图8中(a),用户用手指触摸张三对应的响应区域。随后如图8中(b)所示,消息界面中显示第一图标(即张三的头像),用户将第一图标(即张三的头像)拖动至博客功能的目标区域内,进入如图8中(c)的博客界面。
此外,本申请还可以是对其他目标联系人,比如李四等执行如上操作,不再赘述。进一步的,目标联系人还可以是联系人群组,联系人群组中包括有多个联系人,联系人群组比如A业务群、B业务群,相应的,在启动某个目标功能时,可以是对该联系人群组中的 多个联系人共同执行该目标功能。
示例性的,比如目标联系人是A业务群,A业务群中包括有张三和李四,用户在将A业务群对应的第一图标拖动至邮件功能的目标区域内时,则进入的邮件界面中,收件人为A业务群中的所有联系人,即张三和李四。相当于,可以在该邮件界面中给群组内的所有联系人发同一封邮件。同理,用户在将A业务群对应的第一图标拖动至电话功能的目标区域内时,则进入电话界面中,此时应用同时给A业务群中的所有联系人,即张三和李四打电话。相当于,可以是在该电话界面中给群组内的所有联系人同时打电话,即在该群组内发起电话会议。
如上述实施例中,目标联系人可以是一个单一联系人或一个联系人群组。此外,若用户想要同时给多个目标联系人发送邮件或者打电话,或者实现其他功能时,用户还可以同时选中该多个目标联系人,然后为该多个目标联系人执行目标功能。
一种可选实现方式中,用户可以触摸多个目标联系人中的任一个目标联系人的响应区域至第五预设时长,消息界面中显示多个处于可选状态的联系人,进一步的,用户可以从多个处于可选状态的联系人中选中其他目标联系人。随后用户可以拖动其中任一个目标联系人对应的第一图标至目标功能的目标区域内。
图9为本申请示例性提供的一组用户给多个目标联系人发送邮件的界面显示的示意图。如图9中(a),比如用户想要同时向张三、李四、王五发送邮件时,用户可以触摸张三对应的响应区域至第五预设时长。如图9中(b),在消息界面中显示各联系人处于可选状态(比如每个联系人头像前面显示一个“□”,用于指示该联系人处于可选状态)。由于用户已经触摸张三对应的响应区域至第五预设时长,则消息界面中张三已经处于选中状态,进一步的,用户可以用手指触摸李四和王五分别对应的响应区域,从而同时选中张三、李四、王五。如图9中(b),处于选中状态的联系人头像前面的“□”中显示有“√”。
进一步的,用户可以触摸其中一个目标联系人对应的响应区域,得到第一图标,比如触摸张三对应的响应区域至第一预设时长,则在消息界面中显示如图9中(c)的第一图标(即张三的头像)为可移动状态,用户将第一图标(即张三的头像)拖动至邮件功能的目标区域内,从而进入如图9中(d)的邮件界面,用户可以在该邮件界面中同时给张三、李四、王五三者发送邮件。
可选的,在用户选择多个目标联系人时,还可以在消息界面中显示“完成”按钮。示例性的,参照图9中(e)所示,当用户选择完成多个目标联系人之后,触摸该“完成”按钮。相应的,手机根据接收到的指令,确定用户选择的多个目标联系人。随后用户触摸其中一个目标联系人对应的响应区域得到第一图标。当然,本申请中也可以不包括“完成”按钮,当用户完成选择多个目标联系人之后,直接触摸其中一个目标联系人对应的响应区域得到第一图标。本申请不限定。
需要补充的是,上述例子中,用户触摸张三对应的响应区域至第一预设时长,在消息界面中显示第一图标(即张三的头像)为可移动状态,用户拖动该处于可移动状态的张三的头像至邮件功能对应的目标区域中。此外,在本申请中,消息界面中还可以同时显示其他目标联系人对应的第一图标为可移动状态,如图9中(f)所示,在消息界面中不仅可以显示张三的头像为可移动状态,还可以显示其他目标联系人比如李四的头像和王五的头像均为可移动状态。用户在拖动张三的头像至邮件功能的目标区域内的过程中,其他目标联 系人对应的第一图标,即李四的头像和王五的头像,也可以随着用户手指进行移动,当用户手指将张三的头像拖动至邮件功能的目标区域之后,手机由消息界面跳转至邮件界面。如此,用户在对多个目标联系人执行目标功能时,可以同时拖动多个目标联系人对应的第一图标,从而提供给用户更为直观的显示,有助于提高用户体验。
上述例子中,用户触摸张三对应的响应区域至第五预设时长,使得消息界面中显示各联系人处于可选状态。进一步的,用户触摸张三对应的响应区域至第一预设时长,使得消息界面中显示张三对应的第一图标为可移动状态。在本示例中,用户两次触摸的响应区域对应于同一个联系人。而在其他示例中,也可以是对应于不同联系人,比如用户触摸张三对应的响应区域至第五预设时长,使得消息界面中显示各联系人处于可选状态。进一步的,用户触摸李四对应的响应区域至第一预设时长,使得消息界面中显示李四对应的第一图标为可移动状态。
此外,用户还可以触摸消息界面中、除联系人对应的响应区域和功能对应的响应区域以外的空白区域至第五预设时长,消息界面中显示各联系人处于可选状态。用户触摸张三对应的响应区域至第一预设时长,消息界面中显示张三对应的第一图标为可移动状态。
本申请中,在选择多个目标联系人时,不仅可以选择多个单一联系人,也可以选择多个联系人群组,或者选择一个或多个单一联系人和一个或多个联系人群组。选择联系人群组的实现方式,与选择单一联系人的实现方式类似,不再赘述。
需要补充的是,针对用户选中的一个或多个目标联系人,可能会存在该一个或多个目标联系人对应的可选功能,换言之,在消息界面中,不是所有的功能都可以作为目标联系人的目标功能。比如图4中(a)显示的消息界面中,业务功能不能作为目标联系人的目标功能,即使用户将第一图标拖动至业务功能对应的目标区域内,消息界面也不能由消息界面切换至业务界面。
为了更好的提示用户目标联系人对应的可选功能,可以在显示第一图标时,同时在消息界面中突出显示与目标联系人对应的可选的功能图标。
如图10为本申请提供的一组突出显示可选功能的界面示意图。一个示例中,如图10中(a),当用户手指触摸张三对应的响应区域至第一预设时长之后,在消息界面中显示第一图标,且突出显示与目标联系人对应的一个或多个可选的功能图标。此处,可选的功能图标可以是包含于对应的可选功能的响应区域中。一个或多个可选的功能图标中可以包括有第二图标。可选功能比如邮件功能、博客功能、电话功能、加号功能(在消息界面中可以用于将联系人加为好友)。
再一个示例中,如图10中(b),当用户手指触摸张三对应的响应区域至第一预设时长之后,在消息界面中显示第一图标,且弱化显示(非突出显示)与目标联系人对应的一个或多个不可选的功能图标。此处,不可选的功能图标可以是包含于对应的不可选功能的响应区域中。不可选功能比如消息功能(当前界面为消息界面,所以消息功能不可用)、通讯录功能和业务功能。此处应理解,消息界面中将不可选的功能图标弱化显示,相当于,消息界面中将可选的功能图标突出显示。
在该实施例中,用户可以根据显示界面中提示,通过手指将第一图标拖动至可选功能的目标区域内。而对于手机来说,当手机检测到用户将第一图标拖动至可选功能的目标区域中时,可以由当前的消息界面切换至该可选功能对应的功能界面中。当手机检测到用户将第一图标拖动至不可选功能的目标区域中时,可以向用户提示选择功能不可用。
在一种可能的实现方式中,不同联系人对应于不同的功能,比如用户和张三同属于一个业务部门,用户可以给张三发消息和发邮件,而用户和李四分别属于不同业务部门,用户仅可以给李四发邮件,但不能给李四发消息,则张三和李四分别对应于不同的功能。如此,在本申请中,每个联系人可以对应于自己的可选功能列表,当用户在消息界面中选择目标联系人时,手机可以基于用户选择的目标联系人确定目标联系人对应的可选功能列表,并在消息界面中突出显示可选功能列表中包含的可选功能所对应的图标。
上述仅以用户将第一图标拖动至目标功能的目标区域内为例说明。本说明同样适用于用户将第二图标拖动至目标联系人的目标区域内的场景中,示例性的,当用户手指触摸目标功能对应的响应区域至第二预设时长之后,在消息界面中显示第二图标,且突出显示与目标功能对应的一个或多个可选的联系人图标,此处,可选的联系人图标可以是包含于对应的可选联系人的响应区域中。一个或多个可选的联系人图标中包括有第一图标。比如图10中(c),当用户手指触摸博客对应的响应区域至第二预设时长之后,在消息界面中显示博客功能对应的第二图标,且突出显示与博客功能对应的可选的联系人图标,其中可选的联系人比如是单一联系人,则突出显示张三、李四、王五三个人的联系人图标。同理,还可以弱化显示与目标功能对应的不可选联系人的图标,其中不可选联系人比如是联系人群组,则弱化显示A业务群和B业务群的联系人图标。
此外,不同功能也可以对应于自己的可选联系人列表,当用户在消息界面中选择目标功能时,可以基于用户选择的目标功能确定目标功能对应的可选联系人列表,并在消息界面中突出显示可选联系人列表中包含的可选联系人所对应的图标。
在对目标联系人执行完成目标功能的操作之后,可以由当前的功能界面自动切换回消息界面中。从而用户可以继续在该消息界面中,再次对本目标联系人执行其他目标功能,或者再次对其他目标联系人执行其他目标功能等。
示例性的,在如图4中(f),用户在邮件界面中触摸发送按钮,将该邮件发送给张三,相应的,可以确定用户已经使用完成邮件功能,自动由邮件界面切换回消息界面。进一步的,用户可以在消息界面中触摸张三对应的响应区域,进入(用户与张三的)消息聊天界面中,给张三发送一条消息,该消息比如“我给你发了一封邮件,请注意查收”。
又示例性的,在如图7中(c),用户在电话界面中打完电话之后,触摸挂断按钮,挂断电话,相应的,手机可以确定用户已经使用完成电话功能,自动由电话界面切换回消息界面。进一步的,用户可以在消息界面中拖动张三对应的第一图标至邮件功能对应的目标区域内,向张三发送电话会议纪要。
此外,在一些其他场景中,用户还可以在消息界面中合并多个单一联系人为联系人群组,比如图3中(a),用户手指触摸张三对应的响应区域至第一预设时长,消息界面中显示处于可移动状态的第一图标(即张三的头像),用户可以将该第一图标(即张三的头像)拖动至王五对应的目标区域内,从而张三和王五组成一个联系人群组。用户还可以将第一图标(即张三的头像)拖动至B业务群对应的目标区域内,从而将张三加入至B业务群中。
上述实施例中,仅以主界面为消息界面为例说明。本申请同样适用于主界面是通讯录界面、邮件界面或其他包含有联系人对应的响应区域和功能对应的响应区域的界面的场景中。具体实现与上述消息界面类似,不再赘述。
参见图11,示例性的示出了本申请提供的一种在应用中启用功能的方法的流程,该方 法由电子设备执行。
步骤1101,电子设备接收第一操作,第一操作是用户在第一界面中拖动第一图标和/或第二图标,至第一图标与第二图标之间的位置关系满足预设条件。
步骤1102,电子设备响应于第一操作,显示第二图标所指示的目标功能对应的第二界面,第一图标对应的第一联系人是目标功能的操作对象。
在一种可能的实现方式中,第一界面与第二界面属于相同应用,或者不同应用。
在一种可能的实现方式中,第一图标包括多个图标。
在一种可能的实现方式中,第一图标与第二图标之间的位置关系满足预设条件,包括:第一图标与第二图标之间有重合或者第一图标与第二图标之间的距离小于预设距离。本申请中,预设距离可以是上述第一预设距离或者第二预设距离。
在一种可能的实现方式中,在接收第一操作之前,方法还包括:接收第二操作,第二操作是用户在第一界面中触摸第一联系人对应的第一响应区域至第一预设时长;响应于第二操作,在第二操作的触摸位置生成第一图标。
在一种可能的实现方式中,在接收到第二操作之后,方法还包括:突出显示多个可选的功能图标,多个可选的功能图标包括第二图标。
在一种可能的实现方式中,第二图标包括通讯录图标、电话图标、邮件图标、消息图标、博客图标中的任一个。
在一种可能的实现方式中,第一联系人为联系人群组,联系人群组中包括多个联系人。
在一种可能的实现方式中,方法还包括:在对第一联系人执行完目标功能之后,从第二界面返回至第一界面。
图11示出流程的具体实现方式,已在上述图3至图10相关方法实施例中描述。
示例性的,结合图3至图10相关方法实施例,第一界面可以是电子设备的主界面,比如是电子设备的消息界面、通讯录界面、邮件界面等。第二界面可以是用户在第一界面中触发目标功能时,目标功能所对应的功能界面。比如当第一界面是消息界面时,第二界面可以是邮件界面、电话界面等;再比如当第一界面是通讯录界面时,第二界面可以是邮件界面、电话界面、消息界面等。
本申请中,用户可以指示电子设备对一个目标联系人执行目标功能,也可以对多个目标联系人执行目标功能,如下分情况说明:
情况一:对一个目标联系人执行目标功能。
此处,目标联系人可以是单一联系人,也可以是联系人群组。
针对于目标联系人是单一联系人的情况举例,比如单一联系人是张三。
在一个示例中,用户对电子设备执行第二操作,具体可以是用户手指在消息界面中触摸张三(即目标联系人/第一联系人)对应的响应区域至第一预设时长,相应的,电子设备在消息界面中显示张三的头像(即第一图标)。随后用户对电子设备执行第一操作,具体的,用户通过手指在消息界面中拖动张三的头像至与邮件图标(即第二图标)之间有重合或者张三的头像与邮件图标之间的距离小于预设距离,启动邮件功能。
在又一个示例中,用户对电子设备执行的第二操作,具体可以是用户手指在消息界面中触摸邮件功能(即目标功能)对应的响应区域至第二预设时长,相应的,电子设备在消息界面中显示邮件图标(即第二图标)。随后用户对电子设备执行第一操作,具体的,用户通过手指在消息界面中拖动邮件图标至与张三的头像(即第一图标)之间有重合或者张 三的头像与邮件图标之间的距离小于预设距离,启动邮件功能。
针对于目标联系人是联系人群组的情况举例,比如单一联系人是A业务群。
在一个示例中,用户对电子设备执行的第二操作,具体可以是用户手指在消息界面中触摸A业务群(即目标联系人/第一联系人)对应的响应区域至第一预设时长,相应的,电子设备在消息界面中显示A业务群的头像(即第一图标)。随后用户对电子设备执行第一操作,具体的,用户通过手指在消息界面中拖动A业务群的头像至与邮件图标(即第二图标)之间有重合或者A业务群的头像与邮件图标之间的距离小于预设距离,启动邮件功能。
在又一个示例中,用户对电子设备执行的第二操作,具体可以是用户手指在消息界面中触摸邮件功能(即目标功能)对应的响应区域至第二预设时长,相应的,电子设备在消息界面中显示邮件图标(即第二图标)。随后用户对电子设备执行第一操作,具体的,用户通过手指在消息界面中拖动邮件图标至与A业务群的头像(即第一图标)之间有重合或者A业务群的头像与邮件图标之间的距离小于预设距离,启动邮件功能。
情况二:对多个目标联系人执行目标功能。
在一种可能的实现方式中,电子设备在接收第二操作之前,电子设备可以响应于用户操作,显示多个联系人为可选状态。
一种示例中,用户可以触摸第二联系人对应的响应区域至第五预设时长,以使的电子设备显示多个联系人为可选状态,其中,第一联系人和第二联系人可以相同或不同。另一个示例中,用户可以触摸第一界面中的空白区域至第五预设时长,以使的电子设备显示多个联系人为可选状态。可参见下述示例1至示例3举例说明。
本申请中,多个目标联系人可以由多个单一联系人组成,也可以由多个联系人群组组成,还可以是由一个或多个单一联系人,以及一个或多个联系人群组组成。可以以多个目标联系人由多个单一联系人组成举例说明。
示例1,用户触摸第二联系人对应的响应区域至第五预设时长,以使的电子设备显示多个联系人为可选状态,其中第一联系人和第二联系人相同。
用户在消息界面中触摸张三(即第二联系人)对应的响应区域至第五预设时长,相应的,电子设备可以在消息界面中显示多个联系人为可选状态。用户触摸李四和王五分别对应的响应区域,同时选中张三、李四、王五三人。进一步的,用户在消息界面中触摸张三(即第一联系人)对应的响应区域至第一预设时长,电子设备在消息界面中显示张三的头像(即第一图标)。随后用户对电子设备执行第一操作,具体的,用户在消息界面中拖动张三的头像(即第一图标)至与邮件图标(即第二图标)之间有重合或者二者之间的距离小于预设距离,启动邮件功能,该邮件功能的操作对象即为张三、李四和王五。
示例2,用户触摸第二联系人对应的响应区域至第五预设时长,以使的电子设备显示多个联系人为可选状态,其中第一联系人和第二联系人不同。
用户在消息界面中触摸张三(即第二联系人)对应的响应区域至第五预设时长,相应的,电子设备可以在消息界面中显示多个联系人为可选状态。用户触摸李四和王五分别对应的响应区域,同时选中张三、李四、王五三人。进一步的,用户在消息界面中触摸李四(即第一联系人)对应的响应区域至第一预设时长,电子设备在消息界面中显示李四的头像(即第一图标)。随后用户对电子设备执行第一操作,具体的,用户在消息界面中拖动 李四的头像(即第一图标)至与邮件图标(即第二图标)之间有重合或者二者之间的距离小于预设距离,启动邮件功能,该邮件功能的操作对象即为张三、李四和王五。
示例3,用户触摸第一界面中的空白区域至第五预设时长,以使的电子设备显示多个联系人为可选状态。
用户在消息界面中触摸空白区域至第五预设时长,相应的,电子设备可以在消息界面中显示多个联系人为可选状态。用户触摸张三、李四和王五分别对应的响应区域,从而同时选中张三、李四、王五三人。进一步的,用户在消息界面中触摸李四(即第一联系人)对应的响应区域至第一预设时长,电子设备在消息界面中显示李四的头像(即第一图标)。随后用户对电子设备执行第一操作,具体的,用户在消息界面中拖动李四的头像(即第一图标)至与邮件图标(即第二图标)之间有重合或者二者之间的距离小于预设距离,启动邮件功能,该邮件功能的操作对象即为张三、李四和王五。
本申请中,第一界面与第二界面属于相同应用,或者不同应用。
示例性的,第一界面与第二界面同属于应用a,用户在应用a的第一界面中触摸目标联系人的响应区域,生成第一图标。用户拖动第一图标至与第二图标之间有重合或者二者之间的距离小于预设距离。电子设备在应用a中由第一界面跳转至第二界面。电子设备在确定对目标联系人执行完成目标功能之后,在应用a中由第二界面跳转回第一界面。
再示例性的,第一界面属于应用a,第二界面同属于应用b,应用a与应用b为两个不同的应用。用户在应用a的第一界面中触摸目标联系人的响应区域,生成第一图标。用户拖动第一图标至与第二图标之间有重合或者二者之间的距离小于预设距离。电子设备启动应用b,在应用b中显示第二界面。电子设备在确定对目标联系人执行完成目标功能之后,由应用b跳转回应用a,应用a中显示第一界面。
上述技术方案中,用户可以在电子设备的显示界面中拖动第一图标和第二图标至二者之间的位置关系满足预设条件,即通过在显示界面中将第一图标和第二图标叠加的方式,实现对目标联系人执行目标功能,用户无需多次点击界面中按钮,用户也无需多次切换不同界面,有助于减少用户操作。而且,本申请中未改变应用界面中视觉元素和信息架构,有助于降低开发成本。
采用硬件实现时,该电子设备的硬件实现可参考图12及其相关描述。
参见图12,所述电子设备包括:触摸屏1201,其中,所述触摸屏1201包括触控面板1207和显示屏1208;一个或多个处理器1202;存储器1203;一个或多个应用(未示出);以及一个或多个计算机程序1204,传感器1205、上述各器件可以通过一个或多个通信总线1206连接。其中该一个或多个计算机程序1204被存储在上述存储器1203中并被配置为被该一个或多个处理器1202执行,该一个或多个计算机程序1204包括指令,上述指令可以用于执行上述任一实施例中的方法。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被计算机执行时,使计算机执行上述实施例中的方法。
本申请实施例还提供了一种计算机程序产品,计算机程序产品中存储有计算机程序,计算机程序中包括程序指令,程序指令当被计算机执行时,使计算机执行上述实施例中的方法。
本申请实施例还提供了一种芯片系统,包括一个或多个处理器,当一个或多个处理器执行程序指令时,一个或多个处理器执行上述实施例中的方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;存储器用于存储计算机程序指令,当装置运行时,处理器可执行存储器存储的计算机程序指令,以使芯片执行上述各方法实施例中的方法。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (19)

  1. 一种在应用中启用功能的方法,其特征在于,包括:
    接收第一操作,所述第一操作是用户在第一界面中拖动第一图标和/或第二图标,至所述第一图标与所述第二图标之间的位置关系满足预设条件;
    响应于所述第一操作,显示第二图标所指示的目标功能对应的第二界面,所述第一图标对应的第一联系人是所述目标功能的操作对象。
  2. 根据权利要求1所述的方法,其特征在于,所述第一图标包括多个图标。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一图标与所述第二图标之间的位置关系满足预设条件,包括:
    所述第一图标与所述第二图标之间有重合或者所述第一图标与所述第二图标之间的距离小于预设距离。
  4. 根据权利要求1至3任一所述的方法,其特征在于,在所述接收第一操作之前,所述方法还包括:
    接收第二操作,所述第二操作是用户在所述第一界面中触摸所述第一联系人对应的第一响应区域至第一预设时长;
    响应于所述第二操作,在所述第二操作的触摸位置生成所述第一图标。
  5. 根据权利要求4所述的方法,其特征在于,在所述接收到所述第二操作之后,所述方法还包括:
    突出显示多个可选的功能图标,所述多个可选的功能图标包括所述第二图标。
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述第二图标包括通讯录图标、电话图标、邮件图标、消息图标、博客图标中的任一个。
  7. 根据权利要求1至6任一所述的方法,其特征在于,所述第一联系人为联系人群组,所述联系人群组中包括多个联系人。
  8. 根据权利要求1至7任一所述的方法,其特征在于,所述方法还包括:
    在对所述第一联系人执行完所述目标功能之后,从所述第二界面返回至所述第一界面。
  9. 一种电子设备,其特征在于,包括处理器、存储器和触摸屏,所述存储器、所述触摸屏与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述电子设备执行如下操作:
    接收第一操作,所述第一操作是用户在第一界面中拖动第一图标和/或第二图标,至所述第一图标与所述第二图标之间的位置关系满足预设条件;
    响应于所述第一操作,显示第二图标所指示的目标功能对应的第二界面,所述第一图标对应的第一联系人是所述目标功能的操作对象。
  10. 根据权利要求9所述的电子设备,其特征在于,所述第一图标包括多个图标。
  11. 根据权利要求9或10所述的电子设备,其特征在于,所述第一图标与所述第二图标之间的位置关系满足预设条件,包括:
    所述第一图标与所述第二图标之间有重合或者所述第一图标与所述第二图标之间的距离小于预设距离。
  12. 根据权利要求9至11任一所述的电子设备,其特征在于,在所述电子设备接收第 一操作之前,还用于执行:
    接收第二操作,所述第二操作是用户在所述第一界面中触摸所述第一联系人对应的第一响应区域至第一预设时长;
    响应于所述第二操作,在所述第二操作的触摸位置生成所述第一图标。
  13. 根据权利要求12所述的电子设备,其特征在于,在所述电子设备接收所述第二操作之后,还用于执行:
    突出显示多个可选的功能图标,所述多个可选的功能图标包括所述第二图标。
  14. 根据权利要求9至13任一所述的电子设备,其特征在于,所述第二图标包括通讯录图标、电话图标、邮件图标、消息图标、博客图标中的任一个。
  15. 根据权利要求9至14任一所述的电子设备,其特征在于,所述第一联系人为联系人群组,所述联系人群组中包括多个联系人。
  16. 根据权利要求9至15任一所述的电子设备,其特征在于,在所述电子设备对所述第一联系人执行完所述目标功能之后,还用于执行:
    从所述第二界面返回至所述第一界面。
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被计算机执行时,使所述计算机执行如权利要求1至8中任一项所述的方法。
  18. 一种计算机程序产品,其特征在于,所述计算机程序产品中存储有计算机程序,所述计算机程序中包括程序指令,所述程序指令当被计算机执行时,使所述计算机执行如权利要求1至8中任一项所述的方法。
  19. 一种芯片系统,其特征在于,包括一个或多个处理器,当所述一个或多个处理器执行指令时,所述一个或多个处理器执行如权利要求1至8中任一项所述的方法。
PCT/CN2021/141504 2021-04-16 2021-12-27 一种在应用中启用功能的方法及装置 WO2022217969A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21936835.4A EP4310645A1 (en) 2021-04-16 2021-12-27 Method and apparatus for enabling function in application
US18/486,505 US20240045586A1 (en) 2021-04-16 2023-10-13 Method for Enabling Function in Application and Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110413236.8A CN115291768A (zh) 2021-04-16 2021-04-16 一种在应用中启用功能的方法及装置
CN202110413236.8 2021-04-16

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/486,505 Continuation US20240045586A1 (en) 2021-04-16 2023-10-13 Method for Enabling Function in Application and Apparatus

Publications (1)

Publication Number Publication Date
WO2022217969A1 true WO2022217969A1 (zh) 2022-10-20

Family

ID=83640147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141504 WO2022217969A1 (zh) 2021-04-16 2021-12-27 一种在应用中启用功能的方法及装置

Country Status (4)

Country Link
US (1) US20240045586A1 (zh)
EP (1) EP4310645A1 (zh)
CN (1) CN115291768A (zh)
WO (1) WO2022217969A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111503A (zh) * 2011-02-18 2011-06-29 宇龙计算机通信科技(深圳)有限公司 快捷操作方法和移动终端
CN102479030A (zh) * 2010-11-24 2012-05-30 上海三旗通信科技股份有限公司 一种全新的易用性终端解锁方式
US20130219342A1 (en) * 2012-02-21 2013-08-22 Kyocera Corporation Mobile terminal device, storage medium and application execution control method
CN103369125A (zh) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 触屏手机的快速拨号方法和装置
US20160165032A1 (en) * 2014-12-05 2016-06-09 Software 263 Technology (Beijing) Co., Ltd. Softphone User Interface System and Method
CN107111444A (zh) * 2014-09-18 2017-08-29 核果移动有限公司 用于与接触点互动的客户端使用者界面

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479030A (zh) * 2010-11-24 2012-05-30 上海三旗通信科技股份有限公司 一种全新的易用性终端解锁方式
CN102111503A (zh) * 2011-02-18 2011-06-29 宇龙计算机通信科技(深圳)有限公司 快捷操作方法和移动终端
US20130219342A1 (en) * 2012-02-21 2013-08-22 Kyocera Corporation Mobile terminal device, storage medium and application execution control method
CN103369125A (zh) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 触屏手机的快速拨号方法和装置
CN107111444A (zh) * 2014-09-18 2017-08-29 核果移动有限公司 用于与接触点互动的客户端使用者界面
US20160165032A1 (en) * 2014-12-05 2016-06-09 Software 263 Technology (Beijing) Co., Ltd. Softphone User Interface System and Method

Also Published As

Publication number Publication date
CN115291768A (zh) 2022-11-04
EP4310645A1 (en) 2024-01-24
US20240045586A1 (en) 2024-02-08

Similar Documents

Publication Publication Date Title
CN110381282B (zh) 一种应用于电子设备的视频通话的显示方法及相关装置
CN110244893B (zh) 一种分屏显示的操作方法及电子设备
CN110114747B (zh) 一种通知处理方法及电子设备
WO2020177619A1 (zh) 终端充电提醒方法、装置、设备及存储介质
EP4024829A1 (en) Volume adjustment method and electronic device
WO2020024833A1 (zh) 滚动截屏的方法及电子设备
EP4027628A1 (en) Control method for electronic device, and electronic device
EP3944083A1 (en) Card-related processing method and apparatus
WO2021063221A1 (zh) 电子设备的显示方法、电子设备与计算机可读存储介质
CN114514498A (zh) 一种对电子设备的操作方法及电子设备
CN110633043A (zh) 一种分屏处理方法及终端设备
WO2020221062A1 (zh) 一种导航操作方法及电子设备
CN114077365A (zh) 分屏显示方法和电子设备
CN114115770A (zh) 显示控制的方法及相关装置
JP7204902B2 (ja) ファイル転送方法および電子デバイス
CN112578981A (zh) 具有柔性屏幕的电子设备的控制方法及电子设备
CN114089902A (zh) 手势交互方法、装置及终端设备
CN115757906A (zh) 索引显示方法、电子设备及计算机可读存储介质
EP4057122A1 (en) Screenshot method and related device
WO2022217969A1 (zh) 一种在应用中启用功能的方法及装置
WO2023179259A1 (zh) 一种信息分享方法及相关设备
WO2022042774A1 (zh) 头像显示方法及电子设备
WO2023071497A1 (zh) 拍摄参数调节方法、电子设备及存储介质
CN113934352B (zh) 通知消息处理方法、电子设备和计算机可读存储介质
CN114691066A (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: 21936835

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2021936835

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2021936835

Country of ref document: EP

Effective date: 20231017

NENP Non-entry into the national phase

Ref country code: DE