Terminal window display method, terminal and storage medium

By selecting and adjusting user-defined window layout templates, the problem of the inability to adjust the window display mode in the existing technology is solved, and a more efficient user experience and screen resource utilization are achieved.

CN114661190BActive Publication Date: 2025-09-05HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011524597.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2025-09-05
Estimated Expiration
2040-12-22

AI Technical Summary

Technical Problem

The window display mode in the prior art cannot be adjusted according to user needs after the application is started.

Method used

By responding to the window layout template selection operation input by the user, sending the window layout template selection instruction to the system side, and receiving and determining the position of the window in the display interface, supporting the request and exchange operation of the window layout template set to realize the user-defined window layout.

Benefits of technology

Improves user experience, allowing users to adjust window layouts as needed and maximize the use of the main screen display area to display content of interest.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114661190B_ABST
    Figure CN114661190B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a terminal window display method, terminal, and storage medium, the method comprising: sending a window layout template selection instruction to the system side in response to a window layout template selection operation input by a user, the window layout template selection instruction containing identification information of the window layout template selected by the user; receiving window layout coordinates corresponding to the window layout template selected by the user sent by the system side; and determining the position of the window in the display interface according to the window layout coordinates. In an embodiment of the present application, a rich window layout form is provided to the application side, and the application side can negotiate with the system side to select the required window layout form to improve the user experience. In addition, when the window layout form is a multi-window layout, the display areas of different windows can be switched to maximize the use of the main display area of ​​the screen to display content of interest to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a terminal window display method, a terminal, and a storage medium. Background Art

[0002] Devices such as mobile phones and tablets typically include displays, which are used to display information. With the advancement of terminal technology and the introduction of large-screen devices like smart screens, manufacturers have begun to improve the multi-window experience to maximize the display's ability to display more and richer content. For example, existing multi-window display solutions include floating windows, split-screen windows, and parallel view windows.

[0003] However, the window display mode in the prior art is already fixed by the system when the application is started, and cannot be adjusted accordingly according to the user's needs after the application is started. Summary of the Invention

[0004] In view of this, the present application provides a terminal window display method, a terminal and a storage medium, so as to solve the problem in the prior art that the window display mode of the terminal cannot be adjusted according to the needs of the user.

[0005] In the first aspect, an embodiment of the present application provides a terminal window display method, which is applied to the application side of the terminal, including: in response to a window layout template selection operation input by a user, sending a window layout template selection instruction to the system side, wherein the window layout template selection instruction includes identification information of the window layout template selected by the user; receiving window layout coordinates corresponding to the window layout template selected by the user sent by the system side; and determining the position of the window in the display interface according to the window layout coordinates.

[0006] Preferably, before sending a window layout template selection instruction to the system side in response to the user's window layout template selection operation, it also includes: sending a window layout template request instruction to the system side, wherein the window layout template request instruction is used to instruct the system side to feedback a window layout template set; receiving the window layout template set sent by the system side, wherein the window layout template set includes one or more window layout templates.

[0007] Preferably, the window layout template set is a window layout template set supported by the application side.

[0008] Preferably, the window layout template selected by the user includes two or more windows; and the window layout coordinates include two groups of window layout coordinates corresponding to the two or more windows.

[0009] Preferably, the method further includes: in response to a first window and second window position exchange operation input by a user, sending a first window and second window position exchange instruction to the system side, wherein the first window and second window position exchange instruction includes identification information of the first window and the second window; receiving updated window layout coordinates of the first window and the second window sent by the system side, the updated window layout coordinates of the first window are the original window layout coordinates of the second window, and the updated window layout coordinates of the second window are the original window layout coordinates of the first window; and determining the updated positions of the first window and the second window according to the updated window layout coordinates of the first window and the second window.

[0010] Preferably, the first window is a main view window, the second window is an auxiliary view window, the area of ​​the main view window is larger than the area of ​​the auxiliary view window; and / or the main view window is closer to the center of the display interface than the auxiliary view window.

[0011] Preferably, after determining the update positions of the first window and the second window according to the update window layout coordinates of the first window and the second window, the method further includes: updating the display service in the first window and / or the second window.

[0012] Preferably, the application side is a navigation application, the first window is used to display the navigation scene, and the second window is used to display the alternative route scene; updating the display service in the first window and / or the second window includes: in the first window, switching the navigation scene to the alternative route scene; and / or, in the second window, switching the alternative route scene to the navigation scene.

[0013] Preferably, the application side is a shopping application, the first window is used to display the current product, and the second window is used to display the matching recommended products corresponding to the current product; the updating of the display service in the first window and / or the second window includes: displaying the matching effect diagram of the current product and the matching recommended product in the first window and / or the second window.

[0014] Preferably, the application side is an online education application, the first window is used to display teaching videos, and the second window is used to display a class note input area.

[0015] Preferably, the application side is a chat application, the first window is used to display the video of the other end, and the second window is used to display the video of the local end.

