CN117616373A - Window adjusting method, device, terminal and storage medium - Google Patents

Window adjusting method, device, terminal and storage medium Download PDF

Info

Publication number
CN117616373A
CN117616373A CN202280004406.XA CN202280004406A CN117616373A CN 117616373 A CN117616373 A CN 117616373A CN 202280004406 A CN202280004406 A CN 202280004406A CN 117616373 A CN117616373 A CN 117616373A
Authority
CN
China
Prior art keywords
split
window
screen
touch operation
preset
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202280004406.XA
Other languages
Chinese (zh)
Inventor
付凯鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Publication of CN117616373A publication Critical patent/CN117616373A/en
Pending legal-status Critical Current

Links

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

Landscapes

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

Abstract

A window adjusting method, a device, a terminal and a storage medium, wherein the window adjusting method comprises the following steps: displaying two split-screen windows on a display screen of the terminal; wherein, the two split screen windows are in one-to-one correspondence with the two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped (S110); receiving a touch operation acting on at least any one of the two split-screen windows (S120); when the touch operation accords with the preset rule, determining a window size parameter according to the touch operation (S130); and transmitting the window size parameters to the corresponding movable interfaces of the two split-screen windows, and adjusting the sizes of the two split-screen windows (S140). When the terminal respectively displays two pages of the same preset application through the two split-screen windows, a user can adjust the sizes of the two split-screen windows through touch operation conforming to preset rules, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.

Description

