CN108920070B - Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal - Google Patents

Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal Download PDF

Info

Publication number
CN108920070B
CN108920070B CN201810641980.1A CN201810641980A CN108920070B CN 108920070 B CN108920070 B CN 108920070B CN 201810641980 A CN201810641980 A CN 201810641980A CN 108920070 B CN108920070 B CN 108920070B
Authority
CN
China
Prior art keywords
screen
gesture
special
display
dividing
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.)
Active
Application number
CN201810641980.1A
Other languages
Chinese (zh)
Other versions
CN108920070A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810641980.1A priority Critical patent/CN108920070B/en
Publication of CN108920070A publication Critical patent/CN108920070A/en
Application granted granted Critical
Publication of CN108920070B publication Critical patent/CN108920070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

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

The embodiment of the application discloses a screen splitting method and device based on a special-shaped display screen, a storage medium and a mobile terminal. The method comprises the following steps: acquiring a touch gesture of a user on the special-shaped display screen; when the touch gesture is a sliding touch gesture starting from the gap area of the special-shaped display screen, a screen splitting instruction is generated; and dividing the current display page into at least two display areas according to the screen splitting instruction. By adopting the technical scheme, based on the characteristics of the special-shaped display screen, the split screen touch control gesture which is simple and easy to operate is set according to the notch area position of the special-shaped display screen, the problem that the touch control gesture is more and more complex when the terminal function is more is avoided, and the split screen operation is simply and quickly realized on the premise that the existing interaction logic is not influenced.