[0016] In the second aspect, an embodiment of the present application provides a terminal window display method, which is applied to the system side of the terminal, including: receiving a window layout template selection instruction sent by an application side, the window layout template selection instruction containing identification information of the window layout template selected by the user; determining the window layout coordinates corresponding to the window layout template selected by the user based on the identification information of the window layout template selected by the user; and sending the window layout coordinates corresponding to the window layout template selected by the user to the application side.

[0017] Preferably, before receiving the window layout template selection instruction sent by the application side, it also includes: receiving a window layout template request instruction sent by the application side, the window layout template request instruction is used to instruct to feedback a window layout template set to the application side; sending the window layout template set to the application side, the window layout template set including one or more window layout templates.

[0018] Preferably, the window layout template selected by the user includes two or more windows; and the window layout coordinates include two groups of window layout coordinates corresponding to the two or more windows.

[0019] Preferably, the method further includes: receiving a first window and a second window position exchange instruction sent by the application side, wherein the first window and the second window position exchange instruction contain identification information of the first window and the second window; and sending updated window layout coordinates of the first window and the second window to the application side, wherein the updated window layout coordinates of the first window are the original window layout coordinates of the second window, and the updated window layout coordinates of the second window are the original window layout coordinates of the first window.

[0020] Preferably, the first window is a main view window, the second window is an auxiliary view window, the area of ​​the main view window is larger than the area of ​​the auxiliary view window; and / or the main view window is closer to the center of the display interface than the auxiliary view window.

[0021] In a third aspect, an embodiment of the present application provides a terminal comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the terminal device, enable the terminal device to execute any one of the methods described in the first aspect.

[0022] In a fourth aspect, an embodiment of the present application provides a terminal comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the terminal device, enable the terminal device to execute any one of the methods described in the second aspect.

[0023] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect.

[0024] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the second aspect.

[0025] In the embodiments of the present application, a rich variety of window layouts are provided to the application side. The application side can negotiate with the system side to select the desired window layout to improve the user experience. In addition, when the window layout is a multi-window layout, the display area of ​​different windows can be switched to maximize the use of the main display area of ​​the screen to display the content of interest to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0027] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;

[0028] Figure 2 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0029] Figures 3A-3C A schematic diagram of a window layout negotiation scenario provided in an embodiment of the present application;

[0030] Figure 4 A schematic diagram of a window layout negotiation architecture provided in an embodiment of the present application;

[0031] Figure 5 A schematic diagram of a window layout switching scenario provided in an embodiment of the present application;

[0032] Figure 6 A schematic diagram of a window layout switching architecture provided in an embodiment of the present application;

[0033] Figure 7 A schematic diagram of a terminal window display method provided in an embodiment of the present application;

[0034] Figure 8 A schematic diagram of another application scenario provided by an embodiment of the present application;

[0035] Figure 9 Schematic diagram of another application scenario provided by the embodiment of this application

[0036] Figure 10 A flowchart of another terminal window display method provided in an embodiment of the present application;

[0037] Figures 11A-11E A schematic diagram of another application scenario provided by an embodiment of the present application;

[0038] Figures 12A-12E A schematic diagram of another application scenario provided for an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0040] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0041] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0042] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.

[0043] Before providing a detailed introduction to the embodiments of the present application, a brief introduction to the scenarios involved in the present application is first given.

[0044] See also Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 As shown, the terminal 100 involved in the embodiment of the present application includes a display screen 101, and the display screen 101 displays an application 102 installed on the terminal 100. The application 102 can be an application 102 that comes with the system, such as an album, camera, calendar, information, etc.; it can also be an application 102 downloaded by a user from a third-party application software market, such as navigation, shopping, online education, chat, etc.

[0045] Understandable, Figure 1 The above is only an exemplary description of the embodiments of the present application and should not be construed as limiting the scope of protection of the present application. For example, in addition to a tablet computer, the terminal may also be a mobile phone, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, an augmented reality (AR) device, a virtual reality (VR) device, an in-vehicle device, a smart car, a smart speaker, a robot, smart glasses, etc. Applications on the terminal can be selectively downloaded and installed according to user needs, such as search applications, information applications, game applications, etc.

[0046] See also Figure 2 , is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 2 As shown, the terminal 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0047] It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on terminal 200. In other embodiments of the present application, terminal 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0048] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0049] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0050] Processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 210 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 210. If processor 210 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 210 latency, and thus improves system efficiency.

[0051] In some embodiments, the processor 210 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0052] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple I2C busses. The processor 210 may be coupled to the touch sensor 280K, the charger, the flash, the camera 293, and the like via different I2C bus interfaces. For example, the processor 210 may be coupled to the touch sensor 280K via the I2C interface, enabling communication between the processor 210 and the touch sensor 280K via the I2C bus interface, thereby implementing the touch function of the terminal 200.

[0053] The I2S interface can be used for audio communication. In some embodiments, the processor 210 can include multiple I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to enable communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0054] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 can be coupled via a PCM bus interface. In some embodiments, the audio module 270 can also transmit audio signals to the wireless communication module 260 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0055] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0056] The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display screen 294 and the camera 293. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 210 and the camera 293 communicate via the CSI interface to implement the camera function of the terminal 200. The processor 210 and the display screen 294 communicate via the DSI interface to implement the display function of the terminal 200.