Window adjusting method, device, terminal and storage medium Technical Field
The disclosure relates to the field of terminals, and in particular relates to a window adjustment method, a device, a terminal and a storage medium.
Background
Along with the continuous development and progress of communication technology, the requirements of users on the terminal are higher and higher, the existing terminal mostly realizes a split screen function, and the split screen aims to divide a display screen of the terminal into two split screen windows, and each split screen window corresponds to one active interface and is used for displaying the active interface.
In the related art, in order to make the use experience of the large-screen device better, the advantage of the large screen of the large-screen device can be better exerted, on a tablet and a folding-screen mobile phone, two active interfaces (activities) of a plurality of devices supporting a single application in a horizontal screen state can realize split-screen display, for example, the tablet can support two interfaces of a certain application to be displayed on the screen simultaneously in the horizontal screen state, that is, different active interfaces of the single application are respectively displayed by different split-screen windows. However, the size of each split screen window is fixed currently, the size of the split screen window cannot be adjusted, a user cannot adjust to enlarge one of a plurality of pages expected to be displayed by the user so as to display more contents, and the user experience is poor.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a window adjustment method, device, terminal and storage medium.
According to a first aspect of an embodiment of the present disclosure, a window adjustment method is provided and applied to a terminal, where the window adjustment method includes:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving touch operation acting on at least any one of the two split-screen windows;
when the touch operation accords with a preset rule, determining a window size parameter according to the touch operation;
and transmitting the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
Optionally, the preset rule includes at least one of the following:
a first rule that presses on the first split window and slides a first distance interval toward the second split window;
a second rule for pressing on the first split-screen window and simultaneously acting on the second split-screen window to slide a second distance interval;
the first split-screen window is any one of the two split-screen windows, and the second split-screen window is the other split-screen window of the two split-screen windows.
Optionally, when the touch operation meets a preset rule, determining, according to the touch operation, a window size parameter includes:
when the touch operation accords with the first rule, setting the width of the first split screen window to be a corresponding first preset width according to the first distance interval, and obtaining a second preset width of the second split screen window according to the first preset width.
Optionally, when the touch operation meets a preset rule, determining, according to the touch operation, a window size parameter includes:
and when the touch operation accords with the second rule, setting the width of the second split screen window to be a corresponding third preset width according to the second distance interval, and obtaining a fourth preset width of the first split screen window according to the third preset width.
Optionally, the content displayed by the second split screen window is a previous or next page of the content displayed by the first split screen window.
Optionally, before the display screen of the terminal displays two split-screen windows, the window adjustment method further includes:
and receiving a split screen operation instruction.
According to a second aspect of embodiments of the present disclosure, there is provided a window adjusting apparatus applied to a terminal, wherein the window adjusting apparatus includes:
the display module is configured to display two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
the receiving module is configured to receive touch operation on at least any one of the two split-screen windows;
the determining module is configured to determine a window size parameter according to the touch operation when the touch operation accords with a preset rule;
the adjusting module is configured to transmit the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
Optionally, the preset rule includes at least one of the following:
a first rule that presses on the first split window and slides a first distance interval toward the second split window;
a second rule for pressing on the first split-screen window and simultaneously acting on the second split-screen window to slide a second distance interval;
the first split-screen window is any one of the two split-screen windows, and the second split-screen window is the other split-screen window of the two split-screen windows.
Optionally, the determining module is configured to:
when the touch operation accords with the first rule, setting the width of the first split screen window to be a corresponding first preset width according to the first distance interval, and obtaining a second preset width of the second split screen window according to the first preset width.
Optionally, the determining module is configured to:
and when the touch operation accords with the second rule, setting the width of the second split screen window to be a corresponding third preset width according to the second distance interval, and obtaining a fourth preset width of the first split screen window according to the third preset width.
Optionally, the content displayed by the second split screen window is a previous or next page of the content displayed by the first split screen window.
Optionally, the receiving module is configured to:
and before the display screen of the terminal displays two split-screen windows, receiving a split-screen operation instruction.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving touch operation acting on at least any one of the two split-screen windows;
when the touch operation accords with a preset rule, determining a window size parameter according to the touch operation;
and transmitting the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, which when executed by a processor of a terminal, causes the terminal to perform a window adjustment method comprising:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving touch operation acting on at least any one of the two split-screen windows;
when the touch operation accords with a preset rule, determining a window size parameter according to the touch operation;
and transmitting the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: in the method, when the terminal respectively displays two pages of the same preset application through the two split-screen windows, the user can adjust the sizes of the two split-screen windows through touch operation conforming to the preset rule, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a window adjustment method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a window adjustment method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a window adjustment method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a window adjustment apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
In one exemplary embodiment, a window adjustment method is provided and is applied to a terminal. Referring to fig. 1, the window adjusting method may include the following steps.
Step S110, two split-screen windows are displayed on a display screen of a terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
step S120, receiving touch operation on at least any one of the two split-screen windows;
step S130, when the touch operation accords with a preset rule, determining window size parameters according to the touch operation;
and step 140, transmitting the window size parameters to the corresponding movable interfaces of the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
In step S110, the active interface is a component of the android system, which is used to load pages of an application program, and is used to implement page management.
The preset application generally refers to an application installed in the terminal and having a split screen display function, that is, different pages of the preset application may be loaded by different active interfaces and displayed by different split screen windows respectively. The preset application may be installed before the terminal leaves the factory, or may be installed after the terminal leaves the factory, which is not limited. In addition, after the installation of the preset application is completed, the user may perform operations such as uninstalling and updating, which is not limited.
Any one of the two split-screen windows can be recorded as a first split-screen window. The other one of the two split-screen windows, except the first split-screen window, can be recorded as a second split-screen window. Note that, the content displayed in the second split-screen window may be a page of a previous stage or a next stage of the content displayed in the first split-screen window, which is not limited.
For example, when a user opens a two-level page using a preset application, a first level page may be loaded by a first active interface and a second level page may be loaded by a second active interface. The first active interface corresponds to a first split-screen main window, and the second active interface corresponds to a second split-screen window, namely, the first split-screen window displays a first-level page, and the second split-screen window displays a second-level page. Therefore, the two-stage pages of the same preset application are displayed on one display screen, and the user requirements are better met.
It should be noted that, in the present disclosure, before the display screen of the terminal displays two split-screen windows, the terminal may receive a split-screen operation instruction. After receiving the split screen operation instruction, the terminal can display two split screen windows on a display screen of the terminal based on the split screen operation instruction.
For example, when the terminal uses a preset application in a horizontal screen state, if the preset application is an application with support for split screen display, when a user can click any link on a single window, the terminal can receive the click type touch operation, so that the terminal can receive a split screen operation instruction, and can start the split screen operation on the right side of the single window to change into a split screen display state. That is, the first split-screen window on the left side continues to display the original page, and the second split-screen window on the right side displays the newly opened page, so as to provide convenience for the user.
In step S120, the user may input a touch operation to the terminal through the display screen of the touch terminal, so that the terminal receives the touch operation. The touch operation may act on a first split-screen window of the two split-screen windows, may also act on a second split-screen window of the two split-screen windows, and may also act on both the first split-screen window and the second split-screen window, which is not limited.
In step S130, the terminal may set a preset rule in advance, and if the touch operation received by the terminal meets the preset rule, it may be determined that the window size parameter is determined according to the touch operation.
Wherein the preset rules may include at least one of the following:
the first rule is that a first preset distance is pressed on the first split screen window and slides towards the second split screen window;
and a second rule for pressing on the first split-screen window and simultaneously acting on the second split-screen window to slide a second preset distance.
In the first rule, the press may be a long press, i.e. the first rule needs to ensure that the duration of the press on the first split-screen window is within the first time interval. The first time interval may be a duration range, which may be set according to practical situations, and specific values thereof are not limited. The first time interval may be set before the terminal leaves the factory, or may be set after the terminal leaves the factory, which is not limited. In addition, after the first time interval is set, the first time interval can be modified later so as to better meet different requirements of users.
The first distance interval may be a distance range, and the setting manner of the first distance interval may refer to the setting manner of the preset time interval, which is not described herein.
In the second rule, the press may be a long press, i.e. the second rule needs to ensure that the duration of the press on the first split-screen window is within the second time interval. The second time interval may be the same as or different from the first time interval, which is not limited. The second time interval may be set in a manner referred to the first time interval, which is not described in detail.
The second distance interval may be the same as or different from the first distance interval. In addition, the second distance interval may be set in reference to the first distance interval, which will not be described herein.
It should be noted that the preset rule may include the first rule or the second rule, or may include both the first rule and the second rule, which is not limited. In addition, the preset rules may include other rules besides the above-mentioned rules, and may also include other rules according to actual situations, which are not limited.
In the step, after the terminal receives the touch operation conforming to the preset rule, the window adjusting parameters can be determined according to the touch operation, so that the sizes of the two split-screen windows are adjusted based on the window adjusting parameters.
In step S140, the active interface is used to manage the corresponding split screen window. After the terminal determines the window adjustment parameters, the window adjustment parameters can be transmitted to the active interfaces corresponding to the two split-screen windows respectively. That is, the terminal may send the window adjustment parameter of the first split-screen window to the first active interface corresponding to the first split-screen window, so as to implement adjustment of the size of the first split-screen window. The terminal can send the window adjustment parameters of the second split screen window to a second active interface corresponding to the second split screen window so as to adjust the size of the second split screen window.
In the method, when the terminal respectively displays two pages of the same preset application through the two split-screen windows, a user can adjust the sizes of the two split-screen windows through touch operation conforming to preset rules, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.
In one exemplary embodiment, a window adjustment method is provided and is applied to a terminal. Referring to fig. 2, in the method, when the touch operation meets a preset rule, determining a window size parameter according to the touch operation may include:
step S210, when the touch operation accords with the first rule, setting the width of the first split screen window as a corresponding first preset width according to the first preset distance, and obtaining a second preset width of the second split screen window according to the first preset width.
If the touch operation includes a pressing operation on the first split-screen window and a sliding operation towards the second split-screen window, and the duration of the pressing operation is within the first time interval and the distance of the sliding operation is within the first distance interval, the touch operation is considered to be a touch operation conforming to the first rule, that is, the touch operation is considered to conform to the first rule.
In this step, when it is determined that the touch operation meets the first rule, window size parameters of the two split screen windows may be adjusted based on the first distance interval.
The terminal can be provided with a plurality of first distance intervals, and each first distance interval corresponds to a first preset width. When the sliding distance in the touch operation is in the first distance range, the width of the first split screen window can be set to be a corresponding first preset width, and meanwhile, the width of the second split screen window can be adjusted adaptively.
It should be noted that, the setting manner of the first preset width may refer to the first distance interval, which is not described herein.
In some embodiments of the present invention, in some embodiments,
the width of the display area of the display screen is a, the terminal can set a first time interval M and first distance intervals N1, N2 and N3, wherein the first preset width corresponding to N1 can be 0.5a, and the corresponding second preset width can be 0.5a; the first preset width corresponding to N2 may be 0.6a, and the corresponding second preset width may be 0.4a; the first preset width corresponding to N3 may be 0.8a, and the corresponding second preset width may be 0.2a. Wherein the maximum value of N1 may be less than the minimum value of N2, and the maximum value of N2 may be less than the maximum value of N3.
In this embodiment, the width of the current first split window of the terminal may be 0.6a, and the width of the second split window may be 0.4a.
In this embodiment, the terminal receives the touch operation conforming to the first rule may be classified into the following three cases:
in case 1, if the terminal receives the pressing operation on the first split screen window and the sliding operation towards the second split screen window, and the duration of the pressing operation is in M, and the distance of the sliding operation is in N1, the terminal can be considered to receive the touch operation conforming to the first rule, and the width of the first split screen window can be set to be 0.5a of the first preset width, and the width of the second split screen window is set to be 0.5a. And then adjusting the sizes of the first split screen window and the second split screen window based on the first preset width 0.5a and the second preset width 0.5a. That is, the width of the first split window is adjusted to be small, and the width of the second split window is adjusted to be large.
In case 2, if the terminal receives the pressing operation on the first split screen window and the sliding operation towards the second split screen window, and the duration of the pressing operation is in M, and the distance of the sliding operation is in N,2, the terminal can be considered to receive the touch operation conforming to the first rule, and the width of the first split screen window can be set to be 0.6a, and the width of the second split screen window is set to be 0.4a. And then adjusting the sizes of the first split screen window and the second split screen window based on the first preset width 0.6a and the second preset width 0.4a. That is, the size of the two split windows is unchanged.
In case 3, if the terminal receives the pressing operation on the first split screen window and the sliding operation towards the second split screen window, and the duration of the pressing operation is in M, and the distance of the sliding operation is in N3, the terminal can be considered to receive the touch operation conforming to the first rule, and the width of the first split screen window can be set to be 0.8a, and the width of the second split screen window can be set to be 0.2a. And then adjusting the sizes of the first split screen window and the second split screen window based on the first preset width 0.8a and the second preset width 0.2a. That is, the width of the first split window is adjusted to be large and the width of the second split window is adjusted to be small.
It should be noted that, when the first preset width is 0, the second preset width may be the same as the width of the display area of the display screen, and in this case, the second split screen window may be adjusted to be displayed in full screen. I.e. the display screen displays a window.
According to the method, the terminal can adjust the sizes of the first split screen window and the second split screen window through touch operation conforming to the first rule, the operation is simple, convenience is further provided for a user, different requirements of the user are met, and the use experience of the user is further improved.
In one exemplary embodiment, a window adjustment method is provided and is applied to a terminal. Referring to fig. 3, in the method, when the touch operation meets a preset rule, determining a window size parameter according to the touch operation may include:
step S310, when the touch operation accords with the second rule, setting the width of the second split screen window as a corresponding third preset width according to the second distance interval, and obtaining a fourth preset width of the first split screen window according to the third preset width.
If the touch operation includes a pressing operation on the first split-screen window and a sliding operation simultaneously acting on the second split-screen window, and the duration of the pressing operation is within the second time interval and the distance of the sliding operation is within the second distance interval, the touch operation is considered to be a touch operation conforming to the second rule, that is, the touch operation is considered to conform to the second rule.
In this step, when it is determined that the touch operation meets the second rule, window size parameters of the two split screen windows may be adjusted based on the second distance interval.
The terminal can be provided with a plurality of second distance intervals, and each second distance interval corresponds to a third preset width. When the sliding distance in the touch operation is in the second distance range, the width of the second split screen window can be set to be a corresponding third preset width, and meanwhile, the width of the first split screen window can be adjusted adaptively.
It should be noted that, the second distance interval and the third preset width may be set in a manner that refers to the first distance interval, which is not described herein.
In some embodiments of the present invention, in some embodiments,
the width of the display area of the display screen is a, the terminal can set a first time interval Y and first distance intervals W1, W2 and W3, wherein the third preset width corresponding to W1 can be 0.5a, and the corresponding fourth preset width can be 0.5a; the third preset width corresponding to W2 may be 0.6a, and the corresponding fourth preset width may be 0.4a; the third preset width corresponding to W3 may be 0.8a, and the corresponding fourth preset width may be 0.2a. Wherein the maximum value of W1 may be smaller than the minimum value of W2, and the maximum value of W2 may be smaller than the maximum value of N3.
In this embodiment, the width of the current first split window of the terminal may be 0.4a, and the width of the second split window may be 0.6a.
In this embodiment, the terminal receives the touch operation conforming to the second rule may be classified into the following three cases:
in case 1, if the terminal receives the pressing operation on the first split screen window and the sliding operation simultaneously acting on the second split screen window, and the duration of the pressing operation is within Y and the distance of the sliding operation is within W1, the terminal can be considered to receive the touch operation conforming to the second rule, and the width of the second split screen window can be set to be 0.5a, and the width of the first split screen window is set to be 0.5a. And then adjusting the sizes of the first split screen window and the second split screen window based on the third preset width 0.5a and the fourth preset width 0.5a. That is, the width of the first split window is adjusted to be small, and the width of the second split window is adjusted to be large.
In case 2, if the terminal receives the pressing operation on the first split screen window and the sliding operation simultaneously acting on the second split screen window, and the duration of the pressing operation is within Y and the distance of the sliding operation is within W2, the terminal can be considered to receive the touch operation conforming to the second rule, and the width of the second split screen window can be set to be 0.6a, and the width of the first split screen window is set to be 0.4a. And then adjusting the sizes of the first split screen window and the second split screen window based on the third preset width 0.6a and the fourth preset width 0.4a. That is, the size of the two split windows is unchanged.
In case 3, if the terminal receives the pressing operation on the first split screen window and the sliding operation simultaneously acting on the second split screen window, and the duration of the pressing operation is within Y and the distance of the sliding operation is within W3, the terminal can be considered to receive the touch operation conforming to the second rule, and the width of the second split screen window can be set to be 0.8a, and the width of the first split screen window is set to be 0.2a. And then adjusting the sizes of the first split screen window and the second split screen window based on the third preset width 0.8a and the fourth preset width 0.2a. That is, the width of the first split window is adjusted to be large and the width of the second split window is adjusted to be small.
It should be noted that, when the third preset width is 0, the fourth preset width may be the same as the width of the display area of the display screen, and in this case, the first split-screen window may be adjusted to be displayed in full screen. I.e. the display screen displays a window.
According to the method, the terminal can adjust the sizes of the first split screen window and the second split screen window through touch operation conforming to the first rule, the operation is simple, convenience is further provided for a user, different requirements of the user are met, and the use experience of the user is further improved.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. The window adjusting device is used for implementing the window adjusting method. For example, referring to fig. 4, the window adjusting apparatus may include a display module 101, a receiving module 102, a determining module 103, and an adjusting module 104.
The display module 101 is configured to display two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
the receiving module 102 is configured to receive a touch operation acting on at least any one of the two split-screen windows;
the determining module 103 is configured to determine a window size parameter according to the touch operation when the touch operation accords with a preset rule;
the adjustment module 104 is configured to transmit the window size parameter to the active interfaces corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. In the device, a preset rule comprises at least one of the following:
a first rule that presses on the first split window and slides a first distance interval toward the second split window;
a second rule for pressing on the first split window and simultaneously acting on the second split window to slide a second distance interval;
the first split-screen window is any one of two split-screen windows, and the second split-screen window is the other split-screen window of the two split-screen windows.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the determining module 103 is configured to:
when the touch operation accords with the first rule, setting the width of the first split screen window to be a corresponding first preset width according to the first distance interval, and obtaining a second preset width of the second split screen window according to the first preset width.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the determining module 103 is configured to:
and when the touch operation accords with the second rule, setting the width of the second split screen window as a corresponding third preset width according to the second distance interval, and obtaining a fourth preset width of the first split screen window according to the third preset width.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. In the device, the content displayed by the second split screen window is the page of the previous stage or the next stage of the content displayed by the first split screen window.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the receiving module 102 is configured to:
and before the display screen of the terminal displays the two split-screen windows, receiving a split-screen operation instruction.
In one exemplary embodiment, a terminal is provided. The terminal may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 5, terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 800.
The multimedia component 808 includes a screen between the terminal 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the terminal 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the terminal 800, a change in position of the terminal 800 or a component of the terminal 800, the presence or absence of user contact with the terminal 800, an orientation or acceleration/deceleration of the terminal 800, and a change in temperature of the terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the terminal 800 and other devices, either wired or wireless. The terminal 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 800 can be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of terminal 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In one exemplary embodiment, a non-transitory computer readable storage medium is provided, which when executed by a processor of a terminal, enables the terminal to perform a window adjustment method. The window adjusting method may include:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving touch operation on at least any one of the two split screen windows;
when the touch operation accords with a preset rule, determining window size parameters according to the touch operation;
and transmitting the window size parameters to the corresponding movable interfaces of the two split-screen windows, and adjusting the sizes of the two split-screen windows.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Industrial applicability
In this context, when the terminal displays two pages of the same preset application through two split-screen windows respectively, the user can adjust the sizes of the two split-screen windows through touch operation conforming to a preset rule, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.

