WO2021036571A1 - Desktop editing method and electronic device - Google Patents

Desktop editing method and electronic device Download PDF

Info

Publication number
WO2021036571A1
WO2021036571A1 PCT/CN2020/102682 CN2020102682W WO2021036571A1 WO 2021036571 A1 WO2021036571 A1 WO 2021036571A1 CN 2020102682 W CN2020102682 W CN 2020102682W WO 2021036571 A1 WO2021036571 A1 WO 2021036571A1
Authority
WO
WIPO (PCT)
Prior art keywords
desktop
electronic device
editing
user
area
Prior art date
Application number
PCT/CN2020/102682
Other languages
French (fr)
Chinese (zh)
Inventor
杨诗姝
杨桐
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021036571A1 publication Critical patent/WO2021036571A1/en

Links

Images

Classifications

    • 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
    • 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

Definitions

  • This application relates to the field of human-computer interaction technology, and in particular to a desktop editing method and electronic equipment.
  • the desktop editing method and electronic device provided by the present application can conveniently and quickly change the layout of the desktop, satisfy the user's operating habits, and improve the user experience.
  • a desktop editing method including: an electronic device displays a first desktop; the electronic device receives a user's first operation, and the first operation is used to instruct the electronic device to enter the desktop editing mode; After the operation, the electronic device displays the first interface in the desktop editing mode.
  • the first interface includes a first area and a second area. The first area displays a first preview image of the first desktop, and the first preview image is a thumbnail of the first desktop.
  • the second area contains at least one editing option, and each of the at least one editing option corresponds to a desktop editing;
  • the electronic device receives a second operation from the user, and the second operation is an operation on the first editing option in the at least one editing option ,
  • the first editing option corresponds to the first editing; in response to the second operation, the first area of the electronic device displays a second preview image of the first desktop, and the second preview image is an effect image of the first editing applied to the first desktop.
  • the second preview image is different from the first preview image; if the electronic device receives the user's third operation on the determining control, in response to the third operation, the electronic device determines to apply the first edit to the first desktop.
  • the preview image of the desktop is displayed in the electronic device, and the preview image can show the effect of the user editing the desktop in real time.
  • the user can edit the desktop in combination with the preview image of the desktop, so that the user can edit the desktop more accurately, avoid repeated editing, and realize efficient interaction between the user and the electronic device.
  • the method further includes: if the electronic device receives the user's fourth operation of canceling the control, responding to the fourth operation , The electronic device determines not to apply the first edit to the first desktop.
  • the electronic device determines not to apply the first edit to the first desktop, including: in response to the fourth operation, the electronic device exits the desktop editing mode and displays the first desktop.
  • the user can directly and quickly exit the desktop editing mode by operating the cancel control, so as to achieve efficient interaction between the user and the electronic device.
  • control it is determined that the control is located in the first area or the second area.
  • the cancellation control is located in the first area or the second area.
  • the embodiments of the present application do not strictly distinguish the controls and display content displayed in the first area and the second area, which will help optimize the layout of each control in the desktop editing interface and improve the user experience.
  • the at least one editing option includes at least one wallpaper option, and each of the at least one wallpaper options corresponds to a wallpaper; the first editing option corresponds to the first wallpaper; the second preview image of the first desktop is The first wallpaper is applied to the rendering of the first desktop; the electronic device determines to apply the first edit to the first desktop, specifically: the electronic device changes the wallpaper of the first desktop to the first wallpaper corresponding to the first editing option.
  • the method before the electronic device receives the second operation of the user, the method further includes: the electronic device receives a fifth operation of the user, where the fifth operation is an operation on the second editing option of the at least one editing option , The second editing option corresponds to the second wallpaper; in response to the fifth operation, the first area of the electronic device displays a third preview image of the first desktop, and the third preview image is an effect image of the second wallpaper applied to the first desktop.
  • the desktop wallpaper has not changed in fact. But at this time, the user can view the effect image of the first wallpaper applied to the desktop through the preview image in the first area. For example, it can be checked whether the color of the first wallpaper matches the color of the existing application icons on the desktop, whether the graphics in the new wallpaper is easily confused with the graphics of the existing application icons on the desktop, and so on. If the user is not satisfied, the user directly selects another wallpaper in the second area. At this time, the first area will display a new rendering according to the user's new selection. Until the user selects a satisfactory result, operate the confirm control to apply the final selected wallpaper to the desktop.
  • the mobile phone will change the desktop wallpaper only after the user operates the confirm control.
  • the user selects the wallpaper once and the mobile phone needs to change the desktop wallpaper once, which is beneficial for the user to select the most satisfactory effect and edit successfully at one time.
  • the at least one editing option includes at least one widget editing option, and each of the at least one widget editing options corresponds to a widget;
  • the second preview image of the first desktop is the first An effect drawing of the first widget corresponding to the first editing option added to a desktop;
  • the electronic device determines to apply the first edit to the first desktop, specifically: the electronic device adds the first widget to the first desktop.
  • the method further includes: the electronic device receives a sixth operation of the user, and the sixth operation is to select at least one editing option
  • the third editing option corresponds to the second widget in the third editing option; in response to the sixth operation, the first area of the electronic device displays a fourth preview image of the first desktop, and the fourth preview image is on the first desktop Add the renderings of the first window widget and the second window widget in.
  • the user directly adds the widget to the desktop by clicking or dragging the widget.
  • the effect of adding the corresponding widget on the desktop is displayed in the first area.
  • the mobile phone did not actually add the widgets to the desktop.
  • the user deletes the widget from the desktop by long pressing and dragging the widget to the delete control.
  • the operation of long pressing and dragging the widget to the delete control can realize the effect of displaying the desktop in the first area after deleting the corresponding widget. At this time, the mobile phone did not actually delete the widget from the desktop.
  • the user can edit multiple widgets in combination with the real-time preview image of the desktop, and then add or delete multiple widgets from the desktop at one time by determining the control, so as to enhance the efficient interaction between the user and the electronic device.
  • You can also cancel the editing of multiple widgets at one time through the cancel control to achieve the effect of canceling multiple editing with one click.
  • the method further includes: if the electronic device receives the seventh operation of the user on the determination control; responding to the seventh operation , The electronic device adds the first widget and the second widget to the first desktop.
  • the method further includes: if the electronic device receives the user's eighth operation to cancel the control; responding to the eighth operation , The electronic device determines not to add the first widget and the second widget.
  • the electronic device determines not to add the first widget and the second widget, including: the electronic device displays the first desktop.
  • the at least one editing option includes at least one desktop layout option, and each item in the at least one desktop layout option corresponds to a desktop layout mode; wherein, the desktop layout mode is an arrangement mode of application icons on the desktop; The application icons in the first desktop are arranged according to the first desktop layout; the second preview image of the first desktop is an effect chart of the application icons in the first desktop arranged according to the second desktop layout corresponding to the first editing option; determined by the electronic device Applying the first edit to the first desktop is specifically: the electronic device arranges the application icons of the first desktop according to the second desktop layout mode.
  • the method further includes: the electronic device receives a ninth operation from the user, where the ninth operation is an operation of adjusting the position of the application icon in the second preview image of the first desktop; in response to the ninth operation, The electronic device adjusts the position of the application icon in the second preview image of the first desktop.
  • the user when viewing an empty position in the desktop from the preview of the first area, the user can directly fill in the empty position by moving the application icon or the like. Avoid the waste of desktop space caused by empty positions, and also improve the beauty of the desktop.
  • the mobile phone after the user modifies the desktop layout setting item, the mobile phone immediately changes the desktop layout.
  • the user finds an empty location, etc., he needs to re-execute the desktop editing mode and re-adjust the application icon, which is cumbersome and affects the user experience. It can be seen that by previewing the rendering of the desktop layout in advance, this application can modify the desktop layout in time to avoid repeated entry into the desktop editing mode.
  • adjusting the position of the application icon in the second preview image of the first desktop by the electronic device includes: changing the position of one or more application icons in the second preview image of the first desktop, or changing the position of one or more application icons in the second preview image of the first desktop.
  • One or more application icons in the preview image of is moved to the second preview image of the first desktop.
  • a desktop editing method including: the electronic device receives a user's first operation, and the first operation is used to instruct the electronic device to enter the desktop editing mode; in response to the first operation, the electronic device enters the desktop editing mode, and displays The thumbnail of the first desktop, the thumbnail of the first desktop includes at least one icon; the electronic device receives the second operation of the user selecting at least one icon in the thumbnail of the first desktop; the electronic device displays the thumbnail of the second desktop, and the second The thumbnail of the desktop includes at least one icon; the electronic device receives the third operation of the user selecting at least one icon in the thumbnail of the second desktop; the electronic device receives the fourth operation of the user, and the fourth operation is used to instruct the electronic device to set the first desktop
  • the selected icon in the thumbnail of the first desktop and the selected icon in the thumbnail of the second desktop are moved to the buffer area; in response to the fourth operation, the electronic device moves the selected icon in the thumbnail of the first desktop, and the second desktop Second, the selected icon in the thumbnail of the desktop is moved to the
  • the rendering of the first desktop does not include the thumbnail of the first desktop.
  • the rendering of the second desktop does not include the selected icon in the thumbnail of the second desktop;
  • the electronic device displays the thumbnail of the third desktop;
  • the electronic device receives the user’s selection of at least one icon in the cache area.
  • Five operations the electronic device receives the user's sixth operation, and the sixth operation is used to instruct the electronic device to move the selected icon in the cache area to the thumbnail of the third desktop; in response to the sixth operation, the electronic device places the icon in the cache area
  • the selected icon is moved to the thumbnail of the third desktop, the electronic device displays the effect picture of the third desktop, and the effect picture of the third desktop includes the selected icon in the buffer area.
  • the method further includes: in response to receiving a seventh operation of the user to determine the control, the electronic device moves the selected icon in the buffer area to the third desktop.
  • the method further includes: in response to receiving the user's eighth operation to cancel the control, the electronic device determines not to move the icons in the first desktop and the second desktop.
  • the application icons in the desktop preview image can be moved to a specific area (ie, the cache area), which is convenient for moving the application icons on the desktop flexibly and quickly, and in real time. View the effect picture of the desktop after viewing the mobile application icon. It is also possible to quickly move application icons moved to the cache area back to a specific desktop, so as to realize flexible and quick movement of application icons on the desktop.
  • a specific area ie, the cache area
  • users can move application icons in different desktops to the cache area, making mobile application icons more flexible.
  • the application icons in the cache area can also be moved to a specific desktop at one time, or the application icons in the cache area can be moved to different desktops in stages, making the mobile application icons more flexible.
  • an electronic device including: a processor, a memory, and a touch screen, the memory, the touch screen are coupled to the processor, and the memory is used to store computer program code, the computer program code including a computer Instruction, when the processor reads the computer instruction from the memory, so that the electronic device executes the desktop editing method as described in the foregoing various aspects and any one of the possible implementation manners.
  • a device in a fourth aspect, is provided, the device is included in an electronic device, and the device has the function of realizing the behavior of the electronic device in any of the foregoing aspects and possible implementation manners.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes at least one module or unit corresponding to the above-mentioned functions. For example, a display module or unit, a receiving module or unit, and a determining module or unit, etc.
  • a computer storage medium including computer instructions, which, when the computer instructions are executed on a terminal, cause the terminal to execute the method described in each of the above aspects and any one of the possible implementation manners.
  • a computer program product is provided.
  • the computer program product runs on a computer, the computer executes the method described in each of the foregoing aspects and any one of the possible implementation manners.
  • a chip system including a processor, and when the processor executes an instruction, the processor executes the method described in each of the foregoing aspects and any one of the possible implementation manners.
  • a graphical user interface on an electronic device, the electronic device having a display screen, a camera, a memory, and one or more processors, and the one or more processors are configured to execute data stored in the memory
  • the graphical user interface includes a graphical user interface displayed when the electronic device executes the method described in each of the above aspects and any one of the possible implementation manners thereof.
  • FIG. 1 is a first structural diagram of an electronic device provided by an embodiment of the application
  • FIG. 2 is a second structural diagram of an electronic device provided by an embodiment of the application.
  • 3A to 3C are schematic diagrams of user interfaces of some electronic devices provided by embodiments of this application.
  • FIGS. 4A to 4C are schematic diagrams of user interfaces of still other electronic devices provided by embodiments of this application.
  • 5A to 5C are schematic diagrams of user interfaces of still other electronic devices provided by embodiments of this application.
  • FIG. 6 is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application.
  • FIG. 7 is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application.
  • FIGS. 8A to 8D are schematic diagrams of user interfaces of still other electronic devices provided by embodiments of the application.
  • FIG. 9 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • plural means two or more.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions.
  • words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • the desktop of a mobile phone is one of the more commonly used interfaces by users, sometimes called the main screen interface, the main interface, etc., which is the interface displayed after the mobile phone is turned on and unlocked.
  • the mobile phone desktop usually contains multiple application icons, and the user can quickly open the corresponding application through these application icons.
  • the mobile phone desktop may also include a dock, and the dock may also include multiple application icons. When the mobile phone displays other interfaces, you can return to the desktop of the mobile phone through the home button, etc.
  • the desktop of the mobile phone may also include the lock screen interface of the mobile phone.
  • users can also quickly enter the desktop editing mode to edit the desktop by long pressing or pinching on the mobile phone desktop. For example: change the desktop wallpaper, add or delete desktop gadgets, change the switching effect of the desktop, etc.
  • an embodiment of the present application provides a desktop editing method, which can be applied to electronic devices.
  • the touch screen of the electronic device displays two areas, one of which can be used by the user to perform desktop editing operations, such as selecting wallpaper, adding desktop gadgets, selecting switching effects, turning on or Turn off related functions, etc.
  • the other area can be used to display the desktop preview image, which can display the effect of the user editing the desktop in real time.
  • the user can edit the desktop in combination with the preview image of the desktop, so that the user can edit the desktop more accurately, avoid repeated editing, and realize efficient interaction between the user and the electronic device.
  • the desktop editing method provided by the embodiment of the present application, the user's experience of editing the desktop can be better improved.
  • the electronic device in this application may be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (personal digital assistant, PDA), a smart watch, a netbook, a wearable electronic device, and augmented reality technology (Augmented reality, AR) equipment, virtual reality (VR) equipment, in-vehicle equipment, smart cars, smart audio, robots, etc.
  • augmented reality technology Augmented reality, AR
  • VR virtual reality
  • in-vehicle equipment smart cars
  • smart audio, robots etc.
  • FIG. 1 shows a schematic diagram of the structure of an electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity 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 structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • Interfaces can include integrated circuit (I2C) interfaces, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interfaces, pulse code modulation (PCM) interfaces, universal asynchronous transmitters receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • 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, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the 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 to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 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 (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the 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, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal to 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 noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can 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.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the 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, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect 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, so as 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 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application package includes a first application, and the first application is a desktop editing application, which can provide a desktop editing interface.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the application framework layer may also include an activity manager AMS, which is responsible for the management of activities, the startup, switching, and scheduling of various components in the system, and the management and scheduling of applications.
  • an activity manager AMS which is responsible for the management of activities, the startup, switching, and scheduling of various components in the system, and the management and scheduling of applications.
  • the first application can call the activity manager to set the mode of the two windows.
  • One of the windows can be used to display the real-time preview of the desktop, and the other window is used to display related controls for users to edit the desktop, such as selecting wallpaper controls, adding desktop widget controls, selecting switching effect controls, and turning on or off related functions. Controls and so on.
  • the window manager draws the corresponding interface of each window according to the mode of the two windows set by the activity manager.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the electronic device 100 is a mobile phone with a large screen as an example, and the technical solutions provided by the embodiments of the present application will be described in detail with reference to the accompanying drawings.
  • the interface 301 is an example of the desktop (also referred to as the home screen interface) of the mobile phone.
  • the interface 301 may include a status bar, a widget (for example, a time widget, a weather widget), at least one application icon, and a dock bar (dock bar).
  • the mobile phone desktop may also display a navigation bar, for example, using virtual keys for navigation.
  • Navigation keys generally include one or more of a back key, a home key, a recent task key, and a notification bar key. Among them, the back key is used to return to the previous interface.
  • the home button is used to return to the desktop.
  • the recent task key is used to display the recently used applications.
  • the notification bar key is used to open the notification bar.
  • mobile phones can use gesture navigation. For example: the gesture of sliding inward on the left or right of the screen is used to return to the previous interface. The gesture of swiping up at the bottom of the screen is used to return to the desktop. Swipe up and stop at the bottom of the screen to display recently used applications. Swipe down at the top of the screen to open the notification bar.
  • gesture navigation For example: the gesture of sliding inward on the left or right of the screen is used to return to the previous interface.
  • the gesture of swiping up at the bottom of the screen is used to return to the desktop. Swipe up and stop at the bottom of the screen to display recently used applications. Swipe down at the top of the screen to open the notification bar.
  • mobile phones can also be navigated in other ways, so I won’t repeat them here.
  • the phone can include one or more desktops.
  • the user can switch the desktop currently displayed on the mobile phone by swiping left or right on a desktop. For example, if the user performs a leftward swipe gesture on the interface 301 as shown in Figure 3A (which can be marked as desktop A), the mobile phone displays an interface 302 as shown in Figure 3B, which is another desktop of the mobile phone (which can be marked as desktop B). ). If the user performs a leftward sliding gesture on the interface 302 again, the mobile phone displays an interface 303 as shown in FIG. 3C, and the interface 303 is another desktop of the mobile phone (can be denoted as desktop C). It should be noted that, the embodiment of the present application is described with an example in which a mobile phone includes three desktops. In fact, a mobile phone can contain any one of one or more desktops.
  • the user can make the phone enter the desktop editing mode by performing preset gestures on any desktop.
  • the preset gesture may be, for example, a long press on a blank position on the desktop, pinch with two fingers, click a specific button, press a specific physical key (or combination of physical keys), a hovering gesture, and the like.
  • the user can also trigger the phone to enter the desktop editing mode through other methods such as voice commands.
  • the desktop editing interface is displayed.
  • the desktop editing interface in this application includes two areas.
  • One area (such as the first area) can be used to display a real-time preview of the desktop; the other area (such as the second area) can be used for users to perform desktop editing operations, such as selecting wallpapers, adding desktop gadgets, and selecting switching effects. Turn on or off related functions, etc.
  • the first area and the second area are arranged left and right, and the first area is located on the left or right side of the second area.
  • the first area and the second area are arranged up and down, and the first area is located above or below the second area.
  • the area of the first area and the area of the second area may be the same or different. In one example, the first area and the second area do not overlap.
  • the positions of the first area and the second area on the screen may be set by default on the mobile phone.
  • the first area is set on the right (or left) of the screen, and the second area is set on the left (or right) of the screen. That is, the first area is located on the right (or left) of the second area.
  • the first area is set at the top (or below) of the screen by default, and the second area is set at the bottom (or above) of the screen. That is, the first area is located above (or below) the second area.
  • the first area and the second area may not overlap, or part of the area may overlap.
  • the positions of the first area and the second area on the screen may also be automatically set by the mobile phone according to the position where the user performs the preset gesture. That is, the user can determine the first area and the second area by controlling the position where the preset gesture is performed. For example: if the position where the user performs the preset gesture is on the right side of the screen of the mobile phone, the first area can be set on the right side of the screen, and the second area can be set on the left side of the screen. For another example: if the position where the user performs the preset gesture is located above the screen of the mobile phone, the first area may be set at the top of the screen, and the second area may be set at the bottom of the screen.
  • the first area and the second area may also be set by the mobile phone according to the user's operating habits. For example: if the user is accustomed to right-handed operation, the second area can be set on the right side of the screen to facilitate the right-handed operation of the user. In addition, the user's right hand will not block the desktop preview displayed in the first area on the left side of the screen, and the experience is better. Similarly, if the user is accustomed to left-handed operation, the second area can be set on the left side of the screen, and the first area can be set on the right side of the screen.
  • the first area when the mobile phone is a folding screen, the first area may be the display area of the main screen of the mobile phone, and the second area may be the display area of the secondary screen of the mobile phone.
  • the main screen may be a screen with a larger area among the folding screens, or the screen most frequently used by the user when the folding screen is in a folded state, or a screen set by default on the mobile phone.
  • the secondary screen is another or several other screens. The embodiments of this application do not limit the definition of the main screen and the secondary screen.
  • the first area may also be the display area of the secondary screen, and the second area is the display area of the main screen.
  • the user can also manually swap the positions of the first area and the second area.
  • the user can perform an operation such as a long press on the dividing line of the first area and the second area, and the control for changing positions is displayed in this position.
  • the user can switch the position of the first area and the second area by clicking the control.
  • the user can also manually change the positional relationship between the first area and the second area. Meet the current operating needs of users.
  • the second area may also include some controls for the user to operate.
  • the control can be a control for editing the desktop, or a control for operating the desktop preview image.
  • the embodiments of the present application do not strictly distinguish the functions and display content of the first area and the second area, which will help optimize the layout of each control in the desktop editing interface and improve the user experience.
  • the touch sensor 180K in the screen of the mobile phone receives a touch operation
  • the corresponding hardware interrupt is sent to the kernel layer (sensor driver).
  • the kernel layer processes the touch operation into the original input event (including touch coordinates, time stamp of the touch operation, etc.).
  • the original input events are stored in the kernel layer.
  • the application framework layer obtains the original input event from the kernel layer and executes the operation corresponding to the input event. If the aforementioned touch operation is a preset gesture that triggers the mobile phone to enter the desktop editing mode, the first application calls the activity manager to set the mode of the two windows.
  • One of the windows can be used to display the real-time preview of the desktop, and the other window is used to display related controls for users to edit the desktop, such as selecting wallpaper controls, adding desktop widget controls, selecting switching effect controls, and turning on or off related functions. Controls and so on.
  • the window manager draws the corresponding interface of each window according to the mode of the two windows set by the activity manager, and sends the drawn interface to the display driver of the kernel layer, and the display driver calls the screen for display.
  • the mobile phone displays a desktop editing interface including the first area and the second area.
  • the first area and the second area are arranged left and right, and the first area is located on the right side of the second area.
  • the interface 401 shown in FIG. 4A is an example of a desktop editing interface displayed by a mobile phone in response to a user's preset gestures.
  • the first area displays a preview image of the desktop (ie, the interface 303, that is, the desktop C) where the user triggers the preset gesture, including a thumbnail of the desktop.
  • a page 402 is displayed in the middle of the interface 401, which is a thumbnail of the desktop C.
  • the page 402 includes application icons of desktop C, widgets, and so on.
  • the user can edit the application icons and widgets of the desktop C on the page 402, and the editing method will be explained in the corresponding position below, and will not be explained here.
  • Other pages are displayed on the left and right sides of the page 402, corresponding to other desktops of the mobile phone.
  • the user can switch the page displayed in the middle by sliding left and right gestures, and the desktop corresponding to the page displayed in the middle position is the desktop being edited.
  • the page 402 may not include the application icons in the dock bar in the original desktop, that is, the application icons in the desktop dock bar cannot be edited in the desktop editing interface.
  • the page 402 can also include the application icons in the dock bar of the original desktop, that is, the application icons in the desktop dock bar can be edited in the desktop editing interface, and the editing of the application icons in the dock bar will also be described below. To elaborate.
  • the wallpaper control 403 can be used to change the wallpaper of the desktop (the main screen interface and/or the lock screen interface).
  • the widget control 404 can be used to add or delete widgets on the desktop.
  • the widgets include a clock widget, a weather widget, an email widget, a browser widget, a memo widget, and other tools commonly used by users.
  • the switching effect control 405 can be used to set the display effect when the desktop is switched.
  • the more setting control 406 can be used to set the layout of desktop icons, automatic alignment of icons, one screen negative, and the like. The specific usage of each edit control will be explained in detail below. It is understandable that the edit control may also include other desktop-related functional controls, which will not be repeated here.
  • the interface 407 shown in FIG. 4B is another example of the desktop editing interface displayed by the mobile phone in response to the user's preset gestures.
  • the difference between the interface 407 and the interface 401 is that the edit control under the first area in the interface 401 is displayed in the second area in the interface 407. In this way, the displayable area of the first area in the interface 407 increases.
  • each desktop dock bar may be displayed, in which icons of multiple applications are displayed. That is to say, in this example, you can view the overall preview effect of the desktop including the dock bar.
  • the application icons in the dock can also be edited.
  • the interface 408 shown in FIG. 4C is another example of the desktop editing interface displayed by the mobile phone in response to the user's preset gestures.
  • the difference between the interface 408 and the interface 407 is that commonly used editing options under each editing control in the interface 408 can be directly tiled in the second area.
  • the wallpaper control may include multiple wallpaper options.
  • the widget control can include multiple widget options.
  • the switch effect control can include multiple switch mode options and so on. In this way, the user can quickly operate the corresponding options when editing the desktop. For example, there are some wallpaper options under the wallpaper control. Users can directly click on the corresponding wallpaper options to directly change the desktop wallpaper. If the user wants to view more options under other editing controls, he can also use control 409 to collapse the options under the wallpaper control.
  • the edit control also includes a buffer area (or called a temporary storage area) edit control
  • the edit control can be used to expand an area
  • the user can adjust the application icons and/window widgets on the desktop When used as a temporary storage area for the moved application icons.
  • the mobile phone may include any one or several of the following editing functions, which is not limited in the embodiment of the present application.
  • the mobile phone In response to detecting that the user clicks the wallpaper control 403 on the interface 401 as shown in FIG. 4A, or the user clicks the wallpaper control 403 on the interface 407 as shown in FIG. 4B, the mobile phone displays the wallpaper editing interface, for example, as shown in FIG. 5A Interface 501.
  • the second area of the interface 501 multiple options are displayed, such as a wallpaper option 504, a wallpaper option 505, and a wallpaper option 506.
  • Each wallpaper option corresponds to a wallpaper, and the user can select the corresponding wallpaper to apply to the desktop through these options.
  • the page 507 corresponding to the desktop in the first area displays a real-time preview effect according to the user's editing of the desktop (desktop C). It can be seen that page 507 in FIG. 5A shows that the current desktop usage is the wallpaper corresponding to the wallpaper option 504.
  • the mobile phone displays an interface 508 as shown in FIG. 5B. It can be seen that in response to the user clicking on the wallpaper option 505, the wallpaper on the page 507 in the first area is changed to the wallpaper corresponding to the wallpaper option 505. The user can see the preview image of the wallpaper corresponding to the wallpaper option 505 applied to the current desktop (ie, desktop C) through the page 507 in the first area. In addition, the user can switch the page in the middle of the first area by performing a left or right sliding gesture on the screen, that is, switch the desktop currently being edited.
  • the real-time preview effect of other desktops can also be viewed.
  • the page corresponding to the desktop B is displayed in the middle of the first area, that is, the preview image of the desktop B is displayed.
  • the page corresponding to desktop A is displayed in that position, that is, a preview image of desktop A is displayed.
  • the first area of the interface 501 also includes an application control (or called a confirmation control, etc.) 502 and a cancel control 503.
  • the application control 502 is used to save the user's current editing content on the desktop (for example, the wallpaper finally selected by the user), and determine the application to the desktop.
  • the cancel control 503 is used to cancel the user's current editing of the desktop.
  • the desktop wallpaper has not changed in fact. But at this time, the user can view the effect image of the new wallpaper applied to the desktop through the preview image in the first area. For example, you can check whether the color of the new wallpaper matches the color of the existing application icons on the desktop, and whether the graphics in the new wallpaper are easily confused with the graphics of the existing application icons on the desktop. If the user is not satisfied, the user directly selects another wallpaper in the second area. At this time, the first area will display a new rendering according to the user's new selection. Until the user selects a satisfactory effect, click on the application control 502 to apply the finally selected wallpaper to the desktop. In other words, when the user clicks on the application control 502, the mobile phone will change the desktop wallpaper. It is avoided that in the prior art, the user selects the wallpaper once, and the mobile phone needs to change the desktop wallpaper once.
  • the mobile phone displays an interface 509 as shown in FIG. 5C.
  • the first area of the interface 509 displays a preview image of the wallpaper corresponding to the wallpaper option 506 after being applied to the desktop. If the user clicks on the application control 502, the mobile phone changes the wallpaper on the desktop. That is, the wallpaper of the desktop is replaced with the wallpaper corresponding to the wallpaper option 506 at this time. If the user clicks the cancel control 503, the mobile phone does not change the desktop wallpaper. That is, the wallpaper on the desktop is still the wallpaper corresponding to the wallpaper option 504 at this time.
  • the user can also directly select a new wallpaper option on the interface 408 as shown in FIG. 4C.
  • the application control and the cancellation control will also appear in the first area of the interface 408, the principle is similar, and no further explanation is provided.
  • the mobile phone displays the effect of the wallpaper selected by the user on the desktop in the first area in real time, allowing the user to understand the effect of the edited desktop in a more intuitive way, which is conducive to the one-time editing success after the user chooses the most satisfactory effect.
  • the user can also perform other settings on the selected wallpaper, such as blurring, scrolling, etc., at this time, the first area can also display these effects in real time, which will not be repeated in the embodiment of the present application.
  • the mobile phone after the user edits the desktop wallpaper, that is, after the user clicks the application control 502 or the cancel control 503, the mobile phone can return to the interface 401 shown in FIG. 4A, or return to the interface shown in FIG. 4B Interface 407, or return to interface 408, etc. in FIG. 4C. That is, the mobile phone defaults that the user has finished editing the wallpaper, and the user can then use other editing controls to edit.
  • the mobile phone after the user clicks on the application control 502 or cancels the control 503, the mobile phone can also exit the desktop editing mode and return to the desktop. That is, the mobile phone defaults that the user has finished editing the desktop.
  • the mobile phone after the user clicks on the application control 502 or cancels the control 503, the mobile phone can also perform the editing interface that remains in the wallpaper. The embodiments of this application do not limit this.
  • the operation when the user edits the desktop wallpaper, the operation can also be performed in conjunction with the navigation mode of the mobile phone system.
  • the mobile phone uses the navigation bar to navigate, you can use the back key in the navigation bar to return to the previous interface.
  • the mobile phone in response to the user clicking the back button, the mobile phone returns to the previous interface.
  • the navigation keys will be displayed in the interfaces in the above-mentioned Figures 4A to 4C and Figures 5A to 5C, including the back key, the home screen key, the recent task key, and the notification One or more of the field keys.
  • the position of the virtual button can be located in any one of the first area and the second area, and can also cross the area where the first area and the second area are located, for example, located in the middle of the screen.
  • the mobile phone displays the first interface for editing desktop wallpaper, that is, when the mobile phone enters the first wallpaper editing interface from the desktop editing interface (such as interface 501 shown in Figure 5A), if it is detected that the user clicks the back button (not shown in the figure) Out), the mobile phone returns to the interface 401 as shown in FIG. 4A. If it is detected on the interface 401 that the user clicks the back button (not shown in the figure) again, the mobile phone exits the desktop editing interface and returns to the desktop.
  • the second area is mainly used for the user to edit the desktop
  • the first area is mainly used for displaying a real-time preview image of the desktop. Therefore, when the user clicks the back button, in most cases the second area returns to the previous interface.
  • the home screen key (not shown in the figure) in the navigation bar can also be used to quickly exit the desktop editing mode and display the desktop.
  • a gesture of sliding inward on the left or right border of the screen on the mobile phone can be used to return to the previous interface.
  • the gesture used to return to the previous interface is basically the same as the user clicking the back button in the navigation bar, and will not be repeated here.
  • the gesture of sliding inward at the left or right border of the screen cannot be used to return to the previous interface. For example: when the mobile phone displays the corresponding page of the desktop currently being edited, if the mobile phone detects the gesture of sliding inward at the left or right border of the screen, it will be considered as switching the page corresponding to the desktop currently being edited.
  • the mobile phone can distinguish between the user's operation of returning to the previous interface and the user switching the page corresponding to the currently editing desktop. For example, when the mobile phone detects that the user slides inward on the left border of the screen, it can be considered as returning to the previous interface. If it is detected that the user slides inward on the right border of the screen, it can be regarded as switching the page corresponding to the desktop currently being edited. For another example: when the mobile phone detects that the user swipes to the right at the boundary between the first area and the second area, it can be considered as returning to the previous interface.
  • the mobile phone in response to the user clicking the widget control 404, displays an interface 601 as shown in FIG.
  • the interface 601 multiple widgets are displayed in the second area. It can be noted that each widget has the same or different sizes. That is, the area occupied by the widget on the desktop is different. Then, when widgets are added to the desktop, the beauty and applicability of the desktop layout may be affected. Therefore, in this application, the user can determine whether to add the location of the widget or whether to delete the widget through the real-time preview image of the desktop in the first area.
  • the user can add the corresponding widget to the corresponding page in the first area by clicking or dragging. That is, the user can view the renderings of each desktop after adding the corresponding widget.
  • the user can also delete the widget from the page by pressing and holding a widget in each page in the first area, and dragging the widget to the delete control appearing in the first area. In other words, the effect picture of the desktop displayed on the page at this time after the widget is deleted.
  • the user directly adds the widget to the desktop by clicking or dragging the widget.
  • the effect of adding the corresponding widget to the desktop is displayed in the first area.
  • the mobile phone did not actually add the widget to the desktop.
  • the user deletes the widget from the desktop by long pressing and dragging the widget to the delete control.
  • the operation of long pressing and dragging the widget to the delete control can achieve the effect of displaying the desktop in the first area after deleting the corresponding widget. At this time, the mobile phone did not actually delete the widget from the desktop.
  • the cancel control 603 can also be used to cancel multiple operations with one click, which improves the communication between the user and the mobile phone. Efficient interaction.
  • the first area may also display an undo control, which is used to undo the user's previous operation of deleting or adding a widget.
  • an undo control which is used to undo the user's previous operation of deleting or adding a widget.
  • the widget When the user edits the widget, it can also be operated in conjunction with the navigation mode of the mobile phone system. You can refer to the description of related content in changing the desktop wallpaper.
  • the mobile phone in response to the user clicking the switching effect control 405, displays multiple switching effect options on the second area.
  • the user can select the corresponding switch effect option, so that when the user switches between different pages in the first area, the user can watch the effect of the desktop switch.
  • the mobile phone in response to the user clicking on the more function control 404, displays an interface 701 as shown in FIG.
  • the second area displays the setting items of the desktop layout and the setting items of other desktop functions.
  • the layout of the current desktop is 6 ⁇ 4, which means that the layout of the application icons in the current desktop is: a maximum of 6 rows can be arranged in a desktop, and a maximum of 6 application icons can be arranged in each row. It can be seen that the desktop layout reflects the maximum number of application icons arranged in a desktop. It should be noted that the application icons arranged in the desktop layout do not include the application icons in the dock.
  • the user can select the layout of the applications arranged on the desktop through the setting of the desktop layout.
  • the mobile phone in response to the user's operation of changing the desktop layout, displays the effect of each desktop after the layout change in the first area. In other words, at this time, the mobile phone has not changed the layout of the application icons on the desktop.
  • a user changes a desktop layout with few application icons arranged in a desktop to a desktop layout with many application icons arranged in a desktop.
  • the mobile phone will re-layout the application icons contained in each desktop, that is, the application icons contained in each desktop remain unchanged and the order has not changed, only the layout has changed. It can be seen that the applications arranged in each desktop retain the order before changing the layout, so that it is convenient for the user to find the corresponding application icon. However, in this example, there will be more empty spaces on the desktop after the rearrangement.
  • the so-called empty location means that an application icon can be placed in this location on the desktop, but the application icon is not placed.
  • the desktop layout was originally 6 ⁇ 4, and now the desktop layout is set to 6 ⁇ 5. Then, if 24 application icons are arranged on the original desktop, after the layout is changed, 24 application icons are still arranged on the desktop, and 6 empty positions are displayed on the desktop.
  • the number of application icons arranged in the previous desktop is more than the maximum allowed arrangement after the change, which exceeds The allowed number of application icons will be squeezed out of the desktop.
  • desktop A contains more application icons before the change than the maximum number of application icons allowed to be arranged on a desktop after the change
  • the mobile phone will be behind desktop A and before desktop B, a new desktop is added for Place the application icon that is squeezed out of desktop A after changing the layout.
  • the newly added desktop is only used to place the application icons extruding the desktop A, and the newly added desktop will generally have an empty space.
  • the original desktop layout is 6 ⁇ 4, that is, a maximum of 24 application icons may be arranged in a desktop.
  • the desktop layout is set to 5 ⁇ 4, that is, a maximum of 20 application icons may be arranged in a desktop.
  • the mobile phone will add a new desktop behind the desktop to place one or more applications extruded from the desktop icon. It can be seen that the applications arranged in each desktop retain the order before changing the layout, so that it is convenient for the user to find the corresponding application icon.
  • the newly added desktop generally contains more empty positions, which waste the space of the desktop and are unsightly.
  • the user when viewing an empty position in the desktop from the preview of the first area, the user can directly fill in the empty position by moving the application icon or the like. Avoid the waste of desktop space caused by empty positions, and also improve the beauty of the desktop.
  • the modification of the desktop layout is determined by clicking the application control 702. If you are not satisfied with the previous layout adjustments, you can also cancel all the modifications to the desktop layout this time by clicking the cancel control 703.
  • the mobile phone After the user modifies the desktop layout setting item, the mobile phone immediately changes the desktop layout.
  • the user finds an empty location, etc. he needs to re-execute the desktop editing mode and re-adjust the application icon, which is cumbersome and affects the user experience. It can be seen that by previewing the rendering of the desktop layout in advance, this application can modify the desktop layout in time to avoid repeated entry into the desktop editing mode.
  • the mobile phone when it is detected that the user has modified the desktop layout, the mobile phone may also take the application icons contained in each desktop as a whole, and re-layout them in the order of desktop A, desktop B, desktop C, etc. as a whole.
  • the application icon will be re-layout across the desktop. But after using this method to re-layout, the first few desktops will not appear empty positions.
  • the mobile phone when it is detected that the user has changed a desktop layout with many application icons arranged in a desktop to a desktop layout with few application icons arranged in the desktop, the mobile phone can also change one or some desktops
  • the extruded application icons are placed in the cache area in the second area, so that the user can adjust the position of the extruded application icons on the desktop. It is understandable that when the layout is changed, there are usually not many application icons that are squeezed out. Therefore, this method will not cause user confusion, and is beneficial for users to quickly adjust the positions of these application icons. Among them, the usage of the buffer area will be explained in detail below.
  • application icons in the dock when setting the desktop layout, can also be set.
  • the number of application icons that can be arranged in the dock is related to the setting of the desktop layout.
  • the number of application icons that can be arranged in the dock may be the same as the number allowed to be arranged in a row on a desktop.
  • the layout of the desktop is 6 ⁇ 4, a maximum of 6 application icons can be arranged in a row in the dock.
  • the layout of the desktop is 5 ⁇ 4, a maximum of 5 application icons can be arranged in a row in the dock.
  • the number of application icons in the dock can also be changed adaptively.
  • the desktop layout is changed from 6 ⁇ 4 to 5 ⁇ 4, the number of application icons that can be arranged in the dock is changed from 6 to 5. Among them, you can reduce the application icons on the far right or left of the dock, or the least frequently used application icons in the dock. For another example, if the desktop layout is changed from 5 ⁇ 4 to 6 ⁇ 4, the number of application icons that can be arranged in the dock is changed from 5 to 6. An empty space can be added for placing the sixth application icon.
  • the application icon recommended by the mobile phone can also be placed in the position of the sixth application icon.
  • the application icon may be other frequently used application icons other than the dock.
  • desktop function settings include, but are not limited to, automatic alignment, shake (automatically align desktop icons), icon corners, circular sliding (pre-desktop circular sliding), negative one screen settings, etc. It is understandable that users may not understand the specific functions of these desktop functions. In the prior art, users can only try one function one by one. Turn on or turn off these functions repeatedly, and carefully compare the changes before and after the phone to determine the function of the function. When you do not meet your needs, re-enter the desktop editing mode and modify it back. Low efficiency and poor experience.
  • the mobile phone can receive the user's operation to turn on or turn off these functions in the second area, display the corresponding effects in the first area, or play an animation demonstration to illustrate the specific functions of each function, so that the user can quickly understand each function The role of fast and accurate settings.
  • the user can select any one or several application icons in the page 402, and drag the selected application icon to other pages by long pressing, so as to realize the selected application icon from
  • the mobile phone displays an interface 801 as shown in FIG. 8A.
  • the selected application icon may also be application icons on multiple desktops. For example, an APP on desktop C and an APP on desktop B are moved to desktop A together.
  • the page 402 may also display application icons in the dock bar on the desktop. Then, you can also modify the position of the application icon in the selected dock. For example, move the application icon of the selected dock bar out of the dock bar. For another example, when there is an empty position in the dock bar, you can also move the application icons in the non-dock bar to the dock bar. For another example, the application icons in the selected dock bar and the application icons in other non-dock bars can also be moved to other desktops together.
  • the embodiment of the present application provides a method for performing shortcut operations on selected multiple application icons.
  • the embodiment of the present application also proposes the function of the buffer area. The following description is combined with specific scenarios.
  • the mobile phone may display a buffer area in the second area.
  • the mobile phone displays an interface 801 as shown in FIG. 8A.
  • the first area displays a move to buffer control 804 and so on.
  • the second area is the cache area, which is used to temporarily store application icons selected by the user.
  • the mobile phone displays any interface in the desktop editing mode, a page corresponding to the desktop is displayed in the first area of the interface.
  • the mobile phone can display the move to buffer area control 804. That is, the user can quickly use the cache area function when selecting one or more application icons.
  • the user has selected multiple application icons (for example, APP1, APP2, APP3, and APP4).
  • the mobile phone removes the multiple application icons selected by the user from the corresponding pages of the desktop and displays them in the cache area, as shown in the interface 803 in FIG. 8B.
  • the multiple application icons selected by the user here may also be application icons on pages corresponding to different desktops.
  • the interface 803 includes a move back to desktop control 804, which can be used to move application icons in the cache area to the desktop.
  • the user can select application icons that need to be moved back to the desktop in the cache area of the second area (for example, select APP1 and APP2). Then, slide the page corresponding to the desktop in the first area, find the desired page, for example, the page corresponding to desktop A, and click the move back to desktop control 804.
  • the mobile phone displays an interface 806 as shown in FIG. 8D. It can be seen that the selected application icon in the cache area is moved to an empty position on the desktop A.
  • the user can continue to select other application icons in the cache area to move back to the desktop, so I won't repeat them one by one.
  • the cache area solution for displaying application icons in the second area provided by the embodiments of the present application can realize flexible and quick movement of desktop application icons and improve user experience.
  • the embodiment of the present application also provides a chip system.
  • the chip system includes at least one processor 1101 and at least one interface circuit 1102.
  • the processor 1101 and the interface circuit 1102 may be interconnected by wires.
  • the interface circuit 1102 may be used to receive signals from other devices (such as the memory of the electronic device 100).
  • the interface circuit 1102 may be used to send signals to other devices (such as the processor 1101).
  • the interface circuit 1102 can read an instruction stored in the memory, and send the instruction to the processor 1101.
  • the electronic device can be made to execute the various steps executed by the electronic device 100 (for example, a mobile phone) in the foregoing embodiment.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • the above-mentioned terminal and the like include hardware structures and/or software modules corresponding to each function.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the embodiments of the present invention.
  • the embodiments of the present application may divide the above-mentioned terminal and the like into functional modules according to the above method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiment of the present invention is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the existing technology, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage
  • the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, 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)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A desktop editing method and an electronic device, relating to the field of human-computer interactions. The layout of the desktop of the electronic device can be edited conveniently and quickly. The method comprises: display a first desktop; receive a first operation of a user; upon receipt of the first operation, display a first interface in a desktop editing mode, the first interface comprising a first region and a second region; the first region displaying a first preview of the first desktop, and being a thumbnail thereof; the second region comprising at least one editing option; each of the at least one editing option corresponding to one desktop editing; receive a second operation of the user, the second operation being an operation on a first editing option in the at least one editing option; the first editing option corresponding to a first editing; in response to the second operation, the first region displays a second preview of the first desktop; the second preview being an effect image in which the first editing is applied in the first desktop; and if a third operation of the user on a determined widget is received, determine that the first editing is applied in the first desktop.

