WO2021103981A1 - 分屏显示的处理方法、装置及电子设备 - Google Patents

分屏显示的处理方法、装置及电子设备 Download PDF

Info

Publication number
WO2021103981A1
WO2021103981A1 PCT/CN2020/126956 CN2020126956W WO2021103981A1 WO 2021103981 A1 WO2021103981 A1 WO 2021103981A1 CN 2020126956 W CN2020126956 W CN 2020126956W WO 2021103981 A1 WO2021103981 A1 WO 2021103981A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
electronic device
application
display
display area
Prior art date
Application number
PCT/CN2020/126956
Other languages
English (en)
French (fr)
Inventor
李展
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20893966.0A priority Critical patent/EP4053690A4/en
Publication of WO2021103981A1 publication Critical patent/WO2021103981A1/zh
Priority to US17/828,650 priority patent/US20220300154A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • split-screen display is mainly used to display two different applications on one screen, and the user is required to input split-screen instructions in the display interface of one application (for example, two fingers move upward from the bottom of the screen).
  • the smart terminal displays two windows, one window displays the one application, and the other window displays the other application.
  • the electronic device cannot automatically recognize the usage scenario and actively perform split-screen display, requiring multiple operations by the user, resulting in poor user experience.
  • the embodiments of the present application provide a processing method, device, electronic device, computer readable storage medium, and computer program product for split-screen display.
  • the electronic device can quickly enter the split-screen display mode according to the user's usage scenario, thereby improving user experience.
  • the electronic device receives a touch operation for the first application input by the user on the touch screen; in response to the touch operation, it is determined whether the touch operation is a preset operation that can trigger a split-screen display; when the touch operation When determined to be the preset operation, the electronic device instructs the full-screen display area of the touch screen to be divided into a first display area and a second display area according to a preset folding line, and the first display area displays the first display area.
  • the first interface of the application, and the second display area displays the second interface of the first application.
  • the electronic device can quickly enter the split-screen display mode according to the user's usage scenario, which solves the problem of the current split-screen display mode being relatively rigid, resulting in poor user experience.
  • the present application provides a processing device for split-screen display, the device including:
  • a receiving module configured to receive a touch operation for the first application input by the user on the touch screen
  • the determining module is configured to determine whether the touch operation is a preset operation that can trigger a split-screen display in response to the touch operation;
  • the processing module is configured to, when the touch operation is determined to be the preset operation, instruct the full-screen display area of the touch screen to be divided into a first display area and a second display area according to a preset folding line, and the first display The area displays the first interface of the first application, and the second display area displays the second interface of the first application.
  • the electronic device receives a user's touch operation on the touch screen that acts on the first application; in response to the touch operation, it is determined whether the touch operation is a preset operation that can trigger a split-screen display; when the touch operation For the preset operation, the electronic device instructs the display interface of the touch screen to be divided into a first display area and a second display area according to a preset folding line, and the first display area displays the information of the first application The first interface, the second display area displays the second interface of the first application.
  • the present application provides a computer-readable storage medium, including instructions, which when run on an electronic device, cause the electronic device to perform the above-mentioned first aspect and any of the possibilities of the first aspect
  • the processing method of split-screen display in the implementation mode is not limited to:
  • the electronic device determines whether the touch operation on the first application is a preset operation that can trigger the split screen display, and when the touch operation is the preset operation, it directly instructs the touch screen to turn on the split screen display , So that the first interface of the first application is displayed in the first display area, and the second interface of the first application is displayed in the second display area.
  • the electronic device can quickly enter the split-screen display mode according to the user's usage scenario, which solves the problem of the current split-screen display mode being relatively rigid, resulting in poor user experience.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 1B is a block diagram of the software structure of an electronic device provided by an embodiment of the application.
  • FIG. 2 is a schematic diagram of an interface in an expanded state of an electronic device according to an embodiment of the application
  • FIG. 3 is a schematic diagram of an electronic device in a folded state according to an embodiment of the application.
  • FIG. 4 is a schematic flowchart of a processing method for split-screen display provided by an embodiment of the application.
  • FIG. 5A is a schematic diagram of another interface in an expanded state of an electronic device according to an embodiment of the application.
  • FIG. 5B is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • FIG. 5C is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • FIG. 6A is a schematic diagram of another interface in an expanded state of an electronic device according to an embodiment of the application.
  • 6B is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • FIG. 7A is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • FIG. 8A is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • FIG. 9A is a schematic diagram of another interface in an expanded state of an electronic device according to an embodiment of the application.
  • FIG. 9B is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • 10B is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • FIG. 11A is a schematic diagram of another interface in an expanded state of the electronic device according to an embodiment of the application.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • the following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
  • a foldable display is a display that can be bent.
  • UI user interface
  • the term user interface (UI) in the specification, claims and drawings of this application is a medium interface for interaction and information exchange between applications or operating systems and users. It realizes the internal form of information and the user interface. Can accept the conversion between forms.
  • the user interface of the application program is the source code written in a specific computer language such as java, extensible markup language (XML), etc.
  • the interface source code is parsed and rendered on the electronic device 100, and finally presented as content that can be recognized by the user , Such as pictures, text, buttons and other controls.
  • Controls are the basic elements of the user interface. Typical controls include buttons, widgets, toolbars, menu bars, text boxes, and scroll bars. scrollbar), pictures and text.
  • the attributes and content of the controls in the interface are defined by tags or nodes. For example, XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
  • a memory may also be provided in the processor 110 for storing computer programs and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. 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.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter/receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • 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 I2S interface and 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 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 other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the 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 100 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 charge 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, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • 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 waves for 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.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • 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.
  • 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. System (global navigation satellite system, GNSS), frequency modulation (FM), 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 a signal to be sent from the processor 110, perform frequency modulation, amplify, 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.
  • Wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and 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.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • CDMA 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.
  • GNSS can include global positioning system (GP
  • 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 and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that 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 display screen 194 is a curved display screen or a foldable display screen.
  • the ISP is used to process the data fed back from 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 transfers 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 the 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.
  • the internal memory 121 may be used to store computer executable program code, and 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, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
  • 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 into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement 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
  • 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 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 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 implement 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 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.
  • the button 190 includes a power 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 indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be 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 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 application takes a layered Android system as an example to illustrate the software structure of the electronic device 100 by way of example.
  • FIG. 1B is a software structure block diagram of an electronic device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application is responsible for direct interaction with the user.
  • 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 Window Manager, Content Providers, View System, Telephony Manager, Resource Manager , Notification Manager, Activity Manager, Package Manager, etc.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • Data can 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 automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the completion of the download, 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.
  • the package manager is used to manage the properties of the parsing package to determine whether the application supports multiple windows and split-screen display.
  • Package Manager is an API that actually manages the installation, uninstallation and upgrade of applications.
  • the activity manager is used to manage the life cycle of each application and provides the management functions of Activity, Task, and Stack.
  • the package manager is used to manage the parsing packages of all applications installed in the Android system. It can be judged whether the application supports multiple windows, that is, split-screen display, through the parsing package properties of the application in the package manager.
  • a multi-window application whitelist mechanism can be added to the package manager to force applications in the whitelist to support multiple windows.
  • the activity manager judges that the application supports multiple windows according to the properties of the parsing package in the package manager. If so, the activity manager sends the split screen instruction to the window manager , The window manager controls the display to open the split-screen display function.
  • 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 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 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 following describes an exemplary user interface for application menus on the electronic device 100.
  • FIG. 2 exemplarily shows a schematic diagram of the interface of the application menu in the expanded state of the electronic device 100.
  • the status bar 201 may include: one or more signal strength indicators 203 for mobile communication signals (also called cellular signals), and one or more signal strength indicators 204 for wireless fidelity (Wi-Fi) signals , Battery status indicator 205, time indicator 206.
  • signal strength indicators 203 for mobile communication signals also called cellular signals
  • Wi-Fi wireless fidelity
  • the tray 202 with icons of commonly used applications may display: a call icon 209, an address book icon 210, and a camera icon 211.
  • Other application icons may be, for example, an icon 212 of a file editing application, an icon 213 of a file management application, an icon 214 of a video application, an icon 215 of a social communication application, an icon 216 of an email application, and an icon 217 of a gallery application.
  • the social communication application can be, for example, WeChat, QQ, Twitter, Facebook, etc.
  • FIG. 2 only exemplarily shows the user interface on the electronic device 100, and should not constitute a limitation to the embodiment of the present application.
  • FIG. 3 exemplarily shows a schematic diagram of an electronic device 100 in a folded state.
  • the display screen 194 of the electronic device 100 is a folding screen.
  • the display screen 194 can be divided into two parts, a first display area and a second display area, along the folding line.
  • Can be bent here means that the display screen can be bent at any position to any angle, and can be maintained at that angle.
  • the display screen 194 can be folded in half from the middle, left and right, and in other embodiments, it can also be folded in half from the middle.
  • the foldable display screen 194 may include at least two physical states: an expanded state and a folded state.
  • the full-screen display area of the electronic device is automatically divided into a first display area and a second display area.
  • the electronic device When the electronic device is in an unfolded state, the electronic device generally presents a full-screen display.
  • some applications are in use, even if the electronic device is in an expanded state, it needs to be displayed on a split screen to improve user operation convenience and improve user experience.
  • FIG. 4 is a schematic flowchart of a method for processing split screen display provided by an embodiment of the application. As shown in FIG. 4, this application provides a method for processing split screen display, which is applied to an electronic device including a foldable touch screen. In an expanded state, the methods include:
  • Step S102 the electronic device receives a touch operation on the first application input by the user on the touch screen
  • Step S104 in response to the touch operation, it is determined whether the touch operation is a preset operation that can trigger a split-screen display;
  • the electronic device determines whether the touch operation on the first application is a preset operation that can trigger the split screen display.
  • the touch operation is the preset operation, it directly instructs the touch screen to turn on the split screen display, so that the first application
  • the first interface of the application is displayed in the first display area, and the second interface of the first application is displayed in the second display area.
  • the electronic device can quickly enter the split-screen display mode according to the user's usage scenario, which solves the problem of the current split-screen display mode being relatively rigid, resulting in poor user experience.
  • the electronic device determines whether the first application supports split-screen display
  • the user can also be provided with a UI interactive entry to ask the user whether to add it to the whitelist, and then update the whitelist of the application according to the user's operation.
  • the type of touch operation is a long-press operation, a sliding operation, or a touch operation.
  • the above-mentioned touch operation may also be other operations used to trigger the electronic device to perform a return event for the application displayed on the corresponding display area, such as a double-click operation in the first display area, etc.
  • This embodiment will not specifically describe it here. limit.
  • the number of fingers performing the touch operation may be one or multiple, which is not specifically limited in this embodiment.
  • the user can close any one of the first interface or the second interface through a preset second touch operation, and when one of the interfaces is closed, the other interface will automatically enter the full-screen display mode.
  • the second touch operation is a sliding operation
  • the starting point of the sliding operation is the bottom edge of the first display area or the second display area
  • the sliding direction is away from the bottom edge
  • the duration is greater than the preset duration.
  • the electronic device can quickly switch to split-screen display according to the user's use scene.
  • the second display area displays the photos that have just been taken. The user can continue to take pictures while viewing the taken photos. The effect of improving user experience.
  • one of the interfaces can be closed by sliding operation.
  • the user can directly perform operations such as saving, deleting, and sharing.
  • the electronic device will automatically display on the split screen, without inputting other split screen instructions, and quickly switch to split screen according to the user's usage scenario Display, improve user experience.
  • the first application is a video application.
  • the electronic device receives a user input for a touch operation on a video application (for example, iQiyi, Tencent Video, Huawei Video and other multimedia video broadcasting software), and the electronic device determines that the touch operation is
  • a video application for example, iQiyi, Tencent Video, Huawei Video and other multimedia video broadcasting software
  • the electronic device determines that the touch operation is
  • the electronic device instructs the touch screen to display the first interface of the video application in the first display area, and the first interface is the video playback interface;
  • the electronic device instructs the touch screen to display the second interface of the video application in the second display area Interface, the second interface is the screenshot picture display interface.
  • the split screen can be triggered, otherwise it cannot, and the full screen display will remain.
  • FIG. 12 is a schematic structural diagram of a processing device for split-screen display provided by this application.
  • the processing device 10 for split-screen display includes: a receiving module 11, a determining module 12, and a processing module 13.
  • the determining module 12 is configured to determine whether the touch operation is a preset operation that can trigger a split-screen display in response to a touch operation;
  • the units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.

Abstract

一种分屏显示的处理方法、装置及电子设备,其中,分屏显示的处理方法应用于具有可折叠触摸屏的电子设备,触摸屏呈展开状态,方法包括:电子设备接收用户在触摸屏上输入的针对第一应用的触摸操作(S102);响应于触摸操作,确定触摸操作是否为能够触发分屏显示的预设操作(S104);当触摸操作确定为预设操作时,电子设备指示触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,第一显示区域显示第一应用的第一界面,第二显示区域显示第一应用的第二界面(S106)。本方法能够根据用户的使用场景快速进入分屏显示模式,提升用户体验。

Description

分屏显示的处理方法、装置及电子设备
本申请要求于2019年11月29日提交中国专利局,申请号为2019112074403、申请名称为“分屏显示的处理方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,具体涉及分屏显示的处理方法、装置及电子设备。
背景技术
目前,越来越多的用户喜欢大屏,但是又不方便携带,所以折叠屏就应运而生,也对折叠屏应用于电子设备的功能给予期望。现有技术中,分屏显示主要用于两个不同的应用程序在一个屏幕中进行显示,需要用户在一个应用程序的显示界面中,输入分屏指令(例如两个手指头从屏幕底端向上方滑动),响应于该分屏指令,智能终端显示两个窗口,一个窗口显示该一个应用程序,另一个窗口显示另一个应用程序。然而同一个应用程序的一些场景,在需要分屏显示时,电子设备不能自动识别使用场景主动进行分屏显示,需要用户多次操作,导致用户体验差。
申请内容
本申请实施例提供一种分屏显示的处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,电子设备能够根据用户的使用场景快速进入分屏显示模式,提升用户体验。
第一方面,本申请实施例提供了一种分屏显示的处理方法,应用于包括可折叠触摸屏的电子设备,所述触摸屏呈展开状态,所述方法包括:
所述电子设备接收用户在所述触摸屏上输入的针对第一应用的触摸操作;响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作;当所述触摸操作确定为所述预设操作时,所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,所述第一显示区域显示所述第一应用的第一界面,所述第二显示区域显示所述第一应用的第二界面。
通过这种方式,电子设备能够根据用户的使用场景快速进入分屏显示模式,解决了当前分屏显示方式比较生硬,导致用户体验差的问题。
第二方面,本申请提供了一种分屏显示的处理装置,所述装置包括:
接收模块,用于接收用户在所述触摸屏上输入的针对第一应用的触摸操作;
确定模块,用于响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作;
处理模块,用于当所述触摸操作确定为所述预设操作时,指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,所述第一显示区域显示所述第一应用的第一界面,所述第二显示区域显示所述第一应用的第二界面。
第三方面,本申请提供了一种电子设备,所述电子设备包括存储器、至少一个处理器及触摸屏,所述显示屏为可折叠显示屏;所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当 所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行以下操作:
所述电子设备接收用户在所述触摸屏进行的作用于第一应用的触摸操作;响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作;当所述触摸操作为所述预设操作时,所述电子设备指示所述触摸屏的显示界面根据预设的折叠线划分为第一显示区域及第二显示区域,所述第一显示区域显示所述第一应用的第一界面,所述第二显示区域显示所述第一应用的第二界面。
第四方面,本申请提供了一种计算机可读存储介质,包括指令,当所述指令在电子设备上运行时,使得所述电子设备执行上述第一方面以及该第一方面任一项可能的实现方式中的分屏显示的处理方法。
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述第一方面以及该第一方面任一项可能的实现方式中的分屏显示的处理方法。
在本申请实施例中,电子设备通过确定关于第一应用的触摸操作是否为能够触发分屏显示的预设操作,当所述触摸操作为所述预设操作时,直接指示触摸屏开启分屏显示,使得第一应用的第一界面显示在第一显示区域中,第一应用的第二界面显示在第二显示区域中。通过这种方式,电子设备能够根据用户的使用场景快速进入分屏显示模式,解决了当前分屏显示方式比较生硬,导致用户体验差的问题。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1A为本申请实施例提供的电子设备的结构示意图;
图1B为本申请实施例提供的电子设备的的软件结构框图;
图2为本申请实施例提供的电子设备的展开状态下的界面示意图;
图3为本申请实施例提供的电子设备的折叠状态下的示意图;
图4为本申请实施例提供的一种分屏显示的处理方法的流程示意图;
图5A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图5B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图5C为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图6A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图6B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图6C为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图7A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图7B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图8A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图8B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图9A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图9B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图10A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图10B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图11A为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图11B为本申请实施例提供的电子设备的展开状态下的另一界面示意图;
图12为本申请实施例提供的一种分屏显示的处理装置的结构示意图。
具体实施方式
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
为了便于理解,示例的给出了部分与本申请实施例相关概念的说明以供参考。如下所示:
可折叠显示屏,是一种可以被弯折的显示屏。
电容式触摸屏技术,是利用人体的电流感应进行工作的。当手指触摸在金属层上时,由于人体电场,用户和触摸屏表面形成以一个耦合电容,对于高频电流来说,电容是直接导体,于是手指从接触点吸走一个很小的电流。这个电流分别从触摸屏的四角上的电极中流出,并且流经这四个电极的电流与手指到四角的距离成正比,处理器可以通过对这四个电流比例的精确计算,得出触摸点的位置。
本申请的说明书和权利要求书及附图中的术语用户界面(user interface,UI),是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。应用程序的用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备100上经过解析,渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control),是用户界面的基本元素,典型的控件有按钮(button)、小工具(widget)、工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、滚动条(scrollbar)、图片和文本。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控件。
用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用 图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素。
本申请实施例提供的分屏显示的处理方法可以应用于如图1A所示的电子设备100,图1A所示的电子设备100可以是还包含其他功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。上述便携式电子设备诸如具有触控面板的膝上型计算机等。
如图1A所示,下面以电子设备100为例对实施例进行具体说明。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储计算机程序和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。I2S接口和PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140 可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备 通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。在本实施例中,显示屏194为曲面显示屏或可折叠显示屏。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动 态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可 以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备100的姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
图1A示例性所示的电子设备100可以通过显示屏194显示以下各个实施例中所描述的各个用户界面。电子设备100可以通过触摸传感器180K在各个用户界面中检测触控操作,例如在各个用户界面中的点击操作(如在图标上的触摸操作、双击操作), 又例如在各个用户界面中的向上或向下的滑动操作,或执行画圆圈手势的操作,等等。在一些实施例中,电子设备100可以通过陀螺仪传感器180B、加速度传感器180E等检测用户手持电子设备10执行的运动手势,例如晃动电子设备。在一些实施例中,电子设备100可以通过3D摄像模组193(如3D摄像头、深度摄像头)检测非触控的手势操作。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图1B是本申请实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图1B所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序,应用程序是负责与用户进行直接交互。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图1B所示,应用程序框架层可以包括窗口管理器(Window Manager),内容提供器(Content Providers),视图系统(View System),电话管理器(Telephony Manager),资源管理器(Resource Manager),通知管理器(Notification Manager),活动管理器(Activity Manager),包管理器(Package Manger)等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完 成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
包管理器,用于管理解析包的属性,以确定应用程序是否支持多窗口,及分屏显示。Package Manger是一个实际上管理应用程序安装、卸载和升级的API。
活动管理器,是用于管理各个应用程序生命周期,提供Activity、Task、及Stack的管理功能。
包管理器,用于管理所有安装在Android系统中的应用程序的解析包,可以通过包管理器中的应用程序的解析包属性来判断该应用程序是否支持多窗口,即分屏显示。可选地,可以在包管理器中增加多窗口应用程序白名单机制,强制白名单中的应用程序支持多窗口。
可以理解地,当应用程序启动或退出分屏时,活动管理器根据包管理器中的解析包的属性来判断该应用程序支持多窗口,如支持,活动管理器发送分屏指令至窗口管理器,窗口管理器控制显示屏开启分屏显示功能。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
下面结合捕获拍照场景,示例性说明电子设备100软件以及硬件的工作流程。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为相机应用图标的控件为例,相机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像头193捕获静态图像或视频。
下面介绍电子设备100上的用于应用程序菜单的示例性用户界面。
图2示例性示出了电子设备100的展开状态下的应用程序菜单的界面示意图。
如图2所示,用户界面可包括:状态栏201,具有常用应用程序图标的托盘202,日历小工具207,天气小工具208,以及其他应用程序图标。其中:
状态栏201可包括:移动通信信号(又可称为蜂窝信号)的一个或多个信号强度指示符203、无线高保真(wireless fidelity,Wi-Fi)信号的一个或多个信号强度指示符204,电池状态指示符205、时间指示符206。
日历小工具207可用于指示当前时间,例如日期、星期几、时分信息等。
天气小工具208可用于指示天气类型,例如多云转晴、小雨等,还可以用于指示气温等信息。
具有常用应用程序图标的托盘202可展示:通话图标209、通讯录图标210、相机图标211。
其他应用程序图标可例如:文件编辑应用的图标212、文件管理应用的图标213、视频应用的图标214、社交通讯应用的图标215、邮箱应用的图标216、图库应用的图标217。其中,社交通讯应用例如可以是微信、QQ、推特(Twitter)、脸书(Facebook)等。
用户界面还可包括界面指示符218。其他应用程序图标可分布在其他界面。界面指示符218可用于指示界面数量,以及用户当前浏览的是哪一个界面,比如界面指示符218显示3个小圆点,并且第2个小圆点是黑色的,另外一个小圆点是白色的,表明当前手机包括3个界面,且用户正在浏览第2个界面。此外,用户可以在当前界面左右滑动,来浏览其他页面中的应用程序图标。
可以理解的是,图2仅仅示例性示出了电子设备100上的用户界面,不应构成对本申请实施例的限定。
图3示例性示出了一种电子设备100的折叠状态下的示意图。如图3所示,电子设备100的显示屏194为折叠屏,通过对电子设备的折叠,显示屏194可以沿折叠线划分为第一显示区域和第二显示区域两个部分。这里的可以被弯折是指显示屏可以在任意部位弯折到任意角度,并可以在该角度保持。例如,显示屏194可以从中部左右对折,在其他实施方式中,也可以从中部上下对折。
可折叠显示屏194可以至少包括两种物理状态:展开形态和折叠形态。
一般情况下,在电子设备呈折叠状态时,电子设备的全屏显示区域会自动划分为第一显示区域及第二显示区域。在电子设备呈展开状态时,电子设备一般呈现全屏显示。然而一些应用程序在使用时,即使电子设备呈展开状态,也需要分屏显示,以提高用户操作便捷性,提升用户体验。
图4为本申请实施例提供的一种分屏显示的处理方法的流程示意图,如图4所示,本申请提供一种分屏显示的处理方法,应用于包括可折叠触摸屏的电子设备,触摸屏呈展开状态,方法包括:
步骤S102,电子设备接收用户在触摸屏上输入的针对第一应用的触摸操作;
步骤S104,响应于触摸操作,确定触摸操作是否为能够触发分屏显示的预设操作;
步骤S106,当触摸操作确定为预设操作时,电子设备指示触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,第一显示区域显示第一应用的第一界面,第二显示区域显示第一应用的第二界面。
在本申请实施例中,电子设备通过确定关于第一应用的触摸操作是否为能够触发分屏显示的预设操作,当触摸操作为预设操作时,直接指示触摸屏开启分屏显示,使得第一应用的第一界面显示在第一显示区域中,第一应用的第二界面显示在第二显示区域中。通过这种方式,电子设备能够根据用户的使用场景快速进入分屏显示模式,解决了当前分屏显示方式比较生硬,导致用户体验差的问题。
在一些实施方式中,开发设计人员需要在应用程序开发的时候,设定哪些使用场景需要分屏显示,例如将触发分屏显示的操作通过标签或者其他定义方式保存在应用程序的解析包属性中。本申请在此不对操作的定义方式进行限定。
在一种实施方式中,在步骤S102之后,方法还包括:
电子设备确定第一应用是否支持分屏显示;
如是,执行步骤S104,响应于触摸操作,确定触摸操作是否为能够触发分屏显示的预设操作。
在一种实施方式中,通过创建多窗口应用程序白名单机制,当开启的应用程序在白名单内时,表示该应用程序支持多窗口,即能够支持分屏显示。白名单机制可以在应用程序的解析包中进行定义。
如果开启的应用程序不在白名单内,也可以向用户提供UI交互入口,询问用户是否将其加入白名单,然后根据用户的操作,更新应用程序的白名单。
可选地,在电子设备的触摸屏处于折叠状态时,电子设备将自动隐藏第二显示区域内的应用程序的某一界面,仅保留第一显示区域内显示的界面。
在电子设备处于分屏显示状态下,当用户通过触摸指令关闭其中一个显示界面时,另一个显示区域将自动切换成全屏显示状态。
下面结合本申请所适用的一些场景对本方案进行解释。
图5A-图5C示例性示出了一些用于分屏显示的用户界面示意图。
如图5A所示,第一应用为桌面应用,电子设备接收用户输入的针对桌面应用的触摸操作,该触摸操作的触摸参数(如按压时长超过2s),电子设备确定触摸操作为用于指示移动桌面上的应用图标(例如,文档编辑的图标)的预设操作时,电子设备指示触摸屏在第一显示区域显示桌面应用的第一界面,第一界面为桌面的多个界面的显示界面;电子设备指示触摸屏在第二显示区域显示桌面管理类应用的第二界面,第二界面为待移动的应用图标所在的界面。
如图5B所示,用户按压于文档编辑的图标2s后,屏幕自动分屏成第一显示区域及第二显示区域,第二界面中的“文档编辑”图标可以被拖动,用户可以将图标拖动至界面2,然后释放文档编辑应用的图标,实现文档编辑应用的快速移动。当然,也可以拖动至界面1、界面3及界面4等等。可以理解地,通过分屏显示,提升了应用程序移动的效率。
需要说明的是,触摸操作也不局限于图5B所示示例中的手势及操作,还可以是其他用于触发电子设备分屏显示的操作,本实施例在此并不做具体限制。
在本实施例中,在分屏显示时,用户可以通过在电子设备划分的显示区域中执行对应的操作,以触发电子设备针对该显示区域上显示的应用执行对应的事件。
可选地,触摸操作的类型为长按操作、滑动操作或点触操作。需要说明的是,上述触摸操作也可以是用于触发电子设备针对对应显示区域上显示的应用执行返回事件的其他操作,如在第一显示区域的双击操作等,本实施例在此不做具体限制。另外,执行触摸操作的手指数量可以是一个,也可以是多个,本实施例在此也不做具体限制。
在一种实施方式中,用户可以通过预设的第二触摸操作关闭第一界面或第二界面中的任意一个界面,当其中一个界面关闭时,另一个界面将自动进入全屏显示模式。示例性地,第二触摸操作例如为滑动操作,滑动操作的起点为第一显示区域或第二显示区域的底边,滑动方向为背离底边,且持续时长大于预设时长。
图6A-图6C示例性示出了一些用于分屏显示的用户界面示意图。
如图所示,第一应用为相机应用,电子设备接收用户输入的针对相机应用的触摸操作,电子设备确定触摸操作为用于指示开始拍照或完成拍照的预设操作时,电子设备指示触摸屏在第一显示区域显示相机应用的第一界面,第一界面为拍照界面;电子设备指示触摸屏在第二显示区域显示相机应用的第二界面,第二界面为相片界面。
在一种实施方式中,如图6A所示,用户点触相机应用的图标,相机打开时,电子设备就会自动分屏显示,触摸屏的显示区域切换为如图6C所示的第一显示区域及第二显示区域。
在另一种实施方式中,如图6B所示,用户打开相机应用后,点触拍照按钮,相机拍照完成时,电子设备就会自动分屏显示。
可以理解地,用户无需输入其他分屏指令,电子设备能够根据用户的使用场景快速切换至分屏显示,第二显示区域显示刚拍完的照片,用户能够一边继续拍照,一边查看拍出来的照片的效果,提升用户体验。
当用户不需要分屏显示时,通过滑动操作即可关闭其中一个界面。
图7A-图7B示例性示出了一些用于分屏显示的用户界面示意图。
如图7A所示,第一应用为图库应用,电子设备接收用户输入的针对图库应用的触摸操作,电子设备确定触摸操作为用于指示编辑图库中的图片的预设操作时,电子设备指示触摸屏在第一显示区域显示图库应用的第一界面,第一界面为图片原始状态显示界面;电子设备指示触摸屏在第二显示区域显示图库应用的第二界面,第二界面为图片编辑状态显示界面。
可以理解地,当用户打开图库应用,通过左右滑动触摸屏以浏览图库中的图片,当需要对某一张照片进行编辑时,点击编辑按钮的触摸操作即为预设操作,电子设备就会自动分屏显示,第一显示区域显示原始图片以供编辑时参考比对,第二显示区域用于编辑图片,用户无需输入其他分屏指令,快速根据用户的使用场景切换至分屏显示,方便用户直观地查看编辑效果,提升用户体验。
可选地,如图7B所示,用户在第二显示区域对图片进行编辑后,可以直接进行保存、删除、分享等操作。
图8A-图8B示例性示出了一些用于分屏显示的用户界面示意图。
如图8A所示,第一应用为社交应用,电子设备接收用户输入的针对社交应用(例如,微信)的触摸操作,电子设备确定触摸操作为用于指示开始聊天的预设操作时,电子设备指示触摸屏在第一显示区域显示社交应用的第一界面,第一界面为消息提示界面;电子设备指示触摸屏在第二显示区域显示相机应用的第二界面,第二界面为聊天界面。
可以理解地,当用户在全屏使用社交应用时,在用户通过触摸操作选定聊天对象时,电子设备就会自动分屏显示,无需输入其他分屏指令,快速根据用户的使用场景切换至分屏显示,提升用户体验。
图9A-图9B示例性示出了一些用于分屏显示的用户界面示意图。
如图9A所示,第一应用为视频应用,电子设备接收用户输入的针对视频应用(例如,爱奇艺、腾讯视频、华为视频等多媒体视频播软件)的触摸操作,电子设备确定触摸操作为用于指示截屏的预设操作时,电子设备指示触摸屏在第一显示区域显示视频应用的第一界面,第一界面为视频播放界面;电子设备指示触摸屏在第二显示区域显示视频应用的第二界面,第二界面为截屏图片显示界面。
可以理解地,当用户在全屏观看视频时,用户想保留视频中的某一帧图片,用户点触视频播放界面中的“截屏”按钮时,电子设备就会自动分屏显示,如图9B所示,无需输入其他分屏指令,快速根据用户的使用场景切换至分屏显示,用户能够一边观看视频,一边编辑视频的截屏图片,提升用户体验。
图10A-图10B示例性示出了一些用于分屏显示的用户界面示意图。
如图10A所示,第一应用包括文档编辑应用,电子设备接收用户输入的针对文档编辑应用(例如,WPS、备忘录、记事本等文档编辑应用)的触摸操作,预设操作为用于指示开始编辑的操作;在电子设备指示触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
电子设备指示触摸屏在第一显示区域显示文档编辑应用的第一界面,第一界面为文档显示界面;电子设备指示触摸屏在第二显示区域显示文档编辑应用的第二界面,第二界面为键盘输入界面。
可以理解地,当用户需要进行文档编辑时,用户点触文档显示界面中的“编辑”按钮时,电子设备就会自动分屏显示,如图10B所示,无需输入其他分屏指令,快速根 据用户的使用场景切换至分屏显示,提升用户体验。方便用户快速进行编辑操作。
图11A-图11B示例性示出了一些用于分屏显示的用户界面示意图。
如图11A所示,第一应用包括文件管理应用,电子设备接收用户输入的针对文件管理应用的触摸操作,文件的类型包括文件夹、文件、压缩文件、图片、视频、音乐等。预设操作为用于指示复制或移动文件的操作;在电子设备指示触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
电子设备指示触摸屏在第一显示区域显示文件管理应用的第一界面,第一界面为文件存储路径界面;电子设备指示触摸屏在第二显示区域显示文件管理应用的第二界面,第二界面为选中文件显示界面。
可以理解地,当用户需要移动或复制文件时,用户按压文件存储路径界面中的某一个文件的图标,电子设备就会自动分屏显示,如图11B所示,无需输入其他分屏指令,快速根据用户的使用场景切换至分屏显示,通过分屏,用户可以在第一显示区域内找到想要保存的路径,提高复制或者移动的效率,提升用户体验。
可选地,在响应于触摸操作,确定触摸操作是否为能够触发分屏显示的预设操作之后,方法还包括:
如否,电子设备保持触摸屏当前的全屏显示。
可以理解地,当触摸操作确定为预设操作时,才能触发分屏,否则不能,将保持全屏显示画面。
图12为本申请提供的分屏显示的处理装置的结构示意图,如图12所示,该分屏显示的处理装置10,包括:接收模块11、确定模块12以及处理模块13。
接收模块11,用于接收用户在触摸屏上输入的针对第一应用的触摸操作;
确定模块12,用于响应于触摸操作,确定触摸操作是否为能够触发分屏显示的预设操作;
处理模块13,用于当触摸操作确定为预设操作时,指示触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,第一显示区域显示第一应用的第一界面,第二显示区域显示第一应用的第二界面。
在本申请实施例中,电子设备通过确定关于第一应用的触摸操作是否为能够触发分屏显示的预设操作,当触摸操作为预设操作时,直接指示触摸屏开启分屏显示,使得第一应用的第一界面显示在第一显示区域中,第一应用的第二界面显示在第二显示区域中。通过这种方式,电子设备能够根据用户的使用场景快速进入分屏显示模式,解决了当前分屏显示方式比较生硬,导致用户体验差的问题。
本实施例提供的分屏显示的处理方法,用于执行前述方法实施例中的技术方案,其实现原理和技术效果类似,在此不再赘述。
本申请还提供的电子设备,如图1A所示,电子设备100包括存储器121、至少一个处理器110及触摸屏,触摸屏为可折叠触摸显示屏194;存储器与一个或多个处理器耦合,存储器121用于存储计算机程序代码,计算机程序代码包括计算机指令,当 一个或多个处理器110执行计算机指令时,使得电子设备100执行上述的分屏显示的处理方法。
本申请还提供了一种计算机可读存储介质,包括指令,当指令在电子设备上运行时,使得电子设备执行如上述的分屏显示的处理方法。
本申请还提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述分屏显示的处理方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以权利要求的保护范围为准。