Claims (14)

  1. The window adjusting method is applied to the terminal, and comprises the following steps:
    displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    receiving touch operation acting on at least any one of the two split-screen windows;
    when the touch operation accords with a preset rule, determining a window size parameter according to the touch operation;
    and transmitting the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
  2. The window adjustment method of claim 1, wherein the preset rule comprises at least one of:
    a first rule that presses on the first split window and slides a first distance interval toward the second split window;
    a second rule for pressing on the first split-screen window and simultaneously acting on the second split-screen window to slide a second distance interval;
    the first split-screen window is any one of the two split-screen windows, and the second split-screen window is the other split-screen window of the two split-screen windows.
  3. The window adjustment method according to claim 2, wherein when the touch operation meets a preset rule, determining a window size parameter according to the touch operation includes:
    when the touch operation accords with the first rule, setting the width of the first split screen window to be a corresponding first preset width according to the first distance interval, and obtaining a second preset width of the second split screen window according to the first preset width.
  4. The window adjustment method according to claim 2, wherein when the touch operation meets a preset rule, determining a window size parameter according to the touch operation includes:
    and when the touch operation accords with the second rule, setting the width of the second split screen window to be a corresponding third preset width according to the second distance interval, and obtaining a fourth preset width of the first split screen window according to the third preset width.
  5. The window adjustment method according to any one of claims 2 to 4, wherein the content displayed by the second split-screen window is a previous or next page of the content displayed by the first split-screen window.
  6. The window adjustment method according to any one of claims 1 to 4, wherein the window adjustment method further comprises, before the display screen of the terminal displays two split-screen windows:
    and receiving a split screen operation instruction.
  7. A window adjustment device applied to a terminal, wherein the window adjustment device comprises:
    the display module is configured to display two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    the receiving module is configured to receive touch operation on at least any one of the two split-screen windows;
    the determining module is configured to determine a window size parameter according to the touch operation when the touch operation accords with a preset rule;
    the adjusting module is configured to transmit the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
  8. The window adjustment apparatus of claim 7, wherein the preset rule comprises at least one of:
    a first rule that presses on the first split window and slides a first distance interval toward the second split window;
    a second rule for pressing on the first split-screen window and simultaneously acting on the second split-screen window to slide a second distance interval;
    the first split-screen window is any one of the two split-screen windows, and the second split-screen window is the other split-screen window of the two split-screen windows.
  9. The window adjustment apparatus of claim 8, wherein the determination module is configured to:
    when the touch operation accords with the first rule, setting the width of the first split screen window to be a corresponding first preset width according to the first distance interval, and obtaining a second preset width of the second split screen window according to the first preset width.
  10. The window adjustment apparatus of claim 8, wherein the determination module is configured to:
    and when the touch operation accords with the second rule, setting the width of the second split screen window to be a corresponding third preset width according to the second distance interval, and obtaining a fourth preset width of the first split screen window according to the third preset width.
  11. The window adjustment apparatus according to any one of claims 8 to 10, wherein the content displayed by the second split-screen window is a previous or next page of the content displayed by the first split-screen window.
  12. The window adjustment device of any of claims 7-10, wherein the receiving module is configured to:
    and before the display screen of the terminal displays two split-screen windows, receiving a split-screen operation instruction.
  13. A terminal, comprising:
    a processor;
    a memory for storing the processor-executable instructions;
    wherein the processor is configured to:
    displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    receiving touch operation acting on at least any one of the two split-screen windows;
    when the touch operation accords with a preset rule, determining a window size parameter according to the touch operation;
    and transmitting the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
  14. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform a window adjustment method comprising:
    displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    receiving touch operation acting on at least any one of the two split-screen windows;
    when the touch operation accords with a preset rule, determining a window size parameter according to the touch operation;
    and transmitting the window size parameters to the movable interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
