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

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

Info

Publication number
WO2022252786A1
WO2022252786A1 PCT/CN2022/083804 CN2022083804W WO2022252786A1 WO 2022252786 A1 WO2022252786 A1 WO 2022252786A1 CN 2022083804 W CN2022083804 W CN 2022083804W WO 2022252786 A1 WO2022252786 A1 WO 2022252786A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
screen
split
edge
electronic device
Prior art date
Application number
PCT/CN2022/083804
Other languages
English (en)
French (fr)
Inventor
王格平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022252786A1 publication Critical patent/WO2022252786A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the technical field of computers, and in particular to a window split-screen display method and electronic equipment.
  • pain points have been criticized by users for a long time. For example, pain points include “pressing does not move”, “long-distance movement is limited”, “pressing and dragging is time-consuming and laborious”, “trigger area is too small”, etc. These pain points greatly affect the efficiency and experience of users in using computers.
  • the embodiment of the present application provides a window split-screen display method and electronic equipment, which can alleviate the pain points of the user when using the touch pad to split the window without relying on the improvement of the hardware capability of the touch pad, and improve the user experience.
  • the efficiency and experience of using the computer can alleviate the pain points of the user when using the touch pad to split the window without relying on the improvement of the hardware capability of the touch pad, and improve the user experience. The efficiency and experience of using the computer.
  • the embodiment of the present application provides a window split-screen display method, the method comprising:
  • the target window is displayed on a split screen in a second area of the screen corresponding to the first area to obtain a split screen window.
  • the first area includes a designated area in the upper left corner, a designated area in the upper right corner, a designated area in the lower left corner, a designated area in the lower right corner, and a left edge of the touchpad. Designated area, right edge designated area, upper edge designated area, or lower edge designated area.
  • the second area includes the upper left 1/4 split screen area, the upper right 1/4 split screen area, the lower left 1/4 split screen area, Lower right 1/4 split screen area, left 1/2 split screen area, right 1/2 split screen area, upper 1/2 split screen area or lower 1/2 split screen area.
  • the designated area in the upper left corner corresponds to the upper left 1/4 split-screen area
  • the designated area in the upper right corner corresponds to the upper right 1/4 split-screen area
  • the specified area in the lower left corner corresponds to the lower left 1/4 split-screen area
  • the specified area in the lower right corner corresponds to the lower right 1/4 split-screen area
  • the left edge designated area corresponds to the left 1/2 split screen area
  • the specified right edge area corresponds to the right 1/2 split screen area
  • the designated area on the upper edge corresponds to the upper 1/2 split-screen area
  • the specified lower edge area corresponds to the lower 1/2 split screen area.
  • the first operation includes a double-click operation or a press operation.
  • the first area when the first area includes the specified area in the upper left corner, the specified area in the upper right corner, the specified area in the lower left corner, or the specified area in the lower right corner of the touchpad,
  • performing split-screen display of the target window in the second area of the screen corresponding to the first area specifically includes:
  • the first area when the first area includes a left edge designated area, a right edge designated area, an upper edge designated area, or a lower edge designated area of the touchpad,
  • performing split-screen display of the target window in the second area of the screen corresponding to the first area specifically includes:
  • the first aspect in combination with the first aspect, in some implementation manners of the first aspect, it also includes:
  • the second operation includes a drag operation from the first area toward the center of the touchpad.
  • the first aspect in combination with the first aspect, in some implementation manners of the first aspect, it also includes:
  • the split-screen state of the split-screen window is switched according to the third operation.
  • the third operation includes a drag operation from the first area to another first area along an edge of the touchpad.
  • the embodiment of the present application provides a first electronic device, including a processor and a memory, wherein the memory is used to store a computer program, and the computer program includes program instructions.
  • the processor runs the
  • the program instruction is used, the electronic device is made to perform the following steps:
  • the target window is displayed on a split screen in a second area of the screen corresponding to the first area to obtain a split screen window.
  • the first area includes a designated area in the upper left corner, a designated area in the upper right corner, a designated area in the lower left corner, a designated area in the lower right corner, and a left edge of the touchpad.
  • the second area includes the upper left 1/4 split screen area, the upper right 1/4 split screen area, the lower left 1/4 split screen area, Lower right 1/4 split screen area, left 1/2 split screen area, right 1/2 split screen area, upper 1/2 split screen area or lower 1/2 split screen area.
  • the designated area in the upper left corner corresponds to the upper left 1/4 split-screen area
  • the designated area in the upper right corner corresponds to the upper right 1/4 split-screen area
  • the specified area in the lower left corner corresponds to the lower left 1/4 split-screen area
  • the specified area in the lower right corner corresponds to the lower right 1/4 split-screen area
  • the left edge specified area corresponds to the left 1/2 split screen area
  • the specified right edge area corresponds to the right 1/2 split screen area
  • the designated area on the upper edge corresponds to the upper 1/2 split-screen area
  • the specified lower edge area corresponds to the lower 1/2 split screen area.
  • the first operation includes a double-click operation or a press operation.
  • the electronic device when the processor runs the program instructions, the electronic device is caused to perform the following steps:
  • the first area includes the designated area of the upper left corner, the designated area of the upper right corner, the designated area of the lower left corner or the designated area of the lower right corner of the touch panel,
  • performing split-screen display of the target window in the second area of the screen corresponding to the first area specifically includes:
  • the electronic device when the processor runs the program instructions, the electronic device is caused to perform the following steps:
  • the first area includes the left edge designated area, the right edge designated area, the upper edge designated area or the lower edge designated area of the touch panel,
  • performing split-screen display of the target window in the second area of the screen corresponding to the first area specifically includes:
  • the electronic device when the processor runs the program instructions, the electronic device is caused to perform the following steps:
  • the second operation includes a drag operation from the first area toward the center of the touchpad.
  • the electronic device when the processor runs the program instructions, the electronic device is caused to perform the following steps:
  • the split-screen state of the split-screen window is switched according to the third operation.
  • the third operation includes a drag operation from the first area along the edge of the touchpad to another first area.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program request is executed by the computer, the A computer executes the method as described above.
  • the user's first operation on the first area of the touch panel is received; according to the first operation, in the corresponding to the first area
  • the second area in the screen performs split-screen display of the target window to obtain a split-screen window.
  • the embodiment of the present application does not rely on the improvement of the hardware capability of the touchpad, and can alleviate the pain points of the user when using the touchpad to split the window, and improve the efficiency and experience of the user in using the computer.
  • FIG. 1 is a schematic diagram of a user's finger on the half area of the touch panel
  • FIG. 2 is a schematic diagram of a springboard structure of a touch panel
  • Figure 3 is a schematic diagram of dragging the entire window to the edge of the screen
  • FIG. 4 is a schematic diagram of a full screen button
  • Fig. 5 is a schematic diagram of a pull-down menu of the full screen button in Fig. 4;
  • FIG. 6 is a flow chart of a split-screen display method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the first area of the touch panel provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram in which the user double-clicks the touchpad in the specified area on the upper left corner of the touchpad, and the size of the target window becomes 1/4 of the screen size and is aligned to the upper left corner of the screen;
  • Figure 9 is a schematic diagram in which the user double-clicks the touchpad in the designated area on the left edge of the touchpad, and the size of the target window becomes 1/2 the screen size and aligns to the left side of the screen;
  • Figure 10 is a schematic diagram of the user double-clicking the touchpad on the designated area on the edge of the touchpad, the size of the target window becomes 1/2 the screen size and aligned to the top of the screen;
  • FIG. 11 is a flow chart of another split-screen display method provided by the embodiment of the present application.
  • Fig. 12 is a schematic diagram of the second operation provided by the embodiment of the present application.
  • FIG. 13 is a schematic diagram of a user adjusting the window split-screen ratio of the split-screen window through a second operation
  • Fig. 14 is another schematic diagram of the user adjusting the window split-screen ratio of the split-screen window through a second operation
  • FIG. 15 is another schematic diagram of a user adjusting the window split-screen ratio of the split-screen window through a second operation
  • FIG. 16 is a flowchart of another split-screen display method provided by the embodiment of the present application.
  • Fig. 17 is a schematic diagram of the third operation provided by the embodiment of the present application.
  • FIG. 18 is a schematic diagram of a user switching a split-screen state of a split-screen window through a third operation
  • FIG. 19 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Step 1 the user needs to move the mouse pointer to the window title bar through the touchpad.
  • the window title bar is a trigger area for dragging and dropping the window.
  • Step 2 When the mouse pointer is in the title bar area of the window, the user needs to press the touchpad hard to hold (hold) the entire window.
  • Step 3 when Hold the entire window, the user needs to drag the entire window to the edge of the screen.
  • the user can drag the entire window to the four corners of the screen for a 1/4 split screen, or drag it to the left and right sides of the screen for a 1/2 split screen.
  • Disadvantage 1 When “moving the mouse pointer to the window title bar” in the above step 1, as shown in Figure 1, the user's finger is also likely to be on the half area of the touchpad, because the window title bar is located at the top of the screen. The user needs to have an upward movement of the finger on the trackpad. At this time, when connecting to "press the touchpad hard" in the above step 2, it will be found that the user can hardly press the touchpad. As shown in Figure 2, this is because traditional touchpads mostly use a springboard structure, the upper part of the touchpad is fixed, and the lower part is suspended, so the upper part of the touchpad is less likely to be pressed by the user. This has caused the above step 1 to fail to smoothly connect with the above step 2, and this experience gap will bring a serious sense of fragmentation to the user. It should be noted that the lower half of the touchpad in FIG. 2 is in a pressed state.
  • Disadvantage 2 As shown in Figure 3, in the above step 3 "when the entire window is held, the user needs to drag the entire window to the edge area of the screen", due to the small area of the touchpad, the user's finger touches The range of movement on the control panel is very limited, and dragging the entire window to the edge of the screen requires a long finger movement, so often the user's finger touches the touchpad before the entire window is dragged to the edge of the screen Situations where the edge can no longer be dragged.
  • Disadvantage 3 In the above step 3 "When holding the entire window, the user needs to drag the entire window to the edge of the screen", the user's finger must not only move a long distance on the touchpad, but also keep the finger on the whole process Pressing hard on the touchpad is time-consuming and laborious.
  • Step 11 the user moves the mouse pointer to the full-screen button in the title bar of the window through the touchpad, and the full-screen button is shown in FIG. 4 .
  • Step 12 when ensuring that the pointer is on the full-screen button, the user needs to press the touchpad firmly to hold the entire window.
  • Step 13 when the entire window is held by Hold, the user drags the entire window to the left and right sides of the screen through the touchpad to split the window into 1/2.
  • Step 21 the user moves the mouse pointer to the full screen button in the window title bar through the touchpad.
  • Step 22 the user clicks the full-screen button but does not let go, as shown in Figure 5, selects "left split screen” or "right split screen” in the pop-up menu.
  • the first step of the window split screen display method is that the user moves the mouse pointer to a very small full-screen button.
  • the control board is even more difficult to complete.
  • electronic devices that support the above-mentioned related technology 2 and the above-mentioned related technology 3 generally only support left and right 1/2 split screens, and do not support 1/4 split screens at the four corners of the screen.
  • the embodiments of the present application provide a split-screen display method and electronic equipment.
  • the hardware capability of the touchpad can be improved. Alleviate pain points such as “no pressing”, “limited range of long-distance movement”, “time-consuming pressing and dragging” and “too small trigger area” when users use the touchpad to split the window.
  • FIG. 6 is a flowchart of a split-screen display method provided by an embodiment of the present application. As shown in Figure 6, the method includes:
  • Step 102 receiving a first user operation on the first area of the touch panel.
  • the first area includes the specified area in the upper left corner, the specified area in the upper right corner, the specified area in the lower left corner, the specified area in the lower right corner, the specified area in the left edge, and the specified area in the right edge of the touch panel. area, upper edge specified area, or lower edge specified area.
  • the first operation includes a double-click operation or a press operation.
  • Step 104 According to the first operation, display the target window in a split screen in the second area of the screen corresponding to the first area to obtain a split screen window.
  • the second area includes the upper left 1/4 split screen area, the upper right 1/4 split screen area, the lower left 1/4 split screen area, the lower right 1/4 split screen area, the left 1/4 split screen area, and the upper left 1/4 split screen area of the screen. 2 split screen area, right 1/2 split screen area, upper 1/2 split screen area or lower 1/2 split screen area.
  • the designated area in the upper left corner corresponds to the upper left 1/4 split screen area; the designated area in the upper right corner corresponds to the upper right 1/4 split screen area; the designated area in the lower left corner corresponds to the lower left 1/4 split screen area; the lower right corner The designated area corresponds to the lower right 1/4 split screen area; the designated left edge area corresponds to the left 1/2 split screen area; the designated right edge area corresponds to the right 1/2 split screen area; the designated upper edge area corresponds to the upper 1/2 split screen area
  • the split screen area corresponds; the designated area on the lower edge corresponds to the lower 1/2 split screen area.
  • step 104 specifically includes: aligning the target window to the upper left corner of the screen , upper right corner, lower left corner or lower right corner, and change the size of the target window to 1/4 of the screen size.
  • the size of the target window becomes 1/4 of the screen size and aligns with the upper left corner of the screen; Double-click the touchpad in the designated area at the upper right corner of the touchpad, and the size of the target window becomes 1/4 of the screen size and aligns with the upper right corner of the screen; when the user double-clicks the touchpad at the designated area at the lower left corner of the touchpad, the size of the target window becomes 1 /4 screen size and align to the lower left corner of the screen; when the user double-clicks the touchpad in the specified area on the lower right corner of the touchpad, the size of the target window becomes 1/4 of the screen size and aligns to the lower right corner of the screen.
  • the size of the target window becomes 1/4 of the screen size and aligns with the upper left corner of the screen.
  • step 104 specifically includes: aligning the target window to the left side of the screen side, right side, top or bottom, and change the size of the target window to 1/2 of the screen size.
  • the size of the target window becomes 1/2 the size of the screen and aligns to the left side of the screen; Double-click the touchpad in the designated area on the right edge of the touchpad, and the size of the target window becomes 1/2 of the screen size and aligns with the right side of the screen; when the user double-clicks the touchpad in the designated area on the edge of the touchpad, the size of the target window becomes It is 1/2 the size of the screen and aligned to the top of the screen; when the user double-clicks the touchpad in the designated area on the lower edge of the touchpad, the size of the target window becomes 1/2 the size of the screen and is aligned to the bottom of the screen.
  • the size of the target window becomes 1/2 the size of the screen and is aligned to the left side of the screen.
  • the size of the target window becomes 1/2 the size of the screen and is aligned to the top of the screen.
  • step 104 it also includes:
  • Step 106 When it is detected that the first operation is not released, a second operation on the touchpad by the user is received.
  • the unreleased first operation means that the user does not release the finger when double-clicking the touchpad for the second time, and keeps the finger in contact with the touchpad; if the first The operation includes a pressing operation, and the first operation not released refers to that the user does not release the finger after pressing the touchpad, and keeps the finger in contact with the touchpad.
  • the second operation includes a drag operation from the first area to the center of the touchpad.
  • the split-screen ratio of the split-screen window reaches 100%, that is, the full-screen state.
  • the window split-screen ratio when the user's finger leaves the touchpad is the final split-screen form of the window.
  • a split-screen window with a size of 1/4 of the screen is generated on the screen and aligned to the upper left corner of the screen; when it is detected that the user double-clicks the touchpad
  • the split-screen ratio of the split-screen window is adjusted according to the distance dragged by the user's finger.
  • a split-screen window with a size of 1/2 of the screen is generated on the screen and aligned to the left side of the screen;
  • the split-screen ratio of the split-screen window is adjusted according to the distance dragged by the user's finger.
  • a split-screen window with a size of 1/2 of the screen is generated on the screen and aligned to the top of the screen; after detecting that the user double-clicks the touchpad
  • the split-screen ratio of the split-screen window is adjusted according to the distance the user drags the finger.
  • Step 108 adjusting the split-screen ratio of the split-screen window according to the second operation.
  • step 104 further include:
  • Step 110 when it is detected that the first operation is not released, a third operation on the touch panel by the user is received.
  • the unreleased first operation means that the user does not release the finger when double-clicking the touchpad for the second time, and keeps the finger in contact with the touchpad; if the first The operation includes a pressing operation, and the first operation not released refers to that the user does not release the finger after pressing the touchpad, and keeps the finger in contact with the touchpad.
  • the third operation includes a drag operation from the first area along the edge of the touchpad to another first area.
  • the switching process is connected through dynamic effects.
  • the user does not release the finger after performing the first operation on the designated area in the upper left corner of the touchpad, but keeps the finger in contact with the touchpad, and the split-screen window on the screen is 1/4 of the screen size and aligned The upper left corner of the screen; then, the user drags his finger along the upper edge of the touchpad to the designated area on the upper edge, keeping the finger in contact with the touchpad, the split-screen window on the screen is 1/2 the size of the screen and aligned to the top of the screen; the user The finger continues to drag along the upper edge of the touchpad to the designated area in the upper right corner, and then the user releases the finger from the touchpad, and the split-screen window on the screen is finally displayed as 1/4 of the screen size and aligned to the upper right corner of the screen.
  • Step 112 Switch the split-screen state of the split-screen window according to the third operation.
  • the user's first operation on the first area of the touch panel is received; according to the first operation, the second screen in the screen corresponding to the first area The second area performs split-screen display on the target window to obtain a split-screen window.
  • the embodiment of the present application does not rely on the improvement of the hardware capability of the touchpad, and can alleviate the pain points of the user when using the touchpad to split the window, and improve the efficiency and experience of the user in using the computer.
  • the split-screen display method provided by the embodiment of the present application is described in detail above with reference to FIG. 6 to FIG. 18 , and the device embodiment of the present application will be described in detail below in conjunction with FIG. 19 . It should be understood that the electronic device in the embodiments of the present application can execute various methods in the foregoing embodiments of the present application, that is, for the specific working processes of the following various products, reference can be made to the corresponding processes in the foregoing method embodiments.
  • An embodiment of the present application provides an electronic device, and the electronic device may be a terminal device or a circuit device built in the terminal device.
  • the electronic device may be used to execute the functions/steps in the foregoing method embodiments.
  • FIG. 19 is a schematic structural diagram of an electronic device 300 provided by an embodiment of the present application.
  • the electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (universal serial bus, USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, and an antenna 2 , mobile communication module 350, wireless communication module 360, audio module 370, speaker 370A, receiver 370B, microphone 370C, earphone jack 370D, sensor module 380, button 390, motor 391, indicator 392, camera 393, display screen 394, and A subscriber identification module (subscriber identification module, SIM) card interface 395 and the like.
  • SIM subscriber identification module
  • the sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, and an ambient light sensor.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 300 .
  • the electronic device 300 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 310 may include one or more processing units, for example: the processor 310 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.
  • 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 310 for storing instructions and data.
  • the memory in processor 310 is a cache memory.
  • the memory may hold instructions or data that the processor 310 has just used or recycled. If the processor 310 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 310 is reduced, thereby improving the efficiency of the system.
  • processor 310 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 310 may include multiple sets of I2C buses.
  • the processor 310 can be respectively coupled to the touch sensor 380K, the charger, the flashlight, the camera 393 and so on through different I2C bus interfaces.
  • the processor 310 may be coupled to the touch sensor 380K through the I2C interface, so that the processor 310 and the touch sensor 380K communicate through the I2C bus interface to realize the touch function of the electronic device 300 .
  • the I2S interface can be used for audio communication.
  • processor 310 may include multiple sets of I2S buses.
  • the processor 310 may be coupled to the audio module 370 through an I2S bus to implement communication between the processor 310 and the audio module 370 .
  • the audio module 370 can transmit audio signals to the wireless communication module 360 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 370 and the wireless communication module 360 may be coupled through a PCM bus interface.
  • the audio module 370 can also transmit audio signals to the wireless communication module 360 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 310 and the wireless communication module 360 .
  • the processor 310 communicates with the Bluetooth module in the wireless communication module 360 through the UART interface to realize the Bluetooth function.
  • the audio module 370 can transmit audio signals to the wireless communication module 360 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 310 with peripheral devices such as the display screen 394 and the camera 393 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 310 communicates with the camera 393 through the CSI interface to realize the shooting function of the electronic device 300 .
  • the processor 310 communicates with the display screen 394 through the DSI interface to realize the display function of the electronic device 300 .
  • 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 310 with the camera 393 , the display screen 394 , the wireless communication module 360 , the audio module 370 , the sensor module 380 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 330 is an interface conforming to the USB standard specification, specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 330 can be used to connect a charger to charge the electronic device 300 , and can also be used to transmit data between the electronic device 300 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 application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 300 .
  • the electronic device 300 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 340 is configured to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 340 can receive charging input from a wired charger through the USB interface 330 .
  • the charging management module 340 may receive wireless charging input through a wireless charging coil of the electronic device 300 . While the charging management module 340 is charging the battery 342 , it can also supply power to the electronic device through the power management module 341 .
  • the power management module 341 is used for connecting the battery 342 , the charging management module 340 and the processor 310 .
  • the power management module 341 receives the input from the battery 342 and/or the charging management module 340 to provide power for the processor 310 , the internal memory 321 , the display screen 394 , the camera 393 , and the wireless communication module 360 .
  • the power management module 341 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 341 may also be disposed in the processor 310 .
  • the power management module 341 and the charging management module 340 may also be set in the same device.
  • the wireless communication function of the electronic device 300 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 350 , the wireless communication module 360 , 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 300 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 350 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 300.
  • the mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 350 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 350 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 350 may be set in the processor 310 .
  • at least part of the functional modules of the mobile communication module 350 and at least part of the modules of the processor 310 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 370A, receiver 370B, etc.), or displays images or videos through display screen 394 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 310, and be set in the same device as the mobile communication module 350 or other functional modules.
  • the wireless communication module 360 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 300.
  • 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 360 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 360 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 310 .
  • the wireless communication module 360 can also receive the signal to be sent from the processor 310 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 300 is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the electronic device 300 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 300 implements a display function through a GPU, a display screen 394, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 394 is used to display images, videos and the like.
  • Display 394 includes a display panel.
  • the display panel can adopt liquid crystal display (liquid crystal display, LCD), organic light-emitting diode (organic light-emitting diode, OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 300 may include 1 or N display screens 394, where N is a positive integer greater than 1.
  • the electronic device 300 can realize the shooting function through an ISP, a camera 393 , a video codec, a GPU, a display screen 394 , and an application processor.
  • the ISP is used for processing the data fed back by the camera 393 .
  • 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 393 .
  • Camera 393 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 300 may include 1 or N cameras 393, 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 300 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 300 may support one or more video codecs.
  • the electronic device 300 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 300 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 300.
  • the external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 321 may be used to store computer-executable program code, which includes instructions.
  • the internal memory 321 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 (such as audio data, phone book, etc.) created during the use of the electronic device 300 .
  • the internal memory 321 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 storage (universal flash storage, UFS) and the like.
  • the processor 310 executes various functional applications and data processing of the electronic device 300 by executing instructions stored in the internal memory 321 and/or instructions stored in a memory provided in the processor.
  • the electronic device 300 can implement audio functions through an audio module 370 , a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, and an application processor. Such as music playback, recording, etc.
  • the audio module 370 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 370 may also be used to encode and decode audio signals.
  • the audio module 370 can be set in the processor 310 , or some functional modules of the audio module 370 can be set in the processor 310 .
  • Speaker 370A also called “horn” is used to convert audio electrical signals into sound signals.
  • Electronic device 300 can listen to music through speaker 370A, or listen to hands-free calls.
  • Receiver 370B also called “earpiece” is used to convert audio electrical signals into audio signals.
  • the receiver 370B can be placed close to the human ear to receive the voice.
  • the microphone 370C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 370C to make a sound, and input the sound signal to the microphone 370C.
  • the electronic device 300 may be provided with at least one microphone 370C. In some other embodiments, the electronic device 300 may be provided with two microphones 370C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 300 can also be provided with three, four or more microphones 370C, so as to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 370D is used to connect wired earphones.
  • the earphone interface 370D may be a USB interface 330, or a 3.5mm open mobile terminal platform (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 380A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 380A may be located on display screen 394 .
  • Pressure sensor 380A may be located on display screen 394 .
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 300 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 300 detects the intensity of the touch operation according to the pressure sensor 380A.
  • the electronic device 300 may also calculate the touched position according to the detection signal of the pressure sensor 380A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions.
  • the gyro sensor 380B can be used to determine the motion posture of the electronic device 300 .
  • the angular velocity of the electronic device 300 about three axes may be determined by the gyro sensor 380B.
  • the gyro sensor 380B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 380B detects the shaking angle of the electronic device 300, 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 300 through reverse movement to achieve anti-shake.
  • the gyroscope sensor 380B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 380C is used to measure air pressure. In some embodiments, the electronic device 300 calculates the altitude through the air pressure value measured by the air pressure sensor 380C to assist positioning and navigation.
  • the magnetic sensor 380D includes a Hall sensor.
  • the electronic device 300 may use the magnetic sensor 380D to detect the opening and closing of the flip leather case.
  • the electronic device 300 can detect opening and closing of the flip according to the magnetic sensor 380D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 380E can detect the acceleration of the electronic device 300 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 300 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 380F is used to measure the distance.
  • the electronic device 300 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 300 can use the distance sensor 380F to measure distance to achieve fast focusing.
  • Proximity light sensor 380G 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 300 emits infrared light through the light emitting diode.
  • Electronic device 300 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 300 . When insufficient reflected light is detected, the electronic device 300 may determine that there is no object near the electronic device 300 .
  • the electronic device 300 can use the proximity light sensor 380G to detect that the user holds the electronic device 300 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 380G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 380L is used for sensing ambient light brightness.
  • the electronic device 300 can adaptively adjust the brightness of the display screen 394 according to the perceived ambient light brightness.
  • the ambient light sensor 380L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 380L can also cooperate with the proximity light sensor 380G to detect whether the electronic device 300 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 380H is used to collect fingerprints.
  • the electronic device 300 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to the application lock, take pictures with the fingerprint, answer calls with the fingerprint, and the like.
  • the temperature sensor 380J is used to detect temperature.
  • the electronic device 300 uses the temperature detected by the temperature sensor 380J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 380J exceeds the threshold, the electronic device 300 may reduce the performance of the processor located near the temperature sensor 380J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 300 when the temperature is lower than another threshold, the electronic device 300 heats the battery 342 to avoid abnormal shutdown of the electronic device 300 caused by the low temperature.
  • the electronic device 300 boosts the output voltage of the battery 342 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 380K also known as "touch device”.
  • the touch sensor 380K can be arranged on the display screen 394, and the touch sensor 380K and the display screen 394 form a touch screen, also called “touch screen”.
  • the touch sensor 380K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations can be provided through the display screen 394 .
  • the touch sensor 380K may also be disposed on the surface of the electronic device 300 , which is different from the position of the display screen 394 .
  • the bone conduction sensor 380M can acquire vibration signals. In some embodiments, the bone conduction sensor 380M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 380M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 380M can also be set in the earphone, combined into a bone conduction earphone.
  • the audio module 370 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 380M, 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 380M, so as to realize the heart rate detection function.
  • the keys 390 include a power key, a volume key and the like.
  • the key 390 may be a mechanical key. It can also be a touch button.
  • the electronic device 300 may receive key input and generate key signal input related to user settings and function control of the electronic device 300 .
  • the motor 391 can generate a vibrating prompt.
  • the motor 391 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 391 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 394 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 392 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications and the like.
  • the SIM card interface 395 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 300 by inserting it into the SIM card interface 395 or pulling it out from the SIM card interface 395 .
  • the electronic device 300 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 395 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 395 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 395 is also compatible with different types of SIM cards.
  • the SIM card interface 395 is also compatible with external memory cards.
  • the electronic device 300 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 300 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300 .
  • An embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device is made to perform the functions/steps in the foregoing method embodiments.
  • the embodiment of the present application also provides a computer program product containing instructions, and when the computer program product is run on a computer or any at least one processor, it causes the computer to execute the functions/steps in the above method embodiments.
  • "at least one” means one or more, and “multiple” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • “At least one of the following” and similar expressions refer to any combination of these items, including any combination of single items or plural items.
  • At least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, and c may be single or multiple.
  • any function 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 present application is essentially or the part that contributes to the prior art or the 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 medium, including Several instructions are used to make an electronic device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

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

Abstract

本申请实施例提供了一种窗口分屏显示方法和电子设备。本申请实施例提供的技术方案中,接收用户对触控板中第一区域的第一操作;根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。本申请实施例不依赖触控板硬件能力的提升,就能缓解用户使用触控板进行窗口分屏时的痛点问题,提高用户使用电脑的效率和体验。

Description

一种窗口分屏显示方法和电子设备 技术领域
本申请涉及计算机技术领域,尤其涉及一种窗口分屏显示方法和电子设备。
背景技术
从软件层面看,窗口是当今电脑软件环境中最重要的组成部分。从硬件层面看,个人电脑(Personal Computer,PC)越来越轻薄,触控板成为了个人电脑的标配。
然而,当触控板“遇到”窗口,即使用触控板进行窗口管理时,就出现了许许多多的痛点问题。这些痛点问题被用户所长期诟病。例如,痛点问题包括“按压不动”、“长距离移动范围有限”、“按压拖移耗时费力”、“触发区域太小”等。这些痛点问题极大的影响着用户使用电脑的效率和体验。
发明内容
有鉴于此,本申请实施例提供了一种窗口分屏显示方法和电子设备,不依赖触控板硬件能力的提升,就能缓解用户使用触控板进行窗口分屏时的痛点问题,提高用户使用电脑的效率和体验。
第一方面,本申请实施例提供了一种窗口分屏显示方法,所述方法包括:
接收用户对触控板中第一区域的第一操作;
根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。
结合第一方面,在第一方面的某些实现方式中,所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域、右下角指定区域、左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域。
结合第一方面,在第一方面的某些实现方式中,所述第二区域包括所述屏幕的左上1/4分屏区域、右上1/4分屏区域、左下1/4分屏区域、右下1/4分屏区域、左1/2分屏区域、右1/2分屏区域、上1/2分屏区域或者下1/2分屏区域。
结合第一方面,在第一方面的某些实现方式中,所述左上角指定区域与所述左上1/4分屏区域对应;
所述右上角指定区域与所述右上1/4分屏区域对应;
所述左下角指定区域与所述左下1/4分屏区域对应;
所述右下角指定区域与所述右下1/4分屏区域对应;
所述左边缘指定区域与所述左1/2分屏区域对应;
所述右边缘指定区域与所述右1/2分屏区域对应;
所述上边缘指定区域与所述上1/2分屏区域对应;
所述下边缘指定区域与所述下1/2分屏区域对应。
结合第一方面,在第一方面的某些实现方式中,所述第一操作包括双击操作或者按压操作。
结合第一方面,在第一方面的某些实现方式中,所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域或者右下角指定区域时,
所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
将所述目标窗口对齐至所述屏幕的左上角、右上角、左下角或者右下角,并将所述目标窗口的尺寸变为所述屏幕大小的1/4。
结合第一方面,在第一方面的某些实现方式中,所述第一区域包括所述触控板的左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域时,
所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
将所述目标窗口对齐至所述屏幕的左侧边、右侧边、顶部或者底部,并将所述目标窗口的尺寸变为所述屏幕大小的1/2。
结合第一方面,在第一方面的某些实现方式中,还包括:
在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第二操作;
根据所述第二操作对所述分屏窗口进行分屏比例的调节。
结合第一方面,在第一方面的某些实现方式中,所述第二操作包括从所述第一区域向所述触控板的中心方向的拖动操作。
结合第一方面,在第一方面的某些实现方式中,还包括:
在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第三操作;
根据所述第三操作对所述分屏窗口的分屏状态进行切换。
结合第一方面,在第一方面的某些实现方式中,所述第三操作包括从所述第一区域沿所述触控板的边缘向另一个第一区域的拖动操作。
第二方面,本申请实施例提供了一种第一电子设备,包括处理器和存储器,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
接收用户对触控板中第一区域的第一操作;
根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。
结合第二方面,在第二方面的某些实现方式中,所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域、右下角指定区域、左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域。
结合第二方面,在第二方面的某些实现方式中,所述第二区域包括所述屏幕的左上1/4分屏区域、右上1/4分屏区域、左下1/4分屏区域、右下1/4分屏区域、左1/2分屏区域、右1/2分屏区域、上1/2分屏区域或者下1/2分屏区域。
结合第二方面,在第二方面的某些实现方式中,所述左上角指定区域与所述左上 1/4分屏区域对应;
所述右上角指定区域与所述右上1/4分屏区域对应;
所述左下角指定区域与所述左下1/4分屏区域对应;
所述右下角指定区域与所述右下1/4分屏区域对应;
所述左边缘指定区域与所述左1/2分屏区域对应;
所述右边缘指定区域与所述右1/2分屏区域对应;
所述上边缘指定区域与所述上1/2分屏区域对应;
所述下边缘指定区域与所述下1/2分屏区域对应。
结合第二方面,在第二方面的某些实现方式中,所述第一操作包括双击操作或者按压操作。
结合第二方面,在第二方面的某些实现方式中,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域或者右下角指定区域时,
所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
将所述目标窗口对齐至所述屏幕的左上角、右上角、左下角或者右下角,并将所述目标窗口的尺寸变为所述屏幕大小的1/4。
结合第二方面,在第二方面的某些实现方式中,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
所述第一区域包括所述触控板的左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域时,
所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
将所述目标窗口对齐至所述屏幕的左侧边、右侧边、顶部或者底部,并将所述目标窗口的尺寸变为所述屏幕大小的1/2。
结合第二方面,在第二方面的某些实现方式中,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
还包括:
在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第二操作;
根据所述第二操作对所述分屏窗口进行分屏比例的调节。
结合第二方面,在第二方面的某些实现方式中,所述第二操作包括从所述第一区域向所述触控板的中心方向的拖动操作。
结合第二方面,在第二方面的某些实现方式中,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
还包括:
在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第三操作;
根据所述第三操作对所述分屏窗口的分屏状态进行切换。
结合第二方面,在第二方面的某些实现方式中,所述第三操作包括从所述第一区 域沿所述触控板的边缘向另一个第一区域的拖动操作。
第三方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,当所述程序请求被计算机运行时使所述计算机执行如上述所述的方法。
本申请实施例提供的窗口分屏显示方法和电子设备的技术方案中,接收用户对触控板中第一区域的第一操作;根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。本申请实施例不依赖触控板硬件能力的提升,就能缓解用户使用触控板进行窗口分屏时的痛点问题,提高用户使用电脑的效率和体验。
附图说明
图1为用户的手指处于触控板上半部区域的示意图;
图2为触控板的跳板结构的示意图;
图3为将整个窗口拖拽至屏幕边缘的示意图;
图4为全屏按钮的示意图;
图5为图4中全屏按钮的下拉菜单的示意图;
图6为本申请实施例提供的一种分屏显示方法的流程图;
图7为本申请实施例提供的触控板中第一区域的示意图;
图8为用户在触控板左上角指定区域双击触控板,目标窗口的尺寸变为1/4屏幕大小并对齐屏幕左上角的示意图;
图9为用户在触控板左边缘指定区域双击触控板,目标窗口的尺寸变为1/2屏幕大小并对齐屏幕左侧边的示意图;
图10为用户在触控板上边缘指定区域双击触控板,目标窗口的尺寸变为1/2屏幕大小并对齐屏幕顶部的示意图;
图11为本申请实施例提供的另一种分屏显示方法的流程图;
图12为本申请实施例提供的第二操作的示意图;
图13为一种用户通过第二操作调节分屏窗口的窗口分屏比例的示意图;
图14为另一种用户通过第二操作调节分屏窗口的窗口分屏比例的示意图;
图15为又一种用户通过第二操作调节分屏窗口的窗口分屏比例的示意图;
图16为本申请实施例提供的又一种分屏显示方法的流程图;
图17为本申请实施例提供的第三操作的示意图;
图18为一种用户通过第三操作切换分屏窗口的分屏状态的示意图;
图19为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,甲和/或乙,可以表示:单独存在甲,同时存在甲和乙,单独存在乙这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
其次,对本申请实施例涉及的分屏显示方法的相关技术进行解释,以便于本领域技术人员理解。
相关技术一:用户使用个人电脑实现窗口分屏需要以下三个步骤:
步骤1,用户需要通过触控板将鼠标指针移动至窗口标题栏上。其中,窗口标题栏是对窗口进行拖拽操作的触发区域。
步骤2,确保鼠标指针在窗口标题栏区域内时,用户需用力按压触控板以Hold住(拽住)整个窗口。
步骤3,在Hold住整个窗口时,用户需将整个窗口向屏幕边缘区域拖拽。用户可以将整个窗口拖拽至屏幕四个边角进行窗口1/4分屏,或者拖拽至屏幕左右侧边进行窗口1/2分屏。
但是,上述窗口分屏显示方法存在以下三个缺点:
缺点一:在上述步骤1中“将鼠标指针移动至窗口标题栏上”时,如图1所示,用户的手指也大概率处于触控板上半部区域,因为窗口标题栏位于屏幕顶部,用户需要在触控板上有一个向上移动手指的动作。此时衔接上述步骤2中“用力按压触控板”时会发现,用户几乎按压不动触控板。如图2所示,这是因为传统触控板多采用跳板结构,触控板的上半部分固定,下半部分悬浮,因此触控板中越往上的区域越不容易被用户按压。这造成了上述步骤1无法顺利衔接上述步骤2,这种体验断层会给用户带来严重的割裂感。需要说明的是,图2中触控板的下半部分处于被按压状态。
缺点二:如图3所示,在上述步骤3中“在Hold住整个窗口时,用户需将整个窗口向屏幕边缘区域拖拽”时,由于触控板的面积较小,用户的手指在触控板上移动的范围非常有限,而将整个窗口拖拽至屏幕边缘又需要较长距离的手指移动,因此经常出现整个窗口还没拖拽到屏幕边缘,用户的手指就已经碰到触控板边缘无法再继续拖拽的情况。
缺点三:在上述步骤3“在Hold住整个窗口时,用户需将整个窗口向屏幕边缘区域拖拽”时,用户的手指不仅要在触控板上进行长距离的移动,还要全程保持手指对触控板的用力按压,耗时且费力。
相关技术二:用户使用个人电脑实现窗口分屏需要以下三个步骤:
步骤11,用户通过触控板将鼠标指针移动至窗口标题栏中的全屏按钮上,全屏按钮如图4所示。
步骤12,在确保指针在全屏按钮上时,用户需用力按压触控板Hold住整个窗口。
步骤13,在Hold住整个窗口时,用户通过触控板将整个窗口拖拽至屏幕左右侧边进行窗口1/2分屏。
相关技术三:用户使用个人电脑实现窗口分屏需要以下两个步骤:
步骤21,用户通过触控板将鼠标指针移动至窗口标题栏中的全屏按钮上。
步骤22,用户点击全屏按钮但不松手,如图5所示,在弹出的菜单中选择“左分屏”或“右分屏”。
以上,不管是相关技术二还是相关技术三,窗口分屏显示方法的第一步都是用户将鼠标指针移动至一个极小的全屏按钮上,这是一个非常精细的操作,用户还要用触控板完成更是难上加难。而且支持上述相关技术二和上述相关技术三的电子设备通常仅支持左右1/2分屏,并不支持屏幕四个角的1/4分屏。
基于上述相关技术中存在的技术问题,本申请实施例提供一种分屏显示方法和电子设备,在保持用户对触控板使用习惯的基础上,不依赖触控板的硬件能力提升,就能缓解用户使用触控板进行窗口分屏时“按压不动”、“长距离移动范围有限”、“按压拖移耗时费力”和“触发区域太小”等痛点问题。
图6为本申请实施例提供的一种分屏显示方法的流程图。如图6所示,该方法包括:
步骤102、接收用户对触控板中第一区域的第一操作。
本申请实施例中,如图7所示,第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域、右下角指定区域、左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域。
本申请实施例中,第一操作包括双击操作或者按压操作。
步骤104、根据第一操作,在与第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。
本申请实施例中,第二区域包括所述屏幕的左上1/4分屏区域、右上1/4分屏区域、左下1/4分屏区域、右下1/4分屏区域、左1/2分屏区域、右1/2分屏区域、上1/2分屏区域或者下1/2分屏区域。
本申请实施例中,左上角指定区域与左上1/4分屏区域对应;右上角指定区域与右上1/4分屏区域对应;左下角指定区域与左下1/4分屏区域对应;右下角指定区域与右下1/4分屏区域对应;左边缘指定区域与左1/2分屏区域对应;右边缘指定区域与右1/2分屏区域对应;上边缘指定区域与上1/2分屏区域对应;下边缘指定区域与下1/2分屏区域对应。
本申请实施例中,第一区域包括触控板的左上角指定区域、右上角指定区域、左下角指定区域或者右下角指定区域时,步骤104,具体包括:将目标窗口对齐至屏幕的左上角、右上角、左下角或者右下角,并将目标窗口的尺寸变为屏幕大小的1/4。
具体的,确保鼠标指针移动至目标窗口标题栏内,当用户在触控板左上角指定区域双击触控板、目标窗口的尺寸变为1/4屏幕大小并对齐屏幕左上角;当用户在触控板右上角指定区域双击触控板、目标窗口的尺寸变为1/4屏幕大小并对齐屏幕右上角;当用户在触控板左下角指定区域双击触控板、目标窗口的尺寸变为1/4屏幕大小并对齐屏幕左下角;当用户在触控板右下角指定区域双击触控板、目标窗口的尺寸变为1/4屏幕大小并对齐屏幕右下角。
例如,如图8所示,当用户在触控板左上角指定区域双击触控板,目标窗口的尺 寸变为1/4屏幕大小并对齐屏幕左上角。
本申请实施例中,第一区域包括触控板的左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域时,步骤104,具体包括:将目标窗口对齐至屏幕的左侧边、右侧边、顶部或者底部,并将目标窗口的尺寸变为屏幕大小的1/2。
具体的,确保鼠标指针移动至目标窗口标题栏内,当用户在触控板左边缘指定区域双击触控板、目标窗口的尺寸变为1/2屏幕大小并对齐屏幕左侧边;当用户在触控板右边缘指定区域双击触控板、目标窗口的尺寸变为1/2屏幕大小并对齐屏幕右侧边;当用户在触控板上边缘指定区域双击触控板、目标窗口的尺寸变为1/2屏幕大小并对齐屏幕顶部;当用户在触控板下边缘指定区域双击触控板、目标窗口的尺寸变为1/2屏幕大小并对齐屏幕底部。
例如,如图9所示,当用户在触控板左边缘指定区域双击触控板,目标窗口的尺寸变为1/2屏幕大小并对齐屏幕左侧边。
例如,如图10所示,当用户在触控板上边缘指定区域双击触控板,目标窗口的尺寸变为1/2屏幕大小并对齐屏幕顶部。
作为一种可选方案,如图11所示,在步骤104之后,还包括:
步骤106、在检测到第一操作未释放时,接收到用户对触控板的第二操作。
本申请实施例中,若第一操作包括双击操作,第一操作未释放指的是用户在双击触控板的第二次点击时不释放手指,保持手指和触控板的接触;若第一操作包括按压操作,第一操作未释放指的是用户在按压触控板后不释放手指,保持手指和触控板的接触。
本申请实施例中,如图12所示,第二操作包括从所述第一区域向所述触控板的中心方向的拖动操作。
其中,当用户的手指移动至触控板的中心位置时,分屏窗口的分屏比例达到100%,即全屏状态。用户的手指离开触控板时的窗口分屏比例,即为窗口最终的分屏形态。
例如,如图13所示,当用户在触控板左上角指定区域双击触控板后,屏幕上生成1/4屏幕大小并对齐屏幕左上角的分屏窗口;在检测到用户双击触控板后不释放手指,并将手指从左上角指定区域向触控板的中心方向的拖动操作时,根据用户手指拖动的距离调节分屏窗口的分屏比例。
例如,如图14所示,当用户在触控板左边缘指定区域双击触控板后,屏幕上生成1/2屏幕大小并对齐屏幕左侧边的分屏窗口;在检测到用户双击触控板后不释放手指,并将手指从左边缘指定区域向触控板的中心方向的拖动操作时,根据用户手指拖动的距离调节分屏窗口的分屏比例。
例如,如图15所示,当用户在触控板上边缘指定区域双击触控板后,屏幕上生成1/2屏幕大小并对齐屏幕顶部的分屏窗口;在检测到用户双击触控板后不释放手指,并将手指从上边缘指定区域向触控板的中心方向的拖动操作时,根据用户手指拖动的距离调节分屏窗口的分屏比例。
步骤108、根据第二操作对分屏窗口进行分屏比例的调节。
作为另一种可选方案,如图16所示,在步骤104之后,还包括:
步骤110、在检测到第一操作未释放时,接收到用户对触控板的第三操作。
本申请实施例中,若第一操作包括双击操作,第一操作未释放指的是用户在双击触控板的第二次点击时不释放手指,保持手指和触控板的接触;若第一操作包括按压操作,第一操作未释放指的是用户在按压触控板后不释放手指,保持手指和触控板的接触。
本申请实施例中,第三操作包括从第一区域沿触控板的边缘向另一个第一区域的拖动操作。
具体的,用户进行第一操作未释放时,保持手指和触控板的接触,再沿触控板边缘拖动手指,若到达另一个第一区域,就将窗口切换至该第一区域所对应的分屏状态,切换过程通过动效衔接。
如图17所示,用户手指沿边缘拖动的过程中,只要全程保持手指和触控板的接触,此任务流就不会终止,可以沿顺时针、逆时针环绕触控板边缘,在不同窗口分屏状态间反复、来回切换,直到手指离开触控板。手指离开触控板时的窗口尺寸,即为窗口最终的分屏形态。
例如,如图18所示,用户在触控板的左上角指定区域进行第一操作后不释放手指,保持手指和触控板的接触,屏幕上的分屏窗口为1/4屏幕大小并对齐屏幕左上角;然后,用户手指沿着触控板的上边缘拖动至上边缘指定区域,保持手指和触控板的接触,屏幕上的分屏窗口为1/2屏幕大小并对齐屏幕顶部;用户手指又继续沿着触控板的上边缘拖动至右上角指定区域,然后用户从触控板上松开手指,屏幕上的分屏窗口最终显示为1/4屏幕大小并对齐屏幕右上角。
步骤112、根据第三操作对分屏窗口的分屏状态进行切换。
本申请实施例提供的分屏显示方法的技术方案中,接收用户对触控板中第一区域的第一操作;根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。本申请实施例不依赖触控板硬件能力的提升,就能缓解用户使用触控板进行窗口分屏时的痛点问题,提高用户使用电脑的效率和体验。
上文结合图6至图18,详细描述了本申请实施例提供的分屏显示方法,下面将结合图19,详细描述本申请的装置实施例。应理解,本申请实施例中的电子设备可以执行前述本申请实施例的各种方法,即以下各种产品的具体工作过程,可以参考前述方法实施例中的对应过程。
本申请实施例提供一种电子设备,该电子设备可以是终端设备也可以是内置于所述终端设备的电路设备。该电子设备可以用于执行上述方法实施例中的功能/步骤。
图19为本申请实施例提供的一种电子设备300的结构示意图。电子设备300可以包括处理器310,外部存储器接口320,内部存储器321,通用串行总线(universal serial bus,USB)接口330,充电管理模块340,电源管理模块341,电池342,天线1,天线2,移动通信模块350,无线通信模块360,音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,传感器模块380,按键390,马达391,指示器392,摄像头393,显示屏394,以及用户标识模块(subscriber identification module,SIM)卡接口395等。其中传感器模块380可以包括压力传感器380A,陀螺仪传感器380B,气压传感器380C,磁传感器380D,加速度传感器380E,距离传感器380F,接近光传感器380G,指纹传感器380H,温度传感器380J,触摸传感器380K,环境光传感器 380L,骨传导传感器380M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备300的具体限定。在本申请另一些实施例中,电子设备300可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器310可以包括一个或多个处理单元,例如:处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器310的等待时间,因而提高了***的效率。
在一些实施例中,处理器310可以包括一个或多个接口。接口可以包括集成电路(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)。在一些实施例中,处理器310可以包含多组I2C总线。处理器310可以通过不同的I2C总线接口分别耦合触摸传感器380K,充电器,闪光灯,摄像头393等。例如:处理器310可以通过I2C接口耦合触摸传感器380K,使处理器310与触摸传感器380K通过I2C总线接口通信,实现电子设备300的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器310可以包含多组I2S总线。处理器310可以通过I2S总线与音频模块370耦合,实现处理器310与音频模块370之间的通信。在一些实施例中,音频模块370可以通过I2S接口向无线通信模块360传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块370与无线通信模块360可以通过PCM总线接口耦合。在一些实施例中,音频模块370也可以通过PCM接口向无线通信模块360传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总 线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器310与无线通信模块360。例如:处理器310通过UART接口与无线通信模块360中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块370可以通过UART接口向无线通信模块360传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器310与显示屏394,摄像头393等***器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器310和摄像头393通过CSI接口通信,实现电子设备300的拍摄功能。处理器310和显示屏394通过DSI接口通信,实现电子设备300的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器310与摄像头393,显示屏394,无线通信模块360,音频模块370,传感器模块380等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口330是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口330可以用于连接充电器为电子设备300充电,也可以用于电子设备300与***设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备300的结构限定。在本申请另一些实施例中,电子设备300也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块340用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块340可以通过USB接口330接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块340可以通过电子设备300的无线充电线圈接收无线充电输入。充电管理模块340为电池342充电的同时,还可以通过电源管理模块341为电子设备供电。
电源管理模块341用于连接电池342,充电管理模块340与处理器310。电源管理模块341接收电池342和/或充电管理模块340的输入,为处理器310,内部存储器321,显示屏394,摄像头393,和无线通信模块360等供电。电源管理模块341还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块341也可以设置于处理器310中。在另一些实施例中,电源管理模块341和充电管理模块340也可以设置于同一个器件中。
电子设备300的无线通信功能可以通过天线1,天线2,移动通信模块350,无线通信模块360,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备300中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块350可以提供应用在电子设备300上的包括2G/3G/4G/5G等无线通 信的解决方案。移动通信模块350可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块350可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块350还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块350的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块350的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器370A,受话器370B等)输出声音信号,或通过显示屏394显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器310,与移动通信模块350或其他功能模块设置在同一个器件中。
无线通信模块360可以提供应用在电子设备300上的包括无线局域网(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)等无线通信的解决方案。无线通信模块360可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块360经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块360还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备300的天线1和移动通信模块350耦合,天线2和无线通信模块360耦合,使得电子设备300可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(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)。
电子设备300通过GPU,显示屏394,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏394和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏394用于显示图像,视频等。显示屏394包括显示面板。显示面板可以采用液晶显示屏(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)等。在一些实施例中,电子设备300可以包括1个或N个显示屏394,N为大于1的正整数。
电子设备300可以通过ISP,摄像头393,视频编解码器,GPU,显示屏394以及应用处理器等实现拍摄功能。
ISP用于处理摄像头393反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头393中。
摄像头393用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备300可以包括1个或N个摄像头393,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备300在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备300可以支持一种或多种视频编解码器。这样,电子设备300可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备300的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口320可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备300的存储能力。外部存储卡通过外部存储器接口320与处理器310通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器321可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器321可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备300使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器321可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器310通过运行存储在内部存储器321的指令,和/或存储在设置于处理 器中的存储器的指令,执行电子设备300的各种功能应用以及数据处理。
电子设备300可以通过音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块370用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块370还可以用于对音频信号编码和解码。在一些实施例中,音频模块370可以设置于处理器310中,或将音频模块370的部分功能模块设置于处理器310中。
扬声器370A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备300可以通过扬声器370A收听音乐,或收听免提通话。
受话器370B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备300接听电话或语音信息时,可以通过将受话器370B靠近人耳接听语音。
麦克风370C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风370C发声,将声音信号输入到麦克风370C。电子设备300可以设置至少一个麦克风370C。在另一些实施例中,电子设备300可以设置两个麦克风370C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备300还可以设置三个,四个或更多麦克风370C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口370D用于连接有线耳机。耳机接口370D可以是USB接口330,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器380A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器380A可以设置于显示屏394。压力传感器380A。
的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器380A,电极之间的电容改变。电子设备300根据电容的变化确定压力的强度。当有触摸操作作用于显示屏394,电子设备300根据压力传感器380A检测所述触摸操作强度。电子设备300也可以根据压力传感器380A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器380B可以用于确定电子设备300的运动姿态。在一些实施例中,可以通过陀螺仪传感器380B确定电子设备300围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器380B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器380B检测电子设备300抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备300的抖动,实现防抖。陀螺仪传感器380B还可以用于导航,体感游戏场景。
气压传感器380C用于测量气压。在一些实施例中,电子设备300通过气压传感 器380C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器380D包括霍尔传感器。电子设备300可以利用磁传感器380D检测翻盖皮套的开合。在一些实施例中,当电子设备300是翻盖机时,电子设备300可以根据磁传感器380D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器380E可检测电子设备300在各个方向上(一般为三轴)加速度的大小。当电子设备300静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器380F,用于测量距离。电子设备300可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备300可以利用距离传感器380F测距以实现快速对焦。
接近光传感器380G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备300通过发光二极管向外发射红外光。电子设备300使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备300附近有物体。当检测到不充分的反射光时,电子设备300可以确定电子设备300附近没有物体。电子设备300可以利用接近光传感器380G检测用户手持电子设备300贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器380G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器380L用于感知环境光亮度。电子设备300可以根据感知的环境光亮度自适应调节显示屏394亮度。环境光传感器380L也可用于拍照时自动调节白平衡。环境光传感器380L还可以与接近光传感器380G配合,检测电子设备300是否在口袋里,以防误触。
指纹传感器380H用于采集指纹。电子设备300可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器380J用于检测温度。在一些实施例中,电子设备300利用温度传感器380J检测的温度,执行温度处理策略。例如,当温度传感器380J上报的温度超过阈值,电子设备300执行降低位于温度传感器380J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备300对电池342加热,以避免低温导致电子设备300异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备300对电池342的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器380K,也称“触控器件”。触摸传感器380K可以设置于显示屏394,由触摸传感器380K与显示屏394组成触摸屏,也称“触控屏”。触摸传感器380K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏394提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器380K也可以设置于电子设备300的表面,与显示屏394所处的位置不同。
骨传导传感器380M可以获取振动信号。在一些实施例中,骨传导传感器380M可以获取人体声部振动骨块的振动信号。骨传导传感器380M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器380M也可以设置于耳机中,结 合成骨传导耳机。音频模块370可以基于所述骨传导传感器380M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器380M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键390包括开机键,音量键等。按键390可以是机械按键。也可以是触摸式按键。电子设备300可以接收按键输入,产生与电子设备300的用户设置以及功能控制有关的键信号输入。
马达391可以产生振动提示。马达391可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏394不同区域的触摸操作,马达391也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器392可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口395用于连接SIM卡。SIM卡可以通过***SIM卡接口395,或从SIM卡接口395拔出,实现和电子设备300的接触和分离。电子设备300可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口395可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口395可以同时***多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口395也可以兼容不同类型的SIM卡。SIM卡接口395也可以兼容外部存储卡。电子设备300通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备300采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备300中,不能和电子设备300分离。
本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在终端设备上运行时,使得终端设备执行如上述方法实施例中的功能/步骤。
本申请实施例还提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机或任一至少一种处理器上运行时,使得计算机执行如上述方法实施例中的功能/步骤。
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种窗口分屏显示方法,其特征在于,所述方法包括:
    接收用户对触控板中第一区域的第一操作;
    根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。
  2. 根据权利要求1所述的方法,其特征在于,所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域、右下角指定区域、左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二区域包括所述屏幕的左上1/4分屏区域、右上1/4分屏区域、左下1/4分屏区域、右下1/4分屏区域、左1/2分屏区域、右1/2分屏区域、上1/2分屏区域或者下1/2分屏区域。
  4. 根据权利要求3所述的方法,其特征在于,
    所述左上角指定区域与所述左上1/4分屏区域对应;
    所述右上角指定区域与所述右上1/4分屏区域对应;
    所述左下角指定区域与所述左下1/4分屏区域对应;
    所述右下角指定区域与所述右下1/4分屏区域对应;
    所述左边缘指定区域与所述左1/2分屏区域对应;
    所述右边缘指定区域与所述右1/2分屏区域对应;
    所述上边缘指定区域与所述上1/2分屏区域对应;
    所述下边缘指定区域与所述下1/2分屏区域对应。
  5. 根据权利要求1所述的方法,其特征在于,所述第一操作包括双击操作或者按压操作。
  6. 根据权利要求3所述的方法,其特征在于,所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域或者右下角指定区域时,
    所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
    将所述目标窗口对齐至所述屏幕的左上角、右上角、左下角或者右下角,并将所述目标窗口的尺寸变为所述屏幕大小的1/4。
  7. 根据权利要求3所述的方法,其特征在于,所述第一区域包括所述触控板的左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域时,
    所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
    将所述目标窗口对齐至所述屏幕的左侧边、右侧边、顶部或者底部,并将所述目标窗口的尺寸变为所述屏幕大小的1/2。
  8. 根据权利要求1所述的方法,其特征在于,还包括:
    在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第二操作;
    根据所述第二操作对所述分屏窗口进行分屏比例的调节。
  9. 根据权利要求8所述的方法,其特征在于,所述第二操作包括从所述第一区域向所述触控板的中心方向的拖动操作。
  10. 根据权利要求1所述的方法,其特征在于,还包括:
    在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第三操作;
    根据所述第三操作对所述分屏窗口的分屏状态进行切换。
  11. 根据权利要求10所述的方法,其特征在于,所述第三操作包括从所述第一区域沿所述触控板的边缘向另一个第一区域的拖动操作。
  12. 一种电子设备,其特征在于,包括处理器和存储器,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
    接收用户对触控板中第一区域的第一操作;
    根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域对目标窗口进行分屏显示,得到分屏窗口。
  13. 根据权利要求12所述的电子设备,其特征在于,所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域、右下角指定区域、左边缘指定区域、右边缘指定区域、上边缘指定区域或者下边缘指定区域。
  14. 根据权利要求12或13所述的电子设备,其特征在于,所述第二区域包括所述屏幕的左上1/4分屏区域、右上1/4分屏区域、左下1/4分屏区域、右下1/4分屏区域、左1/2分屏区域、右1/2分屏区域、上1/2分屏区域或者下1/2分屏区域。
  15. 根据权利要求14所述的方法,其特征在于,
    所述左上角指定区域与所述左上1/4分屏区域对应;
    所述右上角指定区域与所述右上1/4分屏区域对应;
    所述左下角指定区域与所述左下1/4分屏区域对应;
    所述右下角指定区域与所述右下1/4分屏区域对应;
    所述左边缘指定区域与所述左1/2分屏区域对应;
    所述右边缘指定区域与所述右1/2分屏区域对应;
    所述上边缘指定区域与所述上1/2分屏区域对应;
    所述下边缘指定区域与所述下1/2分屏区域对应。
  16. 根据权利要求12所述的电子设备,其特征在于,所述第一操作包括双击操作或者按压操作。
  17. 根据权利要求14所述的电子设备,其特征在于,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
    所述第一区域包括所述触控板的左上角指定区域、右上角指定区域、左下角指定区域或者右下角指定区域时,
    所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
    将所述目标窗口对齐至所述屏幕的左上角、右上角、左下角或者右下角,并将所述目标窗口的尺寸变为所述屏幕大小的1/4。
  18. 根据权利要求14所述的电子设备,其特征在于,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
    所述第一区域包括所述触控板的左边缘指定区域、右边缘指定区域、上边缘指定 区域或者下边缘指定区域时,
    所述根据所述第一操作,在与所述第一区域对应的屏幕中的第二区域,对目标窗口进行分屏显示,具体包括:
    将所述目标窗口对齐至所述屏幕的左侧边、右侧边、顶部或者底部,并将所述目标窗口的尺寸变为所述屏幕大小的1/2。
  19. 根据权利要求12所述的电子设备,其特征在于,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
    还包括:
    在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第二操作;
    根据所述第二操作对所述分屏窗口进行分屏比例的调节。
  20. 根据权利要求19所述的电子设备,其特征在于,所述第二操作包括从所述第一区域向所述触控板的中心方向的拖动操作。
  21. 根据权利要求12所述的电子设备,其特征在于,当所述处理器运行所述程序指令时,使所述电子设备执行以下步骤:
    还包括:
    在检测到所述第一操作未释放时,接收到所述用户对所述触控板的第三操作;
    根据所述第三操作对所述分屏窗口的分屏状态进行切换。
  22. 根据权利要求21所述的电子设备,其特征在于,所述第三操作包括从所述第一区域沿所述触控板的边缘向另一个第一区域的拖动操作。
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,当所述程序请求被计算机运行时使所述计算机执行如权利要求1-11任一项所述的方法。
PCT/CN2022/083804 2021-05-31 2022-03-29 一种窗口分屏显示方法和电子设备 WO2022252786A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110598749.0A CN115421645A (zh) 2021-05-31 2021-05-31 一种窗口分屏显示方法和电子设备
CN202110598749.0 2021-05-31

Publications (1)

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

Family

ID=84230581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083804 WO2022252786A1 (zh) 2021-05-31 2022-03-29 一种窗口分屏显示方法和电子设备

Country Status (2)

Country Link
CN (1) CN115421645A (zh)
WO (1) WO2022252786A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975201A (zh) * 2016-04-27 2016-09-28 努比亚技术有限公司 移动终端及其分屏处理方法
CN106537317A (zh) * 2014-07-31 2017-03-22 微软技术许可有限责任公司 应用窗口的自适应大小调整和定位
CN110661917A (zh) * 2019-08-07 2020-01-07 华为技术有限公司 一种显示方法及电子设备
CN112130715A (zh) * 2019-06-25 2020-12-25 华为技术有限公司 一种显示方法与电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106537317A (zh) * 2014-07-31 2017-03-22 微软技术许可有限责任公司 应用窗口的自适应大小调整和定位
CN105975201A (zh) * 2016-04-27 2016-09-28 努比亚技术有限公司 移动终端及其分屏处理方法
CN112130715A (zh) * 2019-06-25 2020-12-25 华为技术有限公司 一种显示方法与电子设备
CN110661917A (zh) * 2019-08-07 2020-01-07 华为技术有限公司 一种显示方法及电子设备

Also Published As

Publication number Publication date
CN115421645A (zh) 2022-12-02

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2020168965A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
EP4221164A1 (en) Display method for electronic device with flexible display and electronic device
WO2020224449A1 (zh) 一种分屏显示的操作方法及电子设备
WO2021052214A1 (zh) 一种手势交互方法、装置及终端设备
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2022100610A1 (zh) 投屏方法、装置、电子设备及计算机可读存储介质
WO2020173370A1 (zh) 一种应用图标的移动方法及电子设备
WO2020221060A1 (zh) 一种卡片处理方法及设备
CN111132234A (zh) 一种数据传输方法及对应的终端
WO2021052139A1 (zh) 手势输入方法及电子设备
WO2021190314A1 (zh) 触控屏的滑动响应控制方法及装置、电子设备
WO2022001619A1 (zh) 一种截屏方法及电子设备
WO2021169515A1 (zh) 一种设备间数据交互的方法及相关设备
WO2021052407A1 (zh) 一种电子设备操控方法及电子设备
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2020118490A1 (zh) 自动分屏的方法、图形用户界面及电子设备
WO2022052740A1 (zh) 一种折叠设备及其开合控制方法
WO2020221062A1 (zh) 一种导航操作方法及电子设备
CN114339429A (zh) 音视频播放控制方法、电子设备和存储介质
CN113593567B (zh) 视频声音转文本的方法及相关设备
WO2021052408A1 (zh) 一种电子设备显示方法及电子设备
WO2021052388A1 (zh) 一种视频通信方法及视频通信装置
CN114089902A (zh) 手势交互方法、装置及终端设备
WO2020078267A1 (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: 22814833

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22814833

Country of ref document: EP

Kind code of ref document: A1