Description

一种桌面的编辑方法及电子设备Desktop editing method and electronic equipment
本申请要求于2019年8月31日提交国家知识产权局、申请号为201910819951.4、申请名称为“一种桌面的编辑方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on August 31, 2019, the application number is 201910819951.4, and the application name is "a desktop editing method and electronic equipment", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及人机交互技术领域,尤其涉及一种桌面的编辑方法及电子设备。This application relates to the field of human-computer interaction technology, and in particular to a desktop editing method and electronic equipment.
背景技术Background technique
随着电子技术的发展,手机上的应用越来越丰富,使得手机成为用户使用最为频繁的电子设备。其中,手机上的桌面是用户最常看到的界面,因此桌面的布局已成为影响用户体验的关键因素。为了避免审美疲劳以及满足不同的操作习惯等,用户需要对桌面的布局进行编辑。因此,如何快捷方便地对桌面布局进行编辑,已成为待解决的问题。With the development of electronic technology, the applications on mobile phones are becoming more and more abundant, making mobile phones the most frequently used electronic devices by users. Among them, the desktop on the mobile phone is the interface that users see most often, so the layout of the desktop has become a key factor affecting user experience. In order to avoid aesthetic fatigue and satisfy different operating habits, users need to edit the layout of the desktop. Therefore, how to edit the desktop layout quickly and conveniently has become a problem to be solved.
发明内容Summary of the invention
本申请提供的一种桌面的编辑方法及电子设备,可以对桌面的布局进行方便快捷的更改,满足用户的操作习惯,提升用户体验。The desktop editing method and electronic device provided by the present application can conveniently and quickly change the layout of the desktop, satisfy the user's operating habits, and improve the user experience.
为了实现上述目的,本申请实施例提供了以下技术方案:In order to achieve the foregoing objectives, the embodiments of the present application provide the following technical solutions:
第一方面、提供一种桌面的编辑方法,包括:电子设备显示第一桌面;电子设备接收用户的第一操作,第一操作用于指示电子设备进入桌面编辑模式;在电子设备接收到第一操作之后,电子设备显示桌面编辑模式下的第一界面,第一界面包括第一区域和第二区域,第一区域显示第一桌面的第一预览图,第一预览图为第一桌面的缩略图;第二区域包含至少一个编辑选项,至少一个编辑选项中每一项对应一项桌面编辑;电子设备接收用户的第二操作,第二操作为对至少一个编辑选项中第一编辑选项的操作,第一编辑选项对应第一编辑;响应于第二操作,电子设备的第一区域显示第一桌面的第二预览图,第二预览图为第一编辑应用于第一桌面的效果图,第二预览图与第一预览图不同;若电子设备接收用户对确定控件的第三操作,响应于第三操作,电子设备确定将第一编辑应用于第一桌面。In a first aspect, a desktop editing method is provided, including: an electronic device displays a first desktop; the electronic device receives a user's first operation, and the first operation is used to instruct the electronic device to enter the desktop editing mode; After the operation, the electronic device displays the first interface in the desktop editing mode. The first interface includes a first area and a second area. The first area displays a first preview image of the first desktop, and the first preview image is a thumbnail of the first desktop. Thumbnail; the second area contains at least one editing option, and each of the at least one editing option corresponds to a desktop editing; the electronic device receives a second operation from the user, and the second operation is an operation on the first editing option in the at least one editing option , The first editing option corresponds to the first editing; in response to the second operation, the first area of the electronic device displays a second preview image of the first desktop, and the second preview image is an effect image of the first editing applied to the first desktop. The second preview image is different from the first preview image; if the electronic device receives the user's third operation on the determining control, in response to the third operation, the electronic device determines to apply the first edit to the first desktop.
由此可见,本申请通过在电子设备中显示桌面的预览图,预览图可以显示用户对桌面实时编辑后的效果。这样,用户可以结合桌面的预览图对桌面进行编辑,使得用户对桌面的编辑更加准确,可避免反复编辑的情况,实现用户与电子设备之间的高效互动。It can be seen that, in this application, the preview image of the desktop is displayed in the electronic device, and the preview image can show the effect of the user editing the desktop in real time. In this way, the user can edit the desktop in combination with the preview image of the desktop, so that the user can edit the desktop more accurately, avoid repeated editing, and realize efficient interaction between the user and the electronic device.
在一种可能的实现方式中,在电子设备的第一区域显示第一桌面的第二预览图之后,该方法还包括:若电子设备接收用户对取消控件的第四操作,响应于第四操作,电子设备确定不将第一编辑应用于第一桌面。In a possible implementation manner, after the second preview image of the first desktop is displayed in the first area of the electronic device, the method further includes: if the electronic device receives the user's fourth operation of canceling the control, responding to the fourth operation , The electronic device determines not to apply the first edit to the first desktop.
也就是说,若用户多本次编辑的效果均不满意,可以通过取消控件,直接保留本次编辑前桌面的状态,达到对本次编辑操作的一键取消的效果,实现用户与电子设备之间的高效互动。That is to say, if the user is not satisfied with the effect of this edit, he can directly retain the state of the desktop before the edit by canceling the control, so as to achieve the effect of one-click cancellation of the edit operation, and realize the interaction between the user and the electronic device. Efficient interaction between.
在一种可能的实现方式中,响应于第四操作,电子设备确定不将第一编辑应用于 第一桌面,包括:响应于第四操作,电子设备退出桌面编辑模式并显示第一桌面。In a possible implementation manner, in response to the fourth operation, the electronic device determines not to apply the first edit to the first desktop, including: in response to the fourth operation, the electronic device exits the desktop editing mode and displays the first desktop.
可见,在一个示例中,用户可以通过操作取消控件可以直接快速退出桌面编辑模式,实现用户与电子设备之间的高效互动。It can be seen that, in an example, the user can directly and quickly exit the desktop editing mode by operating the cancel control, so as to achieve efficient interaction between the user and the electronic device.
在一种可能的实现方式中,确定控件位于第一区域或第二区域。In a possible implementation manner, it is determined that the control is located in the first area or the second area.
在一种可能的实现方式中,取消控件位于第一区域或第二区域。In a possible implementation manner, the cancellation control is located in the first area or the second area.
也就是说,本申请实施例中并不严格区分第一区域和第二区域中显示的控件以及显示内容,这将有利于优化桌面编辑界面中各个控件的布局,提升用户的使用体验。In other words, the embodiments of the present application do not strictly distinguish the controls and display content displayed in the first area and the second area, which will help optimize the layout of each control in the desktop editing interface and improve the user experience.
在一种可能的实现方式中,至少一个编辑选项包括至少一个壁纸选项,至少一个壁纸选项中每一项对应一个壁纸;第一编辑选项对应第一壁纸;第一桌面的第二预览图,为第一壁纸应用于第一桌面的效果图;电子设备确定将第一编辑应用于第一桌面,具体为:电子设备将第一桌面的壁纸变更为与第一编辑选项对应的第一壁纸。In a possible implementation, the at least one editing option includes at least one wallpaper option, and each of the at least one wallpaper options corresponds to a wallpaper; the first editing option corresponds to the first wallpaper; the second preview image of the first desktop is The first wallpaper is applied to the rendering of the first desktop; the electronic device determines to apply the first edit to the first desktop, specifically: the electronic device changes the wallpaper of the first desktop to the first wallpaper corresponding to the first editing option.
在一种可能的实现方式中,在电子设备接收用户的第二操作之前,该方法还包括:电子设备接收用户的第五操作,第五操作为对至少一个编辑选项中第二编辑选项的操作,第二编辑选项对应第二壁纸;响应于第五操作,电子设备的第一区域显示第一桌面的第三预览图,第三预览图为第二壁纸应用于第一桌面的效果图。In a possible implementation manner, before the electronic device receives the second operation of the user, the method further includes: the electronic device receives a fifth operation of the user, where the fifth operation is an operation on the second editing option of the at least one editing option , The second editing option corresponds to the second wallpaper; in response to the fifth operation, the first area of the electronic device displays a third preview image of the first desktop, and the third preview image is an effect image of the second wallpaper applied to the first desktop.
需要说明的是,在用户选择第一壁纸后,且未操作确定控件时,桌面的壁纸事实上并未更改。但此时,用户可以通过第一区域中的预览图来查看第一壁纸应用于桌面的效果图。例如,可以查看到第一壁纸的颜色与桌面上已有的应用图标的颜色是否匹配,新的壁纸中的图形与桌面上已有的应用图标的图形是否容易混淆等。若用户不满意,则用户直接在第二区域内再选择其他壁纸,此时,第一区域会根据用户新的选择再显示新的效果图。直到用户选择到满意的效果后,操作确定控件,将最终选择的壁纸应用于桌面。也就是说,当用户操作确定控件后,手机才会对桌面的壁纸进行更改。避免现有技术中,用户选择一次壁纸,手机需要更改一次桌面的壁纸,有利于用户选择最满意的效果后一次性编辑成功。It should be noted that, after the user selects the first wallpaper and does not operate the determining control, the desktop wallpaper has not changed in fact. But at this time, the user can view the effect image of the first wallpaper applied to the desktop through the preview image in the first area. For example, it can be checked whether the color of the first wallpaper matches the color of the existing application icons on the desktop, whether the graphics in the new wallpaper is easily confused with the graphics of the existing application icons on the desktop, and so on. If the user is not satisfied, the user directly selects another wallpaper in the second area. At this time, the first area will display a new rendering according to the user's new selection. Until the user selects a satisfactory result, operate the confirm control to apply the final selected wallpaper to the desktop. In other words, the mobile phone will change the desktop wallpaper only after the user operates the confirm control. In the prior art, it is avoided that the user selects the wallpaper once and the mobile phone needs to change the desktop wallpaper once, which is beneficial for the user to select the most satisfactory effect and edit successfully at one time.
另外,在现有技术中,用户想用使用编辑之前的壁纸,仍然需要再进行一次编辑,将壁纸更换为之前的壁纸。然而,在本申请中,若用户对本次的编辑均不满意,也可以通过取消控件,直接保留桌面在本次编辑前的状态,操作简便快捷。In addition, in the prior art, if the user wants to use the wallpaper before editing, he still needs to edit again and replace the wallpaper with the previous wallpaper. However, in this application, if the user is not satisfied with the edit this time, he can also cancel the control to directly retain the state of the desktop before the edit this time, and the operation is simple and quick.
在一种可能的实现方式中,至少一个编辑选项包括至少一个窗口小工具编辑选项,至少一个窗口小工具编辑选项中每一项对应一个窗口小工具;第一桌面的第二预览图,为第一桌面添加第一编辑选项对应的第一窗口小工具的效果图;电子设备确定将第一编辑应用于第一桌面,具体为:电子设备在第一桌面中添加第一窗口小工具。In a possible implementation manner, the at least one editing option includes at least one widget editing option, and each of the at least one widget editing options corresponds to a widget; the second preview image of the first desktop is the first An effect drawing of the first widget corresponding to the first editing option added to a desktop; the electronic device determines to apply the first edit to the first desktop, specifically: the electronic device adds the first widget to the first desktop.
在一种可能的实现方式中,在电子设备的第一区域显示第一桌面的第二预览图之后,该方法还包括:电子设备接收用户的第六操作,第六操作为对至少一个编辑选项中第三编辑选项的操作,第三编辑选项对应第二窗口小工具;响应于第六操作,电子设备的第一区域显示第一桌面的第四预览图,第四预览图为在第一桌面中添加第一窗口小工具和第二窗口小工具的效果图。In a possible implementation manner, after the second preview image of the first desktop is displayed in the first area of the electronic device, the method further includes: the electronic device receives a sixth operation of the user, and the sixth operation is to select at least one editing option The third editing option corresponds to the second widget in the third editing option; in response to the sixth operation, the first area of the electronic device displays a fourth preview image of the first desktop, and the fourth preview image is on the first desktop Add the renderings of the first window widget and the second window widget in.
需要说明的是,在现有技术中,用户通过点击或拖动窗口小工具的操作则直接将窗口小工具添加到桌面上。然而,在本申请中,响应于该点击或拖动窗口小工具的操作,在第一区域中显示桌面添加相应窗口小工具后的效果。此时,手机并未将窗口小 工具真正添加到桌面中。也就是说,在用户对确定控件操作之前,手机并未将窗口小工具真正添加到桌面中。同理,在现有技术中,用户通过长按并拖到窗口小工具到删除控件的方式,将该窗口小工具从桌面上删除。然而,在本申请中,该长按并拖到窗口小工具到删除控件的操作可以实现在第一区域中显示桌面删除相应窗口小工具后的效果。此时,手机并未真正将窗口小工具从桌面上删除。It should be noted that, in the prior art, the user directly adds the widget to the desktop by clicking or dragging the widget. However, in this application, in response to the operation of clicking or dragging the widget, the effect of adding the corresponding widget on the desktop is displayed in the first area. At this time, the mobile phone did not actually add the widgets to the desktop. In other words, before the user operates the certain control, the mobile phone does not actually add the widget to the desktop. Similarly, in the prior art, the user deletes the widget from the desktop by long pressing and dragging the widget to the delete control. However, in this application, the operation of long pressing and dragging the widget to the delete control can realize the effect of displaying the desktop in the first area after deleting the corresponding widget. At this time, the mobile phone did not actually delete the widget from the desktop.
这样,用户结合桌面的实时预览图,可以对多个窗口小工具进行编辑后,通过确定控件从桌面上一次性添加或删除多个窗口小工具,提升用户与电子设备之间的高效互动。也可以通过取消控件一次性取消对多个窗口小工具的编辑,达到一键取消多个编辑作的效果。In this way, the user can edit multiple widgets in combination with the real-time preview image of the desktop, and then add or delete multiple widgets from the desktop at one time by determining the control, so as to enhance the efficient interaction between the user and the electronic device. You can also cancel the editing of multiple widgets at one time through the cancel control to achieve the effect of canceling multiple editing with one click.
在一种可能的实现方式中,在电子设备的第一区域显示第一桌面的第四预览图之后,该方法还包括:若电子设备接收用户对确定控件的第七操作;响应于第七操作,电子设备在第一桌面中添加第一窗口小工具和第二窗口小工具。In a possible implementation manner, after the fourth preview image of the first desktop is displayed in the first area of the electronic device, the method further includes: if the electronic device receives the seventh operation of the user on the determination control; responding to the seventh operation , The electronic device adds the first widget and the second widget to the first desktop.
在一种可能的实现方式中,在电子设备的第一区域显示第一桌面的第四预览图之后,该方法还包括:若电子设备接收用户对取消控件的第八操作;响应于第八操作,电子设备确定不添加第一窗口小工具和第二窗口小工具。In a possible implementation manner, after the fourth preview image of the first desktop is displayed in the first area of the electronic device, the method further includes: if the electronic device receives the user's eighth operation to cancel the control; responding to the eighth operation , The electronic device determines not to add the first widget and the second widget.
在一种可能的实现方式中,电子设备确定不添加第一窗口小工具和第二窗口小工具,包括:电子设备显示第一桌面。In a possible implementation manner, the electronic device determines not to add the first widget and the second widget, including: the electronic device displays the first desktop.
在一种可能的实现方式中,至少一个编辑选项包括至少一个桌面布局选项,至少一个桌面布局选项中每一项对应一种桌面布局方式;其中,桌面布局方式为桌面中应用图标的排列方式;第一桌面中应用图标按照第一桌面布局方式排列;第一桌面的第二预览图,为第一桌面中应用图标按照第一编辑选项对应的第二桌面布局方式排列的效果图;电子设备确定将第一编辑应用于第一桌面,具体为:电子设备将第一桌面的应用图标按照第二种桌面布局方式进行排列。In a possible implementation manner, the at least one editing option includes at least one desktop layout option, and each item in the at least one desktop layout option corresponds to a desktop layout mode; wherein, the desktop layout mode is an arrangement mode of application icons on the desktop; The application icons in the first desktop are arranged according to the first desktop layout; the second preview image of the first desktop is an effect chart of the application icons in the first desktop arranged according to the second desktop layout corresponding to the first editing option; determined by the electronic device Applying the first edit to the first desktop is specifically: the electronic device arranges the application icons of the first desktop according to the second desktop layout mode.
在一种可能的实现方式中,该方法还包括:电子设备接收用户的第九操作,第九操作为在第一桌面的第二预览图中调整应用图标位置的操作;响应于第九操作,电子设备调整第一桌面的第二预览图中的应用图标的位置。In a possible implementation, the method further includes: the electronic device receives a ninth operation from the user, where the ninth operation is an operation of adjusting the position of the application icon in the second preview image of the first desktop; in response to the ninth operation, The electronic device adjusts the position of the application icon in the second preview image of the first desktop.
因此,在本申请中,当从第一区域的预览图中查看到桌面中出现空位置时,用户可以直接通过移动应用图标等方式,对出现空位置的地方进行补位。避免空位置造成桌面空间的浪费,也能提升桌面的美观。相比较现有技术中,用户对桌面布局设置项进行修改后,手机立即对桌面布局进行更改。当用户发现有空位置等时,则需要重新进行桌面编辑模式,并重新对应用图标进行调整,操作繁琐,影响用户体验。可见,本申请通过提前预览桌面布局后的效果图,可及时对桌面布局进行修改,避免重复进入桌面编辑模式反复修改。Therefore, in this application, when viewing an empty position in the desktop from the preview of the first area, the user can directly fill in the empty position by moving the application icon or the like. Avoid the waste of desktop space caused by empty positions, and also improve the beauty of the desktop. Compared with the prior art, after the user modifies the desktop layout setting item, the mobile phone immediately changes the desktop layout. When the user finds an empty location, etc., he needs to re-execute the desktop editing mode and re-adjust the application icon, which is cumbersome and affects the user experience. It can be seen that by previewing the rendering of the desktop layout in advance, this application can modify the desktop layout in time to avoid repeated entry into the desktop editing mode.
在一种可能的实现方式中,电子设备调整第一桌面的第二预览图中应用图标位置包括:改变第一桌面的第二预览图中一个或多个应用图标的位置,或者,将其他桌面的预览图中的一个或多个应用图标移至第一桌面的第二预览图中。In a possible implementation manner, adjusting the position of the application icon in the second preview image of the first desktop by the electronic device includes: changing the position of one or more application icons in the second preview image of the first desktop, or changing the position of one or more application icons in the second preview image of the first desktop. One or more application icons in the preview image of is moved to the second preview image of the first desktop.
第二方面、提供一种桌面的编辑方法,包括:电子设备接收用户的第一操作,第一操作用于指示电子设备进入桌面编辑模式;响应于第一操作,电子设备进入桌面编辑模式,显示第一桌面的缩略图,第一桌面的缩略图包括至少一个图标;电子设备接 收用户选择第一桌面的缩略图中至少一个图标的第二操作;电子设备显示第二桌面的缩略图,第二桌面的缩略图包括至少一个图标;电子设备接收用户选择第二桌面的缩略图中至少一个图标的第三操作;电子设备接收用户的第四操作,第四操作用于指示电子设备将第一桌面的缩略图中被选中的图标,以及第二桌面的缩略图中被选中的图标移至缓存区;响应于第四操作,电子设备将第一桌面的缩略图中的被选中的图标,以及第二桌面的缩略图中的被选中的图标移至缓存区,电子设备显示第一桌面的效果图或第二桌面的效果图,第一桌面的效果图中不包括第一桌面的缩略图中的被选中的图标,第二桌面的效果图中不包括第二桌面的缩略图中的被选中的图标;电子设备显示第三桌面的缩略图;电子设备接收用户选择缓存区中至少一个图标的第五操作;电子设备接收用户的第六操作,第六操作用于指示电子设备将缓存区中被选中的图标移至第三桌面的缩略图中;响应于第六操作,电子设备将缓存区中被选中的图标移至第三桌面的缩略图中,电子设备显示第三桌面的效果图,第三桌面的效果图包括缓存区中被选中的图标。In a second aspect, a desktop editing method is provided, including: the electronic device receives a user's first operation, and the first operation is used to instruct the electronic device to enter the desktop editing mode; in response to the first operation, the electronic device enters the desktop editing mode, and displays The thumbnail of the first desktop, the thumbnail of the first desktop includes at least one icon; the electronic device receives the second operation of the user selecting at least one icon in the thumbnail of the first desktop; the electronic device displays the thumbnail of the second desktop, and the second The thumbnail of the desktop includes at least one icon; the electronic device receives the third operation of the user selecting at least one icon in the thumbnail of the second desktop; the electronic device receives the fourth operation of the user, and the fourth operation is used to instruct the electronic device to set the first desktop The selected icon in the thumbnail of the first desktop and the selected icon in the thumbnail of the second desktop are moved to the buffer area; in response to the fourth operation, the electronic device moves the selected icon in the thumbnail of the first desktop, and the second desktop Second, the selected icon in the thumbnail of the desktop is moved to the cache area, and the electronic device displays the rendering of the first desktop or the rendering of the second desktop. The rendering of the first desktop does not include the thumbnail of the first desktop. For the selected icon, the rendering of the second desktop does not include the selected icon in the thumbnail of the second desktop; the electronic device displays the thumbnail of the third desktop; the electronic device receives the user’s selection of at least one icon in the cache area. Five operations; the electronic device receives the user's sixth operation, and the sixth operation is used to instruct the electronic device to move the selected icon in the cache area to the thumbnail of the third desktop; in response to the sixth operation, the electronic device places the icon in the cache area The selected icon is moved to the thumbnail of the third desktop, the electronic device displays the effect picture of the third desktop, and the effect picture of the third desktop includes the selected icon in the buffer area.
一种可能的实现方式中,该方法还包括:响应于接收到用户对确定控件的第七操作,电子设备将缓存区中被选中的图标移至第三桌面。In a possible implementation manner, the method further includes: in response to receiving a seventh operation of the user to determine the control, the electronic device moves the selected icon in the buffer area to the third desktop.
一种可能的实现方式中,该方法还包括:响应于接收到用户对取消控件的第八操作,电子设备确定不移动第一桌面和第二桌面中的图标。In a possible implementation manner, the method further includes: in response to receiving the user's eighth operation to cancel the control, the electronic device determines not to move the icons in the first desktop and the second desktop.
由此可见,本申请中,电子设备在桌面编辑模式下,可以将桌面预览图中的应用图标移动到特定区域(即缓存区),便于对桌面中的应用图标进行灵活快捷的移动,并实时查看到移动应用图标后桌面的效果图。还可以将移至到缓存区的应用图标快速移回到特定的桌面的方法,实现对桌面中的应用图标进行灵活快捷的移动。It can be seen that in this application, in the desktop editing mode of the electronic device, the application icons in the desktop preview image can be moved to a specific area (ie, the cache area), which is convenient for moving the application icons on the desktop flexibly and quickly, and in real time. View the effect picture of the desktop after viewing the mobile application icon. It is also possible to quickly move application icons moved to the cache area back to a specific desktop, so as to realize flexible and quick movement of application icons on the desktop.
可以注意到,用户可以将不同桌面中的应用图标移动到缓存区,使得移动应用图标更加灵活。还可以将缓存区内的应用图标一次性移动到特定的桌面,也可以将缓存区的应用图标分次移动到不同的桌面上,使得移动应用图标更加灵活。It can be noted that users can move application icons in different desktops to the cache area, making mobile application icons more flexible. The application icons in the cache area can also be moved to a specific desktop at one time, or the application icons in the cache area can be moved to different desktops in stages, making the mobile application icons more flexible.
第三方面、提供一种电子设备,包括:处理器、存储器和触摸屏,所述存储器、所述触摸屏与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述电子设备执行如如上述各个方面中及其中任一种可能的实现方式中所述的桌面的编辑方法。In a third aspect, an electronic device is provided, including: a processor, a memory, and a touch screen, the memory, the touch screen are coupled to the processor, and the memory is used to store computer program code, the computer program code including a computer Instruction, when the processor reads the computer instruction from the memory, so that the electronic device executes the desktop editing method as described in the foregoing various aspects and any one of the possible implementation manners.
第四方面、提供一种装置,该装置包含在电子设备中,该装置具有实现上述各个方面及可能的实现方式中任一方法中电子设备行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括至少一个与上述功能相对应的模块或单元。例如,显示模块或单元、接收模块或单元、以及确定模块或单元等。In a fourth aspect, a device is provided, the device is included in an electronic device, and the device has the function of realizing the behavior of the electronic device in any of the foregoing aspects and possible implementation manners. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes at least one module or unit corresponding to the above-mentioned functions. For example, a display module or unit, a receiving module or unit, and a determining module or unit, etc.
第五方面、提供一种计算机存储介质,包括计算机指令,当计算机指令在终端上运行时,使得终端执行如上述各个方面及其中任一种可能的实现方式中所述的方法。In a fifth aspect, a computer storage medium is provided, including computer instructions, which, when the computer instructions are executed on a terminal, cause the terminal to execute the method described in each of the above aspects and any one of the possible implementation manners.
第六方面、提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如上述各个方面中及其中任一种可能的实现方式中所述的方法。In a sixth aspect, a computer program product is provided. When the computer program product runs on a computer, the computer executes the method described in each of the foregoing aspects and any one of the possible implementation manners.
第七方面、提供一种芯片***,包括处理器,当处理器执行指令时,处理器执行如上述各个方面中及其中任一种可能的实现方式中所述的方法。In a seventh aspect, a chip system is provided, including a processor, and when the processor executes an instruction, the processor executes the method described in each of the foregoing aspects and any one of the possible implementation manners.
第八方面、提供一种电子设备上的图形用户界面,所述电子设备具有显示屏、摄像头、存储器、以及一个或多个处理器,所述一个或多个处理器用于执行存储在所述存储器中的一个或多个计算机程序,所述图形用户界面包括所述电子设备执行如上述各个方面及其中任一种可能的实现方式中所述的方法时显示的图形用户界面。In an eighth aspect, there is provided a graphical user interface on an electronic device, the electronic device having a display screen, a camera, a memory, and one or more processors, and the one or more processors are configured to execute data stored in the memory The graphical user interface includes a graphical user interface displayed when the electronic device executes the method described in each of the above aspects and any one of the possible implementation manners thereof.
附图说明Description of the drawings
图1为本申请实施例提供的一种电子设备的结构示意图一;FIG. 1 is a first structural diagram of an electronic device provided by an embodiment of the application;
图2为本申请实施例提供的一种电子设备的结构示意图二;FIG. 2 is a second structural diagram of an electronic device provided by an embodiment of the application;
图3A至图3C为本申请实施例提供的一些电子设备的用户界面示意图;3A to 3C are schematic diagrams of user interfaces of some electronic devices provided by embodiments of this application;
图4A至图4C为本申请实施例提供的又一些电子设备的用户界面示意图;4A to 4C are schematic diagrams of user interfaces of still other electronic devices provided by embodiments of this application;
图5A至图5C为本申请实施例提供的又一些电子设备的用户界面示意图;5A to 5C are schematic diagrams of user interfaces of still other electronic devices provided by embodiments of this application;
图6为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 6 is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application;
图7为本申请实施例提供的又一些电子设备的用户界面示意图;FIG. 7 is a schematic diagram of user interfaces of still other electronic devices provided by the embodiments of this application;
图8A至图8D为本申请实施例提供的又一些电子设备的用户界面示意图;8A to 8D are schematic diagrams of user interfaces of still other electronic devices provided by embodiments of the application;
图9为本申请实施例提供的一种芯片***的结构示意图。FIG. 9 is a schematic structural diagram of a chip system provided by an embodiment of the application.
具体实施方式detailed description
在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。In the description of the embodiments of the present application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in this document is only an association describing the associated object Relationship means that there can be three kinds of relationships. For example, A and/or B can mean that: A alone exists, A and B exist simultaneously, and B exists alone. Hereinafter, the terms “first” and “second” are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include one or more of these features.
在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more. In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
手机的桌面是用户较常使用到的界面之一,有时也称为主屏幕界面、主界面等,为手机开机解锁后显示的界面。手机桌面通常包含有多个应用图标,用户可以通过这些应用图标快速开启对应的应用。可选的,手机桌面也可以包含停靠栏(dock),停靠栏中也可以包含多个应用图标。当手机显示其他界面时,可以通过home键等返回到手机的桌面。在一些示例中,手机的桌面也可包括手机的锁屏界面。The desktop of a mobile phone is one of the more commonly used interfaces by users, sometimes called the main screen interface, the main interface, etc., which is the interface displayed after the mobile phone is turned on and unlocked. The mobile phone desktop usually contains multiple application icons, and the user can quickly open the corresponding application through these application icons. Optionally, the mobile phone desktop may also include a dock, and the dock may also include multiple application icons. When the mobile phone displays other interfaces, you can return to the desktop of the mobile phone through the home button, etc. In some examples, the desktop of the mobile phone may also include the lock screen interface of the mobile phone.
目前,除了可以通过***设置中相关功能项对手机桌面的布局进行编辑外,用户也可以通过直接在手机桌面上长按或双指捏合的方式快速进入桌面编辑模式对桌面进行编辑。例如:更改桌面壁纸,添加或删除桌面小工具,更改桌面的切换效果等。At present, in addition to editing the layout of the mobile phone desktop through the relevant function items in the system settings, users can also quickly enter the desktop editing mode to edit the desktop by long pressing or pinching on the mobile phone desktop. For example: change the desktop wallpaper, add or delete desktop gadgets, change the switching effect of the desktop, etc.
然而,在现有的技术方案中,在对桌面进行编辑的过程中,用户无法看到实时的桌面效果,只有编辑完成后,用户才能看到编辑后的桌面效果。若用户对本次编辑的效果不满意,则只有重新进入桌面编辑模式,再次进行编辑。例如:在更改桌面的壁纸的场景中,若用户选择一张壁纸后,用户观看不到该壁纸应用于桌面后整个桌面的效果,比如壁纸与桌面中应用图标的颜色匹配效果等。只有用户确定使用该壁纸,手 机退出编辑模式后,才能看到桌面更换新的壁纸后的效果。若用户不满意,则需要重新进入桌面编辑模式,重新选择其他壁纸。可能用户需要反复操作很多次,才用挑选到满意的壁纸。可见,现有的桌面编辑方法中,用户操作较为复杂,费时费力,用户体验不佳。However, in the existing technical solution, in the process of editing the desktop, the user cannot see the real-time desktop effect, and the user can see the edited desktop effect only after the editing is completed. If the user is not satisfied with the effect of this editing, he can only re-enter the desktop editing mode and edit again. For example: in the scene of changing the desktop wallpaper, if the user selects a wallpaper, the user cannot see the effect of the entire desktop after the wallpaper is applied to the desktop, such as the color matching effect between the wallpaper and the application icon on the desktop. Only after the user confirms to use the wallpaper and the phone exits the editing mode, can you see the effect of replacing the new wallpaper on the desktop. If the user is not satisfied, he needs to re-enter the desktop editing mode and select another wallpaper again. It may be that the user needs to repeat the operation many times before choosing a satisfactory wallpaper. It can be seen that in the existing desktop editing methods, user operations are relatively complicated, time-consuming and labor-intensive, and user experience is not good.
为了解决上述问题,本申请实施例提供一种桌面编辑的方法,可应用于电子设备中。在电子设备检测到进入桌面编辑模式的触发手势后,电子设备的触摸屏显示两个区域,其中一个区域可用于用户执行编辑桌面的操作,例如选择壁纸,添加桌面小工具,选择切换效果,开启或关闭相关功能等。另一个区域则可用于显示桌面预览图,桌面预览图可以显示用户对桌面实时编辑后的效果。这样,用户可以结合桌面的预览图对桌面进行编辑,使得用户对桌面的编辑更加准确,可避免反复编辑的情况,实现用户与电子设备之间的高效互动。In order to solve the above-mentioned problem, an embodiment of the present application provides a desktop editing method, which can be applied to electronic devices. After the electronic device detects the trigger gesture to enter the desktop editing mode, the touch screen of the electronic device displays two areas, one of which can be used by the user to perform desktop editing operations, such as selecting wallpaper, adding desktop gadgets, selecting switching effects, turning on or Turn off related functions, etc. The other area can be used to display the desktop preview image, which can display the effect of the user editing the desktop in real time. In this way, the user can edit the desktop in combination with the preview image of the desktop, so that the user can edit the desktop more accurately, avoid repeated editing, and realize efficient interaction between the user and the electronic device.
随着电子设备的屏幕逐渐变大,尤其是折叠屏的出现,电子设备上可以显示内容越来越多。因此,采用本申请实施例提供的桌面编辑方法,可以更好的提升用户编辑桌面的体验。As the screens of electronic devices gradually become larger, especially the emergence of folding screens, more and more content can be displayed on the electronic devices. Therefore, by adopting the desktop editing method provided by the embodiment of the present application, the user's experience of editing the desktop can be better improved.
示例性的,本申请中的电子设备可以为手机、平板电脑、个人计算机(personal computer,PC)、个人数字助理(personal digital assistant,PDA)、智能手表、上网本、可穿戴电子设备、增强现实技术(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、车载设备、智能汽车、智能音响、机器人等,本申请对该电子设备的具体形式不做特殊限制。Exemplarily, the electronic device in this application may be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (personal digital assistant, PDA), a smart watch, a netbook, a wearable electronic device, and augmented reality technology (Augmented reality, AR) equipment, virtual reality (VR) equipment, in-vehicle equipment, smart cars, smart audio, robots, etc. This application does not impose special restrictions on the specific form of the electronic equipment.
图1示出了电子设备100的结构示意图。FIG. 1 shows a schematic diagram of the structure of an electronic device 100.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了***的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器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)接口等。In some embodiments, the processor 110 may include one or more interfaces. Interfaces can include integrated circuit (I2C) interfaces, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interfaces, pulse code modulation (PCM) interfaces, universal asynchronous transmitters receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple sets of I2C buses. The processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 100.
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等***器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices. The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为 数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与***设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A, 受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星***(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位***(global positioning system,GPS),全球导航卫星***(global navigation satellite system,GLONASS),北斗卫星导航***(beidou navigation satellite system,BDS),准天顶卫星***(quasi-zenith satellite system,QZSS)和/或星基增强***(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the 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, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电 话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal to 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 noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The 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 that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the holster or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。 发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can 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. The proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, 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, so as to reduce power consumption and implement thermal protection. In other embodiments, 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 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone. The audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示 消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过***SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时***多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
电子设备100的软件***可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android***为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
图2是本发明实施例的电子设备100的软件结构框图。FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present invention.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
在本申请实施例中,应用程序包包括第一应用,第一应用为桌面编辑应用,可提供桌面编辑的界面。In the embodiment of the present application, the application package includes a first application, and the first application is a desktop editing application, which can provide a desktop editing interface.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
其中,窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。Among them, the window manager is used to manage window programs. The window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
在本申请的实施例中,应用程序框架层还可以包括活动管理器AMS用于负责管理Activity,负责***中各组件的启动、切换、调度及应用程序的管理和调度等工作。In the embodiment of the present application, the application framework layer may also include an activity manager AMS, which is responsible for the management of activities, the startup, switching, and scheduling of various components in the system, and the management and scheduling of applications.
例如,当检测到手机进入桌面编辑模式后,第一应用可以调用活动管理器,设置两个窗口的模式。其中一个窗口可用于显示桌面实时的预览图,另一个窗口则用于显示可供用户编辑桌面的相关控件,例如选择壁纸控件,添加桌面小工具控件,选择切换效果控件,开启或关闭相关功能的控件等。窗口管理器则根据活动管理器设置的两个窗口的模式绘制各个窗口相应的界面。For example, when it is detected that the mobile phone enters the desktop editing mode, the first application can call the activity manager to set the mode of the two windows. One of the windows can be used to display the real-time preview of the desktop, and the other window is used to display related controls for users to edit the desktop, such as selecting wallpaper controls, adding desktop widget controls, selecting switching effect controls, and turning on or off related functions. Controls and so on. The window manager draws the corresponding interface of each window according to the mode of the two windows set by the activity manager.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
下面结合捕获拍照场景,示例性说明电子设备100软件以及硬件的工作流程。In the following, the workflow of the software and hardware of the electronic device 100 will be exemplified in conjunction with capturing a photo scene.
以下实施例中所涉及的技术方案均可以在具有上述硬件架构和软件架构的电子设备100中实现。The technical solutions involved in the following embodiments can all be implemented in the electronic device 100 having the above-mentioned hardware architecture and software architecture.
以下以电子设备100为具有大屏幕的手机为例,结合附图对本申请实施例提供的技术方案进行详细说明。In the following, the electronic device 100 is a mobile phone with a large screen as an example, and the technical solutions provided by the embodiments of the present application will be described in detail with reference to the accompanying drawings.
如图3A所示,界面301为手机的桌面(也可称为主屏幕界面)的一个示例。界面301可以包括状态栏、窗口小工具(widget)(例如:时间widget、天气widget)、至少一个应用图标以及停靠栏(dock栏)。在一些示例中,手机桌面还可以显示有导航栏,例如采用虚拟按键进行导航。导航键一般包括后退(back)键、主屏幕(home)键、最近任务(recent)键和通知栏键中的一项或多项。其中,后退键用于返回上一界面。主屏幕键用于返回桌面。最近任务键用于显示最近使用过的应用程序。通知栏键用于打开通知栏。在另一些示例中,手机可以采用手势导航。例如:在屏幕左边或右 边向内滑动的手势用于返回上一界面。在屏幕底部向上滑动的手势用于返回桌面。在屏幕底部向上滑动并停住用于显示最近使用过的应用程序。在屏幕顶部向下滑动用于打开通知栏。当然,手机还可以采用其他方式进行导航,这里不再一一赘述。As shown in FIG. 3A, the interface 301 is an example of the desktop (also referred to as the home screen interface) of the mobile phone. The interface 301 may include a status bar, a widget (for example, a time widget, a weather widget), at least one application icon, and a dock bar (dock bar). In some examples, the mobile phone desktop may also display a navigation bar, for example, using virtual keys for navigation. Navigation keys generally include one or more of a back key, a home key, a recent task key, and a notification bar key. Among them, the back key is used to return to the previous interface. The home button is used to return to the desktop. The recent task key is used to display the recently used applications. The notification bar key is used to open the notification bar. In other examples, mobile phones can use gesture navigation. For example: the gesture of sliding inward on the left or right of the screen is used to return to the previous interface. The gesture of swiping up at the bottom of the screen is used to return to the desktop. Swipe up and stop at the bottom of the screen to display recently used applications. Swipe down at the top of the screen to open the notification bar. Of course, mobile phones can also be navigated in other ways, so I won’t repeat them here.
手机可以包括一个或多个的桌面。用户可以通过在一个桌面上向左或向右滑动的手势来切换手机当前显示的桌面。例如:用户在如图3A所述的界面301(可记为桌面A)上执行向左滑动的手势,则手机显示如图3B所示的界面302,为手机另一个桌面(可记为桌面B)。若用户在界面302上再次执行向左滑动的手势,则手机显示如图3C所示的界面303,界面303是手机又一个桌面(可记为桌面C)。需要说明的是,本申请实施例是以手机包含三个桌面为例进行说明的。事实上,手机可以包含一个或多个桌面中任何一种情况。The phone can include one or more desktops. The user can switch the desktop currently displayed on the mobile phone by swiping left or right on a desktop. For example, if the user performs a leftward swipe gesture on the interface 301 as shown in Figure 3A (which can be marked as desktop A), the mobile phone displays an interface 302 as shown in Figure 3B, which is another desktop of the mobile phone (which can be marked as desktop B). ). If the user performs a leftward sliding gesture on the interface 302 again, the mobile phone displays an interface 303 as shown in FIG. 3C, and the interface 303 is another desktop of the mobile phone (can be denoted as desktop C). It should be noted that, the embodiment of the present application is described with an example in which a mobile phone includes three desktops. In fact, a mobile phone can contain any one of one or more desktops.
用户可以通过在任一桌面上执行预设手势,使得手机进入桌面编辑模式。其中,预设手势例如可以是在桌面上空白位置长按、双指捏合、点击特定按钮、按压特定物理键(或物理键组合)、悬浮手势等。当然,用户也可以通过语音命令等其他方式,触发手机进入桌面编辑模式。The user can make the phone enter the desktop editing mode by performing preset gestures on any desktop. Among them, the preset gesture may be, for example, a long press on a blank position on the desktop, pinch with two fingers, click a specific button, press a specific physical key (or combination of physical keys), a hovering gesture, and the like. Of course, the user can also trigger the phone to enter the desktop editing mode through other methods such as voice commands.
手机进入桌面编辑模式后,显示桌面编辑界面。与现有技术中桌面编辑界面不同,本申请中的桌面编辑界面包含两个区域。其中一个区域(例如第一区域)可用于显示桌面实时的预览图;另一个区域(例如第二区域)则可用于用户执行编辑桌面的操作,例如选择壁纸,添加桌面小工具,选择切换效果,开启或关闭相关功能等。示例性的,第一区域和第二区域呈左右排列,第一区域位于第二区域的左侧或右侧。或者,第一区域和第二区域呈上下排列,第一区域位于第二区域的上方或下方。其中,第一区域和第二区域的面积可以相同或不同。在一个示例中,第一区域和第二区域不重叠。After the mobile phone enters the desktop editing mode, the desktop editing interface is displayed. Different from the desktop editing interface in the prior art, the desktop editing interface in this application includes two areas. One area (such as the first area) can be used to display a real-time preview of the desktop; the other area (such as the second area) can be used for users to perform desktop editing operations, such as selecting wallpapers, adding desktop gadgets, and selecting switching effects. Turn on or off related functions, etc. Exemplarily, the first area and the second area are arranged left and right, and the first area is located on the left or right side of the second area. Alternatively, the first area and the second area are arranged up and down, and the first area is located above or below the second area. Wherein, the area of the first area and the area of the second area may be the same or different. In one example, the first area and the second area do not overlap.
在一些示例中,第一区域和第二区域的在屏幕上的位置可以是手机默认设置的。例如:默认将第一区域设置在屏幕的右侧(或左侧),第二区域设置在屏幕的左侧(或右侧)。即,第一区域位于第二区域的右侧(或左侧)。又例如:默认将第一区域设置在屏幕的上方(或下方),第二区域设置在屏幕的下方(或上方)。即,第一区域位于第二区域的上方(或下方)。第一区域和第二区域可以不重叠,也可以部分区域重叠。In some examples, the positions of the first area and the second area on the screen may be set by default on the mobile phone. For example: By default, the first area is set on the right (or left) of the screen, and the second area is set on the left (or right) of the screen. That is, the first area is located on the right (or left) of the second area. For another example, the first area is set at the top (or below) of the screen by default, and the second area is set at the bottom (or above) of the screen. That is, the first area is located above (or below) the second area. The first area and the second area may not overlap, or part of the area may overlap.
在另一些示例中,第一区域和第二区域在屏幕上的位置也可以是手机根据用户执行预设手势的位置自动设置的。也就是说,用户可以通过控制执行预设手势的位置来确定第一区域和第二区域。例如:若用户执行预设手势的位置位于手机屏幕的右侧,则第一区域可以设置在屏幕的右侧,第二区域设置在屏幕的左侧。又例如:若用户执行预设手势的位置位于手机屏幕的上方,则第一区域可以设置屏幕的上方,第二区域设置在屏幕的下方。In other examples, the positions of the first area and the second area on the screen may also be automatically set by the mobile phone according to the position where the user performs the preset gesture. That is, the user can determine the first area and the second area by controlling the position where the preset gesture is performed. For example: if the position where the user performs the preset gesture is on the right side of the screen of the mobile phone, the first area can be set on the right side of the screen, and the second area can be set on the left side of the screen. For another example: if the position where the user performs the preset gesture is located above the screen of the mobile phone, the first area may be set at the top of the screen, and the second area may be set at the bottom of the screen.
在又一些示例中,第一区域和第二区域还可以是手机根据用户的操作习惯进行设置。例如:若用户习惯右手操作,则可以将第二区域设置在屏幕的右侧,便于用户右手进行操作。并且,用户的右手也不会遮挡位于屏幕左侧的第一区域显示的桌面预览图,体验较好。同理,若用户习惯左手操作,则可以将第二区域设置在屏幕的左侧,第一区域设置在屏幕的右侧。In still other examples, the first area and the second area may also be set by the mobile phone according to the user's operating habits. For example: if the user is accustomed to right-handed operation, the second area can be set on the right side of the screen to facilitate the right-handed operation of the user. In addition, the user's right hand will not block the desktop preview displayed in the first area on the left side of the screen, and the experience is better. Similarly, if the user is accustomed to left-handed operation, the second area can be set on the left side of the screen, and the first area can be set on the right side of the screen.
在又一些示例中,手机为折叠屏时,第一区域可以是手机主屏的显示区域,第二 区域可以是手机副屏的显示区域。其中,主屏可以是折叠屏中面积较大的屏幕,也可以是折叠屏处于折叠状态时用户最常使用的屏幕,还可以是手机默认设置的一个屏幕等。副屏则是另一个或另几个屏幕。本申请实施例不限定主屏和副屏的定义。可选的,第一区域也可以是副屏的显示区域,第二区域则是主屏的显示区域。In still other examples, when the mobile phone is a folding screen, the first area may be the display area of the main screen of the mobile phone, and the second area may be the display area of the secondary screen of the mobile phone. Among them, the main screen may be a screen with a larger area among the folding screens, or the screen most frequently used by the user when the folding screen is in a folded state, or a screen set by default on the mobile phone. The secondary screen is another or several other screens. The embodiments of this application do not limit the definition of the main screen and the secondary screen. Optionally, the first area may also be the display area of the secondary screen, and the second area is the display area of the main screen.
当然,在手机显示第一区域和第二区域后,用户也可以手动的互换第一区域和第二区域的位置。例如,用户可以在第一区域和第二区域的分界线执行例如长按的操作,该位置显示互换位置的控件。用户可以通过点击该控件将第一区域和第二区域的位置进行调换。这样,当手机显示的第一区域和第二区域的相对位置关系不符合用户的操作习惯,或者当用户的操作习惯发生变化时,用户也可以手动改变第一区域和第二区域的位置关系,满足用户当前的操作需求。Of course, after the mobile phone displays the first area and the second area, the user can also manually swap the positions of the first area and the second area. For example, the user can perform an operation such as a long press on the dividing line of the first area and the second area, and the control for changing positions is displayed in this position. The user can switch the position of the first area and the second area by clicking the control. In this way, when the relative positional relationship between the first area and the second area displayed by the mobile phone does not conform to the user’s operating habits, or when the user’s operating habits change, the user can also manually change the positional relationship between the first area and the second area. Meet the current operating needs of users.
可以理解的是,在第二区域上也可以包括一些供用户操作的控件。该控件可以是对桌面进行编辑的控件,也可以是对桌面预览图进行操作的控件。也就是说,本申请实施例中并不严格区分第一区域和第二区域的功能以及显示内容,这将有利于优化桌面编辑界面中各个控件的布局,提升用户的使用体验。It can be understood that the second area may also include some controls for the user to operate. The control can be a control for editing the desktop, or a control for operating the desktop preview image. In other words, the embodiments of the present application do not strictly distinguish the functions and display content of the first area and the second area, which will help optimize the layout of each control in the desktop editing interface and improve the user experience.
在一个具体的实现方式中,请参见图2,当手机屏幕中的触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层(传感器驱动)。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,执行该输入事件对应的操作。若上述触摸操作为触发手机进入桌面编辑模式的预设手势时,则第一应用调用活动管理器,设置两个窗口的模式。其中一个窗口可用于显示桌面实时的预览图,另一个窗口则用于显示可供用户编辑桌面的相关控件,例如选择壁纸控件,添加桌面小工具控件,选择切换效果控件,开启或关闭相关功能的控件等。窗口管理器则根据活动管理器设置的两个窗口的模式绘制各个窗口相应的界面,并将绘制好的界面发送给内核层的显示驱动,由显示驱动调用屏幕进行显示。In a specific implementation, please refer to Figure 2. When the touch sensor 180K in the screen of the mobile phone receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer (sensor driver). The kernel layer processes the touch operation into the original input event (including touch coordinates, time stamp of the touch operation, etc.). The original input events are stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and executes the operation corresponding to the input event. If the aforementioned touch operation is a preset gesture that triggers the mobile phone to enter the desktop editing mode, the first application calls the activity manager to set the mode of the two windows. One of the windows can be used to display the real-time preview of the desktop, and the other window is used to display related controls for users to edit the desktop, such as selecting wallpaper controls, adding desktop widget controls, selecting switching effect controls, and turning on or off related functions. Controls and so on. The window manager draws the corresponding interface of each window according to the mode of the two windows set by the activity manager, and sends the drawn interface to the display driver of the kernel layer, and the display driver calls the screen for display.
举例说明,若用户在如图3C所示的界面303上执行触发预设手势,则手机显示包括第一区域和第二区域的桌面编辑界面。其中,第一区域和第二区域左右排列,且第一区域位于第二区域的右侧。For example, if the user performs a trigger preset gesture on the interface 303 as shown in FIG. 3C, the mobile phone displays a desktop editing interface including the first area and the second area. Wherein, the first area and the second area are arranged left and right, and the first area is located on the right side of the second area.
例如:如图4A所示的界面401,为手机响应于用户的预设手势,显示的桌面编辑界面的一个示例。在界面401中,第一区域显示有用户触发预设手势时所在的桌面(即界面303,也即桌面C)的预览图,包括该桌面的缩略图。例如,界面401的中间位置显示有页面402,为桌面C的缩略图。具体的,页面402上包括桌面C的应用图标,窗口小工具等。用户可以在页面402上对桌面C的应用图标和窗口小工具进行编辑,编辑的方法将在下文相应的位置进行说明,这里先不做说明。在页面402的左右侧还显示有其他页面,分别对应其手机其他桌面。用户可以通过左右滑动的手势切换显示在中间的页面,而显示在中间位置的页面所对应的桌面为正在编辑的桌面。For example, the interface 401 shown in FIG. 4A is an example of a desktop editing interface displayed by a mobile phone in response to a user's preset gestures. In the interface 401, the first area displays a preview image of the desktop (ie, the interface 303, that is, the desktop C) where the user triggers the preset gesture, including a thumbnail of the desktop. For example, a page 402 is displayed in the middle of the interface 401, which is a thumbnail of the desktop C. Specifically, the page 402 includes application icons of desktop C, widgets, and so on. The user can edit the application icons and widgets of the desktop C on the page 402, and the editing method will be explained in the corresponding position below, and will not be explained here. Other pages are displayed on the left and right sides of the page 402, corresponding to other desktops of the mobile phone. The user can switch the page displayed in the middle by sliding left and right gestures, and the desktop corresponding to the page displayed in the middle position is the desktop being edited.
可以看出,页面402可以不包括原桌面中的dock栏的应用图标,即在桌面编辑界面中不可对桌面dock栏的应用图标进行编辑。当然,在本申请中,页面402也可以包括原桌面中dock栏的应用图标,即在桌面编辑界面中可以对桌面dock栏的应用图标进行编辑,对dock栏的应用图标的编辑也将在下文进行详述。It can be seen that the page 402 may not include the application icons in the dock bar in the original desktop, that is, the application icons in the desktop dock bar cannot be edited in the desktop editing interface. Of course, in this application, the page 402 can also include the application icons in the dock bar of the original desktop, that is, the application icons in the desktop dock bar can be edited in the desktop editing interface, and the editing of the application icons in the dock bar will also be described below. To elaborate.
在页面402的下方,第一区域中显示有多个编辑控件,例如:壁纸控件403、窗口小工具控件404、切换效果控件405和更多设置控件406。其中,壁纸控件403可用于更换桌面(主屏幕界面和/或锁屏界面)的壁纸。窗口小工具控件404可用于在桌面上添加或删除窗口小工具,窗口小工具包括时钟widget、天气widget、邮箱widget、浏览器widget、备忘录widget以及其他用户常用的工具。切换效果控件405可用于设置桌面切换时的显示效果。更多设置控件406可用于设置桌面图标布局、图标的自动对齐、负一屏等。各个编辑控件的具体用法将在下文详细说明。可以理解的是,编辑控件还可以包括其他与桌面相关的功能控件,这里不一一赘述。Below the page 402, multiple editing controls are displayed in the first area, such as a wallpaper control 403, a widget control 404, a switching effect control 405, and more setting controls 406. Among them, the wallpaper control 403 can be used to change the wallpaper of the desktop (the main screen interface and/or the lock screen interface). The widget control 404 can be used to add or delete widgets on the desktop. The widgets include a clock widget, a weather widget, an email widget, a browser widget, a memo widget, and other tools commonly used by users. The switching effect control 405 can be used to set the display effect when the desktop is switched. The more setting control 406 can be used to set the layout of desktop icons, automatic alignment of icons, one screen negative, and the like. The specific usage of each edit control will be explained in detail below. It is understandable that the edit control may also include other desktop-related functional controls, which will not be repeated here.
再例如:如图4B所示的界面407,为手机响应于用户的预设手势,显示的桌面编辑界面的另一个示例。界面407与界面401的区别在于,界面401中第一区域下方的编辑控件,在界面407中是显示在第二区域中。这样,界面407中第一区域的可供显示的区域增大。在一些示例中,界面407中第一区域中显示各个桌面对应的页面时,可以显示各个桌面dock栏,其中显示多个应用程序的图标。也就是说,在该示例中可以查看包括dock栏的桌面的整体预览效果。另外,在另一示例中,也可以对dock栏中的应用图标进行编辑。Another example: the interface 407 shown in FIG. 4B is another example of the desktop editing interface displayed by the mobile phone in response to the user's preset gestures. The difference between the interface 407 and the interface 401 is that the edit control under the first area in the interface 401 is displayed in the second area in the interface 407. In this way, the displayable area of the first area in the interface 407 increases. In some examples, when the page corresponding to each desktop is displayed in the first area of the interface 407, each desktop dock bar may be displayed, in which icons of multiple applications are displayed. That is to say, in this example, you can view the overall preview effect of the desktop including the dock bar. In addition, in another example, the application icons in the dock can also be edited.
又例如:如图4C所示的界面408,为手机响应于用户的预设手势,显示的桌面编辑界面的又一个示例。界面408与界面407的区别在于,界面408中各个编辑控件下常用的编辑选项可以直接平铺在第二区域中。例如,壁纸控件下可以包括多个壁纸的选项。窗口小工具控件下可以包括多个窗口小工具的选项。切换效果控件下可以包括多个切换方式的选项等等。这样,用户在编辑桌面时,可以快捷的操作的相应选项。例如:壁纸控件下平铺有一些壁纸选项,用户可以直接点击相应的壁纸选项,直接更换桌面的壁纸。若用户想查看更多其他编辑控件下的选项,也可以通过控件409,收起壁纸控件下的选项。若用户想查看某个编辑控件(例如切换效果编辑控件)下的选项,也可以通过该编辑控件对应的展开控件(例如控件410)展开该编辑控件下的更多的选项。在该示例中,可以看到编辑控件还包括一个缓存区(或称为暂存区)的编辑控件,该编辑控件可用于展开一个区域,可在用户调整桌面上的应用图标和/窗口小工具时,作为被移动的应用图标暂存区使用。具体的将在下文详细说明。Another example: the interface 408 shown in FIG. 4C is another example of the desktop editing interface displayed by the mobile phone in response to the user's preset gestures. The difference between the interface 408 and the interface 407 is that commonly used editing options under each editing control in the interface 408 can be directly tiled in the second area. For example, the wallpaper control may include multiple wallpaper options. The widget control can include multiple widget options. The switch effect control can include multiple switch mode options and so on. In this way, the user can quickly operate the corresponding options when editing the desktop. For example, there are some wallpaper options under the wallpaper control. Users can directly click on the corresponding wallpaper options to directly change the desktop wallpaper. If the user wants to view more options under other editing controls, he can also use control 409 to collapse the options under the wallpaper control. If the user wants to view the options under a certain edit control (for example, the switching effect edit control), he can also expand more options under the edit control through the expansion control (for example, control 410) corresponding to the edit control. In this example, you can see that the edit control also includes a buffer area (or called a temporary storage area) edit control, the edit control can be used to expand an area, the user can adjust the application icons and/window widgets on the desktop When used as a temporary storage area for the moved application icons. The details will be explained in detail below.
接下来,分别对桌面的各个编辑功能进行详细说明。可以理解的是,手机可以包含以下编辑功能中的任一种和任几种,本申请实施例对此不做限定。Next, each editing function of the desktop will be described in detail. It is understandable that the mobile phone may include any one or several of the following editing functions, which is not limited in the embodiment of the present application.
1、更换桌面壁纸1. Change the desktop wallpaper
响应于检测到用户在如图4A所示的界面401上点击壁纸控件403,或者,用户在如图4B所示的界面407点击壁纸控件403,手机显示壁纸编辑界面,例如如图5A所示的界面501。该界面501中第二区域显示有多个选项,例如壁纸选项504、壁纸选项505和壁纸选项506。其中每个壁纸选项对应一个壁纸,用户可以通过这些选项选择相应的壁纸应用于桌面。可以理解的是,第一区域中对应于桌面的页面507显示有根据用户对桌面(桌面C)的编辑实时显示预览效果。可以看出,图5A中页面507示出了当前桌面使用为壁纸选项504对应的壁纸。In response to detecting that the user clicks the wallpaper control 403 on the interface 401 as shown in FIG. 4A, or the user clicks the wallpaper control 403 on the interface 407 as shown in FIG. 4B, the mobile phone displays the wallpaper editing interface, for example, as shown in FIG. 5A Interface 501. In the second area of the interface 501, multiple options are displayed, such as a wallpaper option 504, a wallpaper option 505, and a wallpaper option 506. Each wallpaper option corresponds to a wallpaper, and the user can select the corresponding wallpaper to apply to the desktop through these options. It can be understood that the page 507 corresponding to the desktop in the first area displays a real-time preview effect according to the user's editing of the desktop (desktop C). It can be seen that page 507 in FIG. 5A shows that the current desktop usage is the wallpaper corresponding to the wallpaper option 504.
例如,响应于用户在图5A的界面501上选择壁纸选项505的操作,手机显示如图5B所示的界面508。可以看出,响应于用户点击壁纸选项505,第一区域中页面507 中的壁纸变更为壁纸选项505对应的壁纸。用户可以通过第一区域中页面507看到壁纸选项505对应的壁纸应用于当前桌面(即桌面C)后的预览图。另外,用户可以通过在屏幕上执行向左或向右滑动的手势,来切换第一区域中间位置的页面,即切换当前正在编辑的桌面。也就是说,响应于用户在页面507上或页面507的附近执行向左滑或向右滑的手势,还可以查看到其他桌面的实时预览效果。例如,当用户在页面507上向右滑动,则第一区域中间位置显示对应于桌面B的页面,即显示桌面B的预览图。当用户在该位置再次向右滑动,则该位置显示对应与桌面A的页面,即显示桌面A的预览图。For example, in response to the user's operation of selecting the wallpaper option 505 on the interface 501 of FIG. 5A, the mobile phone displays an interface 508 as shown in FIG. 5B. It can be seen that in response to the user clicking on the wallpaper option 505, the wallpaper on the page 507 in the first area is changed to the wallpaper corresponding to the wallpaper option 505. The user can see the preview image of the wallpaper corresponding to the wallpaper option 505 applied to the current desktop (ie, desktop C) through the page 507 in the first area. In addition, the user can switch the page in the middle of the first area by performing a left or right sliding gesture on the screen, that is, switch the desktop currently being edited. That is, in response to the user performing a leftward or rightward sliding gesture on the page 507 or near the page 507, the real-time preview effect of other desktops can also be viewed. For example, when the user slides to the right on the page 507, the page corresponding to the desktop B is displayed in the middle of the first area, that is, the preview image of the desktop B is displayed. When the user slides to the right again at this position, the page corresponding to desktop A is displayed in that position, that is, a preview image of desktop A is displayed.
另外,界面501的第一区域还包括应用控件(或称为确定控件等)502以及取消控件503。其中,应用控件502用于保存用户当前对桌面的编辑内容(例如用户最终选择的壁纸),并确定应用于桌面。取消控件503用于取消用户当前对桌面的编辑。In addition, the first area of the interface 501 also includes an application control (or called a confirmation control, etc.) 502 and a cancel control 503. Wherein, the application control 502 is used to save the user's current editing content on the desktop (for example, the wallpaper finally selected by the user), and determine the application to the desktop. The cancel control 503 is used to cancel the user's current editing of the desktop.
需要说明的是,在用户选择新的壁纸后,且未点击应用控件502时,桌面的壁纸事实上并未更改。但此时,用户可以通过第一区域中的预览图来查看新的壁纸应用于桌面的效果图。例如,可以查看到新的壁纸的颜色与桌面上已有的应用图标的颜色是否匹配,新的壁纸中的图形与桌面上已有的应用图标的图形是否容易混淆等。若用户不满意,则用户直接在第二区域内再选择其他壁纸,此时,第一区域会根据用户新的选择再显示新的效果图。直到用户选择到满意的效果后,点击应用控件502,将最终选择的壁纸应用于桌面。也就是说,当用户点击应用控件502后,手机才会对桌面的壁纸进行更改。避免现有技术中,用户选择一次壁纸,手机需要更改一次桌面的壁纸。It should be noted that after the user selects a new wallpaper, and does not click on the application control 502, the desktop wallpaper has not changed in fact. But at this time, the user can view the effect image of the new wallpaper applied to the desktop through the preview image in the first area. For example, you can check whether the color of the new wallpaper matches the color of the existing application icons on the desktop, and whether the graphics in the new wallpaper are easily confused with the graphics of the existing application icons on the desktop. If the user is not satisfied, the user directly selects another wallpaper in the second area. At this time, the first area will display a new rendering according to the user's new selection. Until the user selects a satisfactory effect, click on the application control 502 to apply the finally selected wallpaper to the desktop. In other words, when the user clicks on the application control 502, the mobile phone will change the desktop wallpaper. It is avoided that in the prior art, the user selects the wallpaper once, and the mobile phone needs to change the desktop wallpaper once.
接着上述举例,响应于用户在如图5B所述的界面508上再次选择壁纸选项506,手机显示如图5C所示的界面509。界面509中第一区域显示壁纸选项506对应的壁纸应用于桌面后的预览图。若用户点击应用控件502,则手机对桌面的壁纸进行更换。即,此时桌面的壁纸更换为壁纸选项506对应的壁纸。若用户点击取消控件503,则手机不对桌面的壁纸进行更换。即,此时桌面的壁纸仍然为壁纸选项504对应的壁纸。Following the above example, in response to the user selecting the wallpaper option 506 again on the interface 508 as shown in FIG. 5B, the mobile phone displays an interface 509 as shown in FIG. 5C. The first area of the interface 509 displays a preview image of the wallpaper corresponding to the wallpaper option 506 after being applied to the desktop. If the user clicks on the application control 502, the mobile phone changes the wallpaper on the desktop. That is, the wallpaper of the desktop is replaced with the wallpaper corresponding to the wallpaper option 506 at this time. If the user clicks the cancel control 503, the mobile phone does not change the desktop wallpaper. That is, the wallpaper on the desktop is still the wallpaper corresponding to the wallpaper option 504 at this time.
当然,用户也可以在如图4C所示的界面408上直接选择新的壁纸选项。在一些示例中,界面408中第一区域也将出现应用控件和取消控件,原理相似,不再另外说明。Of course, the user can also directly select a new wallpaper option on the interface 408 as shown in FIG. 4C. In some examples, the application control and the cancellation control will also appear in the first area of the interface 408, the principle is similar, and no further explanation is provided.
由此可见,在现有技术中,由于用户在编辑时并不了解桌面编辑后的状态,很容易造成多次反复的更换壁纸,费时费力,体验不佳。可见,本申请中,手机在第一区域实时显示用户选择的壁纸应用于桌面的效果图,让用户更加直观的方式了解编辑后桌面的效果,有利于用户选择最满意的效果后一次性编辑成功。It can be seen that, in the prior art, since the user does not know the edited state of the desktop during editing, it is easy to cause multiple and repeated wallpaper changes, which is time-consuming and labor-intensive, and the experience is poor. It can be seen that in this application, the mobile phone displays the effect of the wallpaper selected by the user on the desktop in the first area in real time, allowing the user to understand the effect of the edited desktop in a more intuitive way, which is conducive to the one-time editing success after the user chooses the most satisfactory effect. .
另外,在现有技术中,用户想用使用编辑之前的壁纸,仍然需要再进行一次编辑,将壁纸更换为之前的壁纸。然而,在本申请中,若用户对本次的编辑均不满意,也可以通过点击取消控件503,直接保留桌面在本次编辑前的状态,操作简便快捷。In addition, in the prior art, if the user wants to use the wallpaper before editing, he still needs to edit again and replace the wallpaper with the previous wallpaper. However, in this application, if the user is not satisfied with the editing this time, they can also click the cancel control 503 to directly retain the state of the desktop before this editing, which is simple and quick to operate.
当然,用户也可以在对选择的壁纸进行其他设置,例如虚化、滚动等,此时第一区域也可以实时显示这些效果,本申请实施例不再一一赘述。Of course, the user can also perform other settings on the selected wallpaper, such as blurring, scrolling, etc., at this time, the first area can also display these effects in real time, which will not be repeated in the embodiment of the present application.
在一些实施例中,在用户编辑完桌面的壁纸之后,即用户点击了应用控件502或取消控件503之后,手机可以回到如图4A所示的界面401,或者回到如图4B所示的界面407,又或者回到如图4C中的界面408等。即,手机默认用户对壁纸编辑完成, 用户可以接着使用其他编辑控件进行编辑。可选的,用户点击了应用控件502或取消控件503之后,手机也可以退出桌面的编辑模式,回到桌面。即,手机默认用户对桌面编辑完成。可选的,用户点击了应用控件502或取消控件503之后,手机还可以进行留在壁纸的编辑界面。本申请实施例对此不做限定。In some embodiments, after the user edits the desktop wallpaper, that is, after the user clicks the application control 502 or the cancel control 503, the mobile phone can return to the interface 401 shown in FIG. 4A, or return to the interface shown in FIG. 4B Interface 407, or return to interface 408, etc. in FIG. 4C. That is, the mobile phone defaults that the user has finished editing the wallpaper, and the user can then use other editing controls to edit. Optionally, after the user clicks on the application control 502 or cancels the control 503, the mobile phone can also exit the desktop editing mode and return to the desktop. That is, the mobile phone defaults that the user has finished editing the desktop. Optionally, after the user clicks on the application control 502 or cancels the control 503, the mobile phone can also perform the editing interface that remains in the wallpaper. The embodiments of this application do not limit this.
在一些实施例中,在用户编辑桌面壁纸时,也可以结合手机***的导航方式进行操作。In some embodiments, when the user edits the desktop wallpaper, the operation can also be performed in conjunction with the navigation mode of the mobile phone system.
例如:若手机采用导航栏的方式进行导航,则可以使用导航栏中的后退键返回上一个界面。编辑壁纸的界面中,响应于用户点击后退键,手机返回上一个界面。在一个示例中,当手机采用虚拟按键进行导航时,在上述图4A至图4C以及图5A至图5C中的界面中都会显示有导航键,包含后退键、主屏幕键、最近任务键和通知栏键中的一个或多项。虚拟按键的位置可以位于第一区域和第二区域中任一区域内,也可以跨第一区域和第二区域所在的区域,例如位于屏幕中间位置等。当手机显示编辑桌面壁纸的第一个界面时,即手机从桌面编辑界面进入的第一个壁纸编辑界面(例如图5A所示的界面501)时,若检测用户点击后退键(图中未示出),则手机回到如图4A所示的界面401。若在该界面401再次检测到用户点击后退键(图中未示出),则手机退出桌面编辑界面,回到桌面。可以理解的是,在本申请中,第二区域主要用于用户编辑桌面,第一区域主要用于显示桌面的实时预览图。故,当用户点击后退键时,大多数情况下是第二区域返回上一个界面。在另一示例中,也可以使用导航栏中的主屏幕键(图中未示出),快速退出桌面编辑模式,显示桌面。For example: if the mobile phone uses the navigation bar to navigate, you can use the back key in the navigation bar to return to the previous interface. In the interface of editing the wallpaper, in response to the user clicking the back button, the mobile phone returns to the previous interface. In one example, when the mobile phone uses virtual keys for navigation, the navigation keys will be displayed in the interfaces in the above-mentioned Figures 4A to 4C and Figures 5A to 5C, including the back key, the home screen key, the recent task key, and the notification One or more of the field keys. The position of the virtual button can be located in any one of the first area and the second area, and can also cross the area where the first area and the second area are located, for example, located in the middle of the screen. When the mobile phone displays the first interface for editing desktop wallpaper, that is, when the mobile phone enters the first wallpaper editing interface from the desktop editing interface (such as interface 501 shown in Figure 5A), if it is detected that the user clicks the back button (not shown in the figure) Out), the mobile phone returns to the interface 401 as shown in FIG. 4A. If it is detected on the interface 401 that the user clicks the back button (not shown in the figure) again, the mobile phone exits the desktop editing interface and returns to the desktop. It can be understood that, in this application, the second area is mainly used for the user to edit the desktop, and the first area is mainly used for displaying a real-time preview image of the desktop. Therefore, when the user clicks the back button, in most cases the second area returns to the previous interface. In another example, the home screen key (not shown in the figure) in the navigation bar can also be used to quickly exit the desktop editing mode and display the desktop.
又例如:若手机采用手势进行导航的,则可以使用例如在手机在屏幕左侧或右侧边框处向内滑动的手势用于返回上一个界面。用于返回上一个界面的手势与用户点击导航栏中后退键的作用基本相同,这里不再赘述。For another example: if the mobile phone uses gestures for navigation, for example, a gesture of sliding inward on the left or right border of the screen on the mobile phone can be used to return to the previous interface. The gesture used to return to the previous interface is basically the same as the user clicking the back button in the navigation bar, and will not be repeated here.
需要注意的是,在现有的桌面编辑的方案中,在一些场景中,在屏幕左侧或右侧边框处向内滑动的手势并不能用于返回上一个界面。例如:在手机显示有当前正在编辑桌面的对应的页面时,若手机检测在屏幕左侧或右侧边框处向内滑动的手势时,会认为是在切换当前正在编辑桌面对应的页面。It should be noted that in the existing desktop editing solutions, in some scenarios, the gesture of sliding inward at the left or right border of the screen cannot be used to return to the previous interface. For example: when the mobile phone displays the corresponding page of the desktop currently being edited, if the mobile phone detects the gesture of sliding inward at the left or right border of the screen, it will be considered as switching the page corresponding to the desktop currently being edited.
但在本申请中,由于显示当前正在编辑桌面的对应的页面与用户编辑桌面的界面不在同一区域,故手机可以区分开用户返回上一个界面的操作与用户切换当前正在编辑桌面对应的页面。例如,当手机检测到用户在屏幕的左侧边框向内滑动,则可以认为是返回上一个界面。若检测用户在屏幕的右侧边框向内滑动,则可以认为是切换当前正在编辑桌面对应的页面。又例如:当手机检测到用户在第一区域和第二区域的边界处向右滑动,则可以认为是返回上一个界面,若检测到用户在第一区域和第二区域的边界处向左滑动,则可以认为是切换当前正在编辑桌面对应的页面。可见,本申请的方案中,丰富了用户的操作,提升了用户的使用体验。However, in this application, since the corresponding page displaying the desktop currently being edited is not in the same area as the interface of the user editing the desktop, the mobile phone can distinguish between the user's operation of returning to the previous interface and the user switching the page corresponding to the currently editing desktop. For example, when the mobile phone detects that the user slides inward on the left border of the screen, it can be considered as returning to the previous interface. If it is detected that the user slides inward on the right border of the screen, it can be regarded as switching the page corresponding to the desktop currently being edited. For another example: when the mobile phone detects that the user swipes to the right at the boundary between the first area and the second area, it can be considered as returning to the previous interface. If it detects that the user is sliding to the left at the boundary between the first area and the second area , It can be considered as switching the page corresponding to the desktop currently being edited. It can be seen that in the solution of the present application, the user's operations are enriched, and the user's use experience is improved.
2、添加或删除窗口小工具2. Add or delete widgets
继续参见图4A所示的界面401,响应于用户点击窗口小工具控件404,手机显示如图6中所示的界面601。在界面601中,第二区域中显示有多个widget。可以注意到的是,各个widget有相同或不同的尺寸。即widget占用桌面中的面积不同。那么,当widget添加到桌面上时可能影响到桌面布局的美观和适用性。因此,在本申请中, 用户可以通过第一区域中桌面的实时预览图进行确定是否添加widget的位置或是否删除widget等。Continuing to refer to the interface 401 shown in FIG. 4A, in response to the user clicking the widget control 404, the mobile phone displays an interface 601 as shown in FIG. In the interface 601, multiple widgets are displayed in the second area. It can be noted that each widget has the same or different sizes. That is, the area occupied by the widget on the desktop is different. Then, when widgets are added to the desktop, the beauty and applicability of the desktop layout may be affected. Therefore, in this application, the user can determine whether to add the location of the widget or whether to delete the widget through the real-time preview image of the desktop in the first area.
示例性的,用户可以通过点击或拖动的方式将相应的widget添加到第一区域中相应的页面中。即用户可以查看到各个桌面添加相应的widget后的效果图。当然,用户也可以通过长按住第一区域中各个页面中某个widget,并将该widget拖到第一区域中出现的删除控件处,以从该页面上删除该widget。也就是说,此时页面上显示的桌面删除widget后的效果图。Exemplarily, the user can add the corresponding widget to the corresponding page in the first area by clicking or dragging. That is, the user can view the renderings of each desktop after adding the corresponding widget. Of course, the user can also delete the widget from the page by pressing and holding a widget in each page in the first area, and dragging the widget to the delete control appearing in the first area. In other words, the effect picture of the desktop displayed on the page at this time after the widget is deleted.
需要说明的是,在现有技术中,用户通过点击或拖动widget的操作则直接将widget添加到桌面上。然而,在本申请中,响应于该点击或拖动widget的操作,在第一区域中显示桌面添加相应widget后的效果。此时,手机并未将widget真正添加到桌面中。也就是说,在用户点击应用控件602之前,手机并未将widget真正添加到桌面中。同理,在现有技术中,用户通过长按并拖到widget到删除控件的方式,将该widget从桌面上删除。然而,在本申请中,该长按并拖到widget到删除控件的操作可以实现在第一区域中显示桌面删除相应widget后的效果。此时,手机并未真正将widget从桌面上删除。It should be noted that in the prior art, the user directly adds the widget to the desktop by clicking or dragging the widget. However, in this application, in response to the operation of clicking or dragging the widget, the effect of adding the corresponding widget to the desktop is displayed in the first area. At this time, the mobile phone did not actually add the widget to the desktop. In other words, before the user clicks the application control 602, the mobile phone does not actually add the widget to the desktop. Similarly, in the prior art, the user deletes the widget from the desktop by long pressing and dragging the widget to the delete control. However, in this application, the operation of long pressing and dragging the widget to the delete control can achieve the effect of displaying the desktop in the first area after deleting the corresponding widget. At this time, the mobile phone did not actually delete the widget from the desktop.
若用户对当前添加或删除widget的效果满意时,可以通过点击应用控件602,使得手机根据用户前面的操作,添加或删除相应的widget。若用户对当前添加或删除widget的效果不满意,则可以继续编辑,即继续添加或删除widget。又或者,用户不再想更改桌面的widget时,可以通过取消控件603,直接保留在本次编辑之前的桌面中widget的状态。可见,当用户进行了多个操作(例如添加了多个widget和/或删除了多个widget)后,也可以通过取消控件603达到一键取消多个操作的效果,提升用户与手机之间的高效互动。If the user is satisfied with the effect of currently adding or deleting a widget, he can click on the application control 602 to make the mobile phone add or delete the corresponding widget according to the user's previous operation. If the user is not satisfied with the effect of currently adding or deleting widgets, they can continue to edit, that is, continue to add or delete widgets. Or, when the user no longer wants to change the widget on the desktop, he can cancel the control 603 to directly retain the state of the widget on the desktop before this edit. It can be seen that after the user has performed multiple operations (for example, adding multiple widgets and/or deleting multiple widgets), the cancel control 603 can also be used to cancel multiple operations with one click, which improves the communication between the user and the mobile phone. Efficient interaction.
在一些示例中,第一区域也可以显示撤销控件,该撤销控件用于撤销用户上一步删除或添加widget的操作。也就是说,为用户提供反悔机制,便于用户撤销上一步的操作。可见,当用户误操作时,或者用户某一步操作后的效果不佳时,可以通过撤销控件进行快速调整。In some examples, the first area may also display an undo control, which is used to undo the user's previous operation of deleting or adding a widget. In other words, to provide users with an anti-regret mechanism to facilitate users to undo the previous operation. It can be seen that when the user makes a mistake, or when the effect of a certain step is not good, the user can quickly adjust it through the undo control.
在用户编辑widget时,也可以结合手机***的导航方式进行操作。可参考更换桌面壁纸中的相关内容的描述。When the user edits the widget, it can also be operated in conjunction with the navigation mode of the mobile phone system. You can refer to the description of related content in changing the desktop wallpaper.
3、修改切换效果3. Modify the switching effect
继续参见图4A所示的界面401,响应于用户点击切换效果控件405,手机在第二区域上显示多种切换效果的选项。用户可以通过选择相应的切换效果的选项,使得用户在第一区域切换不同页面时,可以观看到桌面切换时的效果。Continuing to refer to the interface 401 shown in FIG. 4A, in response to the user clicking the switching effect control 405, the mobile phone displays multiple switching effect options on the second area. The user can select the corresponding switch effect option, so that when the user switches between different pages in the first area, the user can watch the effect of the desktop switch.
4、设置桌面布局的设置4. Set the settings of the desktop layout
继续参见图4A所示的界面401,响应于用户点击更多功能控件404,手机显示如图7中所示的界面701。该界面701中,第二区域显示有桌面布局的设置项以及其他桌面功能的设置项。Continuing to refer to the interface 401 shown in FIG. 4A, in response to the user clicking on the more function control 404, the mobile phone displays an interface 701 as shown in FIG. In the interface 701, the second area displays the setting items of the desktop layout and the setting items of other desktop functions.
(1)桌面布局的设置(1) Setting of desktop layout
在界面701中,可以看出当前桌面的布局为6×4,表示当前桌面中应用图标的布局是:一个桌面中最多能排列6行,每行最多排列6个应用图标。可见,桌面布局反 映了一个桌面中最多排列的应用图标的数量。需要说明的是,桌面布局中排列的应用图标不包含在dock栏中的应用图标。In the interface 701, it can be seen that the layout of the current desktop is 6×4, which means that the layout of the application icons in the current desktop is: a maximum of 6 rows can be arranged in a desktop, and a maximum of 6 application icons can be arranged in each row. It can be seen that the desktop layout reflects the maximum number of application icons arranged in a desktop. It should be noted that the application icons arranged in the desktop layout do not include the application icons in the dock.
用户可以通过桌面布局的设置来选择桌面排列的应用程序的布局。在本申请中,响应于用户更改桌面布局的操作,手机在第一区域中显示各个桌面在布局变化后的效果。也就是说,此时,手机并未对桌面上应用图标的布局进行更改。The user can select the layout of the applications arranged on the desktop through the setting of the desktop layout. In this application, in response to the user's operation of changing the desktop layout, the mobile phone displays the effect of each desktop after the layout change in the first area. In other words, at this time, the mobile phone has not changed the layout of the application icons on the desktop.
在本申请的一些实施例中,若用户将一个桌面中排列应用图标少的桌面布局更改为一个桌面中排列应用图标多的桌面布局。在一个示例中,手机会针对各个桌面中包含的应用图标进行重新布局,即各个桌面包含的应用图标不变,顺序也未发生变,只是布局发生变化。可见,各个桌面中排列的应用程序保留了与更改布局之前顺序,这样方便于用户查找相应的应用图标。但在该示例中,重新布局后的桌面上的空位置会变多。所谓空位置,是指桌面上该位置可以放置一个应用图标,但并未放置应用图标。例如,桌面布局原来为6×4,现将桌面布局设置为6×5。则,若原来一个桌面排列了24个应用图标,则在布局更改后,该桌面仍然排列了24个应用图标,并且桌面还显示有6个空位置。In some embodiments of the present application, if a user changes a desktop layout with few application icons arranged in a desktop to a desktop layout with many application icons arranged in a desktop. In an example, the mobile phone will re-layout the application icons contained in each desktop, that is, the application icons contained in each desktop remain unchanged and the order has not changed, only the layout has changed. It can be seen that the applications arranged in each desktop retain the order before changing the layout, so that it is convenient for the user to find the corresponding application icon. However, in this example, there will be more empty spaces on the desktop after the rearrangement. The so-called empty location means that an application icon can be placed in this location on the desktop, but the application icon is not placed. For example, the desktop layout was originally 6×4, and now the desktop layout is set to 6×5. Then, if 24 application icons are arranged on the original desktop, after the layout is changed, 24 application icons are still arranged on the desktop, and 6 empty positions are displayed on the desktop.
若用户将一个桌面中排列应用图标多的桌面布局更改为一个桌面中排列应用图标少的桌面布局时,即更改前一个桌面中排列的应用图标的数量多于更改后允许排列的最大数量,超出允许排列数量的部分应用图标将会挤出该桌面。在一个示例中,例如,更改前桌面A包含的应用图标多于更改后允许一个桌面排列最大数量的应用图标时,手机会在桌面A的后面,在桌面B前,新增一个桌面,用于放置更改布局后被挤出桌面A的应用图标。可以注意到的是,新增的桌面只用于放置挤出桌面A的应用图标,则该新增桌面一般会有空位置。If the user changes a desktop layout with many application icons arranged in a desktop to a desktop layout with few application icons arranged in the desktop, the number of application icons arranged in the previous desktop is more than the maximum allowed arrangement after the change, which exceeds The allowed number of application icons will be squeezed out of the desktop. In an example, for example, when desktop A contains more application icons before the change than the maximum number of application icons allowed to be arranged on a desktop after the change, the mobile phone will be behind desktop A and before desktop B, a new desktop is added for Place the application icon that is squeezed out of desktop A after changing the layout. It can be noted that the newly added desktop is only used to place the application icons extruding the desktop A, and the newly added desktop will generally have an empty space.
例如,桌面布局原来为6×4,即一个桌面内最多可能排列24个应用图标。现将桌面布局设置为5×4,即一个桌面内最多可能排列20个应用图标。也就是说,若原来桌面排列了20个以上的应用图标时,则在更改桌面布局后,手机会在该桌面后新增一个桌面,用于放置从该桌面上挤出的一个或多个应用图标。可见,各个桌面中排列的应用程序保留了与更改布局之前顺序,这样方便于用户查找相应的应用图标。但,新增的桌面上一般包含有较多的空位置,这些空位置浪费桌面的空间,且不美观。For example, the original desktop layout is 6×4, that is, a maximum of 24 application icons may be arranged in a desktop. Now the desktop layout is set to 5×4, that is, a maximum of 20 application icons may be arranged in a desktop. In other words, if there are more than 20 application icons arranged on the original desktop, after changing the desktop layout, the mobile phone will add a new desktop behind the desktop to place one or more applications extruded from the desktop icon. It can be seen that the applications arranged in each desktop retain the order before changing the layout, so that it is convenient for the user to find the corresponding application icon. However, the newly added desktop generally contains more empty positions, which waste the space of the desktop and are unsightly.
因此,在本申请中,当从第一区域的预览图中查看到桌面中出现空位置时,用户可以直接通过移动应用图标等方式,对出现空位置的地方进行补位。避免空位置造成桌面空间的浪费,也能提升桌面的美观。在桌面布局全部调整完毕时,通过点击应用控件702,确定对桌面布局的修改。如对前面的布局调整均不满意时,也可以通过点击取消控件703,取消本次对桌面布局的所有修改。Therefore, in this application, when viewing an empty position in the desktop from the preview of the first area, the user can directly fill in the empty position by moving the application icon or the like. Avoid the waste of desktop space caused by empty positions, and also improve the beauty of the desktop. When all adjustments of the desktop layout are completed, the modification of the desktop layout is determined by clicking the application control 702. If you are not satisfied with the previous layout adjustments, you can also cancel all the modifications to the desktop layout this time by clicking the cancel control 703.
相比较现有技术中,用户对桌面布局设置项进行修改后,手机立即对桌面布局进行更改。当用户发现有空位置等时,则需要重新进行桌面编辑模式,并重新对应用图标进行调整,操作繁琐,影响用户体验。可见,本申请通过提前预览桌面布局后的效果图,可及时对桌面布局进行修改,避免重复进入桌面编辑模式反复修改。Compared with the prior art, after the user modifies the desktop layout setting item, the mobile phone immediately changes the desktop layout. When the user finds an empty location, etc., he needs to re-execute the desktop editing mode and re-adjust the application icon, which is cumbersome and affects the user experience. It can be seen that by previewing the rendering of the desktop layout in advance, this application can modify the desktop layout in time to avoid repeated entry into the desktop editing mode.
在本申请的另一个实施例中,在检测到用户修改桌面布局时,手机也可以将各个桌面包含的应用图标作为一个整体,按照桌面A、桌面B、桌面C等的顺序整体进行重新布局。在该示例中,应用图标会出现跨桌面重新布局的情况。但采用该方法重新 布局后,排列在前几个的桌面不会出现空位置。In another embodiment of the present application, when it is detected that the user has modified the desktop layout, the mobile phone may also take the application icons contained in each desktop as a whole, and re-layout them in the order of desktop A, desktop B, desktop C, etc. as a whole. In this example, the application icon will be re-layout across the desktop. But after using this method to re-layout, the first few desktops will not appear empty positions.
在本申请的又一个实施例中,在检测到用户将一个桌面中排列应用图标多的桌面布局更改为一个桌面中排列应用图标少的桌面布局时,手机也可以将某个或某些桌面中被挤出的应用图标放置在第二区域内的缓存区内,便于用户对挤出桌面的应用图标的位置进行调整。可以理解的是,布局改变时,被挤出的应用图标通常不多,因此,该方法也不会造成用户的困扰,且有利于用户快速调整这些应用图标的位置。其中,缓存区的用法将在下文详细说明。In another embodiment of the present application, when it is detected that the user has changed a desktop layout with many application icons arranged in a desktop to a desktop layout with few application icons arranged in the desktop, the mobile phone can also change one or some desktops The extruded application icons are placed in the cache area in the second area, so that the user can adjust the position of the extruded application icons on the desktop. It is understandable that when the layout is changed, there are usually not many application icons that are squeezed out. Therefore, this method will not cause user confusion, and is beneficial for users to quickly adjust the positions of these application icons. Among them, the usage of the buffer area will be explained in detail below.
在本申请的又一个实施例中,在设置桌面布局时,也可以对dock栏中应用图标进行设置。也就是说,dock栏中可排列的应用图标的数量与桌面布局的设置相关。示例的,dock栏中可排列的应用图标的数量可以与一个桌面中一行允许排列的数量相同。例如,若桌面的布局为6×4,则dock栏中一行最多可排列6个应用图标。又例如,若桌面的布局为5×4,则dock栏中一行最多可排列5个应用图标。In another embodiment of the present application, when setting the desktop layout, application icons in the dock can also be set. In other words, the number of application icons that can be arranged in the dock is related to the setting of the desktop layout. For example, the number of application icons that can be arranged in the dock may be the same as the number allowed to be arranged in a row on a desktop. For example, if the layout of the desktop is 6×4, a maximum of 6 application icons can be arranged in a row in the dock. For another example, if the layout of the desktop is 5×4, a maximum of 5 application icons can be arranged in a row in the dock.
那么,当改变桌面布局时,dock栏中的应用图标的数量也可以适应性改变。Then, when changing the desktop layout, the number of application icons in the dock can also be changed adaptively.
例如,若桌面布局由6×4更改为5×4时,dock栏中可排列的应用图标数量由6个变更为5个。其中,可以减少dock栏中最右侧或最左侧的应用图标,或dock栏中使用最不频繁的应用图标等。又例如,若桌面布局由5×4更改为6×4时,dock栏中可排列的应用图标数量由5个变更为6个。可以增加一个空位置,用于放置第六个应用图标。当然,也可以在第六个应用图标的位置放置手机推荐的应用图标。比如,该应用图标可以是除dock栏外的其他使用较为频繁的应用图标等。For example, if the desktop layout is changed from 6×4 to 5×4, the number of application icons that can be arranged in the dock is changed from 6 to 5. Among them, you can reduce the application icons on the far right or left of the dock, or the least frequently used application icons in the dock. For another example, if the desktop layout is changed from 5×4 to 6×4, the number of application icons that can be arranged in the dock is changed from 5 to 6. An empty space can be added for placing the sixth application icon. Of course, the application icon recommended by the mobile phone can also be placed in the position of the sixth application icon. For example, the application icon may be other frequently used application icons other than the dock.
当然,dock栏中包含的应用图标可以是固定数量的。这样,当手机的桌面布局发送改变时,dock中的应用图标的数量可保持不变。Of course, there can be a fixed number of application icons included in the dock. In this way, when the desktop layout of the mobile phone changes, the number of application icons in the dock can remain unchanged.
(2)其他桌面功能的设置(2) Settings for other desktop functions
其他桌面功能的设置包括但不限于自动对齐、摇一摇(自动对齐桌面图标)、图标角标、循环滑动(预先桌面循环滑动)、负一屏的设置等。可以理解的是,用户可能对这些桌面功能的具体功能并不了解。在现有技术中,用户只能一个功能一个功能的尝试。反复开启或关闭这些功能,仔细比对手机前后的变化,以确定该功能的作用。在不满足自己需求时,再重新进入桌面编辑模式中修改回去。效率低,体验差。在本申请中,手机可以接收用户在第二区域开启或关闭这些功能的操作,在第一区域中显示相应的效果,或者播放动画演示以说明各个功能的具体作用,便于用户快速了解到各个功能的作用,进行快速准确的设置。Other desktop function settings include, but are not limited to, automatic alignment, shake (automatically align desktop icons), icon corners, circular sliding (pre-desktop circular sliding), negative one screen settings, etc. It is understandable that users may not understand the specific functions of these desktop functions. In the prior art, users can only try one function one by one. Turn on or turn off these functions repeatedly, and carefully compare the changes before and after the phone to determine the function of the function. When you do not meet your needs, re-enter the desktop editing mode and modify it back. Low efficiency and poor experience. In this application, the mobile phone can receive the user's operation to turn on or turn off these functions in the second area, display the corresponding effects in the first area, or play an animation demonstration to illustrate the specific functions of each function, so that the user can quickly understand each function The role of fast and accurate settings.
5、缓存区的功能5. The function of the buffer area
继续参见图4A所示的界面401,用户可以在页面402中选中任一个或任几个应用图标,并采用长按的方式将选中的应用图标拖至其他页面,以实现被选中的应用图标从桌面C移至其他桌面移手机显示如图8A中所示的界面801。当然,被选中的应用图标也可以是多个桌面上的应用图标。例如,桌面C的一个APP,桌面B的一个APP,一同移至到桌面A上。Continuing to refer to the interface 401 shown in FIG. 4A, the user can select any one or several application icons in the page 402, and drag the selected application icon to other pages by long pressing, so as to realize the selected application icon from When the desktop C is moved to another desktop, the mobile phone displays an interface 801 as shown in FIG. 8A. Of course, the selected application icon may also be application icons on multiple desktops. For example, an APP on desktop C and an APP on desktop B are moved to desktop A together.
在一些实施例中,页面402中也可以显示桌面中dock栏的应用图标。那么,也可以对选中dock栏的应用图标的位置进行修改。例如,将选择的dock栏的应用图标移出dock栏。又例如,在dock栏有空位置时,也可以将非dock栏的应用图标移至dock 栏。又例如,也可以将选中的dock栏的应用图标和其他非dock栏的应用图标一同移至其他桌面中。In some embodiments, the page 402 may also display application icons in the dock bar on the desktop. Then, you can also modify the position of the application icon in the selected dock. For example, move the application icon of the selected dock bar out of the dock bar. For another example, when there is an empty position in the dock bar, you can also move the application icons in the non-dock bar to the dock bar. For another example, the application icons in the selected dock bar and the application icons in other non-dock bars can also be moved to other desktops together.
由此可见,本申请实施例提供了对选中的多个应用图标进行快捷操作的方法。It can be seen from this that the embodiment of the present application provides a method for performing shortcut operations on selected multiple application icons.
进一步的,为了能够对选中的多个应用图标进行更加灵活的操作,本申请实施例还提出了缓存区的功能。以下结合具体的场景进行说明。Further, in order to be able to perform more flexible operations on the selected multiple application icons, the embodiment of the present application also proposes the function of the buffer area. The following description is combined with specific scenarios.
响应于用户在图4A所示的界面401选中一个或多个应用图标后,手机可以在第二区域显示缓存区,例如手机显示如图8A所示的界面801。该界面801上,第一区域显示有移至缓存区控件804等。第二区域即为缓存区,用于临时存放用户选择的应用图标。当然,手机显示桌面编辑模式中任一界面时,该界面中第一区域显示有对应桌面的页面。当用户通过该页面选中一个或多个应用图标时,手机都可以显示移至缓存区控件804。即,用户在选中一个或多个应用图标时,均可快速使用缓存区功能。In response to the user selecting one or more application icons on the interface 401 shown in FIG. 4A, the mobile phone may display a buffer area in the second area. For example, the mobile phone displays an interface 801 as shown in FIG. 8A. On this interface 801, the first area displays a move to buffer control 804 and so on. The second area is the cache area, which is used to temporarily store application icons selected by the user. Of course, when the mobile phone displays any interface in the desktop editing mode, a page corresponding to the desktop is displayed in the first area of the interface. When the user selects one or more application icons through the page, the mobile phone can display the move to buffer area control 804. That is, the user can quickly use the cache area function when selecting one or more application icons.
可以看出,在界面801上,用户选中了多个应用图标(例如,APP1、APP2、APP3和APP4)。响应于用户在界面801上点击移至缓存区控件804,手机将用户选中的多个应用图标从桌面对应的页面上移除,并显示在缓存区中,如图8B中所示的界面803。可以理解的是,这里用户选中的多个应用图标也可以是不同桌面对应的页面上的应用图标。界面803中包括移回桌面控件804,可用于将缓存区内的应用图标移至桌面。It can be seen that on the interface 801, the user has selected multiple application icons (for example, APP1, APP2, APP3, and APP4). In response to the user clicking on the move to cache area control 804 on the interface 801, the mobile phone removes the multiple application icons selected by the user from the corresponding pages of the desktop and displays them in the cache area, as shown in the interface 803 in FIG. 8B. It is understandable that the multiple application icons selected by the user here may also be application icons on pages corresponding to different desktops. The interface 803 includes a move back to desktop control 804, which can be used to move application icons in the cache area to the desktop.
示例性的,如图8C中所示,用户可以通过在第二区域的缓存区中选中需要移回桌面的应用图标(例如选中APP1和APP2)。然后,在第一区域滑动桌面所对应的页面,找到需要目的页面,例如,桌面A对应的页面,点击移回桌面控件804。响应于用户点击移回桌面控件804,手机显示如图8D所示的界面806。可以看出,缓存区中被选中的应用图标被移至桌面A的空位置处。Exemplarily, as shown in FIG. 8C, the user can select application icons that need to be moved back to the desktop in the cache area of the second area (for example, select APP1 and APP2). Then, slide the page corresponding to the desktop in the first area, find the desired page, for example, the page corresponding to desktop A, and click the move back to desktop control 804. In response to the user clicking the move back to desktop control 804, the mobile phone displays an interface 806 as shown in FIG. 8D. It can be seen that the selected application icon in the cache area is moved to an empty position on the desktop A.
类似的,用户可以继续选中缓存区内其他应用图标进行移回桌面,不再一一赘述。Similarly, the user can continue to select other application icons in the cache area to move back to the desktop, so I won't repeat them one by one.
由上可见,在应用图标需要从一个桌面(例如桌面C)移至间隔该桌面较远的另一个桌面(例如桌面A)时,可以不必拖着多个应用图标横跨几个桌面对应的页面,才能将应用图标移至到最终目的页面上。It can be seen from the above that when an application icon needs to be moved from one desktop (for example, desktop C) to another desktop (for example, desktop A) that is farther apart from the desktop, there is no need to drag multiple application icons across the pages corresponding to several desktops. To move the application icon to the final destination page.
另外,在用户选中多个应用图标后,也可以从这多个应用图标中选择几个进行一种批量操作,例如移至桌面A。另几个应用图标采用另一种批量操作,例如移至桌面B。In addition, after the user selects multiple application icons, he can also select a few of the multiple application icons to perform a batch operation, such as moving to desktop A. Several other application icons use another batch operation, such as moving to desktop B.
综上,本申请实施例提供的在第二区域显示应用图标的缓存区方案,可实现对桌面应用图标的灵活快捷的移动,提升用户体验。In summary, the cache area solution for displaying application icons in the second area provided by the embodiments of the present application can realize flexible and quick movement of desktop application icons and improve user experience.
本申请实施例还提供一种芯片***,如图9所示,该芯片***包括至少一个处理器1101和至少一个接口电路1102。处理器1101和接口电路1102可通过线路互联。例如,接口电路1102可用于从其它装置(例如电子设备100的存储器)接收信号。又例如,接口电路1102可用于向其它装置(例如处理器1101)发送信号。示例性的,接口电路1102可读取存储器中存储的指令,并将该指令发送给处理器1101。当所述指令被处理器1101执行时,可使得电子设备执行上述实施例中的电子设备100(比如,手机)执行的各个步骤。当然,该芯片***还可以包含其他分立器件,本申请实施例对此不作具体限定。The embodiment of the present application also provides a chip system. As shown in FIG. 9, the chip system includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 may be interconnected by wires. For example, the interface circuit 1102 may be used to receive signals from other devices (such as the memory of the electronic device 100). For another example, the interface circuit 1102 may be used to send signals to other devices (such as the processor 1101). Exemplarily, the interface circuit 1102 can read an instruction stored in the memory, and send the instruction to the processor 1101. When the instructions are executed by the processor 1101, the electronic device can be made to execute the various steps executed by the electronic device 100 (for example, a mobile phone) in the foregoing embodiment. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
可以理解的是,上述终端等为了实现上述功能,其包含了执行各个功能相应的硬 件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明实施例的范围。It can be understood that, in order to realize the above-mentioned functions, the above-mentioned terminal and the like include hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the embodiments of the present invention.
本申请实施例可以根据上述方法示例对上述终端等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the above-mentioned terminal and the like into functional modules according to the above method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiment of the present invention is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the existing technology, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application shall be covered by the protection scope of this application. . Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (21)

  1. 一种桌面的编辑方法,其特征在于,包括:A desktop editing method, characterized in that it comprises:
    电子设备显示第一桌面;The electronic device displays the first desktop;
    所述电子设备接收用户的第一操作,所述第一操作用于指示所述电子设备进入桌面编辑模式;The electronic device receives a user's first operation, where the first operation is used to instruct the electronic device to enter the desktop editing mode;
    在所述电子设备接收到所述第一操作之后,所述电子设备显示桌面编辑模式下的第一界面,所述第一界面包括第一区域和第二区域,所述第一区域显示所述第一桌面的第一预览图,所述第一预览图为所述第一桌面的缩略图;所述第二区域包含至少一个编辑选项,所述至少一个编辑选项中每一项对应一项桌面编辑;After the electronic device receives the first operation, the electronic device displays a first interface in a desktop editing mode, the first interface includes a first area and a second area, and the first area displays the A first preview image of the first desktop, the first preview image is a thumbnail of the first desktop; the second area contains at least one editing option, and each of the at least one editing options corresponds to a desktop edit;
    所述电子设备接收用户的第二操作,所述第二操作为对所述至少一个编辑选项中第一编辑选项的操作,所述第一编辑选项对应第一编辑;The electronic device receives a second operation of the user, where the second operation is an operation on a first editing option in the at least one editing option, and the first editing option corresponds to the first editing;
    响应于所述第二操作,所述电子设备的第一区域显示所述第一桌面的第二预览图,所述第二预览图为所述第一编辑应用于所述第一桌面的效果图,所述第二预览图与所述第一预览图不同;In response to the second operation, the first area of the electronic device displays a second preview image of the first desktop, and the second preview image is an effect image applied to the first desktop by the first edit , The second preview image is different from the first preview image;
    若所述电子设备接收用户对确定控件的第三操作,响应于所述第三操作,所述电子设备确定将所述第一编辑应用于所述第一桌面。If the electronic device receives a user's third operation on the determining control, in response to the third operation, the electronic device determines to apply the first edit to the first desktop.
  2. 根据权利要求1所述的方法,其特征在于,在所述电子设备的第一区域显示所述第一桌面的第二预览图之后,所述方法还包括:The method according to claim 1, wherein after displaying a second preview image of the first desktop in the first area of the electronic device, the method further comprises:
    若所述电子设备接收用户对取消控件的第四操作,响应于所述第四操作,所述电子设备确定不将所述第一编辑应用于所述第一桌面。If the electronic device receives the user's fourth operation to cancel the control, in response to the fourth operation, the electronic device determines not to apply the first edit to the first desktop.
  3. 根据权利要求2所述的方法,其特征在于,响应于所述第四操作,所述电子设备确定不将所述第一编辑应用于所述第一桌面,包括:The method according to claim 2, wherein in response to the fourth operation, the electronic device determining not to apply the first edit to the first desktop comprises:
    响应于所述第四操作,所述电子设备退出所述桌面编辑模式并显示所述第一桌面。In response to the fourth operation, the electronic device exits the desktop editing mode and displays the first desktop.
  4. 根据权利要求2或3所述的方法,其特征在于,所述确定控件位于所述第一区域或所述第二区域;所述取消控件位于所述第一区域或所述第二区域。The method according to claim 2 or 3, wherein the determining control is located in the first area or the second area; and the canceling control is located in the first area or the second area.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,The method according to any one of claims 1 to 4, characterized in that,
    所述至少一个编辑选项包括至少一个壁纸选项,所述至少一个壁纸选项中每一项对应一个壁纸;所述第一编辑选项对应第一壁纸;The at least one editing option includes at least one wallpaper option, and each of the at least one wallpaper options corresponds to a wallpaper; the first editing option corresponds to a first wallpaper;
    所述第一桌面的第二预览图,为所述第一壁纸应用于所述第一桌面的效果图;The second preview image of the first desktop is an effect image of the first wallpaper applied to the first desktop;
    所述电子设备确定将所述第一编辑应用于所述第一桌面,具体为:The electronic device determines to apply the first edit to the first desktop, specifically:
    所述电子设备将所述第一桌面的壁纸变更为与所述第一编辑选项对应的所述第一壁纸。The electronic device changes the wallpaper of the first desktop to the first wallpaper corresponding to the first editing option.
  6. 根据权利要求5所述的方法,其特征在于,在所述电子设备接收用户的第二操作之前,所述方法还包括:The method according to claim 5, characterized in that, before the electronic device receives the second operation of the user, the method further comprises:
    所述电子设备接收用户的第五操作,所述第五操作为对所述至少一个编辑选项中第二编辑选项的操作,所述第二编辑选项对应第二壁纸;The electronic device receives a fifth operation of the user, where the fifth operation is an operation on a second editing option of the at least one editing option, and the second editing option corresponds to a second wallpaper;
    响应于所述第五操作,所述电子设备的第一区域显示所述第一桌面的第三预览图,所述第三预览图为所述第二壁纸应用于所述第一桌面的效果图。In response to the fifth operation, the first area of the electronic device displays a third preview image of the first desktop, and the third preview image is an effect image of the second wallpaper applied to the first desktop .
  7. 根据权利要求1-4任一项所述的方法,其特征在于,The method according to any one of claims 1 to 4, characterized in that,
    所述至少一个编辑选项包括至少一个窗口小工具编辑选项,所述至少一个窗口小工具编辑选项中每一项对应一个窗口小工具;The at least one editing option includes at least one widget editing option, and each item in the at least one widget editing option corresponds to a widget;
    所述第一桌面的第二预览图,为所述第一桌面添加所述第一编辑选项对应的第一窗口小工具的效果图;A second preview image of the first desktop, adding an effect image of the first widget corresponding to the first editing option to the first desktop;
    所述电子设备确定将所述第一编辑应用于所述第一桌面,具体为:The electronic device determines to apply the first edit to the first desktop, specifically:
    所述电子设备在所述第一桌面中添加所述第一窗口小工具。The electronic device adds the first widget to the first desktop.
  8. 根据权利要求7所述的方法,其特征在于,在所述电子设备的第一区域显示所述第一桌面的第二预览图之后,所述方法还包括:8. The method according to claim 7, wherein after the second preview image of the first desktop is displayed in the first area of the electronic device, the method further comprises:
    所述电子设备接收用户的第六操作,所述第六操作为对所述至少一个编辑选项中第三编辑选项的操作,所述第三编辑选项对应第二窗口小工具;The electronic device receives a user's sixth operation, where the sixth operation is an operation on a third editing option of the at least one editing option, and the third editing option corresponds to a second widget;
    响应于所述第六操作,所述电子设备的第一区域显示所述第一桌面的第四预览图,所述第四预览图为在所述第一桌面中添加所述第一窗口小工具和所述第二窗口小工具的效果图。In response to the sixth operation, the first area of the electronic device displays a fourth preview image of the first desktop, and the fourth preview image is adding the first widget to the first desktop And the rendering of the second window widget.
  9. 根据权利要求8所述的方法,其特征在于,在所述电子设备的第一区域显示所述第一桌面的第四预览图之后,所述方法还包括:8. The method according to claim 8, wherein after the fourth preview image of the first desktop is displayed in the first area of the electronic device, the method further comprises:
    若所述电子设备接收用户对所述确定控件的第七操作;If the electronic device receives the seventh operation of the user on the determination control;
    响应于所述第七操作,所述电子设备在所述第一桌面中添加所述第一窗口小工具和所述第二窗口小工具。In response to the seventh operation, the electronic device adds the first widget and the second widget to the first desktop.
  10. 根据权利要求8所述的方法,其特征在于,在所述电子设备的第一区域显示所述第一桌面的第四预览图之后,所述方法还包括:8. The method according to claim 8, wherein after the fourth preview image of the first desktop is displayed in the first area of the electronic device, the method further comprises:
    若所述电子设备接收用户对取消控件的第八操作;If the electronic device receives the user's eighth operation to cancel the control;
    响应于所述第八操作,所述电子设备确定不添加所述第一窗口小工具和所述第二窗口小工具。In response to the eighth operation, the electronic device determines not to add the first widget and the second widget.
  11. 根据权利要求10所述的方法,其特征在于,所述电子设备确定不添加所述第一窗口小工具和所述第二窗口小工具,包括:The method according to claim 10, wherein the electronic device determining not to add the first widget and the second widget comprises:
    所述电子设备显示所述第一桌面。The electronic device displays the first desktop.
  12. 根据权利要求1-4任一项所述的方法,其特征在于,The method according to any one of claims 1 to 4, characterized in that,
    所述至少一个编辑选项包括至少一个桌面布局选项,所述至少一个桌面布局选项中每一项对应一种桌面布局方式;其中,所述桌面布局方式为桌面中应用图标的排列方式;The at least one editing option includes at least one desktop layout option, and each of the at least one desktop layout options corresponds to a desktop layout mode; wherein, the desktop layout mode is an arrangement mode of application icons in the desktop;
    所述第一桌面中应用图标按照第一桌面布局方式排列;The application icons in the first desktop are arranged according to the first desktop layout;
    所述第一桌面的第二预览图,为所述第一桌面中应用图标按照所述第一编辑选项对应的第二桌面布局方式排列的效果图;The second preview image of the first desktop is an effect image in which application icons in the first desktop are arranged in a second desktop layout mode corresponding to the first editing option;
    所述电子设备确定将所述第一编辑应用于所述第一桌面,具体为:The electronic device determines to apply the first edit to the first desktop, specifically:
    所述电子设备将所述第一桌面的应用图标按照所述第二桌面布局方式进行排列。The electronic device arranges the application icons on the first desktop according to the second desktop layout.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, wherein the method further comprises:
    所述电子设备接收用户的第九操作,所述第九操作为在所述第一桌面的第二预览图中调整应用图标位置的操作;The electronic device receives a ninth operation of the user, where the ninth operation is an operation of adjusting the position of an application icon in the second preview image of the first desktop;
    响应于所述第九操作,所述电子设备调整所述第一桌面的第二预览图中的应用图 标的位置。In response to the ninth operation, the electronic device adjusts the position of the application icon in the second preview image of the first desktop.
  14. 根据权利要求13所述的方法,其特征在于,所述电子设备调整所述第一桌面的第二预览图中应用图标位置包括:改变所述第一桌面的第二预览图中一个或多个应用图标的位置,或者,将其他桌面的预览图中的一个或多个应用图标移至所述第一桌面的第二预览图中。The method according to claim 13, wherein the electronic device adjusting the position of the application icon in the second preview image of the first desktop comprises: changing one or more applications in the second preview image of the first desktop The location of the application icon, or one or more application icons in the preview images of other desktops are moved to the second preview image of the first desktop.
  15. 一种桌面的编辑方法,其特征在于,所述方法包括:A desktop editing method, characterized in that the method includes:
    电子设备接收用户的第一操作,所述第一操作用于指示所述电子设备进入桌面编辑模式;The electronic device receives a user's first operation, where the first operation is used to instruct the electronic device to enter the desktop editing mode;
    响应于所述第一操作,所述电子设备进入桌面编辑模式,显示第一桌面的缩略图,所述第一桌面的缩略图包括至少一个图标;In response to the first operation, the electronic device enters a desktop editing mode and displays a thumbnail of a first desktop, where the thumbnail of the first desktop includes at least one icon;
    所述电子设备接收用户选择所述第一桌面的缩略图中至少一个图标的第二操作;Receiving, by the electronic device, a second operation of the user selecting at least one icon in the thumbnail of the first desktop;
    所述电子设备显示第二桌面的缩略图,所述第二桌面的缩略图包括至少一个图标;The electronic device displays a thumbnail of the second desktop, and the thumbnail of the second desktop includes at least one icon;
    所述电子设备接收用户选择所述第二桌面的缩略图中至少一个图标的第三操作;Receiving, by the electronic device, a third operation of the user selecting at least one icon in the thumbnails of the second desktop;
    所述电子设备接收用户的第四操作,所述第四操作用于指示所述电子设备将所述第一桌面的缩略图中被选中的图标,以及所述第二桌面的缩略图中被选中的图标移至缓存区;The electronic device receives a fourth operation of the user, and the fourth operation is used to instruct the electronic device to select the selected icon among the thumbnails of the first desktop and the selected icon among the thumbnails of the second desktop The icon of moves to the buffer area;
    响应于所述第四操作,所述电子设备将所述第一桌面的缩略图中的被选中的图标,以及所述第二桌面的缩略图中的被选中的图标移至所述缓存区,所述电子设备显示所述第一桌面的效果图或所述第二桌面的效果图,所述第一桌面的效果图中不包括所述第一桌面的缩略图中的被选中的图标,所述第二桌面的效果图中不包括所述第二桌面的缩略图中的被选中的图标;In response to the fourth operation, the electronic device moves the selected icon in the thumbnail of the first desktop and the selected icon in the thumbnail of the second desktop to the cache area, The electronic device displays the effect diagram of the first desktop or the effect diagram of the second desktop, and the effect diagram of the first desktop does not include the selected icon in the thumbnail of the first desktop, so The rendering of the second desktop does not include the selected icon in the thumbnail of the second desktop;
    所述电子设备显示第三桌面的缩略图;The electronic device displays a thumbnail of the third desktop;
    所述电子设备接收用户选择所述缓存区中至少一个图标的第五操作;Receiving, by the electronic device, a fifth operation of the user selecting at least one icon in the buffer area;
    所述电子设备接收用户的第六操作,所述第六操作用于指示所述电子设备将所述缓存区中被选中的图标移至所述第三桌面的缩略图中;The electronic device receives a user's sixth operation, where the sixth operation is used to instruct the electronic device to move the selected icon in the cache area to the thumbnail of the third desktop;
    响应于所述第六操作,所述电子设备将所述缓存区中被选中的图标移至所述第三桌面的缩略图中,所述电子设备显示所述第三桌面的效果图,所述第三桌面的效果图包括所述缓存区中被选中的图标。In response to the sixth operation, the electronic device moves the selected icon in the cache area to the thumbnail of the third desktop, the electronic device displays the rendering of the third desktop, and The rendering of the third desktop includes the selected icon in the buffer area.
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, wherein the method further comprises:
    响应于接收到用户对确定控件的第七操作,所述电子设备将所述缓存区中被选中的图标移至所述第三桌面。In response to receiving the user's seventh operation on the determining control, the electronic device moves the selected icon in the buffer area to the third desktop.
  17. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method according to claim 15, wherein the method further comprises:
    响应于接收到用户对取消控件的第八操作,所述电子设备确定不移动所述第一桌面和所述第二桌面中的图标。In response to receiving the eighth operation of the cancel control by the user, the electronic device determines not to move the icons in the first desktop and the second desktop.
  18. 一种电子设备,其特征在于,包括:处理器、存储器和触摸屏,所述存储器、所述触摸屏与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述电子设备执行如权利要求1-14中任一项所述桌面的编辑方法,或如权利要求15-17中任一项所述桌面的编辑方法。An electronic device, characterized by comprising: a processor, a memory, and a touch screen, the memory, the touch screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions , When the processor reads the computer instructions from the memory, so that the electronic device executes the desktop editing method according to any one of claims 1-14, or as claimed in claims 15-17 Any one of the desktop editing methods.
  19. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行如权利要求1-14中任一项所述桌面的编辑方法,或如权利要求15-17中任一项所述桌面的编辑方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on a terminal, cause the terminal to execute the desktop editing method according to any one of claims 1-14, or The desktop editing method described in any one of 15-17 is required.
  20. 一种芯片***,其特征在于,包括一个或多个处理器,当所述一个或多个处理器执行指令时,所述一个或多个处理器执行如权利要求1-14中任一项所述桌面的编辑方法,或如权利要求15-17中任一项所述桌面的编辑方法。A chip system, characterized in that it includes one or more processors, and when the one or more processors execute instructions, the one or more processors execute the instructions as described in any one of claims 1-14. The desktop editing method, or the desktop editing method according to any one of claims 15-17.
  21. 一种电子设备上的图形用户界面,其特征在于,所述电子设备具有显示屏、摄像头、存储器、以及一个或多个处理器,所述一个或多个处理器用于执行存储在所述存储器中的一个或多个计算机程序,所述图形用户界面包括所述电子设备执行如权利要求1-14中任一项所述桌面的编辑方法,或如权利要求15-17中任一项所述桌面的编辑方法时显示的图形用户界面。A graphical user interface on an electronic device, characterized in that the electronic device has a display screen, a camera, a memory, and one or more processors, and the one or more processors are used to execute storage in the memory One or more computer programs for the graphical user interface including the electronic device executing the method for editing the desktop according to any one of claims 1-14, or the desktop according to any one of claims 15-17 The graphical user interface displayed during the editing method.