Claims (20)

  1. 一种分屏显示的处理方法,其特征在于,应用于包括可折叠触摸屏的电子设备,所述触摸屏呈展开状态,所述方法包括:
    所述电子设备接收用户在所述触摸屏上输入的针对第一应用的触摸操作;
    响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作;
    当所述触摸操作确定为所述预设操作时,所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,所述第一显示区域显示所述第一应用的第一界面,所述第二显示区域显示所述第一应用的第二界面。
  2. 根据权利要求1所述的方法,其特征在于,所述第一应用包括桌面应用,所述预设操作为用于指示移动桌面上的应用程序的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述桌面应用的第一界面,所述第一界面为所述桌面的多个界面的显示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述桌面应用的第二界面,所述第二界面为待移动的应用程序所在的界面。
  3. 根据权利要求1所述的方法,其特征在于,所述第一应用包括相机应用,所述预设操作为用于指示开始拍照或完成拍照的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述相机应用的第一界面,所述第一界面为拍照界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述相机应用的第二界面,所述第二界面为相片界面。
  4. 根据权利要求1所述的方法,其特征在于,所述第一应用包括图库应用,所述预设操作为用于指示编辑图库中的图片的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述图库应用的第一界面,所述第一界面为图片原始状态显示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述图库应用的第二界面,所述第二界面为图片编辑状态显示界面。
  5. 根据权利要求1所述的方法,其特征在于,所述第一应用包括社交应用,所述预设操作为用于指示开始聊天的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述社交应用的第一界面,所述第一界面为消息提示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述社交应用的第二界面,所述第二界面为聊天界面。
  6. 根据权利要求1所述的方法,其特征在于,所述第一应用包括视频应用,所述预设操作为用于指示截屏的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述视频应用的第一界面,所述第一界面为视频播放界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述视频应用的第二界面,所述第二界面为截屏图片显示界面。
  7. 根据权利要求1所述的方法,其特征在于,所述第一应用包括文档编辑应用,所述预设操作为用于指示开始编辑的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述文档编辑应用的第一界面,所述第一界面为文档显示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述文档编辑应用的第二界面,所述第二界面为键盘输入界面。
  8. 根据权利要求1所述的方法,其特征在于,所述第一应用包括文件管理应用,所述预设操作为用于指示复制或移动文件的操作;所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,包括:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述文件管理应用的第一界面,所述第一界面为文件存储路径界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述文件管理应用的第二界面,所述第二界面为选中文件显示界面。
  9. 根据权利要求1所述的方法,其特征在于,在所述接收用户在所述触摸屏上输入的针对第一应用的触摸操作之后,所述方法还包括:
    所述电子设备确定所述第一应用是否支持分屏显示;
    如是,响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作。
  10. 根据权利要求1所述的方法,其特征在于,所述触摸操作的类型为长按操作、滑动操作或点触操作。
  11. 一种分屏显示的处理装置,其特征在于,所述装置包括:
    接收模块,用于接收用户在所述触摸屏上输入的针对第一应用的触摸操作;
    确定模块,用于响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作;
    处理模块,用于当所述触摸操作确定为所述预设操作时,指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,所述第一显示区域显示所述第一应用的第一界面,所述第二显示区域显示所述第一应用的第二界面。
  12. 一种电子设备,其特征在于,所述电子设备包括存储器、至少一个处理器及触摸屏,所述触摸屏为可折叠触摸显示屏;所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行以下操作:
    所述电子设备接收用户在所述触摸屏上输入的针对第一应用的触摸操作;
    响应于所述触摸操作,确定所述触摸操作是否为能够触发分屏显示的预设操作;
    当所述触摸操作确定为所述预设操作时,所述电子设备指示所述触摸屏的全屏显示区域根据预设的折叠线划分为第一显示区域及第二显示区域,所述第一显示区域显示所述第一应用的第一界面,所述第二显示区域显示所述第一应用的第二界面。
  13. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括桌面应用,所述预设操作为用于指示移动桌面上的应用程序的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述桌面应用的第一界面,所述第一界面为所述桌面的多个界面的显示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述桌面应用的第二界面,所述第二界面为待移动的所述应用程序所在的界面。
  14. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括相机应用,所述预设操作为用于指示开始拍照或完成拍照的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述相机应用的第一界面,所述第一界面为拍照界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述相机应用的第二界面,所述第二界面为相片界面。
  15. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括图库应用,所述预设操作为用于指示编辑图库中的图片的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述图库应用的第一界面,所述第一界面为图片原始状态显示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述图库应用的第二界面,所述第二界面为图片编辑状态显示界面。
  16. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括社交应用,所述预设操作为用于指示开始聊天的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述社交应用的第一界面,所述第一界面为消息提示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述社交应用的第二界面,所述第二界面为聊天界面。
  17. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括视频应用,所述预设操作为用于指示截屏的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述视频应用的第一界面,所述第一界面为视频播放界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述视频应用的第二界面,所述第二界面为截屏图片显示界面。
  18. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括文档编 辑应用,所述预设操作为用于指示开始编辑的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述文档编辑类应用的第一界面,所述第一界面为文档显示界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述文档编辑类应用的第二界面,所述第二界面为键盘输入界面。
  19. 根据权利要求12所述的电子设备,其特征在于,所述第一应用包括文件管理类应用,所述预设操作为用于指示复制或移动文件的操作;当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备还执行以下操作:
    所述电子设备指示所述触摸屏在所述第一显示区域显示所述文件管理类应用的第一界面,所述第一界面为文件存储路径界面;
    所述电子设备指示所述触摸屏在所述第二显示区域显示所述文件管理类应用的第二界面,所述第二界面为选中文件显示界面。
  20. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-10中任一项所述的分屏显示的处理方法。