Description

Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
Technical Field
The embodiment of the application relates to the technical field of mobile terminals, in particular to a screen splitting method and device based on a special-shaped display screen, a storage medium and a mobile terminal.
Background
With the continuous development of mobile terminals, mobile terminals such as smart phones, smart watches, and tablet computers are widely recognized and applied by users.
The mobile terminal has more and more abundant functions and provides convenience for users. In order to facilitate the user to use various functions in the mobile terminal, the manufacturer sets a relatively simple operation gesture for each function, and the user can open the corresponding application or achieve the corresponding function through the set gesture. However, as the applications and functions of the mobile terminal are more and more, the simple operation gesture is occupied, the newly added gesture is more and more complex, and the operation complexity of the user is increased. For example, for the split screen function of a mobile terminal page, the current operation gesture may be, for example, a three-finger sliding operation, and the like, the number of fingers for the operation is limited, and when a user cannot perform a two-hand operation, the split screen function cannot be quickly and simply realized, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a screen splitting method and device based on a special-shaped display screen, a storage medium and a mobile terminal.
In a first aspect, an embodiment of the present application provides a screen splitting method based on a special-shaped display screen, including:
acquiring a touch gesture of a user on the special-shaped display screen;
when the touch gesture is a sliding touch gesture starting from the gap area of the special-shaped display screen, a screen splitting instruction is generated;
and dividing the current display page into at least two display areas according to the screen splitting instruction.
In a second aspect, an embodiment of the present application provides a split screen device based on a special-shaped display screen, including:
the touch gesture acquisition module is used for acquiring a touch gesture of a user on the special-shaped display screen;
the screen splitting instruction generating module is used for generating a screen splitting instruction when the touch gesture is a sliding touch gesture starting from the notch area of the special-shaped display screen;
and the display area dividing module is used for dividing the current display page into at least two display areas according to the screen dividing instruction.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a screen splitting method based on a special-shaped display screen according to the present application.
In a fourth aspect, an embodiment of the present application provides a mobile terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the screen splitting method based on the special-shaped display screen according to the embodiment of the present application.
The screen splitting method based on the special-shaped display screen provided by the embodiment of the application. The method comprises the steps of obtaining a touch gesture of a user on a special-shaped display screen, generating a screen splitting instruction when the touch gesture is a sliding touch gesture starting from a gap area of the special-shaped display screen, and dividing a current display page into at least two display areas according to the screen splitting instruction. By adopting the above scheme, based on the characteristic of special-shaped display screen, the split screen touch gesture which is simple and easy to operate is set according to the notch region position of the special-shaped display screen, so that the problem that the touch gesture is more and more complex when the terminal function is more is avoided, and the split screen operation is simply and quickly realized on the premise that the existing interaction logic is not influenced.
Drawings
Fig. 1 is a schematic flowchart of a screen splitting method based on a special-shaped display screen according to an embodiment of the present application;
fig. 2 is a schematic view of a split screen provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of another screen splitting method based on a special-shaped display screen according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another screen splitting method based on a special-shaped display screen according to an embodiment of the present application;
FIG. 5 is a schematic view of another split screen provided in an embodiment of the present application;
fig. 6a is a schematic flowchart of another screen splitting method based on a special-shaped display screen according to an embodiment of the present application;
FIG. 6b is a schematic view of another split screen provided in the embodiments of the present application;
FIG. 6c is a schematic view of another split screen provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of a screen splitting device based on a special-shaped display screen according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a screen splitting method based on an irregular display screen according to an embodiment of the present application, where the method may be performed by a screen splitting device based on an irregular display screen, where the device may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, acquiring a touch gesture of a user on the special-shaped display screen.
For example, the mobile terminal in the embodiment of the present application may include smart devices such as a mobile phone and a tablet computer.
In this embodiment, the terminal is a terminal provided with a special-shaped display screen, wherein a notch region is provided at an edge position of the special-shaped display screen, and a shape of the notch region may be, for example, a semicircle, an arc, a rectangle, a polygon, or a polygon with a radian, and the like. The gap area can be provided with a front camera and a receiver, the gap area can be integrated with a touch screen, and the gap area can collect touch gestures input by a user through the touch screen.
The special-shaped display screen is a touch display screen, and can acquire touch operation of a user on the special-shaped display screen, for example, a touch gesture is a single click, a double click, a single-finger sliding screen, a double-finger sliding screen, a three-finger sliding screen and the like, wherein a sliding track in the sliding screen gesture can be a straight line, a curve, a number, a character graph or the like. For example, the obtained touch gesture may include characteristic information of a start position, an end position, a touch trajectory, and a pause position and a pause time in the touch trajectory of the touch gesture, and a name, a type, or a corresponding function of the touch gesture may be determined through one or more of the above characteristic information in the touch gesture.
And 102, generating a screen splitting instruction when the touch gesture is a sliding touch gesture starting from the notch area of the special-shaped display screen.
Illustratively, the touch gestures input by the user are acquired in real time, and gesture matching is performed on the acquired touch gestures to determine names, types or functions corresponding to the touch gestures input by the user. The terminal is preset with a touch gesture database, and the touch gesture database may include preset standard touch gestures or characteristic information of each standard gesture. The obtained touch gestures can be matched one by one in a touch gesture database to determine the name, type or function corresponding to the touch gesture. For example, the matching of the touch gestures may be to determine the type of the touch gestures, and match the touch gestures in the determined type of the touch gestures, so as to simplify the matching operation of the touch gestures and improve the matching efficiency. For example, the types of the touch gesture may include a click type and a slide type, or may include a black screen operation type and a bright screen operation type, where the black screen operation type may be the touch gesture acquired in the terminal black screen condition, and the bright screen operation type may be the touch gesture acquired in the terminal bright screen condition. Optionally, the type of the touch gesture may also be a black screen click type, a black screen sliding type, a bright screen click type, and a bright screen sliding type. Illustratively, the black screen click type is a click operation performed under a terminal black screen condition, for example, a double-click unlocking gesture input when the terminal is in a black screen condition; the black screen sliding type is a sliding operation performed under the terminal black screen condition, such as a 'V' -shaped sliding gesture input when the terminal is in the black screen; the screen-up click type is a click operation performed under the screen-up condition of the terminal, for example, a double-click screen-locking gesture input when the terminal is screen-up; the bright screen sliding type is a sliding operation performed under a terminal bright screen condition, for example, a three-finger sliding screen capture gesture input when the terminal is bright.
Through the matching of the touch gestures, if the touch gestures input by the user meet the following conditions, the touch gestures are determined to be split-screen touch gestures: the initial position of the touch gesture is a special-shaped display screen gap area, and the touch type is a sliding type. The special-shaped display screen has the characteristic that the special-shaped display screen is obviously different from a conventional display screen, for example, a notch area is arranged on the boundary of the display screen, the position of the notch area is fixed, the special-shaped display screen can be integrated with a touch screen, a touch gesture input by a user in the notch area can be acquired, characteristic points are added to the terminal display screen, and a new touch gesture can be conveniently set based on the notch area, for example, the initial position, the end position or the middle arbitrary position of the new touch gesture is an arbitrary position in the notch area. The touch control gesture input by the user in the notch area can be acquired based on the touch control screen integrated with the notch area, and the continuous touch control gesture input by the user is obtained by combining the touch control gesture acquired by the notch area and the touch control gesture acquired by the special-shaped display screen. For example, if the block position of the special-shaped display screen is set at the top of the display screen, if a sliding touch gesture starting from the top gap area is detected and is extended to the special-shaped display screen, it is determined that the touch gesture is a split-screen touch gesture, where a sliding touch gesture portion of the split-screen touch gesture starting after the special-shaped display screen gap area may be a linear sliding gesture or a curved sliding gesture, and a sliding manner of a sliding operation in the split-screen touch gesture is not limited, and a sliding distance, a sliding time, and a pressure of a sliding press of the sliding touch gesture portion are not limited as long as the sliding gesture starting from the top gap area. The method comprises the steps of generating a screen splitting instruction according to the screen splitting touch gesture, wherein the screen splitting instruction is used for dividing a display page of a terminal into two or more display areas, the display screen of the terminal is one display area used for displaying one page before the screen splitting instruction is executed, the two or more display areas are generated after the screen splitting instruction is executed, one page can be displayed in each display area, namely, the two or more pages can be simultaneously displayed on the display screen of the terminal, two or more application programs can be simultaneously run in the foreground of the terminal, and a user can operate the corresponding application programs in the corresponding display areas.
And 103, dividing the current display page into at least two display areas according to the screen splitting instruction.
The split screen instruction may include split screen information, where the split screen information may include the number or size of the divided display areas, and may be determined according to a sliding touch gesture starting from the special-shaped display screen notch area. And executing the split screen instruction, and dividing the current display page into at least two display areas. For example, referring to fig. 2, fig. 2 is a schematic view of a split screen provided in an embodiment of the present application. A notch area is arranged at the top of the special-shaped display screen in fig. 2, a touch gesture is displayed in the left image in fig. 2, the touch gesture starts from the vertical downward direction of the notch area of the special-shaped display screen, the touch gesture is determined to be a screen-splitting touch gesture, a screen-splitting instruction is generated, the screen-splitting instruction is executed, a display page shown in the right image is obtained, a critical line is divided in the right image to divide the current page into two display areas, namely a display area 1 and a display area 2, the two display areas can be the same in size or different in size, namely, the current page can be uniformly divided according to the screen-splitting instruction, or the display areas with different sizes can be divided according to user requirements. Corresponding pages can be displayed in the two display areas, and the two pages can be the same or different. Fig. 2 is only an exemplary diagram, and the positions of the gap regions of the irregular-shaped display screen, the tracks of the touch gestures, and the number and the sizes of the divided display screens are not limited to those shown in fig. 2.
In some embodiments, after dividing the current display page into at least two display areas according to the screen splitting instruction, the method further includes: displaying the page before split screen in any display area of the at least two display areas; and if the target application displayed in a split screen mode exists, starting the target application, and displaying the target application in other display areas of the at least two display areas.
For example, if it is detected that the current touch gesture is a sliding touch gesture starting from a gap region of the special-shaped display screen, in the process of the split-screen touch gesture, a page before split-screen is compressed along with the split-screen touch gesture and displayed in any display region, for example, the display region 2 in fig. 2; or after the split-screen instruction is executed, displaying the page before split-screen in any display area. Illustratively, the other display area of the plurality of display areas generated according to the screen splitting instruction may be a target application displayed in advance, or a desktop of the display terminal. When the target application displayed in a split screen mode exists, the target application is started and displayed in other display areas, and when the target application displayed in the split screen mode does not exist, the desktop of the terminal is displayed in the other display areas.
The target application can be set by a user before inputting a split-screen touch instruction; the target application can be an application displayed in the information prompt bar at the moment of screen-splitting touch gesture input, for example, a communication application program such as an incoming call or a WeChat, and after a screen-splitting instruction is executed, the incoming call is connected or a WeChat communication interface is entered, and the target application is displayed in a display area formed by screen splitting; the target application may also be determined according to an operation before the split-screen touch gesture is input, and optionally, the target application is determined within a preset time period, for example, the preset time period may be 10 minutes before the split-screen touch gesture is input. And when the operated applications exist in the preset time period, determining the last operation time of each application. Exemplarily, if the number of the split screens is 2, determining the application program with the shortest distance between the last operation time and the moment of inputting the split-screen touch gesture as the target application; and if the number of the split screens is 3, determining 2 application programs with shorter distance between the last operation time and the moment of inputting the split screen touch gesture as target applications. And when no operated application exists in the preset time period, namely no target application displayed in a split screen exists, displaying the desktop of the terminal in other display areas formed in the split screen. After the screen splitting instruction is executed, the display content of each display area is automatically determined, and a user does not need to select applications in each display area after screen splitting, so that the convenience and the intellectualization of the screen splitting function are improved.
In some embodiments, after dividing the current display page into at least two display areas according to the screen splitting instruction, the method further includes: acquiring an editing gesture for dividing a critical line of a display area; and adjusting the size of the corresponding display area according to the editing gesture for dividing the critical line.
For example, the editing gesture for dividing the critical line may be pressing and dragging the divided critical line. For example, in fig. 2, the dividing critical line in the right drawing can be moved up and down by an editing gesture, and the position of the dividing critical line is adjusted, wherein the release position of the editing gesture is the target position of the dividing critical line. Accordingly, by adjusting the positions of the division critical lines, the sizes of the display regions 1 and 2 are adjusted. Illustratively, when the dividing critical line moves up, the size of the display area 1 decreases and the size of the display area 2 increases. When the number of the display areas generated according to the screen splitting instruction is more than 2, the dividing critical line is adjusted, and accordingly, the sizes of two adjacent display areas of the dividing critical line are adjusted.
Optionally, adjusting the size of the corresponding display area according to the editing gesture for dividing the critical line includes: and when any dividing critical line is overlapped with the adjacent display area boundary line, closing the display area between the dividing critical line and the display area boundary line.
Illustratively, when an editing gesture on a dividing critical line causes the size of any display area to be zero, i.e. the dividing critical line is overlapped with the boundary line of the display area, the display area with the size of zero is closed. And after the display area is closed and the residual display area is 1, exiting the split screen mode, and when the residual display area is more than 1, maintaining the split screen mode. For example, when the dividing critical line is adjusted in fig. 2, if the dividing critical line moves to the lower edge, the display area 2 is closed, the content in the original display area 1 is displayed in a full screen mode, and it is determined that the split screen mode exits. Correspondingly, if the dividing critical line moves to the upper edge, the display area 1 is closed, the content in the original display area 2 is displayed in a full screen mode, and the split screen mode is determined to exit.
According to the screen splitting method based on the special-shaped display screen, the touch control gesture of a user on the special-shaped display screen is obtained, when the touch control gesture is a sliding touch control gesture starting from the notch area of the special-shaped display screen, a screen splitting instruction is generated, and a current display page is divided into at least two display areas according to the screen splitting instruction. By adopting the above scheme, based on the characteristic of special-shaped display screen, the split screen touch gesture which is simple and easy to operate is set according to the notch region position of the special-shaped display screen, so that the problem that the touch gesture is more and more complex when the terminal function is more is avoided, and the split screen operation is simply and quickly realized on the premise that the existing interaction logic is not influenced.
Fig. 3 is a schematic flow chart of another screen splitting method based on a special-shaped display screen according to an embodiment of the present application, and referring to fig. 3, the method according to the embodiment includes the following steps:
step 301, acquiring a touch gesture of a user on the special-shaped display screen.
Step 302, when the touch gesture is a sliding touch gesture starting from the special-shaped display screen notch area, recognizing a gesture stop point in the sliding touch gesture starting from the special-shaped display screen notch area.
The gesture stopping point comprises a position point and a gesture ending position point, wherein the gesture stopping time exceeds preset time, in the touch gesture. For example, the preset time may be 0.5s or 1s, and may be set according to the user requirement. The gesture ending position points are position points of fingers of a user or a touch pen leaving the special-shaped display screen, the touch gestures input by the user comprise the gesture ending position points, and when the number of the position points with pause time exceeding preset time in the touch gestures input by the user is 0, the number of the gesture pause points of the touch gestures is 1, namely only the gesture ending position points are included; when the number of position points with pause time exceeding the preset time in the touch gestures input by the user is greater than or equal to 1, the number of the gesture pause points of the touch gestures is the number of the position points with pause time exceeding the preset time plus 1.
And 303, generating a screen splitting instruction according to the number and the position of the gesture stop points.
When each gesture stop point in the sliding touch gesture is determined, the number of the gesture stop points and the position of each gesture stop point are recorded, and at least one of the number and the position of the gesture stop points is carried in a screen splitting instruction generated according to the sliding touch gesture.
And step 304, dividing the current display page into at least two display areas according to the screen splitting instruction.
Illustratively, the current display page of the terminal is split according to at least one of the number and the position of the gesture stop points carried in the split-screen instruction. For example, the currently displayed page is divided into a corresponding number of display regions according to the number of gesture stop points, or a dividing critical line of the display region is set at the position of the gesture stop point, and the adjacent dividing critical line or a region between the dividing critical line and the edge of the display screen is a display region formed by split screens.
According to the screen splitting method based on the special-shaped display screen, the touch gesture of a user on the special-shaped display screen is obtained, when the touch gesture is a sliding touch gesture starting from the notch area of the special-shaped display screen, a gesture stop point in the sliding touch gesture starting from the notch area of the special-shaped display screen is identified, a screen splitting instruction is generated according to the number and the position of the gesture stop point, and a screen splitting instruction is generated according to the number and the position of the gesture stop point. Through adopting above-mentioned scheme, acquire the sub-screen information among the sub-screen touch-control gesture of user's input, number and the position of gesture stop point promptly, carry the sub-screen touch-control gesture of sub-screen information according to the aforesaid, quick convenient realization satisfies the sub-screen operation of user's demand, need not multistep operation, improves user experience.
Fig. 4 is a schematic flow chart of another screen splitting method based on a special-shaped display screen provided in an embodiment of the present application, which is an alternative to the foregoing embodiment, and correspondingly, as shown in fig. 4, the method of the present embodiment includes the following steps:
step 401, acquiring a touch gesture of a user on the special-shaped display screen.
Step 402, when the touch gesture is a sliding touch gesture starting from the special-shaped display screen gap area, recognizing a gesture stop point in the sliding touch gesture starting from the special-shaped display screen gap area.
The gesture stopping point comprises a position point and a gesture ending position point, wherein the gesture stopping time exceeds preset time, in the touch gesture.
And 403, generating a screen splitting instruction according to the number and the position of the gesture stop points.
And step 404, uniformly dividing the current page into display areas with corresponding number according to the number of split screens in the split screen instruction, wherein the number of split screens in the split screen instruction is the number of gesture stop points plus one.
The method includes the steps of determining the size of a current display page, determining the size of each display area according to the number of split screens, determining the position of a division critical line according to the size of each display area, and setting the division critical line at the position of the division critical line to realize the split screen of the current page to obtain a plurality of display areas. The number of the display areas is related to the number of the gesture stop points, and can be obtained by adding one to the number of the gesture stop points, for example, when the split-screen sliding touch gesture only includes a gesture end position point, that is, the number of the gesture stop points is 1, the number of the split screens is 2. For example, if the number of split screens is 2, it can be known that one dividing critical line divides the current page into two display areas, and the position of the dividing critical line may be 1/2 located at the long side of the special-shaped display screen. If the number of split screens is 3, it can be known that the current page is divided into three display regions by two dividing critical lines, and the positions of the dividing critical lines can be 1/3 and 2/3 of the long side of the special-shaped display screen.
It should be noted that the dividing critical line may be horizontal or vertical, which is not limited to this, and the dividing critical line may be determined according to the number of split screens. For example, when the number of divided screens is small, for example, the number of divided screens is 2 or 3, the dividing critical line may be set perpendicular to the long side of the shaped display screen, for example, 1/2 of the long side, or 1/3 and 2/3. When the number of screens is large, for example, the number of split screens is 4, the dividing critical line may be a vertical direction and a horizontal direction, and the current page is uniformly divided into four display areas, for example, referring to fig. 5, fig. 5 is another schematic view of split screens provided in the embodiment of the present application. Fig. 5 includes two dividing critical lines in the horizontal direction and two dividing critical lines in the vertical direction, and the current page is uniformly divided into 4 display regions, where all of the 4 dividing critical lines in fig. 5 can be edited to adjust the size of each display region.
According to the screen splitting method based on the special-shaped display screen, the current page is evenly split according to the screen splitting quantity carried in the screen splitting instruction, and the display areas with the corresponding quantity are obtained. Through a touch gesture of user input, can realize the sub-screen operation that corresponds according to user's demand, easy operation is convenient, has improved user experience.
Fig. 6a is a schematic flow chart of another screen splitting method based on a special-shaped display screen according to an embodiment of the present application, where the present embodiment is an alternative to the foregoing embodiment, and correspondingly, as shown in fig. 6a, the method of the present embodiment includes the following steps:
step 601, acquiring a touch gesture of a user on the special-shaped display screen.
Step 602, when the touch gesture is a sliding touch gesture initiated in the special-shaped display screen notch area, identifying a gesture stop point in the sliding touch gesture initiated in the special-shaped display screen notch area.
Optionally, the gesture pause point includes a position point where the gesture pause time exceeds a preset time in the touch gesture and a gesture end position point.
And 603, generating a screen splitting instruction according to the number and the position of the gesture stop points.
And step 604, determining a dividing critical line of a display area according to the position of a gesture stop point in the touch gesture for generating the screen splitting instruction.
Illustratively, if a position point with pause time exceeding preset time exists in the process of inputting the sliding touch gesture by the user, a dividing critical line is set at the position point, and the dividing critical line and the previous dividing critical line or the edge of the special-shaped display screen form a display area; when the input sliding touch gesture is finished, determining a gesture finishing position point, setting a dividing critical line and a previous dividing critical line or the edge of the special-shaped display screen at the gesture finishing position point to form a display area, and simultaneously forming a display area with the other edge of the special-shaped display screen. For example, referring to fig. 6b, fig. 6b is another schematic view of split screen provided in the embodiment of the present application, in the sliding touch gesture input by the user in fig. 6b, there is no position point where the pause time exceeds the preset time, only a gesture end position point a is included, the number of split screens is determined to be 2, the generated split screen instruction includes the position information of the position point a and the number of split screens, a splitting critical line is set at the position of the gesture end position point a according to the split screen instruction, and two display areas are formed on the upper edge and the lower edge of the special-shaped display screen respectively. For example, referring to fig. 6C, fig. 6C is another schematic view of split screen provided in the embodiment of the present application, in the sliding touch gesture input by the user in fig. 6C, a position point B and a gesture ending position point C where the pause time exceeds a preset time are included, the number of split screens is determined to be 3, the generated split screen instruction includes position information of the position points B and C and the number of split screens, a division critical line is set according to positions of the split screen instruction at the position point B and the gesture ending position point C, and three display areas are formed.
And 605, dividing the current display page into at least two display areas according to the dividing critical line.
According to the screen splitting method based on the special-shaped display screen, when a touch gesture of a user on the special-shaped display screen is a sliding touch gesture starting from a notch area of the special-shaped display screen, the number and the position of gesture stop points in the sliding touch gesture are recognized, a dividing critical line of a display area is determined according to the position of the gesture stop points, the screen splitting number is determined according to the number of the gesture stop points in the sliding touch gesture, the size of each display area is determined according to the position of the gesture stop points, user requirements in a sliding touch instruction input by the user are recorded, personalized screen splitting operation is achieved according to the user requirements, display area parameters do not need to be set by the user, the user does not need to edit the display area after screen splitting operation, the operation is simple and convenient, and further screen splitting is achieved.
Fig. 7 is a block diagram of a structure of a screen splitting device based on a special-shaped display screen according to an embodiment of the present application, where the device may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and a display page may be split by performing a screen splitting method based on a special-shaped display screen of the mobile terminal. As shown in fig. 7, the apparatus includes: the touch gesture control system comprises a touch gesture acquisition module 701, a screen splitting instruction generation module 702 and a display area division module 703.
The touch gesture acquisition module is used for acquiring a touch gesture of a user on the special-shaped display screen;
the screen splitting instruction generating module is used for generating a screen splitting instruction when the touch gesture is a sliding touch gesture starting from the notch area of the special-shaped display screen;
and the display area dividing module is used for dividing the current display page into at least two display areas according to the screen dividing instruction.
The split screen device based on special-shaped display screen that provides in this application embodiment, based on the characteristic of special-shaped display screen, set up the split screen touch gesture of simple easy operation according to the breach regional position of special-shaped display screen, when having avoided the terminal function more, the more and more loaded down with trivial details problem of touch gesture has realized simply realizing the split screen operation fast under the prerequisite that does not influence current interactive logic.
On the basis of the above embodiment, the split-screen instruction generating module is configured to:
when the touch gesture is a sliding touch gesture starting from the special-shaped display screen gap area, recognizing a gesture stop point in the sliding touch gesture starting from the special-shaped display screen gap area;
and generating a screen splitting instruction according to the number and the position of the gesture stop points.
On the basis of the above embodiment, the display area dividing module is configured to:
and uniformly dividing the current page into display areas with corresponding number according to the number of split screens in the split screen instruction, wherein the number of split screens in the split screen instruction is the number of gesture stop points plus one.
On the basis of the above embodiment, the display area dividing module is configured to:
determining a division critical line of a display area according to the position of a gesture stop point in the touch gesture for generating the screen splitting instruction;
and dividing the current display page into at least two display areas according to the dividing critical line.
On the basis of the above embodiment, the gesture pause point includes a position point where the gesture pause time exceeds the preset time in the touch gesture and a gesture end position point.
On the basis of the above embodiment, the method further includes:
the first display module is used for displaying the page before split screen in any display area of the at least two display areas after dividing the current display page into at least two display areas according to the split screen instruction;
and the second display module is used for starting the target application and displaying the target application in other display areas of the at least two display areas if the target application displayed in a split screen mode exists.
On the basis of the above embodiment, the method further includes:
the editing gesture obtaining module is used for obtaining an editing gesture of a division critical line of a display area after a current display page is divided into at least two display areas according to the screen splitting instruction;
and the display area adjusting module is used for adjusting the size of the corresponding display area according to the editing gesture for dividing the critical line.
On the basis of the above embodiment, the display area adjusting module is configured to:
and when any dividing critical line is overlapped with the adjacent display area boundary line, closing the display area between the dividing critical line and the display area boundary line.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for splitting a screen based on a special-shaped display screen, the method including:
acquiring a touch gesture of a user on the special-shaped display screen;
when the touch gesture is a sliding touch gesture starting from the gap area of the special-shaped display screen, a screen splitting instruction is generated;
and dividing the current display page into at least two display areas according to the screen splitting instruction.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the above-described screen splitting operation based on the special-shaped display screen, and may also perform related operations in the screen splitting method based on the special-shaped display screen provided in any embodiment of the present application.
The embodiment of the application provides a mobile terminal, and the screen splitting device based on the special-shaped display screen provided by the embodiment of the application can be integrated in the mobile terminal. Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 800 may include: the display screen dividing device comprises a memory 801, a processor 802 and a computer program which is stored on the memory 801 and can be run by the processor 802, wherein the processor 802 executes the computer program to realize the screen dividing method based on the special-shaped display screen according to the embodiment of the application.
The mobile terminal provided by the embodiment of the application is based on the characteristic of the special-shaped display screen, the simple and easy-to-operate screen-splitting touch control gesture is arranged according to the notch area position of the special-shaped display screen, the problem that the touch control gesture is more and more complex when the terminal function is more is avoided, and the screen-splitting operation is simply and quickly realized on the premise that the existing interaction logic is not influenced.
Fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application. The mobile terminal may include: a casing (not shown), a memory 901, a Central Processing Unit (CPU) 902 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU902 and the memory 901 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 901 is used for storing executable program codes; the CPU902 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 901, so as to implement the following steps:
acquiring a touch gesture of a user on the special-shaped display screen;
when the touch gesture is a sliding touch gesture starting from the gap area of the special-shaped display screen, a screen splitting instruction is generated;
and dividing the current display page into at least two display areas according to the screen splitting instruction.
The mobile terminal further includes: peripheral interface 903, RF (Radio Frequency) circuitry 905, audio circuitry 906, speakers 911, power management chip 908, input/output (I/O) subsystems 909, other input/control devices 910, touch screen 912, other input/control devices 910, and external port 904, which communicate through one or more communication buses or signal lines 907.
It should be understood that the illustrated mobile terminal 900 is merely one example of a mobile terminal and that the mobile terminal 900 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a mobile terminal for performing a split screen operation on a special-shaped display screen provided in this embodiment, where the mobile terminal is a mobile phone as an example.
Memory 901, the memory 901 being accessible by the CPU902, the peripheral interface 903, etc., the memory 901 may comprise high speed random access memory, and may also comprise non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 903, the peripheral interface 903 may connect input and output peripherals of the device to the CPU902 and the memory 901.
An I/O subsystem 909, which I/O subsystem 909 may connect input and output peripherals on the device, such as a touch screen 912 and other input/control devices 910, to the peripheral interface 903. The I/O subsystem 909 may include a display controller 9091 and one or more input controllers 9092 for controlling other input/control devices 910. Where one or more input controllers 9092 receive electrical signals from or send electrical signals to other input/control devices 910, the other input/control devices 910 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 9092 may be connected with any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 912, which is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 9091 in the I/O subsystem 909 receives electrical signals from the touch screen 912 or transmits electrical signals to the touch screen 912. The touch screen 912 detects a contact on the touch screen, and the display controller 9091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 912, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 912 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 905 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 905 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 905 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. The RF circuitry 905 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 906 is mainly used to receive audio data from the peripheral interface 903, convert the audio data into an electric signal, and transmit the electric signal to the speaker 911.
The speaker 911 is used to convert the voice signal received by the mobile phone from the wireless network through the RF circuit 905 into sound and play the sound to the user.
And the power management chip 908 is used for supplying power and managing power to the hardware connected with the CPU902, the I/O subsystem and the peripheral interfaces.
The screen splitting device, the storage medium and the mobile terminal based on the special-shaped display screen, which are provided by the embodiments, can execute the screen splitting method based on the special-shaped display screen, which is provided by any embodiment of the application, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments can be referred to a screen splitting method based on a special-shaped display screen provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A screen splitting method based on a special-shaped display screen is characterized by comprising the following steps:
acquiring a touch gesture of a user on the special-shaped display screen;
when the touch gesture is a sliding touch gesture starting from the gap area of the special-shaped display screen, a screen splitting instruction is generated;
dividing a current display page into at least two display areas according to the screen splitting instruction;
when the touch gesture is a sliding touch gesture starting from the special-shaped display screen gap area, a screen splitting instruction is generated, and the method comprises the following steps of:
when the touch gesture is a sliding touch gesture starting from the special-shaped display screen gap area, recognizing a gesture stop point in the sliding touch gesture starting from the special-shaped display screen gap area;
and generating a screen splitting instruction according to the number and the position of the gesture stop points.
2. The method of claim 1, wherein dividing the currently displayed page into at least two display areas according to the split screen instruction comprises:
and uniformly dividing the current page into display areas with corresponding number according to the number of split screens in the split screen instruction, wherein the number of split screens in the split screen instruction is the number of gesture stop points plus one.
3. The method of claim 1, wherein dividing the currently displayed page into at least two display areas according to the split screen instruction comprises:
determining a division critical line of a display area according to the position of a gesture stop point in the touch gesture for generating the screen splitting instruction;
and dividing the current display page into at least two display areas according to the dividing critical line.
4. The method according to claim 1, wherein the gesture pause point comprises a position point where a gesture pause time exceeds a preset time and a gesture end position point in the touch gesture.
5. The method according to claim 1, wherein after dividing the current display page into at least two display areas according to the split-screen instruction, further comprising:
displaying the page before split screen in any display area of the at least two display areas;
and if the target application displayed in a split screen mode exists, starting the target application, and displaying the target application in other display areas of the at least two display areas.
6. The method according to claim 1, wherein after dividing the current display page into at least two display areas according to the split-screen instruction, further comprising:
acquiring an editing gesture for dividing a critical line of a display area;
and adjusting the size of the corresponding display area according to the editing gesture for dividing the critical line.
7. The method of claim 6, wherein adjusting the size of the corresponding display area according to the editing gesture for dividing the critical line comprises:
and when any dividing critical line is overlapped with the adjacent display area boundary line, closing the display area between the dividing critical line and the display area boundary line.
8. The utility model provides a split screen device based on dysmorphism display screen which characterized in that includes:
the touch gesture acquisition module is used for acquiring a touch gesture of a user on the special-shaped display screen;
the screen splitting instruction generating module is used for generating a screen splitting instruction when the touch gesture is a sliding touch gesture starting from the notch area of the special-shaped display screen;
the display area dividing module is used for dividing the current display page into at least two display areas according to the screen dividing instruction;
the split-screen instruction generation module is used for:
when the touch gesture is a sliding touch gesture starting from the special-shaped display screen gap area, recognizing a gesture stop point in the sliding touch gesture starting from the special-shaped display screen gap area;
and generating a screen splitting instruction according to the number and the position of the gesture stop points.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for splitting a screen based on a contoured display screen according to any one of claims 1-7.
10. A mobile terminal, characterized by comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the screen splitting method based on the special-shaped display screen according to any one of claims 1 to 7 when executing the computer program.
CN201810641980.1A 2018-06-21 2018-06-21 Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal Active CN108920070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810641980.1A CN108920070B (en) 2018-06-21 2018-06-21 Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810641980.1A CN108920070B (en) 2018-06-21 2018-06-21 Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN108920070A CN108920070A (en) 2018-11-30
CN108920070B true CN108920070B (en) 2020-08-14