PCT/CN2020/102682 2019-08-31 2020-07-17 Desktop editing method and electronic device WO2021036571A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910819951.4A CN110750317A (en) 2019-08-31 2019-08-31 Desktop editing method and electronic equipment
CN201910819951.4 2019-08-31

Publications (1)

Publication Number Publication Date
WO2021036571A1 true WO2021036571A1 (en) 2021-03-04

Family

ID=69276023

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102682 WO2021036571A1 (en) 2019-08-31 2020-07-17 Desktop editing method and electronic device

Country Status (2)

Country Link
CN (1) CN110750317A (en)
WO (1) WO2021036571A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment
CN111580712B (en) * 2020-04-24 2021-11-19 广州视源电子科技股份有限公司 Desktop customization method, device, equipment, system and storage medium
CN111580905A (en) * 2020-04-28 2020-08-25 深圳传音控股股份有限公司 Negative one-screen card management method, terminal and computer readable storage medium
CN111694627B (en) * 2020-05-19 2024-03-05 维沃移动通信有限公司 Desktop editing method and device
CN113867657A (en) * 2020-06-29 2021-12-31 华为技术有限公司 Cross-device desktop management method, first electronic device and second electronic device
CN111984354A (en) * 2020-08-20 2020-11-24 第四范式(北京)技术有限公司 Project optimization method and system
CN113407282A (en) * 2021-06-23 2021-09-17 湖北亿咖通科技有限公司 Terminal desktop display method, electronic equipment and computer storage medium
CN115421932B (en) * 2021-08-12 2023-08-22 荣耀终端有限公司 Notification message display method and electronic equipment
CN114047857A (en) * 2021-11-09 2022-02-15 维沃移动通信有限公司 Desktop management method and device and electronic equipment
CN116301483A (en) * 2021-12-21 2023-06-23 华为技术有限公司 Application card management method, electronic device and storage medium
CN117008788A (en) * 2022-04-29 2023-11-07 荣耀终端有限公司 Method for replacing application card and terminal equipment
CN117170544A (en) * 2022-05-26 2023-12-05 荣耀终端有限公司 Desktop layout method and related device
CN114721567B (en) * 2022-06-08 2022-11-22 荣耀终端有限公司 Desktop display method and electronic equipment
CN117278666A (en) * 2022-06-14 2023-12-22 荣耀终端有限公司 Wallpaper setting method and electronic equipment
CN116088832A (en) * 2022-07-14 2023-05-09 荣耀终端有限公司 Interface processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100223580A1 (en) * 2009-02-27 2010-09-02 Canon Kabushiki Kaisha Data browsing apparatus and control method therefor
CN105700773A (en) * 2016-01-12 2016-06-22 广东欧珀移动通信有限公司 Terminal device application icon moving method and apparatus
CN105843481A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Application icon moving and arranging method and apparatus
CN106201200A (en) * 2016-07-06 2016-12-07 深圳市金立通信设备有限公司 A kind of multi-screen display method and terminal
CN106919301A (en) * 2015-12-25 2017-07-04 珠海格力电器股份有限公司 Wallpaper method for previewing and system and wallpaper replacing options and system
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941958B (en) * 2013-01-23 2019-01-29 腾讯科技(深圳)有限公司 A kind of method and terminal device of desktop management
CN103226473B (en) * 2013-04-08 2016-08-17 小米科技有限责任公司 A kind of arrangement figure calibration method, device and equipment
CN103577044A (en) * 2013-08-31 2014-02-12 成都西可科技有限公司 Rapid management method for moving application icon onto desktop
CN103927083B (en) * 2014-04-08 2017-10-13 广州久邦世纪科技有限公司 A kind of desktop function sheet icon is added to the exchange method of preview screen
CN105786435A (en) * 2016-03-22 2016-07-20 珠海格力电器股份有限公司 Wallpaper picture display method and device
CN109981878B (en) * 2017-12-28 2021-09-14 华为终端有限公司 Icon management method and device
CN109284034B (en) * 2018-07-26 2020-11-06 珠海格力电器股份有限公司 Method, system, storage medium and mobile phone for previewing terminal wallpaper
CN109725800A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 A kind of wallpaper setting method and device, terminal, storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100223580A1 (en) * 2009-02-27 2010-09-02 Canon Kabushiki Kaisha Data browsing apparatus and control method therefor
CN106919301A (en) * 2015-12-25 2017-07-04 珠海格力电器股份有限公司 Wallpaper method for previewing and system and wallpaper replacing options and system
CN105700773A (en) * 2016-01-12 2016-06-22 广东欧珀移动通信有限公司 Terminal device application icon moving method and apparatus
CN105843481A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Application icon moving and arranging method and apparatus
CN106201200A (en) * 2016-07-06 2016-12-07 深圳市金立通信设备有限公司 A kind of multi-screen display method and terminal
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment

Also Published As

Publication number Publication date
CN110750317A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
WO2021036571A1 (en) Desktop editing method and electronic device
JP7142783B2 (en) Voice control method and electronic device
WO2021018067A1 (en) Floating window management method and related device
WO2021129326A1 (en) Screen display method and electronic device
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
WO2020224485A1 (en) Screen capture method and electronic device
WO2021000881A1 (en) Screen splitting method and electronic device
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
WO2020052529A1 (en) Method for quickly adjusting out small window in fullscreen display during video, graphic user interface and terminal
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
WO2021000839A1 (en) Screen splitting method and electronic device
WO2020062294A1 (en) Display control method for system navigation bar, graphical user interface, and electronic device
WO2021036770A1 (en) Split-screen processing method and terminal device
CN111758263A (en) Display method of flexible screen and terminal
WO2021082835A1 (en) Method for activating function and electronic device
WO2021063098A1 (en) Touch screen response method, and electronic device
WO2022068819A1 (en) Interface display method and related apparatus
WO2022017393A1 (en) Display interaction system, display method, and device
WO2020238759A1 (en) Interface display method and electronic device
WO2022068483A1 (en) Application startup method and apparatus, and electronic device
WO2020037469A1 (en) Interface display method and electronic device
WO2020155875A1 (en) Display method for electronic device, graphic user interface and electronic device
EP4199499A1 (en) Image capture method, graphical user interface, and electronic device
WO2021042878A1 (en) Photography method and electronic device
WO2021057699A1 (en) Method for controlling electronic device with flexible screen, and electronic device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20856583

Country of ref document: EP

Kind code of ref document: A1