PCT/CN2020/126956 2019-11-29 2020-11-06 分屏显示的处理方法、装置及电子设备 WO2021103981A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20893966.0A EP4053690A4 (en) 2019-11-29 2020-11-06 SPLIT SCREEN DISPLAY METHOD AND APPARATUS AND ELECTRONIC DEVICE
US17/828,650 US20220300154A1 (en) 2019-11-29 2022-05-31 Split-Screen Display Processing Method and Apparatus, and Electronic Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911207440.3A CN111078091A (zh) 2019-11-29 2019-11-29 分屏显示的处理方法、装置及电子设备
CN201911207440.3 2019-11-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/828,650 Continuation US20220300154A1 (en) 2019-11-29 2022-05-31 Split-Screen Display Processing Method and Apparatus, and Electronic Device

Publications (1)

Publication Number Publication Date
WO2021103981A1 true WO2021103981A1 (zh) 2021-06-03

Family

ID=70312237

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/126956 WO2021103981A1 (zh) 2019-11-29 2020-11-06 分屏显示的处理方法、装置及电子设备

Country Status (4)

Country Link
US (1) US20220300154A1 (zh)
EP (1) EP4053690A4 (zh)
CN (1) CN111078091A (zh)
WO (1) WO2021103981A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078091A (zh) * 2019-11-29 2020-04-28 华为技术有限公司 分屏显示的处理方法、装置及电子设备
CN113934330A (zh) * 2020-06-29 2022-01-14 华为技术有限公司 一种截屏方法及电子设备
CN112181219B (zh) * 2020-08-31 2022-09-23 华为技术有限公司 一种图标显示方法及其装置
CN114840280A (zh) * 2021-01-30 2022-08-02 华为技术有限公司 一种显示方法及电子设备
WO2022222672A1 (zh) * 2021-04-19 2022-10-27 Oppo广东移动通信有限公司 多内容并行显示的方法、装置、终端、介质及程序产品
CN115328358B (zh) * 2021-04-22 2024-02-13 华为技术有限公司 一种显示方法及相关装置
JP2023055163A (ja) * 2021-10-05 2023-04-17 株式会社デンソー 表示装置、画像の表示方法および画像の表示プログラム
CN113946258A (zh) * 2021-10-18 2022-01-18 珠海格力电器股份有限公司 图片编辑处理方法、装置、存储介质、处理器及终端设备
CN115562535A (zh) * 2022-01-14 2023-01-03 荣耀终端有限公司 应用控制方法和电子设备
CN114564921A (zh) * 2022-02-18 2022-05-31 维沃移动通信有限公司 文档编辑方法及其装置
CN116841662A (zh) * 2022-03-25 2023-10-03 Oppo广东移动通信有限公司 分屏显示方法、装置、电子设备、存储介质和程序产品
CN115167752A (zh) * 2022-06-28 2022-10-11 华人运通(上海)云计算科技有限公司 一种单屏系统及其操控方法
CN116088832A (zh) * 2022-07-14 2023-05-09 荣耀终端有限公司 界面处理方法和装置
CN116048680B (zh) * 2022-07-19 2023-11-07 荣耀终端有限公司 一种触屏方法及电子设备
CN116048317B (zh) * 2023-01-28 2023-08-22 荣耀终端有限公司 一种显示方法及装置

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229374A1 (en) * 2011-03-11 2012-09-13 Hiroki Kobayashi Electronic device
CN106681606A (zh) * 2016-12-06 2017-05-17 宇龙计算机通信科技(深圳)有限公司 一种图片处理方法及终端
CN107357668A (zh) * 2017-06-29 2017-11-17 深圳天珑无线科技有限公司 多窗口文件操作的方法及其系统
CN107728901A (zh) * 2017-10-24 2018-02-23 广东欧珀移动通信有限公司 界面显示方法、装置及终端
CN108803963A (zh) * 2018-05-24 2018-11-13 维沃移动通信有限公司 一种截屏方法及移动终端
CN109710130A (zh) * 2018-12-27 2019-05-03 维沃移动通信有限公司 一种显示方法和终端
CN110134476A (zh) * 2019-04-24 2019-08-16 珠海格力电器股份有限公司 一种应用显示的方法及设备
CN110401766A (zh) * 2019-05-22 2019-11-01 华为技术有限公司 一种拍摄方法及终端
CN111078091A (zh) * 2019-11-29 2020-04-28 华为技术有限公司 分屏显示的处理方法、装置及电子设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101453914B1 (ko) * 2008-01-16 2014-10-24 삼성전자주식회사 복수의 리스트를 표시하기 위한 gui 제공방법 및 이를적용한 멀티미디어 기기
KR101640460B1 (ko) * 2009-03-25 2016-07-18 삼성전자 주식회사 휴대 단말기의 분할 화면 운용 방법 및 이를 지원하는 휴대 단말기
KR101199618B1 (ko) * 2011-05-11 2012-11-08 주식회사 케이티테크 화면 분할 표시 장치 및 방법
KR20120126161A (ko) * 2011-05-11 2012-11-21 삼성전자주식회사 휴대 단말기 및 이의 화면 제어 방법
KR102043810B1 (ko) * 2012-08-20 2019-11-12 삼성전자주식회사 플렉서블 디스플레이 장치 및 그 제어 방법
CN103324435B (zh) * 2013-05-24 2017-02-08 华为技术有限公司 分屏显示的方法、装置及其电子设备
KR102649254B1 (ko) * 2016-08-03 2024-03-20 삼성전자주식회사 디스플레이 제어 방법, 저장 매체 및 전자 장치
KR102574183B1 (ko) * 2016-08-19 2023-09-05 삼성전자주식회사 디스플레이를 제어하는 전자 장치 및 방법
CN109981878B (zh) * 2017-12-28 2021-09-14 华为终端有限公司 一种图标管理的方法及装置
CN110324464A (zh) * 2019-05-17 2019-10-11 华为技术有限公司 一种应用显示方法及电子设备

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229374A1 (en) * 2011-03-11 2012-09-13 Hiroki Kobayashi Electronic device
CN106681606A (zh) * 2016-12-06 2017-05-17 宇龙计算机通信科技(深圳)有限公司 一种图片处理方法及终端
CN107357668A (zh) * 2017-06-29 2017-11-17 深圳天珑无线科技有限公司 多窗口文件操作的方法及其系统
CN107728901A (zh) * 2017-10-24 2018-02-23 广东欧珀移动通信有限公司 界面显示方法、装置及终端
CN108803963A (zh) * 2018-05-24 2018-11-13 维沃移动通信有限公司 一种截屏方法及移动终端
CN109710130A (zh) * 2018-12-27 2019-05-03 维沃移动通信有限公司 一种显示方法和终端
CN110134476A (zh) * 2019-04-24 2019-08-16 珠海格力电器股份有限公司 一种应用显示的方法及设备
CN110401766A (zh) * 2019-05-22 2019-11-01 华为技术有限公司 一种拍摄方法及终端
CN111078091A (zh) * 2019-11-29 2020-04-28 华为技术有限公司 分屏显示的处理方法、装置及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4053690A4