CN202280004406.XA 2022-06-20 2022-06-20 Window adjusting method, device, terminal and storage medium Pending CN117616373A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/099686 WO2023245311A1 (en) 2022-06-20 2022-06-20 Window adjustment method, apparatus, terminal, and storage medium

Publications (1)

Publication Number Publication Date
CN117616373A true CN117616373A (en) 2024-02-27

Family

ID=89378893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202280004406.XA Pending CN117616373A (en) 2022-06-20 2022-06-20 Window adjusting method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN117616373A (en)
WO (1) WO2023245311A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130054074A (en) * 2011-11-16 2013-05-24 삼성전자주식회사 Apparatus displaying event view on splited screen and method for controlling thereof
CN107102806A (en) * 2017-01-25 2017-08-29 维沃移动通信有限公司 A kind of split screen input method and mobile terminal
CN110442293A (en) * 2019-08-02 2019-11-12 Oppo广东移动通信有限公司 Split screen application switching method, device and computer readable storage medium
CN110865744B (en) * 2019-09-30 2021-12-14 华为技术有限公司 Split-screen display method and electronic equipment
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment

Also Published As

Publication number Publication date
WO2023245311A1 (en) 2023-12-28

Similar Documents

Publication Publication Date Title
CN106126025B (en) Interactive method and device for copying and pasting
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN106354504B (en) Message display method and device
CN111866571B (en) Method and device for editing content on smart television and storage medium
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
CN107656694B (en) Display control method and device of user interface
CN106919302B (en) Operation control method and device of mobile terminal
CN111601377B (en) Temperature control method, device and storage medium
CN107179837B (en) Input method and device
CN113556614A (en) Information issuing method and device and electronic equipment
CN111273979B (en) Information processing method, device and storage medium
CN116954540A (en) Application program display method and device and terminal
CN107832112B (en) Wallpaper setting method and device
CN113259995B (en) Information processing method, device and storage medium
CN112954596B (en) Data sharing method, device, equipment and storage medium
CN111667827B (en) Voice control method and device for application program and storage medium
EP3185515A1 (en) Method and device for inputting information
CN109981729B (en) File processing method and device, electronic equipment and computer readable storage medium
CN117616373A (en) Window adjusting method, device, terminal and storage medium
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN117616393A (en) Window adjusting method, device, terminal and storage medium
CN111107624B (en) Negative one-screen synchronization method, negative one-screen synchronization device and electronic equipment
US20220291890A1 (en) Method for interaction between devices and medium
CN109710146B (en) Document display method and device
CN118349198A (en) Screen parameter adjusting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination