WO2022252972A1 - 一种窗口显示方法和电子设备 - Google Patents

一种窗口显示方法和电子设备 Download PDF

Info

Publication number
WO2022252972A1
WO2022252972A1 PCT/CN2022/093065 CN2022093065W WO2022252972A1 WO 2022252972 A1 WO2022252972 A1 WO 2022252972A1 CN 2022093065 W CN2022093065 W CN 2022093065W WO 2022252972 A1 WO2022252972 A1 WO 2022252972A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
electronic device
screen
display
orientation
Prior art date
Application number
PCT/CN2022/093065
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 EP22815019.9A priority Critical patent/EP4336328A1/en
Publication of WO2022252972A1 publication Critical patent/WO2022252972A1/zh
Priority to US18/523,517 priority patent/US20240094858A1/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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
    • 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
    • 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

  • the present application relates to the technical field of terminals, and in particular to a window display method and electronic equipment.
  • mobile devices are becoming more and more diverse in form and size, and the scenarios of multi-tasking and multi-window running at the same time are becoming more and more abundant.
  • electronic devices support displaying one or more other application interfaces in the form of floating windows or split-screen windows while displaying the display interface of one application window.
  • the floating window or the split-screen window generally cannot rotate freely, which affects user experience.
  • the present application provides a window display method, which is applied to electronic equipment and includes:
  • the electronic device displays a first window and a second window, the screen orientation of the electronic device is the first orientation, and the screen orientation is one of portrait orientation, landscape orientation, reverse portrait orientation and reverse landscape orientation, and the orientation of the first window
  • the display direction is the first direction
  • the electronic device When the electronic device detects that the screen orientation of the electronic device is changed from the first orientation to the second orientation, it keeps the display orientation of the second window unchanged, and rotates the first window so that the display orientation of the first window is the second orientation, based on The method shown in this application can freely rotate the first window.
  • the first window is a floating window.
  • the electronic device may rotate the display direction of the floating window according to the screen direction of the electronic device when the screen direction of the electronic device changes.
  • the second window is a full-screen window, or the second window and the third window displayed by the electronic device are displayed in split screens.
  • the second window is a full-screen window
  • the display orientation of the full-screen window may remain unchanged, and the first window may rotate on the full-screen window.
  • the second window is a split-screen window composed of the third window
  • the split-screen window can keep its display direction unchanged, and the first window can rotate on the split-screen window.
  • rotating the first window includes rotating the first window when it is determined that the first window satisfies a preset condition.
  • the electronic device may determine whether to rotate the first window according to the preset condition set by the user, so as to improve the user experience.
  • the first window includes a first control
  • the first control includes a closed state and an open state
  • determining that the first window satisfies a preset condition includes: determining that the first control is in an open state, and the open state indicates that the first The window supports display based on the screen orientation of the electronic device.
  • the preset condition is the setting of the first control by the user, and the first control may be located on the first window, which is convenient for the user to operate.
  • the method further includes: after rotating the first window, further includes: adjusting the size of the first window.
  • the electronic device can adjust the size of the first window according to the size of the second window of the electronic device or the size of the first window, so as to facilitate the user to view and operate the content of the first window.
  • the first window and the second window are windows of different applications.
  • the present application provides a window display method applied to electronic equipment, including:
  • the electronic device displays the first window, the screen orientation of the electronic device is the first orientation, and the screen orientation is one of portrait orientation, landscape orientation, reverse portrait orientation, and reverse landscape orientation, and the display orientation of the first window is the second orientation. one direction;
  • the display direction of the first window remains unchanged, the preset display direction of the second window is different from the first direction, and the second window is Non-floating window.
  • the display direction of the first window may be determined according to the screen direction of the electronic device, and may not be related to the display direction of the second window. That is, the electronic device can make the display direction of the first window different from the display direction of the second window.
  • the second window is a full-screen window, or the second window is a split-screen window displayed in a split-screen manner with the first window and/or the third window.
  • the second window is a full-screen window, and when the electronic device opens the full-screen window, the first window can still keep consistent with the screen orientation of the electronic device, without adjusting the display orientation of the first window according to the full-screen window.
  • the second window is a split-screen window displayed on a split screen with the first window and/or the third window, so that when the split-screen window is opened, the first window can still be kept consistent with the screen direction of the electronic device, instead of Adjust the display direction of the first window according to the split-screen window.
  • the first window is a floating window.
  • the first window is a floating window.
  • the second window is opened, regardless of whether the second window is a full-screen window or a split-screen window, the display direction of the floating window may not be adjusted according to the display direction of the second window. The window can still keep consistent with the screen orientation of the electronic device.
  • keeping the display direction of the first window unchanged includes keeping the display direction of the first window unchanged when it is determined that the first window satisfies a preset condition.
  • the electronic device may determine whether to keep the display direction of the first window unchanged according to the preset condition set by the user, so as to improve the user experience.
  • the first window includes a first control
  • the first control includes a closed state and an open state
  • determining that the first window satisfies a preset condition includes: determining that the first control is in an open state, and the open state indicates that the first
  • the windows are displayed based on the screen orientation of the electronic device.
  • the above-mentioned preset condition may be a user's setting of the first control, and the first control may be located on the first window, which is convenient for the user to operate.
  • the first window and the second window are windows of different applications.
  • the first window and the second window are windows of different applications, and the user can freely rotate the window of one of the applications as required when using multiple applications.
  • the present application provides an electronic device, including a processor and a storage device, the storage device stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the window display method described in the first aspect.
  • the present application provides an electronic device, including a processor and a storage device, the storage device stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the window display method shown in the second aspect.
  • the present application provides a computer-readable storage medium, including computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the window display method described in the first aspect.
  • the present application provides a computer-readable storage medium, including computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the window display method shown in the second aspect.
  • the floating window can be rotated freely.
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present invention.
  • Fig. 2 is a software structural block diagram of the electronic device 100 in the embodiment of the present invention.
  • Fig. 3 is a schematic diagram of the working mechanism of the window manager in Fig. 2;
  • FIG. 4A-4B are schematic diagrams of the working mechanism of the window manager in FIG. 2;
  • 5A-5D are schematic diagrams of the screen orientation and application display orientation of the electronic device 100;
  • 6A-6B are image interfaces of the electronic device 100 in the related art
  • FIGS. 7A-7B are schematic diagrams of the image interface of the window display method provided in the embodiment of the present application.
  • FIGS 8A-8B are schematic diagrams of the image interface of the window display method provided in the embodiment of the present application.
  • FIGS. 9A-9B are schematic diagrams of the image interface of the window display method provided in the embodiment of the present application.
  • FIGS. 10A-10B are schematic diagrams of the image interface of the window display method provided by the embodiment of the present application.
  • FIG. 11 is a flow chart of a window display method in the embodiment of the present application.
  • FIGS. 12A-12B are schematic diagrams of the image interface of the window display method provided by the embodiment of the present application.
  • FIGS. 13A-13B are schematic diagrams of the image interface of the window display method provided by the embodiment of the present application.
  • FIGS. 14A-14B are schematic diagrams of the image interface of the window display method provided by the embodiment of the present application.
  • 15A-15B are schematic diagrams of the image interface of the window display method provided by the embodiment of the present application.
  • FIG. 16 is a flow chart of a window display method in an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of a window display device in an embodiment of the present application.
  • Fig. 18 is a schematic structural diagram of a window display device in another embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “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.
  • FIG. 1 shows a schematic structural diagram 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 (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, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • 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, an 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 in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a 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 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface 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 conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for 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 disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set 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 set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • 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 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to 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 (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or 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 be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and 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 converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on 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 located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it 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 light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • 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.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, so as 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 implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like.
  • 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, flash memory device, universal flash memory (universal flash storage, UFS), etc.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 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. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of 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 acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of the electronic device 100 around three axes may 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 shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking 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 through 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 leather case.
  • the electronic device 100 when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect 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 can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce 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 prevent the electronic device 100 from being shut down abnormally due to the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to 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. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can 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 a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling 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 micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the software structure of the electronic device 100 is exemplarily described by taking an Android system with a layered architecture as an example.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are application program layer, application program framework layer, Android runtime (Android runtime) and hardware abstraction layer and kernel layer from top to bottom, wherein the kernel layer can also represent for the driver layer.
  • the application layer can consist of a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • 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 managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung 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 can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or 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.
  • prompting text information in the status bar issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • the Android Runtime includes core library and virtual machine. The 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 function 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 virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program 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.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information). Raw input events are stored at the kernel level.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Taking the touch operation as an example of a touch and click operation, the electronic device application calls the interface of the application framework layer to adjust the control from the closed state to the open state.
  • FIG. 3 it is a schematic diagram of the working mechanism of the window manager in FIG. 2 .
  • the window manager is a service (service), which is global, unique in the system, and independent of application programs, and the window manager is shared by all applications.
  • the window management system is based on the client/service (C/S) model, and the entire window system is divided into two parts: the server (service) and the client (client).
  • the client is the application program, which is responsible for requesting to create and use windows;
  • the server is the window management service (window manager service Window Manager Service, WMS), which is responsible for completing window maintenance and window display.
  • WMS window manager service Window Manager Service
  • the client does not directly interact with the window management service, but directly interacts with the local object window manager (window manager or WindowManager), and then the window manager (WindowManager) completes the interaction with the window management service (WindowManagerService).
  • the application 1 can interact with the local object window manager 1 (window manager or WindowManager), so that the window manager 1 (WindowManager) interacts with the window management service to create and use windows.
  • window manager window manager or WindowManager
  • FIG. 4A it specifically relates to a schematic diagram of the working mechanism of the window manager in the embodiment of the present application.
  • the acceleration sensor driver (Sensor Driver) in the kernel layer reports the rotation angle to the sensor management (Sensor Manager) of the framework layer through the HAL (hardware abstraction layer) .
  • SensorManager is responsible for sensor data management, and sends the detected new screen orientation Rotation to the monitoring WMS in real time.
  • WMS is responsible for managing the display, size, and hierarchy of application windows.
  • WMS receives the orientation change callback from SensorManager, WMS judges whether a full-screen window of an application or split-screen windows or floating windows of multiple applications can be rotated freely (according to whether the full-screen application in the foreground or multiple applications that are split-screen or suspended support rotation) to decide).
  • the electronic device 100 may call the RotationPolicy module, and determine whether there is a freely rotatable window according to the orientation configuration of the visible windows.
  • the WMS can determine whether the window currently visible to the user can be freely rotated based on the state of each visible window.
  • the state of each window can be represented by WindowState, which stores information such as the position, size, and name of the window.
  • the independent rotary switch of the window is stored in the variable canRotate.
  • the RotationPolicy module traverses all WindowState window objects, and when it finds that there is a WindowState window object whose canRotate variable is true, it judges that there is a freely rotatable window. Further, when there is a freely rotatable window, the window is displayed according to the screen orientation of the electronic device, so that the display orientation of the application window corresponds to the screen orientation of the electronic device.
  • FIG. 4B also shows ActivityManagerService (hereinafter referred to as AMS).
  • AMS is responsible for managing application startup, resources, visibility, etc.
  • RotationManager is responsible for application-level window direction management.
  • RotationManager calculates the position, size and orientation of each free-rotating window according to the preset settings, and can enlarge or reduce the rotated window as needed, and packs the information into Config configuration through RotationManager.
  • AMS calls back the Config configuration of different applications to each application, and the application refreshes the display direction and display size of the interface according to the Config, and finally completes the free rotation of the window.
  • This application manages the rotation of a single window by adding a RotationPolicy module to the original WMS.
  • the WMS can rotate a single window through the newly added RotationManager module, which improves the degree of freedom of window rotation.
  • FIG. 5A-FIG. 5D it is specifically related to the schematic diagrams of the screen orientation of the electronic device 100 .
  • the electronic device 100 includes four screen orientations, including portrait orientation, landscape orientation, reverse portrait orientation and reverse landscape orientation, and the screen orientation can be used to indicate the posture of the electronic device 100 . It can be understood that the screen orientation may also indicate the physical orientation of the electronic device 100 .
  • FIG. 5A when the screen of the electronic device 100 is placed forward, its screen orientation is a portrait orientation.
  • FIG. 5B when the electronic device 100 is placed upside down, the screen orientation of the electronic device is an anti-portrait orientation.
  • FIG. 5C when the electronic device is rotated 90° counterclockwise from the portrait orientation, the screen orientation of the electronic equipment is landscape orientation.
  • FIG. 5D when the electronic device is placed clockwise by 90° from the portrait orientation, the screen orientation is the reverse landscape orientation.
  • FIGS. 6A-6B it specifically relates to schematic diagrams of displaying application windows of the electronic device 100 in the related art.
  • the electronic device 100 displays a window of a first application 602 and a window of a second application 604 , wherein the window of the first application 602 is displayed in a full-screen mode, and the second application 604 is displayed in a floating window mode.
  • the full-screen mode also called full-screen display
  • the full-screen mode means that the entire screen of the electronic device 100 displays the interface content of an application, that is, the interface of the application fills the entire screen.
  • the state of the window is defined as the full screen state
  • the application displayed in the window is defined as the full screen display application.
  • the electronic device 100 runs the first application, it may force the first application to be displayed in full screen.
  • the first application may be a video application or a game application.
  • the floating mode in this application also called floating display, means that at least one application window is displayed floating above other user interfaces and partially covers other user interfaces.
  • the floating application window remains at a fixed position and does not change with other user interface changes.
  • the at least one application window is stacked and displayed on the screen, and the application windows can partially or completely cover each other, and each application window can be changed in size or moved.
  • a certain window is displayed in a floating state, such as floating on a full-screen window or a split-screen window
  • the state of the window is defined as the floating state.
  • the displayed application is a floating display application
  • the window displaying the application is a floating window.
  • the screen orientation of the electronic device 100 is a landscape orientation
  • the display orientations of the windows of the first application 602 and the windows of the second application 604 are both landscape orientations.
  • the user can adjust the screen orientation of the electronic device 100 .
  • the user adjusts the screen orientation of the electronic device 100 from the landscape orientation shown in FIG. 6A to the portrait orientation shown in FIG. 6B .
  • the display orientations of the windows of the first application 602 and the windows of the second application 604 cannot be changed, and remain in landscape orientation.
  • the window of the second application 604 is a floating window, and the display direction of the floating window is always consistent with the display direction of the window of the first application 602, and the electronic device 100 cannot rotate the application window according to the user's needs.
  • the floating window cannot be rotated, and therefore cannot better occupy more display area of the display screen, thereby affecting user experience.
  • FIGS. 7A-7B it is a schematic diagram of a graphical interface of a window display method provided in an embodiment of the present application.
  • the screen orientation of the electronic device 100 is a landscape orientation
  • the screen orientation of the electronic device is a portrait orientation
  • the display orientation of the window of the first application 702 is a landscape orientation
  • the window of the second application 704 is a floating window
  • the display orientation of the window of the second application 704 is a landscape orientation.
  • a control 706 control is included in the floating window. Specifically, when the control is in an open state, the display direction indicating the floating window may be displayed based on the screen direction of the electronic device. When the control is in the off state, it indicates that the display direction of the floating window cannot be changed based on the screen direction of the electronic device.
  • the state of the control 706 in FIG. 7A is the closed state.
  • the screen orientation of the electronic device changes from the landscape orientation in FIG. 7A to the portrait orientation in FIG. 7B, the window of the first application 702 and the window of the second application 704
  • the display orientation is still landscape orientation.
  • FIG. 8 it is a schematic diagram of a graphical interface of a window display method provided in an embodiment of the present application.
  • the screen orientation of the electronic device 100 is landscape orientation
  • the display orientation of the window of the first application 802 is landscape orientation
  • the display orientation of the window of the second application 804 is also landscape orientation.
  • the window of the first application 802 is a window displayed in full screen
  • the window of the second application 804 is a floating window
  • the control 806 in the window of the second application is in an open state.
  • the electronic device detects that its screen orientation has changed from a landscape orientation to a portrait orientation, as shown in FIG.
  • the window of the second application is rotated, and the display orientation of the window of the second application is adjusted from a landscape orientation to a portrait orientation, so that the window of the second application is consistent with the screen orientation of the electronic device.
  • the display orientation of the window of the second application 804 is changed according to the screen orientation of the electronic device. App windows are better displayed.
  • the window of the second application may be enlarged, for example, by a preset ratio or by a preset multiple.
  • the window of the second application may be reduced, for example, by a preset ratio.
  • the window of the second application further includes a zoom-in control and a zoom-out control.
  • the display orientation of the window of the second application is also adjusted from the landscape orientation to the portrait orientation, and the user can click on the zoom control, so that the electronic device 100 responds to the user's click. Operation, enlarge the window of the second application 804 .
  • the user may also click on the zoom out control, and the electronic device 100 will zoom out the window of the second application 804 in response to the user's click operation.
  • the first application 802 and the second application 804 may be the same application or different applications.
  • FIG. 9 it is a schematic diagram of a graphical interface of a window display method provided in an embodiment of the present application.
  • the screen orientation of the electronic device 100 is a landscape orientation.
  • the electronic device 100 displays a window of the first application 9022 , a window of the second application 9024 and a window of the third application 904 .
  • the display orientations of the windows of the first application 9022 , the windows of the second application 9024 and the windows of the second application 904 are all landscape orientations.
  • the window of the first application 9022 and the window of the second application 9024 are displayed in split screen, and the window of the third application 904 is a floating window.
  • split-screen display also known as split-screen mode
  • split-screen mode refers to two or more application windows occupying a part of the screen respectively, any two application windows do not overlap, and each application window can be resized 1.
  • the position of the application window cannot be moved, or can only be moved at a fixed position, such as exchanging the positions of two application windows.
  • the state of the window is defined as the split screen state, and correspondingly, the application displayed in the window is defined as the split screen display application.
  • the window of the third application 904 includes a control, and the control 906 is in an open state.
  • the electronic device detects that its screen orientation changes from the landscape orientation shown in FIG. 9A to the portrait orientation shown in FIG. 9B, the electronic device 100 keeps the display orientations of the windows of the first application 9022 and the windows of the second application 9024 unchanged. (still display in landscape orientation), and rotate the window of the third application 904, and adjust the display direction of the window of the third application from the landscape orientation to the portrait orientation, so that the window of the third application is consistent with the electronic device The orientation of the screen remains the same.
  • the first application 9022, the second application 9024 and/or the third application 904 may be the same application.
  • FIG. 10 it is a schematic diagram of a graphical interface of a window display method provided in an embodiment of the present application.
  • the screen orientation of the electronic device is a portrait orientation
  • the screen orientation of the electronic device 100 is a landscape orientation.
  • the electronic device displays a window of a first application 1002 and a window of a second application 1004 , and the window of the second application 1004 includes a control 1006 .
  • the windows of the first application 1002 and the second application 1004 are displayed in split screens.
  • the display orientation of the first application 1002 is the landscape orientation
  • the display orientation of the window of the second application 1004 is the portrait orientation.
  • the controls of the window of the second application 1004 are open.
  • the electronic device 100 keeps the display orientation of the window of the first application 1002 unchanged (it is still displayed in the landscape orientation), and displays the window of the second application 1004
  • the window is rotated, and the display orientation of the window of the second application is adjusted from portrait orientation to landscape orientation, so that the window of the second application 1004 is consistent with the screen orientation of the electronic device.
  • the first application 1002 and the second application 1004 may be the same application.
  • FIG. 11 it is a flowchart of a window display method provided in an embodiment of the present application.
  • the window display method is applied to the above-mentioned electronic device 100 and may include the following steps:
  • Step 1102 the electronic device 100 displays the first window and the second window, the screen orientation of the electronic device is the first orientation, and the screen orientation is one of portrait orientation, landscape orientation, reverse portrait orientation and reverse landscape orientation,
  • the display direction of the first window is the first direction.
  • the first window and the second window may be windows of different applications, or windows of the same application.
  • the first window is a floating window.
  • the second window is displayed in a full-screen window, or the second window is displayed in a split screen with the first window, or the second window is displayed in a split screen with other windows.
  • Step 1104 when the electronic device detects that the screen orientation of the electronic device is changed from the first orientation to the second orientation, keep the display orientation of the second window unchanged, and rotate the first window so that the display of the first window The direction is the second direction.
  • the electronic device when the electronic device detects that the screen orientation of the electronic device changes, it rotates the first window so that the display orientation of the first window corresponds to the changed screen orientation of the electronic device.
  • the electronic device when the electronic device detects that the screen orientation of the electronic device is changed from the first orientation to the second orientation, it keeps the display orientation of the second window unchanged, and judges whether the second window satisfies a preset condition. When setting a condition, rotate the first window.
  • the first window includes a first control
  • the first control includes open and closed states.
  • the display direction of the first window can be changed based on the screen direction of the electronic device.
  • the electronic device rotates the first window, it may determine whether the first control is in an open state, and if the first control is in an open state, rotate the first window.
  • Step 1104 adjust the size of the first window.
  • the first window after the first window is rotated, the first window can be enlarged or reduced according to the screen orientation of the electronic device.
  • FIG. 12A-12B it is a graphical interface of the window display method provided in one embodiment of the present application.
  • the screen orientations of the electronic device 100 are all portrait orientations.
  • the electronic device 100 displays a window 1202 of a first application, and the window of the first application includes a control 1204 which is in an open state.
  • the screen orientation of the electronic device 100 is the portrait orientation
  • the display orientation of the window of the first application 1202 is the portrait orientation.
  • the display direction indicating the window of the first application may be displayed based on the screen direction of the electronic device.
  • the control is in the closed state, it indicates that the display direction of the window of the first application cannot be changed based on the screen direction of the electronic device.
  • the display direction of the window of the first application 1202 remains unchanged, and the window of the second application is displayed in a landscape orientation.
  • the display direction of the window of the second application can be preset in advance, for example, the window of the second application is only displayed in the landscape orientation or the reverse landscape orientation.
  • FIG. 13A-13B it is a graphical interface of the window display method provided in one embodiment of the present application.
  • the screen orientations of the electronic devices are all portrait orientations.
  • the electronic device 100 displays a window of a first application 1302 and a window of a second application 1304.
  • the window of the second application may be a floating window, and the window of the second application includes a control 1306, which is in an open state.
  • the display orientation of the window of the first application and the display orientation of the window of the second application are both portrait orientations.
  • the display direction of the window of the second application 1304 remains unchanged, and the windows of the third application 1308 and the first application 1302 are displayed in split screens, And the display direction of the window of the third application 1308 is a landscape direction.
  • the display orientation of the third application may be preset in advance, for example, the window of the third application is only displayed in a landscape orientation or an anti-landscape orientation.
  • FIG. 14A-14B it is a graphical interface of the window display method provided in one embodiment of the present application.
  • the screen orientations of the electronic devices are all portrait orientations.
  • the display orientation of the window of the first application 1402 in the electronic device 100 is a portrait orientation, wherein the window of the first application 1402 includes a control 1406 which is in an open state.
  • the display direction of the window of the first application remains unchanged, and the windows of the first application 1402 and the second application 1404 are displayed in split screens, And display the window of the second application 1404 in the landscape direction.
  • the display direction of the window of the second application 1404 may be preset in advance, for example, the window of the second application 1404 is only displayed in the landscape orientation or the reverse landscape orientation.
  • Fig. 15A-15B it is a graphical interface of the window display method provided in one embodiment of the present application.
  • the screen orientations of the electronic device 100 are all portrait orientations.
  • the windows of the first application 1502 and the second application 1504 in the electronic device 100 are displayed in split screens, and the display direction of the window of the first application 1502 is a vertical screen orientation, wherein the window of the first application 1502 includes a control 1506, the control is open.
  • the display orientation of the window of the second application 1504 in the electronic device 100 is a portrait orientation, wherein the window of the second application 1504 includes a control 1508 which is in an open state.
  • the display directions of the windows of the first application 1502 and the second application 1504 remain unchanged, and the first application 1502, the second application 1502
  • the windows of the application 1504 and the third application 1510 are displayed in split screen, wherein the display direction of the window of the third application 1510 is a landscape direction.
  • the display direction of the window of the third application 1510 may be preset in advance, for example, the window of the third application 1510 is only displayed in a landscape orientation or an anti-landscape orientation.
  • FIG. 16 it is a flowchart of a window display method provided by an embodiment of the present application.
  • the window display method is applied to the above-mentioned electronic device 100 and may include the following steps:
  • Step 1602 the electronic device displays the first window.
  • the screen orientation of the electronic device is the first orientation, and the screen orientation is one of portrait orientation, landscape orientation, reverse portrait orientation, and reverse landscape orientation.
  • the display of the first window direction is the first direction;
  • the first window is a floating window.
  • Step 1604 when the electronic device opens the second window and displays the second window in the preset display direction of the second window, keep the display direction of the first window unchanged, and the preset display direction of the second window is the same as that of the first window.
  • the directions are different, the second window is a full-screen window, or the second window is displayed in a split screen with the first window and/or the third window.
  • the first window and the second window may be windows of different applications, or windows of the same application.
  • the electronic device 100 may determine whether the first window satisfies a preset condition, and if so, keep the display direction of the first window unchanged. Specifically, it may be determined whether the first control on the second window is in the open state, and if it is in the open state, the electronic device 100 keeps the display direction of the first window unchanged.
  • the open state of the first control indicates that the open state indicates that the first window is displayed based on the screen orientation of the electronic device.
  • a window display device 1700 including:
  • Display module 1702 the electronic device displays a first window and a second window, the screen orientation of the electronic device is the first orientation, and the screen orientation is a portrait orientation, a landscape orientation, an anti-portrait orientation, and an anti-landscape orientation One of the directions, the display direction of the first window is the first direction;
  • the rotation module 1704 is configured to keep the display direction of the second window unchanged and rotate the first window when the electronic device detects that the screen direction of the electronic device is changed from the first direction to the second direction. window, so that the display direction of the first window is the second direction.
  • a window display device 1800 including:
  • the display module 1802 is used for the electronic device to display the first window, the screen direction of the electronic device is the first direction, and the screen direction is a portrait direction, a landscape direction, an anti-portrait direction, and an anti-landscape direction The one in which the display direction of the first window is the first direction;
  • the maintaining module 1804 when the electronic device opens the second window and displays the second window in the preset display direction of the second window, keeps the display direction of the first window unchanged, and the preset display direction of the second window The direction is different from the first direction, the second window is a full-screen window, or the second window is displayed in a split screen with the first window and/or the third window.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the above-mentioned electronic device executes the window as provided in this application. Show method.
  • Each functional unit in the embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage
  • the medium includes several instructions to enable a computer device (which may be a personal computer, server, or 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 medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

Abstract

本申请提供了一种窗口显示方法和电子设备,窗口显示方法包括:所述电子设备显示第一窗口和第二窗口,所述电子设备的屏幕方向为第一方向,所述屏幕方向为竖屏方向、横屏方向、反竖屏方向和反横屏方向中的一种,所述第一窗口的显示方向为所述第一方向,所述电子设备检测到所述电子设备的屏幕方向由所述第一方向变更为第二方向时,保持所述第二窗口的显示方向不变,并旋转所述第一窗口,以使得所述第一窗口的显示方向为所述第二方向。

Description

一种窗口显示方法和电子设备
本申请要求于2021年05月31日提交中国专利局、申请号为202110604331.6、申请名称为“一种窗口显示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种窗口显示方法和电子设备。
背景技术
当前移动设备形态越来越多样化,且尺寸也越来越大,多任务、多窗口同时运行的场景也变的越来越丰富。为了满足用户的需求,越来越多的电子设备支持在显示一个应用窗口的显示界面的同时以悬浮窗口或者分屏窗口的形式显示一个或多个其他应用界面。
但是,现有技术中,悬浮窗口或者分屏窗口一般不能自由旋转,影响用户的体验。
发明内容
第一方面,本申请提供了一种窗口显示方法,应用于电子设备包括:
电子设备显示第一窗口和第二窗口,电子设备的屏幕方向为第一方向,屏幕方向为竖屏方向、横屏方向、反竖屏方向和反横屏方向中的一种,第一窗口的显示方向为第一方向;
电子设备检测到电子设备的屏幕方向由第一方向变更为第二方向时,保持第二窗口的显示方向不变,并旋转第一窗口,以使得第一窗口的显示方向为第二方向,基于本申请所示的方法,可以自由旋转第一窗口。
在本申请的一个实施例中,第一窗口为悬浮窗口。该实施例中,第一窗口为悬浮窗口时,电子设备可以在电子设备的屏幕方向变化时,根据电子设备的屏幕方向旋转悬浮窗口的显示方向。
在本申请的一个实施例中,第二窗口为全屏窗口,或者,第二窗口与电子设备显示的第三窗口分屏显示。该实施例中,第二窗口为全屏窗口时,电子设备的屏幕方向变化时,全屏窗口的显示方向可以保持不变,第一窗口可以在全屏窗口上旋转。或者,当第二窗口为与第三窗口组成的分屏窗口时,电子设备的屏幕方向变化时,分屏窗口可以保持显示方向不变,第一窗口可以在分屏窗口上旋转。
在本申请的一个实施例中,旋转第一窗口包括,在确定第一窗口满足预设条件时旋转第一窗口。在该实施例中,电子设备可以根据用户设置的预设条件,确定是否旋转第一窗口,提高用户的体验感。
在本申请的一个实施例中,第一窗口包括第一控件,第一控件包括关闭状态和打开状态,确定第一窗口满足预设条件包括:确定第一控件处于打开状态,打开状态指 示第一窗口支持基于电子设备的屏幕方向显示。在该实施例中,预设条件为用户对第一控件的设置,第一控件可位于第一窗口上,方便用户操作。
在本申请的一个实施例中,还包括:旋转第一窗口之后,还包括:调整第一窗口的大小。在该实施例中,电子设备可以根据电子设备第二窗口大小或者第一窗口的大小,对第一窗口的大小进行调整,方便用户对第一窗口的内容进行观看和操作。
在本申请的一个实施例中,第一窗口和第二窗口为不同应用的窗口。
第二方面,本申请提供了一种窗口显示方法,应用于电子设备,包括:
电子设备显示第一窗口,电子设备的屏幕方向为第一方向,屏幕方向为竖屏方向、横屏方向、反竖屏方向、反横屏方向中的一种,第一窗口的显示方向为第一方向;
电子设备打开第二窗口并以第二窗口的预设显示方向显示第二窗口时,保持第一窗口的显示方向不变,第二窗口的预设显示方向与第一方向不同,第二窗口为非悬浮窗口。基于本申请所示方法,电子设备在打开第二窗口时,第一窗口的显示方向可根据电子设备的屏幕方向确定,可与第二窗口的显示方向无关。即电子设备可以使第一窗口的显示方向与第二窗口的显示方向不同。
在本申请的一个实施例中,第二窗口为全屏窗口,或者,第二窗口为与第一窗口和/或第三窗口分屏显示的分屏窗口。在实施例中,第二窗口为全屏窗口,电子设备在打开全屏窗口时,第一窗口可依然保持与电子设备的屏幕方向保持一致,而不根据全屏窗口调整第一窗口的显示方向。或者,第二窗口为与第一窗口和/或第三窗口分屏显示的分屏窗口,这样,在打开分屏窗口时,第一窗口可依然保持与电子设备的屏幕方向保持一致,而不根据分屏窗口调整第一窗口的显示方向。
在本申请的一个实施例中,第一窗口为悬浮窗口。在该实施例中,第一窗口为悬浮窗口,在打开第二窗口时,不管第二窗口为全屏窗口还是分屏窗口,悬浮窗口的显示方向可以不根据第二窗口的显示方向进行调整,悬浮窗口可依然保持与电子设备的屏幕方向保持一致。
在本申请的一个实施例中,保持第一窗口的显示方向不变包括,在确定第一窗口满足预设条件时保持第一窗口的显示方向不变。在该实施例中,电子设备可以根据用户设置的预设条件,确定是否保持第一窗口的显示方向不变,提高用户的体验感。
在本申请的一个实施例中,第一窗口包括第一控件,第一控件包括关闭状态和打开状态,确定第一窗口满足预设条件包括:确定第一控件处于打开状态,打开状态指示第一窗口基于电子设备的屏幕方向显示。在该实施例中,上述预设条件可为用户对第一控件的设置,第一控件可位于第一窗口上,方便用户操作。
在本申请的一个实施例中,第一窗口和第二窗口为不同应用的窗口。在该实施例中,第一窗口可第二窗口为不同应用的窗口,用户可以在使用多个应用时,可根据需要,自由旋转其中一个应用的窗口。
第三方面,本申请提供了一种电子设备,包括处理器和存储设备,存储设备存有程序指令,程序指令由处理器运行时,使得电子设备执行第一方面所示的窗口显示方法。
第四方面,本申请提供了一种电子设备,包括处理器和存储设备,存储设备存有程序指令,程序指令由处理器运行时,使得电子设备执行第二方面所示的窗口显示方 法。
第五方面,本申请提供了一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行第一方面所示的窗口显示方法。
第六方面,本申请提供了一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行第二方面所示的窗口显示方法。
基于本申请所示的方法,可以自由旋转悬浮窗口。
附图说明
图1为本发明实施例提供的电子设备100的结构示意图;
图2为本发明实施例中的电子设备100的软件结构框图;
图3为图2中窗口管理器的工作机制的示意图;
图4A-4B为图2窗口管理器的工作机制的示意图;
图5A-图5D为电子设备100的屏幕方向和应用显示方向的示意图;
图6A-6B为相关技术中电子设备100的图像界面;
图7A-7B为本申请实施例中提供的窗口显示方法的图像界面的示意图;
图8A-8B为本申请实施例中提供的窗口显示方法的图像界面的示意图;
图9A-9B为本申请实施例中提供的窗口显示方法的图像界面的示意图;
图10A-10B为本申请实施例提供的窗口显示方法的图像界面的示意图;
图11为本申请实施例中一种窗口显示方法的流程图。
图12A-12B为本申请实施例提供的窗口显示方法的图像界面的示意图;
图13A-13B为本申请实施例提供的窗口显示方法的图像界面的示意图;
图14A-14B为本申请实施例提供的窗口显示方法的图像界面的示意图;
图15A-15B为本申请实施例提供的窗口显示方法的图像界面的示意图;
图16为本申请实施例中一种窗口显示方法的流程图;
图17为本申请实施例中一种窗口显示装置的结构示意图;
图18为本申请另一个实施例中一种窗口显示装置的结构示意图;
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
图1示出了电子设备100的结构示意图。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电 池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖 单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(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的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存 储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C 测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出 语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2是本发明实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和硬件抽象层以及内核层,其中内核层也可表示为驱动层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
下面结合用户点击下文所示电子设备100的悬浮窗口中的控件为例,示例性说明电子设备100软件以及硬件的工作流程,其中,该悬浮窗口的控件的开关状态,指示悬浮窗口的显示能否随电子设备的屏幕方向变化而旋转,所以该控件也可称为旋转控件。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作为例,电子设备应用调用应用框架层的接口,将控件由关闭状态调整为打开状态。
参见图3,为图2中窗口管理器的工作机制的示意图。
如图2所示窗口管理器是一个服务(service),它是全局的、系统中唯一的、独立于 应用程序的单独的服务,窗口管理器被所有应用程序公用。窗口管理系统是基于客户端/服务端(client/service,C/S)模式的,整个窗口系统分为服务端(service)和客户端(client)两大部分。客户端即应用程序,负责请求创建窗口和使用窗口;服务端即窗口管理服务(window manager service Window ManagerService,WMS),负责完成窗口的维护、窗口显示等。客户端并不是直接和窗口管理服务交互,而是直接和本地对象窗口管理(window manager或WindowManager)交互,然后由窗口管理(WindowManager)完成和窗口管理服务(WindowManagerService)的交互。对于应用来说这个交互是透明的,应用不能感知到窗口管理服务的存在。例如,应用1可与本地对象窗口管理1(window manager或WindowManager)交互,以使窗口管理1(WindowManager)和窗口管理服务进行交互,从而创建窗口和使用窗口。
参考图4A,具体涉及本申请实施例中窗口管理器的工作机制的示意图。
当电子设备100屏幕方向(屏幕方向的定义可参见下文)发生变化时,内核层中加速度传感器驱动(Sensor Driver)将旋转角度通过HAL(硬件抽象层)上报到框架层的传感器管理(Sensor Manager)。SensorManager负责传感器的数据管理,将检测到的新的屏幕方向Rotation实时发送给正在监听的WMS。
上文已经示出,WMS负责管理应用窗口的显示,大小,层级等。当WMS接收到SensorManager的方向变化回调时,WMS判断一个应用全屏窗口或多个应用的分屏窗口或者悬浮窗口等是否可自由旋转(根据前台全屏应用或分屏或悬浮的多个应用是否支持旋转来决定)。
具体地,电子设备100可调用RotationPolicy模块,并根据可见窗口的方向配置,判断是否存在可自由旋转的窗口。
参见图4B,WMS可基于每个可见窗口的状态,判断当前用户可见的窗口是否可自由旋转。每个窗口状态可以用WindowState表示,里面保存了窗口的位置,大小,名称等信息,窗口的独立旋转开关存储在变量canRotate中,当用户点击开启该WindowState对应的窗口旋转开关时,该变量被置为true。RotationPolicy模块对所有的WindowState窗口对象进行遍历,当发现存在canRotate变量为true的WindowState窗口对象时,则判断存在可自由旋转窗口。进一步地,当存在可自由旋转的窗口时,根据电子设备的屏幕方向,显示该窗口,以使得应用窗口的显示方向与电子设备的屏幕方向相对应。
继续参见图4B,图4B还示出了ActivityManagerService(以下简称AMS),AMS负责管理应用的启动、资源、可见性等,RotationManager负责应用级的窗口方向管理,当接收到WMS的窗口旋转通知时,RotationManager根据预设设定,计算出每个自由旋转窗口旋转后的窗口位置,大小和方向等信息,可根据需要对旋转后的窗口进行放大或者缩小,并通过RotationManager将信息打包成Config配置。进一步地,AMS将不同应用的Config配置回调到各个应用,应用根据Config刷新界面的显示方向和显示大小,最终完成窗口的自由旋转。
本申请通过在原有的WMS中增加RotationPolicy模块,来针对单个窗口的旋转进行管理,WMS可以通过新增的RotationManager模块对单个窗口进行旋转,提升了窗口旋转的自由度。
参见图5A-图5D,具体涉及电子设备100的屏幕方向的示意图。
电子设备100包括四个屏幕方向,包括竖屏方向、横屏方向、反竖屏方向和反横屏方向,屏幕方向可用于指示电子设备100的机身姿态。可以理解,屏幕方向也可指示电子设备100的物理方向。
参见图5A,电子设备100屏幕正向放置时,其屏幕方向为竖屏方向。参见图5B,电子设备100倒立放置时,电子设备的屏幕方向为反竖屏方向。进一步地,参见图5C,将电子设备由竖屏方向逆时针旋转90°放置时,电子设备为屏幕方向为横屏方向。参见图5D,将电子设备由竖屏方向顺时针旋转90°放置时,其为屏幕方向为反横屏方向。
参见图6A-6B,具体涉及相关技术中电子设备100的应用窗口显示的示意图。
如图6A所示,电子设备100显示有第一应用602的窗口和第二应用604的窗口,其中,第一应用602的窗口以全屏模式显示,第二应用604以悬浮窗模式显示。
本申请中全屏模式,也称全屏显示,指的是电子设备100的整个屏幕显示一个应用的界面内容,即该应用的界面填满整个屏幕。本申请实施例中,当某个应用窗口全屏显示时,定义该窗口的状态为全屏状态,相应地,定义该窗口所显示的应用为全屏显示应用。在一个实施例中,电子设备100运行第一应用时,可强制全屏显示第一应用,示例性地,该第一应用可为视频应用或者游戏应用等。
进一步地,本申请中悬浮模式,也称悬浮显示,指的是至少一个应用窗口悬浮显示于其他用户界面之上,并部分覆盖其他用户界面,在用户未对悬浮显示的应用窗口进行操作的情况下,该悬浮显示的应用窗口保持在固定位置且不随其他用户界面的改变而改变。该至少一个应用窗口在屏幕上层叠显示,应用窗口之间可以部分或全部覆盖,每个应用窗口既可以改变大小,也可以移动。本申请实施例中,当某个窗口悬浮显示时,例如悬浮在全屏显示的窗口之上或悬浮在分屏显示的窗口之上,定义该窗口的状态为悬浮状态,相应地,定义该窗口所显示的应用为悬浮显示应用,显示该应用的窗口为悬浮窗口。
图6A中,电子设备100的屏幕方向为横屏方向,第一应用602窗口和第二应用604的窗口的显示方向皆为横屏方向。用户可调整电子设备100的屏幕方向。示例性地,用户将电子设备100的屏幕方向,从图6A中的横屏方向调整为图6B所示的竖屏方向。相关技术中,电子设备的屏幕方向由横屏方向变为竖屏方向时,第一应用602的窗口和第二应用604的窗口的显示方向不能发生改变,依然为横屏方向。
具体地,相关技术中,第二应用604的窗口为悬浮窗口,悬浮窗口显示方向与第一应用602的显示方向的窗口的一直保持一致,电子设备100不能根据用户需要对应用窗口进行旋转。
进一步地,由于电子设备在第二方向上的宽度相对较小,悬浮窗口不能旋转,也就不能够更好地占用显示屏的更多的显示区域,从而影响用户体验。
参见图7A-7B,为本申请一个实施例中提供的窗口显示方法的图形界面的示意图。
如图7A所示,电子设备100的屏幕方向为横屏方向,如图7B所示,电子设备的屏幕方为竖屏方向。
图7A中,第一应用702窗口的显示方向为横屏方向,第二应用704窗口为悬浮窗口,第二应用704窗口的显示方向为横屏方向。
在一个示例中,悬浮窗口中包括控件706控件。具体地,控件处于打开状态时,指示 悬浮窗口的显示方向可以基于电子设备的屏幕方向进行显示。控件处于关闭状态时,指示悬浮窗口的显示方向不能基于电子设备的屏幕方向进行变化。
可以理解,该控件的图像、形状以及位置等,并不限于图7A所示,还可以有更多的设置,在此,不进行限定。
图7A中控件706的状态为关闭状态,当电子设备的屏幕方向由图7A中的横屏方向变为图7B中的竖屏方向时,第一应用702的窗口和第二应用704的窗口的显示方向依然为横屏方向。
参见图8,为本申请一个实施例中提供的窗口显示方法的图形界面的示意图。
如图8A所示,电子设备100的屏幕方向横屏方向,第一应用802的窗口的显示方向为横屏方向,第二应用804的窗口的显示方向也为横屏方向。第一应用802的窗口为全屏显示的窗口,第二应用804的窗口为悬浮窗口,且第二应用的窗口中的控件806为打开状态。
当电子设备检测到其屏幕方向由横屏方向变为竖屏方向时,如图8B,电子设备100保持第一应用802的窗口的显示方向不发生变化(依然为横屏方向显示),并将第二应用的窗口进行旋转,将第二应用的窗口的显示方向,由横屏方向调整为竖屏方向,以使得第二应用的窗口与电子设备所处的屏幕方向保持一致。
在一个实施例中,在电子设备的屏幕方向由横屏方向变为竖屏方向时,第二应用804的窗口的显示方向,根据电子设备的屏幕方向进行了变化,为了更好地使得第二应用的窗口更好地进行显示。在第一应用的窗口的显示方向由横屏方向变为竖屏方向时,可以将第二应用的窗口进行放大,例如,放大预设比例或者放大预设倍数。在另一个可以实现的实施例中,还可以在第二应用804的显示方向发生变化时,可将第二应用的窗口缩小,例如缩小预设比例。
在本申请的另一个实施例中,第二应用的窗口还包括还设置有放大控件和缩小控件。当电子设备的屏幕方向由横屏方向调整为竖屏方向时,第二应用的窗口的显示方向也由横屏方向调整为竖屏方向,用户可点击放大控件,使得电子设备100响应用户的点击操作,将第二应用804的窗口进行放大。用户也可点击缩小控件,电子设备100响应用户的点击操作,将第二应用804的窗口进行缩小。
在本申请的一个实施例中,第一应用802和第二应用804可为同一应用或不同应用。
参见图9,为本申请一个实施例中提供的窗口显示方法的图形界面的示意图。
如图9A所示,电子设备100的屏幕方向为横屏方向。电子设备100显示了第一应用9022的窗口、第二应用9024的窗口和第三应用904的窗口。第一应用9022的窗口、第二应用9024的窗口和第二应用904的窗口的显示方向皆为横屏方向。其中,第一应用9022的窗口和第二应用9024的窗口分屏显示,第三应用904的窗口为悬浮窗口。
需要说明的是,分屏显示,也称分屏模式,指的是两个或两个以上的应用窗口分别占据屏幕的一部分,任意两个应用窗口之间不重叠,每个应用窗口可以改变大小、应用窗口的位置或者不可移动,或者仅能实现固定位置的移动,例如交换两个应用窗口的位置。本申请实施例中,当某个窗口分屏显示时,定义该窗口的状态为分屏状态,相应地,定义该窗口所显示的应用为分屏显示应用。
第三应用904的窗口包括控件,该控件906处于打开状态。当电子设备检测到其屏幕 方向由图9A所示横屏方向变为图9B所示竖屏方向时,电子设备100保持第一应用9022的窗口和第二应用9024的窗口的显示方向不发生变化(依然为横屏方向显示),并将第三应用904的窗口进行旋转,将第三应用的窗口的显示方向,由横屏方向调整为竖屏方向,以使得第三应用的窗口与电子设备所处的屏幕方向保持一致。
在本申请的一个实施例中,第一应用9022、第二应用9024和/或第三应用904可为同一应用。
参见图10,为本申请一个实施例中提供的窗口显示方法的图形界面的示意图。
如图10A所示,电子设备的屏幕方向为竖屏方向,如图10B所示,电子设备100的屏幕方向为横屏方向。
图10A中,电子设备显示第一应用1002的窗口和第二应用1004的窗口,第二应用1004的窗口包括控件1006。其中,第一应用1002和第二应用1004的窗口分屏显示。第一应用1002的显示方向为横屏方向,第二应用1004的窗口的显示方向为竖屏方向。
在一个实施例中,第二应用1004的窗口的控件为打开状态。当电子设备100的屏幕方向由竖屏方向变为横屏方向时,电子设备100保持第一应用1002的窗口的显示方向不发生变化(依然为横屏方向显示),并将第二应用1004的窗口进行旋转,将第二应用的窗口的显示方向,由竖屏方向调整为横屏方向,以使得第二应用1004的窗口与电子设备所处的屏幕方向保持一致。
在本申请的一个可能实现的实施例中,第一应用1002和第二应用1004可为同一应用。
参见图11,为本申请一个实施例中提供的一种窗口显示方法的流程图,该窗口显示方法应用于上述电子设备100,可包括以下步骤:
步骤1102,电子设备100显示第一窗口和第二窗口,电子设备的屏幕方向为第一方向,屏幕方向为竖屏方向、横屏方向、反竖屏方向和反横屏方向中的一种,第一窗口的显示方向为第一方向。
在本申请的一个实施例中,第一窗口和第二窗口可以为不同应用的窗口,也可以为同一应用的窗口。
在本申请的一个实施例中,第一窗口为悬浮窗口。
在本申请的一个实施例中,第二窗口为全屏窗口显示,或者第二窗口与第一窗口分屏显示,或者第二窗口与其他窗口分屏显示。
步骤1104,电子设备检测到电子设备的屏幕方向由第一方向变更为第二方向时,保持第二窗口的显示方向不变,并旋转所述第一窗口,以使得所述第一窗口的显示方向为所述第二方向。
在该步骤中,电子设备检测到电子设备的屏幕方向发生变化时,旋转第一窗口,使得第一窗口的显示方向与电子设备变更后的屏幕方向相对应。
在一个实施例中,电子设备检测到电子设备的屏幕方向由第一方向变更为第二方向时,保持第二窗口的显示方向不变,并判断第二窗口是否满足预设条件,若满足预设条件时,旋转第一窗口。
在一个实施例中,第一窗口包括第一控件,第一控件包括打开和关闭状态,第一控件处于打开状态时,第一窗口的显示方向可以基于电子设备的屏幕方向进行变化。电子设备旋转第一窗口时,可确定第一控件是否处于打开状态,若第一控件处于打开状态, 则旋转第一窗口。
步骤1104,调整第一窗口的大小。
在本申请的一个实施例中,在第一窗口完成旋转后,可以根据电子设备的屏幕方向,对第一窗口进行放大或者缩小。
参见图12A-12B,为本申请一个实施例中提供的窗口显示方法的图形界面。
参见图12A-12B中,电子设备100的屏幕方向皆为竖屏方向。电子设备100显示了第一应用的窗口1202,第一应用的窗口包括控件1204,该控件处于打开状态。电子设备100的屏幕方向为竖屏方向,第一应用1202的窗口的显示方向为竖屏方向。
控件1204处于打开状态时,指示第一应用的窗口的显示方向可以基于电子设备的屏幕方向进行显示。控件处于关闭状态时,指示第一应用的窗口的显示方向不能基于电子设备的屏幕方向进行变化。
在本申请的一个实施例中,电子设备100打开第二应用1206的窗口时,保持第一应用1202的窗口显示方向不发生改变,以横屏方向显示第二应用的窗口。具体地,第二应用的窗口的显示方向可以提前预设,例如,第二应用的窗口仅以横屏方向或者反横屏方向显示。
参见图13A-13B,为本申请一个实施例中提供的窗口显示方法的图形界面。
图13A-13B中,电子设备的屏幕方向皆为竖屏方向。图13A中,电子设备100显示了第一应用1302的窗口和第二应用1304的窗口,第二应用的窗口可以为悬浮窗口,且第二应用的窗口包括控件1306,该控件1306处于打开状态。图13A中,第一应用的窗口的显示方向和第二应用窗口的显示方向皆为竖屏方向。
在一个实施例中,参见图13B,电子设备100打开第三应用1308的窗口时,保持第二应用1304的窗口显示方向不变,将第三应用1308和第一应用1302的窗口分屏显示,且第三应用1308的窗口的显示方向为横屏方向。具体地,该第三应用的显示方向可以提前预设,例如,第三应用的窗口仅以横屏方向或者反横屏方向显示。
参见图14A-14B,为本申请一个实施例中提供的窗口显示方法的图形界面。
图14A-14B中,电子设备的屏幕方向皆为竖屏方向。图14A中,电子设备100中第一应用1402的窗口的显示方向为竖屏方向,其中第一应用1402的窗口包括控件1406,该控件处于打开状态。
在一个实施例中,参见图14B,电子设备100打开第二应用1404的窗口时,保持第一应用的窗口的显示方向不变,将第一应用1402和第二应用1404的窗口分屏显示,且将第二应用1404的窗口在横屏方向显示。具体地,该第二应用1404的窗口显示方向可以提前预设,例如,第二应用1404的窗口仅以横屏方向或者反横屏方向显示。
参见图15A-15B,为本申请一个实施例中提供的窗口显示方法的图形界面。
图15A-15B中,电子设备100的屏幕方向皆为竖屏方向。图15A中,电子设备100中第一应用1502和第二应用1504的窗口分屏显示,第一应用1502的窗口的显示方向为竖屏方向,其中第一应用1502的窗口包括控件1506,该控件处于打开状态。电子设备100中第二应用1504的窗口的显示方向为竖屏方向,其中第二应用1504的窗口包括控件1508,该控件处于打开状态。
在一个实施例中,参见图15B,电子设备100打开第三应用1510的窗口时,保持第一应用1502和第二应用1504的窗口的显示方向不发生改变,并将第一应用1502、第二应用 1504和第三应用1510的窗口分屏显示,其中,第三应用1510的窗口的显示方向为横屏方向。具体地,该第三应用1510的窗口显示方向可以提前预设,例如,第三应用1510的窗口仅以横屏方向或者反横屏方向显示。
参见图16,为本申请一个实施例提供的一种窗口显示方法的流程图,该窗口显示方法应用于上述电子设备100,可包括以下步骤:
步骤1602,电子设备显示第一窗口,电子设备的屏幕方向为第一方向,屏幕方向为竖屏方向、横屏方向、反竖屏方向、反横屏方向中的一种,第一窗口的显示方向为第一方向;
在本申请的一个实施例中,第一窗口为悬浮窗口。
步骤1604,电子设备打开第二窗口并以第二窗口的预设显示方向显示第二窗口时,保持所述第一窗口的显示方向不变,第二窗口的预设显示方向与所述第一方向不同,第二窗口为全屏窗口,或者所述第二窗口与所述第一窗口和/或第三窗口分屏显示。
在本申请的一个实施例中,第一窗口和第二窗口可以为不同应用的窗口,也可以为同一应用的窗口。
在本申请的一个实施例中,电子设备100在打开第二应用窗口时,可以判断第一窗口是否满足预设条件,若满足,保持所述第一窗口的显示方向不变。具体地,可以判断第二窗口上的第一控件是否处于打开状态,若处于打开状态,则电子设备100保持第一窗口的显示方向不变。该第一控件处于打开状态指示打开状态指示所述第一窗口基于所述电子设备的屏幕方向显示。
通过本申请所示的窗口显示方法,可以灵活地对电子设备的各种窗口进行自由旋转。
在本申请的一个实施例中,还提供了一种窗口显示装置1700,包括:
显示模块1702,所述电子设备显示第一窗口和第二窗口,所述电子设备的屏幕方向为第一方向,所述屏幕方向为竖屏方向、横屏方向、反竖屏方向和反横屏方向中的一种,所述第一窗口的显示方向为所述第一方向;
旋转模块1704,用于所述电子设备检测到所述电子设备的屏幕方向由所述第一方向变更为第二方向时,保持所述第二窗口的显示方向不变,并旋转所述第一窗口,以使得所述第一窗口的显示方向为所述第二方向。
在本申请的一个实施例中,还提供了一种窗口显示装置1800,包括:
显示模块1802,用于所述电子设备显示第一窗口,所述电子设备的屏幕方向为第一方向,所述屏幕方向为竖屏方向、横屏方向、反竖屏方向、反横屏方向中的一种,所述第一窗口的显示方向为所述第一方向;
保持模块1804所述电子设备打开第二窗口并以第二窗口的预设显示方向显示所述第二窗口时,保持所述第一窗口的显示方向不变,所述第二窗口的预设显示方向与所述第一方向不同,所述第二窗口为全屏窗口,或者,所述第二窗口与所述第一窗口和/或第三窗口分屏显示。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当所述计算机指令在所述电子设备上运行时,使得上述电子设备执行如本申请提供的窗口显示方法。
在本申请实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (17)

  1. 一种窗口显示方法,应用于电子设备,其特征在于,包括:
    所述电子设备显示第一窗口和第二窗口,所述电子设备的屏幕方向为第一方向,所述屏幕方向为竖屏方向、横屏方向、反竖屏方向和反横屏方向中的一种,所述第一窗口的显示方向为所述第一方向;
    所述电子设备检测到所述电子设备的屏幕方向由所述第一方向变更为第二方向时,保持所述第二窗口的显示方向不变,并旋转所述第一窗口,以使得所述第一窗口的显示方向为所述第二方向。
  2. 根据权利要求1所述的显示方法,其特征在于,所述第一窗口为悬浮窗口。
  3. 根据权利要求1或2所述的显示方法,其特征在于,所述第二窗口为全屏窗口,或者,所述第二窗口与所述电子设备显示的第三窗口分屏显示。
  4. 根据权利要求1-3任一项所述的显示方法,其特征在于,所述旋转所述第一窗口包括,在确定所述第一窗口满足预设条件时旋转所述第一窗口。
  5. 根据权利要求1-4任一项所述的显示方法,其特征在于,所述第一窗口包括第一控件,所述第一控件包括关闭状态和打开状态,所述确定所述第一窗口满足预设条件包括:确定所述第一控件处于打开状态,所述打开状态指示所述第一窗口基于所述电子设备的屏幕方向显示。
  6. 根据权利要求1-5任一项所述的显示方法,其特征在于,所述方法还包括:所述旋转所述第一窗口之后,还包括:调整所述第一窗口的大小。
  7. 根据权利要求1-6任一项所述的显示方法,其特征在于,所述第一窗口和所述第二窗口为不同应用的窗口。
  8. 一种窗口显示方法,应用于电子设备,其特征在于,包括:
    所述电子设备显示第一窗口,所述电子设备的屏幕方向为第一方向,所述屏幕方向为竖屏方向、横屏方向、反竖屏方向、反横屏方向中的一种,所述第一窗口的显示方向为所述第一方向;
    所述电子设备打开第二窗口并以第二窗口的预设显示方向显示所述第二窗口时,保持所述第一窗口的显示方向不变,所述第二窗口的预设显示方向与所述第一方向不同,所述第二窗口为非悬浮窗口。
  9. 根据权利要求8所述的显示方法,其特征在于,所述第二窗口为全屏窗口,或者,所述第二窗口为与所述第一窗口和/或第三窗口分屏显示的分屏窗口。
  10. 根据权利要求8或9所述的显示方法,其特征在于,所述第一窗口为悬浮窗口。
  11. 根据权利要求8-10任一项所述的显示方法,其特征在于,所述保持所述第一窗口的显示方向不变包括,在确定所述第一窗口满足预设条件时保持所述第一窗口的显示方向不变。
  12. 根据权利要求8-11任一项所述的显示方法,其特征在于,所述第一窗口包括第一控件,所述第一控件包括关闭状态和打开状态,所述确定所述第一窗口满足预设条件包括:确定所述第一控件处于所述打开状态,所述打开状态指示所述第一窗口基于电子设备的屏幕方向显示。
  13. 根据权利要求8-12任一项所述的显示方法,其特征在于,所述第一窗口和所述第二窗口为不同应用的窗口。
  14. 一种电子设备,其特征在于,包括处理器和存储设备,所述存储设备存有程序指令,所述程序指令由所述处理器运行时,使得所述电子设备执行如权利要求1-7任一项所述的窗口显示方法。
  15. 一种电子设备,其特征在于,包括处理器和存储设备,所述存储设备存有程序指令,所述程序指令由所述处理器运行时,使得所述电子设备执行如权利要求8-12任一项所述的窗口显示方法。
  16. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在所述电子设备上运行时,使得所述电子设备执行如权利要求1-7任一项所述的窗口显示方法。
  17. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在所述电子设备上运行时,使得所述电子设备执行如权利要求1-7任一项所述的窗口显示方法。
PCT/CN2022/093065 2021-05-31 2022-05-16 一种窗口显示方法和电子设备 WO2022252972A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22815019.9A EP4336328A1 (en) 2021-05-31 2022-05-16 Window display method and electronic device
US18/523,517 US20240094858A1 (en) 2021-05-31 2023-11-29 Window display method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110604331.6 2021-05-31
CN202110604331.6A CN115421619A (zh) 2021-05-31 2021-05-31 一种窗口显示方法和电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/523,517 Continuation US20240094858A1 (en) 2021-05-31 2023-11-29 Window display method and electronic device

Publications (1)

Publication Number Publication Date
WO2022252972A1 true WO2022252972A1 (zh) 2022-12-08

Family

ID=84230441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093065 WO2022252972A1 (zh) 2021-05-31 2022-05-16 一种窗口显示方法和电子设备

Country Status (4)

Country Link
US (1) US20240094858A1 (zh)
EP (1) EP4336328A1 (zh)
CN (1) CN115421619A (zh)
WO (1) WO2022252972A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117009024A (zh) * 2023-09-12 2023-11-07 荣耀终端有限公司 显示方向的切换方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094762A (zh) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 通信装置以及多窗口显示方法
CN110324489A (zh) * 2015-12-24 2019-10-11 华为技术有限公司 一种移动终端显示多个应用窗口的方法及移动终端
CN110795196A (zh) * 2019-10-31 2020-02-14 北京字节跳动网络技术有限公司 窗口显示方法、装置、终端及存储介质
CN112256173A (zh) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 电子设备的窗口显示方法、装置、终端和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094762A (zh) * 2014-04-30 2015-11-25 联发科技(新加坡)私人有限公司 通信装置以及多窗口显示方法
CN110324489A (zh) * 2015-12-24 2019-10-11 华为技术有限公司 一种移动终端显示多个应用窗口的方法及移动终端
CN110795196A (zh) * 2019-10-31 2020-02-14 北京字节跳动网络技术有限公司 窗口显示方法、装置、终端及存储介质
CN112256173A (zh) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 电子设备的窗口显示方法、装置、终端和存储介质

Also Published As

Publication number Publication date
EP4336328A1 (en) 2024-03-13
US20240094858A1 (en) 2024-03-21
CN115421619A (zh) 2022-12-02

Similar Documents

Publication Publication Date Title
EP3872609B1 (en) Application display method and electronic device
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021169337A1 (zh) 屏下指纹显示方法及电子设备
WO2021036585A1 (zh) 一种柔性屏显示方法和电子设备
CN111316199B (zh) 一种信息处理方法及电子设备
CN113961157B (zh) 显示交互系统、显示方法及设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
US20240094858A1 (en) Window display method and electronic device
WO2023207667A1 (zh) 一种显示方法、汽车和电子设备
WO2023030168A1 (zh) 界面显示方法和电子设备
WO2023124829A1 (zh) 语音协同输入方法、电子设备及计算机可读存储介质
WO2023138533A1 (zh) 业务协同方法、电子设备、可读存储介质和芯片系统
WO2023160205A1 (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: 22815019

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022815019

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022815019

Country of ref document: EP

Effective date: 20231204

NENP Non-entry into the national phase

Ref country code: DE