Also Published As

Publication number Publication date
CN111078091A (zh) 2020-04-28
EP4053690A1 (en) 2022-09-07
EP4053690A4 (en) 2023-01-11
US20220300154A1 (en) 2022-09-22

Similar Documents

Publication Publication Date Title
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
KR102470275B1 (ko) 음성 제어 방법 및 전자 장치
WO2021027747A1 (zh) 一种界面显示方法及设备
WO2021129326A1 (zh) 一种屏幕显示方法及电子设备
WO2021018067A1 (zh) 一种悬浮窗口的管理方法及相关装置
WO2021013158A1 (zh) 显示方法及相关装置
WO2021036571A1 (zh) 一种桌面的编辑方法及电子设备
US11687235B2 (en) Split-screen method and electronic device
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
CN110119296B (zh) 切换父页面和子页面的方法、相关装置
WO2021000881A1 (zh) 一种分屏方法及电子设备
WO2020062294A1 (zh) 系统导航栏的显示控制方法、图形用户界面及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
WO2021082835A1 (zh) 启动功能的方法及电子设备
WO2022068819A1 (zh) 一种界面显示方法及相关装置
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2020238759A1 (zh) 一种界面显示方法和电子设备
WO2020155875A1 (zh) 电子设备的显示方法、图形用户界面及电子设备
WO2021042878A1 (zh) 一种拍摄方法及电子设备
WO2021190524A1 (zh) 截屏处理的方法、图形用户接口及终端
US20230236714A1 (en) Cross-Device Desktop Management Method, First Electronic Device, and Second Electronic Device
WO2023207799A1 (zh) 消息处理方法和电子设备

Legal Events

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

Ref document number: 20893966

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020893966

Country of ref document: EP

Effective date: 20220531

NENP Non-entry into the national phase

Ref country code: DE