Family

ID=64422150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810641980.1A Active CN108920070B (en) 2018-06-21 2018-06-21 Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN108920070B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109979413B (en) * 2019-03-18 2021-02-02 Oppo广东移动通信有限公司 Screen-lighting control method, screen-lighting control device, electronic equipment and readable storage medium
CN112463084A (en) * 2019-09-06 2021-03-09 北京小米移动软件有限公司 Split screen display method and device, terminal equipment and computer readable storage medium
CN111176535B (en) * 2019-09-19 2021-11-26 广东小天才科技有限公司 Screen splitting method based on intelligent sound box and intelligent sound box
CN111813488B (en) * 2020-07-22 2024-08-23 北京达佳互联信息技术有限公司 Content display method, content processing method and related equipment
CN112433693B (en) * 2020-12-11 2023-06-23 维沃移动通信(杭州)有限公司 Split screen display method and device and electronic equipment
CN114822269B (en) * 2022-06-27 2022-09-23 深圳市联诚发科技股份有限公司 Intelligent display method, device and equipment of ribbon-shaped display screen and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5413688B2 (en) * 2011-02-16 2014-02-12 ブラザー工業株式会社 Image partition program and display device
KR20160143135A (en) * 2015-06-04 2016-12-14 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN107577414A (en) * 2017-09-07 2018-01-12 广东欧珀移动通信有限公司 The method and mobile terminal of split screen display available