[0057] The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 to the camera 293, the display 294, the wireless communication module 260, the audio module 270, the sensor module 280, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0058] USB interface 230 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. USB interface 230 can be used to connect a charger to charge terminal 200, or to transfer data between terminal 200 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect to other terminals, such as AR devices.

[0059] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative description and does not constitute a structural limitation on the terminal 200. In other embodiments of the present application, the terminal 200 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.

[0060] The charging management module 240 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 can receive charging input from the wired charger via the USB interface 230. In some wireless charging embodiments, the charging management module 240 can receive wireless charging input via the wireless charging coil of the terminal 200. While charging the battery 242, the charging management module 240 can also provide power to the terminal via the power management module 241.

[0061] The power management module 241 is used to connect the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 and provides power to the processor 210, the internal memory 221, the display 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.

[0062] The wireless communication function of the terminal 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.

[0063] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in Terminal 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, Antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0064] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the terminal 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.

[0065] The modem processor may include a modulator and a demodulator. The modulator is used to modulate 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. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 270A, the receiver 270B, etc.) or displays an image or video through the display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.

[0066] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied on the terminal 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0067] In some embodiments, antenna 1 of terminal 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, so that terminal 200 can communicate with a network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0068] Terminal 200 implements display functions through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or modify display information.

[0069] Display screen 294 is used to display images, videos, and the like. Display screen 294 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 (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, terminal 200 may include one or N display screens 294, where N is a positive integer greater than one.

[0070] The terminal 200 can realize the shooting function through the ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0071] The ISP processes data fed back by camera 293. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 293.

[0072] The camera 293 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.

[0073] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0074] Video codecs are used to compress or decompress digital video. Terminal 200 may support one or more video codecs. This allows Terminal 200 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0075] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications in the terminal 200, such as image recognition, face recognition, speech recognition, and text comprehension.

[0076] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal 200. The external memory card communicates with the processor 210 via the external memory interface 220 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0077] The internal memory 221 can be used to store computer executable program code, which includes instructions. The internal memory 222 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various functional applications and data processing of the terminal 200 by running instructions stored in the internal memory 221 and / or instructions stored in a memory provided in the processor.

[0078] The terminal 200 can implement audio functions such as music playback and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.

[0079] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be provided in the processor 210, or some functional modules of the audio module 270 can be provided in the processor 210.

[0080] The speaker 270A, also called a "speaker", is used to convert audio electrical signals into sound signals. The terminal 200 can listen to music or listen to hands-free calls through the speaker 270A.

[0081] The receiver 270B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal 200 receives a call or a voice message, the voice can be heard by placing the receiver 270B close to the ear.

[0082] Microphone 270C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 270C to input the sound signal into the microphone 270C. The terminal 200 can be provided with at least one microphone 270C. In other embodiments, the terminal 200 can be provided with two microphones 270C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal 200 can also be provided with three, four or more microphones 270C to realize sound signal collection, noise reduction, and identification of sound sources, and realize directional recording function, etc.

[0083] The earphone jack 270D is used to connect a wired earphone and can be a USB interface 230 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0084] The pressure sensor 280A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be set on the display screen 294.

[0085] There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor may be a device comprising at least two parallel plates having a conductive material. When a force acts on the pressure sensor 280A, the capacitance between the electrodes changes. The terminal 200 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 294, the terminal 200 detects the intensity of the touch operation based on the pressure sensor 280A. The terminal 200 may also calculate the position of the touch based on the detection signal of the pressure sensor 280A. In some embodiments, 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 a first pressure threshold acts on a short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on a short message application icon, an instruction to create a new short message is executed.

[0086] The gyroscope sensor 280B can be used to determine the motion posture of the terminal 200. In some embodiments, the angular velocity of the terminal 200 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 280B. The gyroscope sensor 280B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the terminal 200 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal 200 through reverse movement to achieve anti-shake. The gyroscope sensor 280B can also be used for navigation and somatosensory game scenes.

[0087] The air pressure sensor 280C is used to measure air pressure. In some embodiments, the terminal 200 calculates the altitude using the air pressure value measured by the air pressure sensor 280C to assist in positioning and navigation.

[0088] Magnetic sensor 280D includes a Hall sensor. Terminal 200 can use magnetic sensor 280D to detect the opening and closing of a flip cover. In some embodiments, when terminal 200 is a flip phone, terminal 200 can detect the opening and closing of the flip cover based on magnetic sensor 280D. Based on the detected opening and closing status of the cover or flip cover, features such as automatic unlocking of the flip cover can be configured.

[0089] Accelerometer 280E can detect the magnitude of acceleration of terminal 200 in all directions (generally three axes). When terminal 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify terminal posture, enabling applications such as landscape and portrait screen switching and pedometers.

[0090] The distance sensor 280F is used to measure distance. The terminal 200 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the terminal 200 can use the distance sensor 280F to measure distance to achieve fast focusing.

[0091] The proximity light sensor 280G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal 200 emits infrared light outward through the light emitting diode. The terminal 200 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal 200. When insufficient reflected light is detected, the terminal 200 can determine that there is no object near the terminal 200. The terminal 200 can use the proximity light sensor 280G to detect when the user holds the terminal 200 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 280G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0092] Ambient light sensor 280L is used to sense ambient light brightness. Terminal 200 can adaptively adjust the brightness of display screen 294 based on the perceived ambient light brightness. Ambient light sensor 280L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 280L can also work with proximity light sensor 280G to detect whether terminal 200 is in a pocket to prevent accidental touches.

[0093] The fingerprint sensor 280H is used to collect fingerprints. The terminal 200 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0094] Temperature sensor 280J is used to detect temperature. In some embodiments, terminal 200 uses the temperature detected by temperature sensor 280J to implement a temperature management strategy. For example, when the temperature reported by temperature sensor 280J exceeds a threshold, terminal 200 reduces the performance of a processor located near temperature sensor 280J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature falls below another threshold, terminal 200 heats battery 242 to prevent abnormal shutdown of terminal 200 due to low temperature. In other embodiments, when the temperature falls below yet another threshold, terminal 200 boosts the output voltage of battery 242 to prevent abnormal shutdown due to low temperature.

[0095] Touch sensor 280K, also known as a "touch device," can be disposed on display screen 294. The touch sensor 280K and display screen 294 form a touch screen, also known as a "touch screen." Touch sensor 280K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations can be provided via display screen 294. In other embodiments, touch sensor 280K can also be disposed on the surface of terminal 200, at a location different from that of display screen 294.

[0096] The bone conduction sensor 280M can acquire vibration signals. In some embodiments, the bone conduction sensor 280M can acquire vibration signals from the vibrating bones of the human body's vocal cords. The bone conduction sensor 280M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 280M can also be set in headphones to form bone conduction headphones. The audio module 270 can parse the voice signal based on the vibration signal of the vibrating bones of the vocal cords acquired by the bone conduction sensor 280M to implement voice functions. The application processor can parse heart rate information based on the blood pressure signals acquired by the bone conduction sensor 280M to implement heart rate detection functions.

[0097] Keys 290 include a power button, a volume button, etc. Keys 290 may be mechanical keys or touch keys. Terminal 200 may receive key inputs and generate key signal inputs related to user settings and function control of terminal 200.

[0098] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0099] The indicator 292 may be an indicator light, which may be used to indicate the charging status, power level change, messages, missed calls, notifications, etc.

[0100] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and disconnected from the terminal 200 by inserting it into or removing it from the SIM card interface 295. The terminal 200 can support one or N SIM card interfaces, where N is a positive integer greater than one. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The terminal 200 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal 200 and cannot be separated from the terminal 200.

[0101] See also Figures 3A-3C, is a schematic diagram of a window layout negotiation scenario provided by an embodiment of the present application. This window display solution involves the interaction between the application side and the system side. It can be understood that the system side corresponds to the operating system, and the application side corresponds to the application installed on the operating system.

[0102] like Figure 3A As shown, the system side stores multiple window layout templates, namely window layout template 1, window layout template 2, ..., window layout template N. After startup, the application side queries the system side for window layout templates supported by the application, and the system side returns the window layout templates supported by the application to the application side.

[0103] like Figure 3B As shown, window layout template 1 and window layout template 2 are window layout templates supported by the application, and the system side returns window layout template 1 and window layout template 2 to the application side. The user selects window layout template 2 on the application side according to the needs, and the application side sends the information selected by the user to the system side, that is, sends the window layout template 2 information required by the application to the system side. The system side stores the coordinates corresponding to the window layout templates, which are window layout template 1 coordinates, window layout template 2 coordinates, ..., window layout template N coordinates. Since the window layout template required by the application is window layout template 2, the system side returns the window layout template 2 coordinates to the application side.

[0104] like Figure 3C As shown, after obtaining the coordinates of window layout template 2, the application side determines the position of the window based on the coordinates of window layout template 2. It can be understood that after determining the position of the window, the application side can update the display within the window. Specifically, the application side can draw a view within the area corresponding to the window and send the drawn view data to the system side, which then renders and displays the drawn view data.

[0105] See also Figure 4 , is a schematic diagram of a window layout negotiation architecture provided by an embodiment of the present application. Figure 4 Taking the Android system as an example, AMS and WMS are both system services in the Android system. In the Android system, AMS and WMS belong to the same layer. AMS uniformly schedules all application activities and controls the activity lifecycle. Activities are responsible for the lifecycle and event processing, and each activity contains a corresponding window. WMS controls the display and hiding of all windows and their display positions. In the embodiment of the present application, WMS interacts with the application side to determine the window layout template and window layout coordinates.

[0106] In the embodiment of the present application, a rich variety of window layout forms are provided to the application side, and the application side can negotiate with the system side to select the required window layout form to improve the user experience.

[0107] It is understandable that when the window layout mode is a multi-window layout, the user may have a need to switch the positions of two windows in the multi-window layout.

[0108] See also Figure 5 , is a schematic diagram of a window layout switching scenario provided by an embodiment of the present application. Figure 5 As shown, in the current application scenario, there are two activities (each activity corresponds to a window), activity_A and activity_B. Activity_A corresponds to the primary display area, and activity_B corresponds to the secondary display area. When the system recognizes the operation of sliding from the primary display area to the secondary display area, it can update and swap the window layout coordinates of the two activities, and then update the display to complete the display area swap of the two activities. After the display area swap, activity_A corresponds to the secondary display area, and activity_B corresponds to the primary and secondary display areas.

[0109] See also Figure 6 , is a schematic diagram of a window layout switching architecture provided by an embodiment of the present application. Figure 6 In the example, the Input on the system side is the input subsystem of the Android system, which is used to detect input events and process them accordingly. In this embodiment of the present application, when the Input detects an input event of sliding the primary display area to the secondary display area, the WMS exchanges the window layout coordinates of the corresponding activities with the application side to exchange the display areas of the corresponding activities.

[0110] In an embodiment of the present application, when the window layout mode is a multi-window layout, the display areas of different windows can be switched to maximize the use of the main display area of ​​the screen to display content of interest to the user.

[0111] See also Figure 7 , is a flow chart of a terminal window display method provided by an embodiment of the present application. This method can be applied to Figure 1 and Figure 2 The terminal shown, such as Figure 7 As shown, it mainly includes the following steps.

[0112] Step S701: The application side sends a window layout template request instruction to the system side.

[0113] like Figure 3AAs shown, in an embodiment of the present application, the system side can store multiple window layout templates, including window layout template 1, window layout template 2, ..., window layout template N. When the application is started, the application side sends a window layout template request instruction to the system side, and the window layout template request instruction is used to instruct the system side to feedback a window layout template set.

[0114] Step S702: The system side sends a window layout template set to the application side.

[0115] After receiving the window layout template request instruction sent by the application side, the system side sends a window layout template set to the application side, where the window layout template set includes one or more window layout templates.

[0116] It is understandable that the window layout templates stored on the system side may correspond to different applications, such as navigation applications, chat applications, shopping applications, etc. Different applications may each correspond to different window layout templates. When the application side sends a window layout template request instruction to the system side, the system side can only feedback the window layout templates supported by the application side to the application side based on the type of application. For example, Figure 3B In the example, only window layout template 1 and window layout template 2 are sent to the application side.

[0117] In an alternative embodiment, the window layout template may be stored on the application side. When the application is started, the window layout template is directly displayed on the application side. In other words, in this case, the application side does not need to request the window layout template from the system side, and steps S701 and S702 are omitted, and the process proceeds directly to step S703 described below.

[0118] Step S703: The application side sends a window layout template selection instruction to the system side in response to the window layout template selection operation input by the user.

[0119] In a specific implementation, the application side can display the window layout template set sent by the system side so that the user can select the window layout template according to the needs. The specific display content may include the label, thumbnail, etc. of the window layout template, which is not specifically limited in the embodiment of the present application.

[0120] When the window layout template set includes two or more window layout templates, the user can make a corresponding selection based on the needs. Figure 3B In the example, the window layout template set includes window layout template 1 and window layout template 2. The user clicks on window layout template 2 to trigger the window layout template selection operation, and sends a window layout template selection instruction to the system side. It can be understood that the window layout template selection instruction includes the identification information of the window layout template 2 selected by the user.

[0121] Step S704: The system side determines the window layout coordinates corresponding to the window layout template selected by the user.

[0122] Specifically, the system side also stores the window layout coordinates corresponding to the window layout template. Figure 3B In the system side, the coordinates of window layout template 1, window layout template 2, ..., window layout template N are stored.

[0123] After receiving the window layout template selection instruction sent by the application side, the system side can determine the window layout coordinates corresponding to the window layout template selected by the user according to the identification information in the window layout template selection instruction. Figure 3B In the illustrated implementation, the coordinates of the window layout template 2 are determined based on the identification information of the window layout template 2 .

[0124] Step S705: The system side sends the window layout coordinates corresponding to the window layout template selected by the user to the application side.

[0125] Each set of window layout coordinates may include coordinate values ​​corresponding to multiple windows. For example, window layout template 2 includes two windows, namely a first window and a second window. Accordingly, the coordinates of window layout template 2 include two sets of coordinate values, namely the coordinate values ​​corresponding to the first window and the coordinate values ​​corresponding to the second window.

[0126] Step S706: The application side determines the position of the window in the display interface according to the window layout coordinates.

[0127] Specifically, the coordinate values ​​corresponding to each window can be the coordinate values ​​of two points on the diagonal of the rectangular display area corresponding to the window. For example, the coordinate values ​​of the upper left corner and the lower right corner of the rectangular display area. Based on the coordinate values ​​of the two points on the diagonal, the rectangular display area can be determined, that is, the position of the window in the display interface can be determined. Alternatively, the coordinate values ​​corresponding to each window can be the coordinate value of a corner of the rectangular display area and the two side lengths of the rectangular display area. For example, the coordinate value of the upper left corner of the rectangular display area and the two side lengths of the rectangular display area. Based on this information, the rectangular display area can be determined, that is, the position of the window in the display interface can be determined.

[0128] Step S707: Display the view in the window.

[0129] Once the application and system determine the window's position in the display interface through the negotiation process described above, the corresponding content can be displayed in the window. Specifically, the application draws the view within the area corresponding to the window layout coordinates and sends the view data drawn within the area corresponding to the window layout coordinates to the system, which then renders and displays the drawn view data.

[0130] In the embodiment of the present application, a rich variety of window layout forms are provided to the application side. The application side can negotiate with the system side to select the required window layout form to improve the user experience.

[0131] See also Figure 8 , which is a schematic diagram of another application scenario provided by an embodiment of the present application. In this embodiment of the present application, the application side is a chat application. The user selects window layout template 2 from M window layout templates. The window layout corresponding to window layout template 2 includes two windows, namely a first window and a second window. The first window is a peer video window for displaying the peer video, and the second window is a local video window for displaying the local video.

[0132] In addition to triggering window layout negotiation between the application and the system when the application starts, window layout negotiation can also be performed every time an activity starts. For example, a chat application starts in full screen mode, and after clicking on video chat, the new window layout is changed. Figure 7 The negotiation process shown is changed to Figure 8 The status shown (including two windows, namely the peer video window and the local video window).

[0133] See also Figure 9 , which is a schematic diagram of another application scenario provided by an embodiment of the present application. In this embodiment of the present application, the application side is an online education application. The user selects window layout template 1 from M window layout templates. The window layout corresponding to window layout template 1 includes two windows, namely a first window and a second window. The first window is a teaching video window for displaying teaching videos, and the second window is a class note window for displaying a class note input area. The user can enter class notes in the class note input area while watching the teaching video.

[0134] In addition, Figure 8 In the example, the peer video window occupies a larger area of ​​the screen and is defined as the primary display area (primary view window); the local video window occupies a smaller area of ​​the screen and is defined as the secondary display area (secondary view window). In some possible application scenarios, the user may need to switch the display areas of the local video window and the peer video window, that is, switch the peer video window to the secondary display area and switch the local video window to the primary display area, so that the user can better view the local video.

[0135] Based on the same principle, Figure 9The teaching video window occupies a larger area of ​​the screen, which is defined as the primary display area; the class notes window occupies a smaller area of ​​the screen, which is defined as the secondary display area. In some possible application scenarios, users may need to switch the display areas of the teaching video window and the class notes window, that is, switch the teaching video window to the secondary display area and switch the class notes window to the primary display area, so that users can better take class notes.

[0136] In response to the above requirements, the embodiment of the present application also provides an implementation solution for window layout switching, which is described in detail below.

[0137] See also Figure 10 , is a flow chart of another terminal window display method provided by an embodiment of the present application. Figure 7 Based on the method shown, the following steps are also included.

[0138] Step S1001: the application side sends a first window and a second window position exchange instruction to the system side in response to a first window and a second window position exchange operation input by a user.

[0139] In an optional embodiment, the first window is the main view window, and the second window is the auxiliary view window. The user switches the positions of the main view window and the auxiliary view window by swapping the positions of the first window and the second window. For example, in a navigation application, the first window is used to display the navigation scene, and the second window is used to display the alternative route scene. The user can switch the navigation route by swapping the positions of the first window and the second window; in a shopping application, the first window is used to display the current product, and the second window is used to display the recommended product. The user can switch the recommended product to the main view window for display by swapping the positions of the first window and the second window. It should be pointed out that there is no substantial difference between the main view window and the auxiliary view window during the display process, except that the main view window is closer to the center of the screen or occupies a larger area, which can have a better display expression effect.

[0140] Specifically, the user can slide from the first window position to the second window position, or slide from the second window position to the first window position, triggering the exchange of the first window and the second window position. Figure 8 In the illustrated embodiment, the user slides from the local video window to the peer video window, triggering a position swap between the local video window and the peer video window.

[0141] It is understandable that the instruction to exchange the positions of the first window and the second window should include identification information of the first window and the second window, so that the application side can know the windows that need to be exchanged.

[0142] Step S1002: the system side sends updated window layout coordinates of the first window and the second window to the application side.

[0143] After receiving the position swap instruction for the first and second windows, the system updates and swaps the window layout coordinates corresponding to the first and second windows. Specifically, the updated window layout coordinates of the first window are the original window layout coordinates of the second window, and the updated window layout coordinates of the second window are the original window layout coordinates of the first window.

[0144] For example, in Figure 8 In the illustrated embodiment, the window layout coordinates of the peer video window are updated to the original window layout coordinates of the local video window; and the window layout coordinates of the local video window are updated to the original window layout coordinates of the peer video window.

[0145] Step S1003: the application side determines the update positions of the first window and the second window according to the update window layout coordinates of the first window and the second window.

[0146] After receiving the updated window layout coordinates of the first window and the second window sent by the system side, the application side determines the updated positions of the first window and the second window according to the updated window layout coordinates.

[0147] Step S1004: Display the updated view in the first window and the second window.

[0148] After the application and the system determine the updated positions of the first and second windows in the display interface through the negotiation process described above, the corresponding content can be displayed in the updated areas. Specifically, the application draws the view in the area corresponding to the updated window layout coordinates and sends the view data drawn in the area corresponding to the updated window layout coordinates to the system, which then renders and displays the drawn view data.

[0149] In the embodiment of the present application, when the window layout mode is a multi-window layout, the display areas of different windows can be switched to maximize the use of the screen display area. In addition, after the display area of ​​the window is switched, the service can be further updated, which is explained below in conjunction with a specific embodiment.

[0150] See also Figures 11A-11E , is another application scenario diagram provided by the embodiment of the present application. In the embodiment of the present application, the application side is a navigation application, and the user needs to navigate from the origin A to the destination B.

[0151] like Figure 11AAs shown, the user selects window layout template 1 from M window layout templates. The window layout corresponding to window layout template 1 includes four windows: a navigation window and three alternative route windows (a first alternative route window, a second alternative route window, and a third alternative route window). It can be understood that the navigation window is the primary view window, located in the primary display area; the three alternative route windows are auxiliary view windows, located in the auxiliary display area.

[0152] like Figure 11B As shown, during navigation, the main display area on the left side of the screen shows the current route, and the three auxiliary display areas on the right side of the screen each show alternative routes. The alternative routes in each auxiliary display area may correspond to different route recommendation strategies. For example, the first alternative route in the first alternative route window may prioritize high speeds, the second alternative route in the second alternative route window may prioritize the lowest toll, and the third alternative route in the third alternative route window may prioritize the shortest travel time.

[0153] like Figure 11C As shown, when the user wants to travel along a high-speed priority route, the user can slide from the navigation window to the first alternative route window, triggering the position exchange of the navigation window and the first alternative route window.

[0154] like Figure 11D As shown, after the positions of the navigation window and the first alternative route window are exchanged, the navigation window is displayed in the area corresponding to the original first alternative route window; and the first alternative route window is displayed in the original navigation window.

[0155] It is understandable that the purpose of the user switching the first alternative route window to the main display area is to switch the navigation route to the first alternative route, that is, to navigate according to the first alternative route. Therefore, after completing the position exchange of the navigation window and the first alternative route window, the services of the navigation window and the first alternative route window need to be updated. Specifically, the alternative route scene in the first alternative route window is switched to the navigation scene, and accordingly, the first alternative route window is changed to the navigation window; the navigation scene in the navigation window is switched to the alternative route scene, and accordingly, the navigation window is changed to the first alternative route window, such as Figure 11E shown.

[0156] See also Figures 12A-12E , is another application scenario diagram provided in the embodiment of the present application. In the embodiment of the present application, the application side is a shopping application.

[0157] like Figure 12AAs shown, the user selects Window Layout Template 2 from the M window layout templates. The window layout corresponding to Window Layout Template 2 includes five windows: the current product window, the matching suggestion window, the product recommendation window, the buyer display window, and the shopping list window. As can be seen, the current product window is the primary view window, located in the primary display area; the remaining four windows are auxiliary view windows, located in the auxiliary display area.

[0158] like Figure 12B As shown, the current product window is used to display the current product browsed by the user, the matching suggestion window is used to display the matching suggested products corresponding to the current product, the product recommendation window is used to display similar products recommended based on the current product, the buyer display window is used to display the buyer's display effect picture, and the shopping list window is used to display the user's shopping list, including shopping details, amount and other information.

[0159] like Figure 12C As shown, when the user wants to switch the display position of the window, he can slide between the windows he wants to switch to. For example, sliding from the matching suggestion window to the current product window triggers the position exchange of the matching suggestion window and the current product window.

[0160] like Figure 12D As shown, after the positions of the collocation suggestion window and the current product window are swapped, the collocation suggestion window is displayed in the area corresponding to the original current product window, and the current product window is displayed in the area corresponding to the original collocation suggestion window.

[0161] In addition, after the window switch is completed, the business within the window can be updated as needed. For example, after the combination suggestion window and the current product window are swapped, the combination suggestion window will display the combination effect of the current product and the combination suggestion product.

[0162] In the embodiment of the present application, the main display area can be used to the maximum extent to display the content that the user is interested in. At the same time, new services can be superimposed on the windows participating in the position exchange to improve the user experience.

[0163] In a specific implementation, an embodiment of the present application also provides a terminal, which includes one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the terminal device, the terminal executes some or all of the steps in the above method embodiment.

[0164] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps of each embodiment provided in the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0165] In a specific implementation, an embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above method embodiment.

[0166] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0167] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0168] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0169] In the several embodiments provided by the present invention, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc., various media that can store program codes.

[0170] The above description is merely a specific embodiment of the present invention. Any modifications or substitutions that may be readily conceived by a person skilled in the art within the technical scope disclosed herein are intended to be encompassed within the scope of protection of the present invention. The scope of protection of the present invention shall be determined by the scope of protection of the claims.

Claims

1. A terminal window display method, applied to the application side of a terminal, characterized in that: include: After startup, the application side sends a window layout template request instruction to the WMS on the system side, wherein the window layout template request instruction is used to instruct the WMS to feedback the window layout template set supported by the application side; receiving a window layout template set sent by the WMS, and displaying the window layout template set, wherein the display content includes a label or thumbnail of the window layout template, wherein the window layout template set includes one or more window layout templates; In response to a window layout template selection operation input by a user, a window layout template selection instruction is sent to the WMS, where the window layout template selection instruction includes identification information of a window layout template selected by the user from the displayed window layout template set; the window layout template selected by the user includes activity_A and activity_B, activity_A is a primary view window, activity_B is an auxiliary view window, an area of ​​the primary view window is larger than an area of ​​the auxiliary view window; and / or the primary view window is closer to a center position of the display interface than the auxiliary view window; receiving the window layout coordinates of the activity_A and the activity_B corresponding to the window layout template selected by the user and sent by the WMS; Determine the position of the window in the display interface according to the window layout coordinates of the activity_A and the activity_B; In response to a location exchange operation input by a user, sending a location exchange instruction to the WMS, wherein the location exchange instruction includes identification information of the activity_A and the activity_B; Receive the updated window layout coordinates of the activity_A and the activity_B sent by the WMS, where the updated window layout coordinates of the activity_A are the original window layout coordinates of the activity_B, and the updated window layout coordinates of the activity_B are the original window layout coordinates of the activity_A; Determine the update positions of activity_A and activity_B according to the update window layout coordinates of activity_A and activity_B; Update the presentation service in the activity_A and / or the activity_B.

2. The method according to claim 1, characterized in that The application side is a navigation application, the activity_A is used to display the navigation scene, and the activity_B is used to display the alternative route scene; The updating of the display service in the activity_A and / or the activity_B includes: in the activity_A, switching the navigation scene to an alternative route scene; And / or, in activity_B, the alternative route scene is switched to a navigation scene.

3. The method according to claim 1, characterized in that The application side is a shopping application, the activity_A is used to display the current product, and the activity_B is used to display the recommended matching products corresponding to the current product; The updating of the display service in the activity_A and / or the activity_B includes: displaying a matching effect diagram of the current product and the matching suggested product in the activity_A and / or the activity_B.

4. The method according to claim 1, wherein The application side is an online education application, activity_A is used to display teaching videos, and activity_B is used to display a class note input area.

5. The method according to claim 1, wherein The application side is a chat application, the activity_A is used to display the video of the other end, and the activity_B is used to display the video of the local end.

6. A terminal window display method, applied to the WMS on the system side of the terminal, characterized in that: include: receiving a window layout template request instruction sent by the application side after startup, wherein the window layout template request instruction is used to instruct the application side to feed back a set of window layout templates supported by the application side; Sending the window layout template set to the application side, where the window layout template set is used for display on the application side, and the display content includes the label or thumbnail of the window layout template, and the window layout template set includes one or more window layout templates; receiving a window layout template selection instruction sent by the application side, the window layout template selection instruction including identification information of a window layout template selected by the user; the window layout template selected by the user includes activity_A and activity_B, activity_A is a primary view window, activity_B is an auxiliary view window, the area of ​​the primary view window is larger than the area of ​​the auxiliary view window; and / or the primary view window is closer to the center of the display interface than the auxiliary view window; determining, according to identification information of a window layout template selected by the user from the displayed window layout template set, window layout coordinates of the activity_A and the activity_B corresponding to the window layout template selected by the user; Sending the window layout coordinates of the activity_A and the activity_B corresponding to the window layout template selected by the user to the application side; Receive a location exchange instruction sent by the application side, where the location exchange instruction includes identification information of activity_A and activity_B; Send the updated window layout coordinates of the activity_A and activity_B to the application side, where the updated window layout coordinates of the activity_A are the original window layout coordinates of the activity_B, and the updated window layout coordinates of the activity_B are the original window layout coordinates of the activity_A.

7. A terminal, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the terminal device, cause the terminal device to execute the method described in any one of claims 1 to 5.

8. A terminal, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the terminal device, cause the terminal device to perform the method of claim 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to claim 6.

Citation Information

Patent Citations

  • User terminal apparatus and controlling method thereof

    CN104603733A

  • Operation interface display control method and apparatus

    CN106126055A

  • Interface layout method based on IVI system, display method, device and equipment

    CN110262799A

  • Video live broadcast method, device and equipment and storage medium

    CN110418149A