Also Published As

Publication number Publication date
CN108920070A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108920070B (en) Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
CN108920071B (en) Control method and device based on special-shaped display screen, storage medium and mobile terminal
US10831314B2 (en) Method and electronic device for preventing touch button from being false triggered
US20210334150A1 (en) Copying and pasting method, data processing apparatus, and user equipment
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN110531920B (en) Display method and device of sidebar, terminal and storage medium
US10884611B2 (en) Method and apparatus for controlling touch screen of terminal, and terminal
EP3002664B1 (en) Text processing method and touchscreen device
US10466849B2 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
EP2940572A1 (en) Method and electronic device for managing display objects
CN106681817B (en) Terminal control method and terminal
CN112218134B (en) Input method and related equipment
CN107391017B (en) Word processing method, device, mobile terminal and storage medium
EP3584710A1 (en) Method and apparatus for controlling display of mobile terminal, storage medium, and electronic device
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
CN108664286B (en) Application program preloading method and device, storage medium and mobile terminal
CN112578967B (en) Chart information reading method and mobile terminal
CN104169854A (en) An icon arranging method and a terminal
CN104750401A (en) Touch method and related device as well as terminal equipment
CN106598461B (en) Touch response method and device of mobile terminal and mobile terminal
CN112764862A (en) Application program control method and device and electronic equipment
CN111857496A (en) Operation execution method and device and electronic equipment
US9778822B2 (en) Touch input method and electronic apparatus thereof
CN108563390B (en) Display position adjusting method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant