WO2021057242A1 - Display control method and electronic device - Google Patents

Display control method and electronic device Download PDF

Info

Publication number
WO2021057242A1
WO2021057242A1 PCT/CN2020/105235 CN2020105235W WO2021057242A1 WO 2021057242 A1 WO2021057242 A1 WO 2021057242A1 CN 2020105235 W CN2020105235 W CN 2020105235W WO 2021057242 A1 WO2021057242 A1 WO 2021057242A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
screen
electronic device
content
input
Prior art date
Application number
PCT/CN2020/105235
Other languages
French (fr)
Chinese (zh)
Inventor
苏佳华
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021057242A1 publication Critical patent/WO2021057242A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a display control method and electronic equipment.
  • the screens of electronic devices are getting bigger and bigger.
  • a part of the screen of the electronic device may exceed the touch range of the user's finger when the user operates the electronic device with one hand.
  • the above-mentioned problems can be solved through one-handed operation mode.
  • the electronic device when the user is in the process of operating the electronic device with one hand, when the user triggers the electronic device to enter the one-hand operation mode, the electronic device can reduce the content displayed on the screen of the electronic device and display it in the one-hand operation area (the one-hand operation area).
  • the operation area is within the touch range of the user's finger), so that the user can perform operations in the single-handed operation area.
  • the content in the one-handed operation area is the content of the electronic device after the content displayed on the screen is reduced, the display size of the content in the one-handed operation area is small, which makes the user unable to operate accurately
  • the content in the single-handed operation area further leads to poor convenience of single-handed operation.
  • the embodiments of the present disclosure provide a display control method and an electronic device to solve the problem of poor convenience for users to operate the electronic device with one hand in the related art.
  • embodiments of the present disclosure provide a display control method.
  • the method includes: in a case where the first content is displayed through the first screen area of the screen of the electronic device, and the second content is displayed through the second screen area of the screen of the electronic device, receiving a screen for the electronic device In response to the first input, display the second content in the first screen area and display the first content in the second screen area in response to the first input.
  • an embodiment of the present disclosure provides an electronic device.
  • the electronic device includes: a receiving module and a display module.
  • the receiving module is configured to receive the first input for the screen of the electronic device when the first content is displayed on the first screen area of the screen of the electronic device and the second content is displayed on the second screen area of the screen of the electronic device
  • the display module is used to respond to the first input received by the receiving module, display the second content in the first screen area, and display the first content in the second screen area.
  • an embodiment of the present disclosure provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program is executed by the processor to realize the first The steps of the display control method provided by the aspect.
  • the embodiments of the present disclosure provide a computer-readable storage medium storing a computer program on the computer-readable storage medium, and the computer program implements the steps of the display control method provided in the first aspect when the computer program is executed by a processor.
  • the information for the screen of the electronic device may be received.
  • a first input and in response to the first input, displaying the second content in the first screen area and displaying the first content in the second screen area.
  • the user can trigger the electronic device to display in the first screen area through the first input to the electronic device
  • the second content, and the first content is displayed in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that when the user operates the electronic device with one hand, the user can
  • the content that is far away from the preset one-handed operation area is exchanged to be close to the preset one-handed operation area for display, thereby improving the convenience of the user's one-handed operation of the electronic device.
  • FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure
  • FIG. 2 is one of the schematic diagrams of a display control method provided by an embodiment of the present disclosure
  • FIG. 3 is a second schematic diagram of a display control method provided by an embodiment of the present disclosure.
  • FIG. 4 is the third schematic diagram of a display control method provided by an embodiment of the disclosure.
  • FIG. 5 is a schematic diagram of a folding operation of an electronic device according to an embodiment of the present disclosure.
  • FIG. 6 is one of the schematic diagrams of dividing the screen of an electronic device according to an embodiment of the present disclosure.
  • FIG. 7 is one of the schematic diagrams of a user's operation of an electronic device provided by an embodiment of the disclosure.
  • FIG. 8 is a second schematic diagram of a user's operation on an electronic device provided by an embodiment of the disclosure.
  • FIG. 9 is a fourth schematic diagram of a display control method provided by an embodiment of the present disclosure.
  • FIG. 10 is a second schematic diagram of screen division of an electronic device according to an embodiment of the present disclosure.
  • FIG. 11 is a fifth schematic diagram of a display control method provided by an embodiment of the present disclosure.
  • FIG. 12 is a third schematic diagram of a user's operation on an electronic device provided by an embodiment of the disclosure.
  • FIG. 13 is a fourth schematic diagram of a user's operation on an electronic device provided by an embodiment of the disclosure.
  • FIG. 14 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 15 is a schematic diagram of hardware of an electronic device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than describing a specific order of objects.
  • first screen area and the second screen area are used to distinguish different screen areas, rather than to describe a specific sequence of screen areas.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • the embodiments of the present disclosure provide a display control method and an electronic device, which can display first content through a first screen area of the screen of the electronic device, and display second content through a second screen area of the screen of the electronic device, Receiving a first input for the screen of the electronic device; and in response to the first input, displaying the second content in the first screen area and displaying the first content in the second screen area.
  • the user can trigger the electronic device to display in the first screen area through the first input to the electronic device
  • the second content, and the first content is displayed in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that when the user operates the electronic device with one hand, the user can
  • the content that is far away from the preset one-handed operation area is exchanged to be close to the preset one-handed operation area for display, thereby improving the convenience of the user's one-handed operation of the electronic device.
  • the electronic device in the embodiment of the present disclosure may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment to which the display control method provided in the embodiments of the present disclosure is applied.
  • FIG. 1 it is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the display control method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG.
  • the control method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the display control method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • the electronic device in the embodiments of the present disclosure may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the non-mobile electronic device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the electronic device in the embodiment of the present disclosure may be a terminal device.
  • the execution subject of the display control method provided by the embodiments of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the display control method, and the details may be determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited.
  • an electronic device is taken as an example to illustrate the display control method provided by the embodiment of the present disclosure.
  • the second screen area is close to the preset list.
  • Hand operating area If the user wants to operate the first content with one hand, the user can trigger the electronic device to display the second content in the first screen area and display the first content in the second screen area through the first input to the electronic device, thereby The user can perform one-handed operation on the first content displayed in the second screen area.
  • an embodiment of the present disclosure provides a display control method.
  • the method may include the following steps 101 and 102.
  • Step 101 In the case where the first content is displayed through the first screen area of the screen of the electronic device and the second content is displayed through the second screen area of the screen of the electronic device, the electronic device receives a first input for the screen of the electronic device .
  • the first screen area is an area on the screen of the electronic device that is far from the user's preset single-handed operation area.
  • the second screen area is an area on the screen of the electronic device that is close to the user's preset one-handed operation area, and a part of the second screen area overlaps with the preset one-handed operation area, that is, part of the content displayed in the second screen area The content is located in the preset one-handed operation area.
  • the electronic device provided in the embodiment of the present disclosure may be a foldable electronic device or a double-sided screen electronic device.
  • the double-sided screen electronic device may specifically be: an electronic device that may include a first screen and a second screen.
  • the first screen and the first screen can be set in the same direction or set back.
  • the above-mentioned first input may specifically be any one of the following: in a case where the electronic device is a foldable electronic device, the first input may be a folding input for a foldable screen of the electronic device; The first input may also be a click input for the screen of the electronic device.
  • the first input is a folding input for the foldable screen of the electronic device
  • the first input may specifically be: the user's folding input to the first screen area; or the user's input to the target screen Area folding input, the target screen area corresponds to the first screen area.
  • the folding input may specifically be any of the following: the user's folding input of the first screen area along the horizontal folding line, and the user's input to the first screen area Fold input along the vertical fold line.
  • the target screen area corresponds to the first screen area.
  • the S area on the screen of the electronic device corresponds to the first screen area (that is, there is a mapping relationship between the coordinate points in the S area and the coordinate points in the first area)
  • the user wants to perform a folding input for the first screen area
  • the user can perform a folding input on the S area on the screen of the electronic device, so that the electronic device obtains the user's folding input for the first screen area according to the corresponding relationship between the S area and the first screen area.
  • the first input is a click input for the screen of the electronic device
  • the first input may specifically be: a click input to a target area, which corresponds to the first screen area (ie , There is a mapping relationship between the coordinate points in the target area and the coordinate points in the first screen area).
  • the target area may be located on the first screen or the second screen of the double-sided screen electronic device.
  • the K area on the second screen of the electronic device corresponds to the first screen area on the first screen of the electronic device (that is, the coordinate points in the K area and the coordinate points in the first area have a mapping relationship). If the user wants to perform a click input on the first screen area, the user can perform a click input on the K area on the second screen of the electronic device, so that the electronic device obtains the user’s input on the first screen according to the correspondence between the K area and the first screen area. The input of the area.
  • the electronic device can achieve the same function through two operations, and the user can make diversified choices and improve user experience.
  • Step 102 In response to the first input, the electronic device displays second content in the first screen area and displays the first content in the second screen area.
  • part of the content displayed in the second screen area is located in the preset one-handed operation area.
  • step 102 may be specifically implemented by the following steps 102a and 102b.
  • Step 102a In response to the first input, the electronic device displays second content in the first screen area.
  • Step 102b In response to the first input, the electronic device displays the first content in the second screen area.
  • the first screen area displays the first content
  • the second screen area displays the second content.
  • the first screen area displays the second content
  • the second screen area displays the first content. Therefore, in the embodiment of the present disclosure, the display content in the first screen area and the display content in the second screen area are exchanged and displayed.
  • the preset one-handed operation area may be a one-handed operation area set by a user, or may be a default one-handed operation area when the electronic device is shipped.
  • the preset one-handed operation area can be specifically divided into: a left-hand preset operation area and a right-hand preset operation area.
  • the electronic device is changed accordingly One-handed operation area (that is, the left-hand operation area does not respond, and the right-hand operation area responds).
  • the content displayed in the first area is picture A
  • the content displayed in the second area is picture B
  • part of the second area overlaps with the preset one-handed operation area (ie, picture Part of B is located in the preset one-handed operation area).
  • the electronic device exchanges and displays the content displayed in the first area and the content displayed in the second area in response to the first input. That is, the content displayed in the first area is picture B, and the content displayed in the second area is picture A.
  • Part of the second area overlaps with the preset one-handed operation area (that is, part of the content of picture A is located in the preset One-handed operation area).
  • the user in actual use, if the user cannot exchange and display the content that the user wants to operate in the preset one-handed operation area through one exchange display operation, the user can perform multiple exchanges The display operation (that is, step 102 is performed multiple times), so that the content that the user wants to operate is displayed in the user's one-handed operation interval.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the embodiment of the present disclosure provides a display control method, which can display first content through the first screen area of the screen of the electronic device and display the second content through the second screen area of the screen of the electronic device.
  • the user can trigger the electronic device to display in the first screen area through the first input to the electronic device
  • the second content, and the first content is displayed in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that when the user operates the electronic device with one hand, the user can
  • the content that is far away from the preset one-handed operation area is exchanged to be close to the preset one-handed operation area for display, thereby improving the convenience of the user's one-handed operation of the electronic device.
  • the electronic device is a foldable screen
  • the first input is a folding input of the foldable screen
  • the input parameters of the first input include a folding angle and a folding position .
  • the foregoing step 102a may be specifically implemented by the following step 102a1
  • the foregoing step 102b may be specifically implemented by the following step 102b1.
  • Step 102a1 In response to the first input, the electronic device displays the second content on the screen area corresponding to the folding position when the folding angle is within the preset angle range.
  • Step 102b1 In response to the first input, the electronic device displays the first content on the foldable screen except for the screen area within the preset range of the fold line and the screen area outside the first screen area.
  • the first screen area is determined according to the folding position, and the second content is displayed in the first screen area.
  • the screen area except the screen area within the preset range of the fold line and the screen area outside the first screen area is determined as the second screen area, and the second screen area is The screen area displays the first content.
  • the input parameters of the first input may include: a folding angle and a folding position.
  • the folding position can be determined by the folding length and the folding area.
  • the folding angle refers to the folding angle of the folding screen before the folding electronic device is folded and after the folding electronic device is folded.
  • FIG. 5 is a front view of the electronic device 00 performing a folding operation along the folding line 01
  • FIG. 5 is a side view of the electronic device 00 after being folded along the folding line 01.
  • the folding angle ⁇ of the screen of the electronic device before the electronic device 00 is folded and after the electronic device 00 is folded is the folding angle.
  • the folding length refers to the distance between the boundary parallel to the folding line and the folding line in the first screen area.
  • the distance H from the upper edge of the first screen area shown in FIG. 5(a) to the fold line is the folding length, that is, the distance H from the upper edge of the first screen area shown in FIG. 5(b) The distance H of the fold line.
  • the folding area refers to an area calculated by the electronic device when the user folds the electronic device, the area formed by the folding line and the three edges of the screen.
  • the area 02 shown in (a) in FIG. 5 is a folding area.
  • the aforementioned preset angle range is [0°, 90°].
  • the electronic device may determine the first area according to the folding position. If the folding angle is -40° (that is, the user folds the screen of the electronic device in the opposite direction) and is not within the preset angle range [0°, 90°], the electronic device cannot determine the first screen area.
  • the above-mentioned electronic device may determine the first screen area according to the folding position in the following manner:
  • the first area in the screen is determined as the first screen area
  • H can be used to represent the folded length, such as H shown in (a) in Figure 5;
  • can be used to represent the folding angle, such as ⁇ shown in (b) in Figure 5;
  • M can be used to indicate the number of areas divided by the screen of the electronic device, and specifically can be a horizontally divided area or a vertically divided area along a fold line parallel to the fold line;
  • K can be used to represent the length of the screen of an electronic device, such as K shown in FIG. 6.
  • N can be used to represent the Nth region, and N ⁇ M/2, and both M and N are positive integers.
  • the first screen area is determined according to the line exchange method described above.
  • the specific implementation manner of determining the first screen area according to the column exchange mode reference may be made to the related description of determining the first screen area according to the row exchange mode, which will not be repeated here.
  • the screen of the electronic device is divided into 6 areas from top to bottom, respectively: a first area 10, a second area 20, a third area 30, a fourth area 40, and a fifth area. 50 and the sixth area 60.
  • the first area 10 is determined as the first screen area; if K/6 ⁇ H ⁇ 2*K/6, and ⁇ is in [ 0°, 90°], the first area 10 and the second area 20 are determined as the first screen area; if 2*K/6 ⁇ H ⁇ 3*K/6, and ⁇ is in [0°, 90 °], the first area 10, the second area 20, and the third area 30 are determined as the first screen area.
  • the electronic device may determine one or more areas symmetrical to the first screen area along the folding line as the second screen area.
  • the electronic device 00 may determine the second area 20 as the first area. 2. Screen area. If the first area 10 and the second area 20 are the first screen area, and the folding line is located between the second area 20 and the third area 30, the electronic device 00 may determine the third area 30 and the fourth area 40 as the first screen area. 2. Screen area. If the first area 10, the second area 20, and the third area 30 are the first screen area, and the fold line is located between the third area 30 and the fourth area 40, the electronic device 00 can set the fourth area 40, the fifth area The area 50 and the sixth area 60 are determined as the second screen area.
  • the first screen area and the second screen area are determined according to the row exchange mode, and the first screen area and the second screen area are determined according to the column exchange mode are exemplified.
  • the screen of the electronic device 00 is divided into 6 regions from top to bottom in a manner parallel to the folding line 01, namely, the first region 10 and the second region 20. , The third area 30, the fourth area 40, the fifth area 50, and the sixth area 60. If the user's folding input (ie, the first input) is to follow the folding line 01 and fold the screen of the electronic device 00 by 40° facing the user, then, since K/6 ⁇ H ⁇ 2*K/6, and ⁇ is in [ Within the range of 0°, 90°], the electronic device 00 may determine the first area 10 and the second area 20 as the first screen area, and the third area 30 and the fourth area 40 as the second screen area.
  • the electronic device 00 can compare the content in the first screen area (the first area 10 and the second area 20) to the second screen area.
  • the contents in the screen area (the third area 30 and the fourth area 40) are exchanged and displayed.
  • the "application 1" icon displayed in the first area 10 may be exchanged for display in the fourth area 40, so that the user can perform one-handed operation on the "application 1" icon in the preset one-hand operation area.
  • the screen of the electronic device 00 is divided into 4 areas from left to right in a manner parallel to the folding line 01, namely, the first area 70 and the second area 80. , The third area 90 and the fourth area 100.
  • the electronic device 00 may determine the tenth area 100 as the first screen area and the ninth area 90 as the second screen area.
  • the electronic device 00 can compare the content in the first screen area (the tenth area 100) with the content in the second screen area (the ninth area).
  • the content in the area 90) is exchanged and displayed.
  • the "application 16" icon displayed in the tenth area 100 can be exchanged for display in the ninth area 90, so that the user can perform one-handed operation on the "application 16" icon in the preset one-hand operation area.
  • the electronic device can display the first content on the foldable screen according to the input parameters first input by the user, except for the screen area within the preset range of the fold line and the screen area outside the first screen area;
  • the second content is displayed in the screen area corresponding to the folding position. That is, the electronic device can accurately determine the first screen area and the second screen area, and determine that the content of the first screen area and the content of the second screen area are exchanged and displayed. In this way, when the user operates the electronic device with one hand, the user can exchange the content far away from the preset one-hand operation area to be close to the preset one-hand operation area for display, thereby improving the convenience of one-hand operation.
  • the first input is a click input for the screen of the electronic device.
  • the foregoing step 102a and step 102b can be specifically implemented by the following step 102a2 and step 102b2.
  • Step 102a2 in response to the first input, the electronic device displays the second content in the screen area corresponding to the input parameter of the click input;
  • Step 102b2 in response to the first input, the electronic device displays the first content in a screen area having a preset corresponding relationship with the first screen area.
  • the first screen area is determined according to the first input input parameter, and the second content is displayed in the first screen area.
  • a screen area on the screen of the electronic device that has a preset corresponding relationship with the first screen area is determined as the second screen area, and the first content is displayed in the second screen area.
  • the input parameters of the first input may specifically include: the click location and the number of clicks.
  • FIG. 10 is the second screen of a double-sided screen electronic device.
  • the second screen of the electronic device can be divided into: area 03 (referred to as: area A), area 04 (referred to as: B Area), area 05 (referred to as: C area) and area 06 (referred to as: D area) four areas.
  • area A corresponds to the first screen area on the first screen of the electronic device
  • the electronic device determines the click position of the click input according to the correspondence between area A and the first screen area (The click location is located in area A) and the number of clicks (the number of clicks is twice).
  • the electronic device can accurately determine the first screen area and the second screen area according to the first input input by the user, the electronic device can determine the size of the first screen area.
  • the content and the content of the second screen area are exchanged and displayed.
  • the user can exchange the content of the first screen area and the content of the second screen area to meet the needs of the user. Usage requirements.
  • the input parameters of the first input include the click position and the number of clicks.
  • the foregoing step 102a2 can be specifically implemented by the following step 102a2A.
  • Step 102a2A In response to the first input, the electronic device displays the second content in the screen area corresponding to the number of clicks and the target area when the click position is located in the first preset area.
  • the above-mentioned first preset area is a preset area corresponding to the holding mode of the user currently holding the electronic device, and the holding mode is left-handed or right-handed;
  • the target area is the screen of the terminal device and the first An area corresponding to a preset area.
  • the first screen area is determined according to the number of clicks and the target area, and the second content is displayed in the first screen area.
  • the embodiment of the present disclosure there is a corresponding relationship between the above-mentioned first preset area and the holding manner of the electronic device. Specifically, when the user holds the electronic device with one hand (holding with the left hand or holding with the right hand), the user can preset one or more areas on the screen of the electronic device as the first preset area. Specifically, it can be set according to user needs and habits.
  • the embodiments of the present disclosure are not specifically limited.
  • the second screen of the electronic device 00 can be divided into: area 03 (referred to as: A area), area 04 (referred to as: B area), and area 05 (referred to as: C area) And area 06 (called: D area) four areas. If the user holds it with the left hand, the user can set the area A and the area C as the first preset area, and the area B that is prone to operation errors and the area D that is inconvenient for left-hand operation are not set. That is, when the first input is located at the location of area A or area C, the electronic device will exchange and display the content of the first screen area and the content of the second screen area in response to the input.
  • the electronic device When the first input is located at the location of area B or area D, The electronic device does not perform exchange display operations. If the user holds with the right hand, the user can set the area B and the area D as the first preset area, and the area C that is prone to operation errors and the area A that is inconvenient for left-hand operation are not set. That is, when the first input is located in area B or area D, the electronic device exchanges and displays the content of the first screen area and the content of the second screen area in response to the input. When the first input is located in area A or area C, The electronic device does not perform exchange display operations.
  • the preset area is an area corresponding to the first screen area.
  • the first screen area is determined according to the number of clicks and the target area.
  • a screen area, and the second content is displayed in the first screen area.
  • the preset correspondence between the preset area and the first screen area may be set by the user, or the electronic device may be set automatically according to the user's usage habits.
  • the details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the electronic device determines the first screen area according to the number of clicks and the target area, which may be specifically determined in the following manner:
  • T can be used to represent the number of clicks of the first input
  • M can be used to indicate the number of areas divided by the screen of the electronic device
  • Q can be used to represent the Q-th region, and Q ⁇ M/2, and both M and Q are positive integers.
  • the first screen area is determined according to the line exchange method described above.
  • the specific implementation manner of determining the first screen area according to the column exchange mode reference may be made to the related description of determining the first screen area according to the row exchange mode, which will not be repeated here.
  • the first screen area and the second screen area are determined according to the row exchange mode, and the first screen area and the second screen area are determined according to the column exchange mode are exemplified.
  • the dotted lines are used to divide the regions in FIG. 12, and in actual use, the electronic device may or may not display the dotted lines of the region division.
  • FIG. 12 is the first screen of the electronic device 00
  • FIG. 12 is the second screen of the electronic device 00, in which the first screen and the second screen are set back.
  • the first screen of the electronic device 00 is divided into 6 areas from top to bottom, namely: the first area 10, the second area 20, the third area 30, and the fourth area 40. , The fifth area 50 and the sixth area 60.
  • the second screen of the electronic device 00 can be divided into 4 areas, namely: area 03 (ie, area A), area 04 (ie, area B), area 05 (ie, area C) ) And area 06 (that is, area D).
  • the electronic device 00 can compare the content in the first screen area (the first area 10 and the second area 20) with the second screen area.
  • the contents in the screen area (the third area 30 and the fourth area 40) are exchanged and displayed.
  • the "application 1" icon displayed in the first area 10 may be exchanged for display in the fourth area 40, so that the user can perform one-handed operation on the "application 1" icon in the preset one-hand operation area.
  • the first screen of the electronic device 00 is divided into 4 areas from left to right, namely: a first area 70, a second area 80, a third area 90 and The fourth area 100.
  • the second screen of the electronic device 00 can be divided into 4 areas, namely: 03 (ie A area), area 04 (ie B area), and area 05 (ie C area) And area 06 (that is, area D).
  • the area B and the area D are set as the first preset area.
  • the electronic device 00 may determine the first area 70 as the first screen area. And the eighth area 80 having a preset corresponding relationship with the first area 70 is determined as the second screen area. After determining the first screen area and the second screen area, as shown in FIG. 13(c), the electronic device 00 can compare the content in the first screen area (first area 70) with the second screen area (second screen area). The content in area 80) is exchanged and displayed. For example, the "application 13" icon displayed in the first area 70 may be exchanged for display in the second area 80, so that the user can perform one-hand operation on the "application 13" icon in the preset one-hand operation area.
  • the electronic device can according to the input parameters first input by the user (for example, the click position and the number of clicks), in the case that the click position is located in the first preset area, the number of clicks and the target area corresponding to the The screen area displays the second content, so the electronic device can accurately determine the first screen area and the second screen area, thereby determining that the content of the first screen area and the content of the second screen area are exchanged display content, and then the user order
  • the user can exchange the content far away from the preset one-handed operation area to close to the preset one-handed operation area for display, which improves the convenience of one-handed operation.
  • the display control methods shown in each of the above figures are all exemplified in conjunction with one figure in the embodiment of the present disclosure.
  • the display control method shown in each of the above figures can also be implemented in combination with any other figures illustrated in the above embodiments that can be combined, and will not be repeated here.
  • an embodiment of the present disclosure provides an electronic device 1400.
  • the electronic device may include a receiving module 1401 and a display module 1402.
  • the receiving module 1401 is configured to receive the first content for the screen of the electronic device when the first content is displayed on the first screen area of the screen of the electronic device and the second content is displayed on the second screen area of the screen of the electronic device.
  • the electronic device includes a foldable screen, and the first input is a folding input of the foldable screen; the display module 1402 is specifically used for excluding the screen area and the first screen area within the preset range of the fold line on the foldable screen The area of the screen that displays the first content.
  • the first input input parameters include a folding angle and a folding position; the display module 1402 is specifically configured to display the second content in a screen area corresponding to the folding position when the folding angle is within a preset angle range.
  • the first input is a click input for the screen of the electronic device; the display module 1402 is specifically configured to display the second content in the screen area corresponding to the input parameter of the click input; Set the screen area of the corresponding relationship to display the first content.
  • the input parameters of the first input include the click position and the number of clicks; the display module 1402 is specifically configured to display in the screen area corresponding to the number of clicks and the target area when the click position is located in the first preset area The second content.
  • the first preset area is a preset area corresponding to the holding method of the user currently holding the electronic device, and the holding method is left-handed or right-handed; the target area is the first preset area on the screen. Set the area corresponding to the area.
  • the electronic device provided in the embodiments of the present disclosure can implement each process implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
  • An embodiment of the present disclosure provides an electronic device.
  • the user can trigger the electronic device through the first input to the electronic device.
  • the device displays the second content in the first screen area and displays the first content in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that the user can operate the electronic device with one hand.
  • the user can exchange the content far away from the preset one-handed operation area to be displayed close to the preset one-handed operation area, thereby improving the convenience for the user to operate the electronic device with one hand.
  • FIG. 15 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present disclosure.
  • the electronic device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , The processor 210, and the power supply 211.
  • the structure of the electronic device shown in FIG. 15 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the input unit 204 is configured to receive the information for the screen of the electronic device when the first content is displayed on the first screen area of the screen of the electronic device and the second content is displayed on the second screen area of the screen of the electronic device.
  • An embodiment of the present disclosure provides an electronic device.
  • the user can trigger the electronic device through the first input to the electronic device.
  • the device displays the second content in the first screen area and displays the first content in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that the user can operate the electronic device with one hand.
  • the user can exchange the content far away from the preset one-handed operation area to be displayed close to the preset one-handed operation area, thereby improving the convenience for the user to operate the electronic device with one hand.
  • the radio frequency unit 201 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic device 200 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 204 is used to receive audio or video signals.
  • the input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042.
  • the graphics processing unit 2041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame may be displayed on the display unit 206.
  • the image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202.
  • the microphone 2042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
  • the electronic device 200 further includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 2061 and the display panel 2061 when the electronic device 200 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 206 is used to display information input by the user or information provided to the user.
  • the display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 207 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 207 includes a touch panel 2071 and other input devices 2072.
  • the touch panel 2071 also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operating).
  • the touch panel 2071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed.
  • the touch panel 2071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 207 may also include other input devices 2072.
  • other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 2071 can be overlaid on the display panel 2061.
  • the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of the touch event, and then the processor 210 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 2061.
  • the touch panel 2071 and the display panel 2061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 208 is an interface for connecting an external device and the electronic device 200.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 208 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 200 or can be used to connect the electronic device 200 to an external device. Transfer data between devices.
  • the memory 209 can be used to store software programs and various data.
  • the memory 209 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 210 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
  • the electronic device 200 may also include a power source 211 (such as a battery) for supplying power to various components.
  • a power source 211 such as a battery
  • the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 200 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides an electronic device, including a processor 210 as shown in FIG. 15, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is
  • the processor 210 implements the various processes of the foregoing method embodiments when executing, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • computer-readable storage media such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.

Abstract

A display control method and an electronic device, relating to the technical field of communications, and the method being applied to the electronic device. The method comprises: when first content is displayed in a first screen region of a screen of an electronic device and when second content is displayed in a second screen region of the screen of the electronic device, receiving a first input with respect to the screen of the electronic device (step 101); and in response to the first input, displaying the second content in the first screen region, and displaying the first content in the second screen region (step 102).

Description

显示控制方法及电子设备Display control method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年09月29日提交国家知识产权局、申请号为201910935539.9申请名称为“一种显示控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on September 29, 2019 with the application number 201910935539.9 and the application titled "A display control method and electronic equipment", the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种显示控制方法及电子设备。The embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a display control method and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的屏幕越来越大。当电子设备的屏幕比较大时,用户在单手操作电子设备的过程中,电子设备的一部分屏幕可能超出用户手指的触控范围。With the development of communication technology, the screens of electronic devices are getting bigger and bigger. When the screen of the electronic device is relatively large, a part of the screen of the electronic device may exceed the touch range of the user's finger when the user operates the electronic device with one hand.
目前,可以通过单手操作模式解决上述问题。具体的,用户在单手操作电子设备的过程中,当用户触发电子设备进入单手操作模式时,电子设备可以将电子设备的屏幕上显示的内容缩小显示在单手操作区域内(该单手操作区域内处于用户手指的触控范围内),从而用户可以在该单手操作区域内进行操作。At present, the above-mentioned problems can be solved through one-handed operation mode. Specifically, when the user is in the process of operating the electronic device with one hand, when the user triggers the electronic device to enter the one-hand operation mode, the electronic device can reduce the content displayed on the screen of the electronic device and display it in the one-hand operation area (the one-hand operation area). The operation area is within the touch range of the user's finger), so that the user can perform operations in the single-handed operation area.
但是,上述过程中,由于单手操作区域内的内容为电子设备对屏幕上显示的内容缩小后的内容,因此该单手操作区域内的内容的显示尺寸较小,从而使得用户无法准确地操作该单手操作区域内的内容,进而导致单手操作的便捷性较差。However, in the above process, since the content in the one-handed operation area is the content of the electronic device after the content displayed on the screen is reduced, the display size of the content in the one-handed operation area is small, which makes the user unable to operate accurately The content in the single-handed operation area further leads to poor convenience of single-handed operation.
发明内容Summary of the invention
本公开实施例提供一种显示控制方法及电子设备,以解决相关技术中用户单手操作电子设备的便捷性较差的问题。The embodiments of the present disclosure provide a display control method and an electronic device to solve the problem of poor convenience for users to operate the electronic device with one hand in the related art.
为了解决上述技术问题,本公开实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present disclosure are implemented as follows:
第一方面,本公开实施例提供了一种显示控制方法。应用于电子设备,该方法包括:在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;响应于该第一输入,在该第一屏幕区域显示第二内容,并在该第二屏幕区域显示第一内容。In the first aspect, embodiments of the present disclosure provide a display control method. Applied to an electronic device, the method includes: in a case where the first content is displayed through the first screen area of the screen of the electronic device, and the second content is displayed through the second screen area of the screen of the electronic device, receiving a screen for the electronic device In response to the first input, display the second content in the first screen area and display the first content in the second screen area in response to the first input.
第二方面,本公开实施例提供了一种电子设备。该电子设备包括:接收模块和显示模块。接收模块,用于在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;显示模块,用于响应于接收模块接收的该第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。In the second aspect, an embodiment of the present disclosure provides an electronic device. The electronic device includes: a receiving module and a display module. The receiving module is configured to receive the first input for the screen of the electronic device when the first content is displayed on the first screen area of the screen of the electronic device and the second content is displayed on the second screen area of the screen of the electronic device The display module is used to respond to the first input received by the receiving module, display the second content in the first screen area, and display the first content in the second screen area.
第三方面,本公开实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的显示控制方法的步骤。In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor. The computer program is executed by the processor to realize the first The steps of the display control method provided by the aspect.
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的显示控制方 法的步骤。In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium storing a computer program on the computer-readable storage medium, and the computer program implements the steps of the display control method provided in the first aspect when the computer program is executed by a processor.
在本公开实施例中,可以在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;以及响应于该第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。通过该方案,在第一屏幕区域可以显示有第一内容,第二屏幕区域可以显示有第二内容的情况下,用户可以通过针对电子设备的第一输入,触发电子设备在第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容,即,第一屏幕区域显示的内容和第二屏幕区域显示的内容进行交换显示,从而在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,进而可以提高用户单手操作电子设备的便捷性。In the embodiment of the present disclosure, in the case where the first content is displayed through the first screen area of the screen of the electronic device, and the second content is displayed through the second screen area of the screen of the electronic device, the information for the screen of the electronic device may be received. A first input; and in response to the first input, displaying the second content in the first screen area and displaying the first content in the second screen area. With this solution, when the first content can be displayed in the first screen area and the second content can be displayed in the second screen area, the user can trigger the electronic device to display in the first screen area through the first input to the electronic device The second content, and the first content is displayed in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that when the user operates the electronic device with one hand, the user can The content that is far away from the preset one-handed operation area is exchanged to be close to the preset one-handed operation area for display, thereby improving the convenience of the user's one-handed operation of the electronic device.
附图说明Description of the drawings
图1为本公开实施例提供的一种安卓操作系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种显示控制方法的示意图之一;FIG. 2 is one of the schematic diagrams of a display control method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种显示控制方法的示意图之二;3 is a second schematic diagram of a display control method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种显示控制方法的示意图之三;4 is the third schematic diagram of a display control method provided by an embodiment of the disclosure;
图5为本公开实施例提供的一种电子设备折叠操作示意图;FIG. 5 is a schematic diagram of a folding operation of an electronic device according to an embodiment of the present disclosure;
图6为本公开实施例提供的一种电子设备屏幕划分示意图之一;FIG. 6 is one of the schematic diagrams of dividing the screen of an electronic device according to an embodiment of the present disclosure;
图7为本公开实施例提供的一种用户对电子设备的操作示意图之一;FIG. 7 is one of the schematic diagrams of a user's operation of an electronic device provided by an embodiment of the disclosure;
图8为本公开实施例提供的一种用户对电子设备的操作示意图之二;FIG. 8 is a second schematic diagram of a user's operation on an electronic device provided by an embodiment of the disclosure;
图9为本公开实施例提供的一种显示控制方法的示意图之四;FIG. 9 is a fourth schematic diagram of a display control method provided by an embodiment of the present disclosure;
图10为本公开实施例提供的一种电子设备屏幕划分示意图之二;FIG. 10 is a second schematic diagram of screen division of an electronic device according to an embodiment of the present disclosure;
图11为本公开实施例提供的一种显示控制方法的示意图之五;FIG. 11 is a fifth schematic diagram of a display control method provided by an embodiment of the present disclosure;
图12为本公开实施例提供的一种用户对电子设备的操作示意图之三;FIG. 12 is a third schematic diagram of a user's operation on an electronic device provided by an embodiment of the disclosure;
图13为本公开实施例提供的一种用户对电子设备的操作示意图之四;FIG. 13 is a fourth schematic diagram of a user's operation on an electronic device provided by an embodiment of the disclosure; FIG.
图14为本公开实施例提供的电子设备的结构示意图;FIG. 14 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure;
图15为本公开实施例提供的电子设备的硬件示意图。FIG. 15 is a schematic diagram of hardware of an electronic device provided by an embodiment of the disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一屏幕区域和第二屏幕区域等是用于区别不同的屏幕区域,而不是用于描述屏幕区域的特定顺序。The terms "first" and "second" in the specification and claims of the present disclosure are used to distinguish different objects, rather than describing a specific order of objects. For example, the first screen area and the second screen area are used to distinguish different screen areas, rather than to describe a specific sequence of screen areas.
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释 为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "plurality" means two or more than two, for example, a plurality of elements means two or more elements, and so on.
本公开实施例提供一种显示控制方法及电子设备,可以在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;以及响应于该第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。通过该方案,在第一屏幕区域可以显示有第一内容,第二屏幕区域可以显示有第二内容的情况下,用户可以通过针对电子设备的第一输入,触发电子设备在第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容,即,第一屏幕区域显示的内容和第二屏幕区域显示的内容进行交换显示,从而在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,进而可以提高用户单手操作电子设备的便捷性。The embodiments of the present disclosure provide a display control method and an electronic device, which can display first content through a first screen area of the screen of the electronic device, and display second content through a second screen area of the screen of the electronic device, Receiving a first input for the screen of the electronic device; and in response to the first input, displaying the second content in the first screen area and displaying the first content in the second screen area. With this solution, when the first content can be displayed in the first screen area and the second content can be displayed in the second screen area, the user can trigger the electronic device to display in the first screen area through the first input to the electronic device The second content, and the first content is displayed in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that when the user operates the electronic device with one hand, the user can The content that is far away from the preset one-handed operation area is exchanged to be close to the preset one-handed operation area for display, thereby improving the convenience of the user's one-handed operation of the electronic device.
本公开实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。The electronic device in the embodiment of the present disclosure may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
下面以安卓操作系统为例,介绍一下本公开实施例提供的显示控制方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the display control method provided in the embodiments of the present disclosure is applied.
如图1所示,为本公开实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的显示控制方法的软件程序,从而使得该显示控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的显示控制方法。Taking the Android operating system as an example, in the embodiments of the present disclosure, developers can develop software programs that implement the display control method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. The control method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the display control method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
本公开实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上 网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。需要说明的是,本公开实施例中的电子设备可以为终端设备。The electronic device in the embodiments of the present disclosure may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc., the non-mobile electronic device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure. It should be noted that the electronic device in the embodiment of the present disclosure may be a terminal device.
本公开实施例提供的显示控制方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该显示控制方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以电子设备为例,对本公开实施例提供的显示控制方法进行示例性的说明。The execution subject of the display control method provided by the embodiments of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the display control method, and the details may be determined according to actual usage requirements. The embodiments of the present disclosure are not limited. In the following, an electronic device is taken as an example to illustrate the display control method provided by the embodiment of the present disclosure.
本公开实施例中,在第一屏幕区域显示第一内容,第二屏幕区域显示第二内容的情况下,且第一屏幕区域远离用户预设单手操作区域,第二屏幕区域靠近预设单手操作区域。如果用户想要单手对第一内容进行操作,那么用户可以通过对电子设备的第一输入,触发电子设备在第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容,从而用户可以对在第二屏幕区域显示的第一内容进行单手操作。In the embodiment of the present disclosure, when the first content is displayed in the first screen area and the second content is displayed in the second screen area, and the first screen area is far away from the user's preset one-handed operation area, the second screen area is close to the preset list. Hand operating area. If the user wants to operate the first content with one hand, the user can trigger the electronic device to display the second content in the first screen area and display the first content in the second screen area through the first input to the electronic device, thereby The user can perform one-handed operation on the first content displayed in the second screen area.
如图2所示,本公开实施例提供一种显示控制方法,该方法可以包括下述的步骤101和步骤102。As shown in FIG. 2, an embodiment of the present disclosure provides a display control method. The method may include the following steps 101 and 102.
步骤101、在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,电子设备接收针对电子设备的屏幕的第一输入。Step 101: In the case where the first content is displayed through the first screen area of the screen of the electronic device and the second content is displayed through the second screen area of the screen of the electronic device, the electronic device receives a first input for the screen of the electronic device .
需要说明的是,本公开实施例中,第一屏幕区域为电子设备的屏幕上远离用户预设单手操作区域的一个区域。第二屏幕区域为电子设备的屏幕上靠近用户预设单手操作区域的一个区域,且第二屏幕区域与预设单手操作区域有部分区域重合,即第二屏幕区域显示的内容中的部分内容位于预设单手操作区域内。It should be noted that, in the embodiment of the present disclosure, the first screen area is an area on the screen of the electronic device that is far from the user's preset single-handed operation area. The second screen area is an area on the screen of the electronic device that is close to the user's preset one-handed operation area, and a part of the second screen area overlaps with the preset one-handed operation area, that is, part of the content displayed in the second screen area The content is located in the preset one-handed operation area.
可选地,本公开实施例中,本公开实施例提供的电子设备可以为折叠式电子设备,或为双面屏电子设备。其中,双面屏电子设备具体可以为:可以包括第一屏和第二屏的电子设备。其中,第一屏和第一屏可以同向设置,也可以背向设置。Optionally, in the embodiment of the present disclosure, the electronic device provided in the embodiment of the present disclosure may be a foldable electronic device or a double-sided screen electronic device. Among them, the double-sided screen electronic device may specifically be: an electronic device that may include a first screen and a second screen. Among them, the first screen and the first screen can be set in the same direction or set back.
可选地,本公开实施例中,上述第一输入具体可以为以下任一项:在电子设备为折叠式电子设备的情况下,第一输入可以为针对电子设备的可折叠屏幕的折叠输入;第一输入也可以为针对电子设备的屏幕的点击输入。Optionally, in the embodiment of the present disclosure, the above-mentioned first input may specifically be any one of the following: in a case where the electronic device is a foldable electronic device, the first input may be a folding input for a foldable screen of the electronic device; The first input may also be a click input for the screen of the electronic device.
可选地,本公开实施例中,若第一输入为针对电子设备的可折叠屏幕的折叠输入,则第一输入具体可以为:用户对第一屏幕区域的折叠输入;或者,用户对目标屏幕区域的折叠输入,该目标屏幕区域对应第一屏幕区域。Optionally, in the embodiment of the present disclosure, if the first input is a folding input for the foldable screen of the electronic device, the first input may specifically be: the user's folding input to the first screen area; or the user's input to the target screen Area folding input, the target screen area corresponds to the first screen area.
具体的,若第一输入为用户对第一屏幕区域的折叠输入,则该折叠输入具体可以为以下任一项:用户对第一屏幕区域沿水平折叠线的折叠输入,用户对第一屏幕区域沿竖直折叠线的折叠输入。Specifically, if the first input is the user's folding input of the first screen area, the folding input may specifically be any of the following: the user's folding input of the first screen area along the horizontal folding line, and the user's input to the first screen area Fold input along the vertical fold line.
具体的,若第一输入为用户对目标屏幕区域的折叠输入,该目标屏幕区域对应第一屏幕区域。示例性的,假设电子设备屏幕上的S区域对应第一屏幕区域(即S区域中的坐标点和第一区域中的坐标点存在映射关系),如果用户想要针对第一屏幕区域进行折叠输入,那么用户可以对电子设备屏幕上的S区域进行折叠输入,从而电子设备根据S区域与第一屏幕区域的对应关系得到用户针对第一屏幕区域的折叠输入。Specifically, if the first input is a user's folding input to the target screen area, the target screen area corresponds to the first screen area. Exemplarily, suppose that the S area on the screen of the electronic device corresponds to the first screen area (that is, there is a mapping relationship between the coordinate points in the S area and the coordinate points in the first area), if the user wants to perform a folding input for the first screen area Then, the user can perform a folding input on the S area on the screen of the electronic device, so that the electronic device obtains the user's folding input for the first screen area according to the corresponding relationship between the S area and the first screen area.
可选地,本公开实施例中,若第一输入为针对电子设备的屏幕的点击输入,则该第一输入具体可以为:对目标区域的点击输入,该目标区域对应第一屏幕区域(即,目标区域中的坐标点和第一屏幕区域中的坐标点存在映射关系)。若该电子设备为双面屏电子设备,则目标区域可以位于该双面屏电子设备的第一屏或第二屏。Optionally, in the embodiment of the present disclosure, if the first input is a click input for the screen of the electronic device, the first input may specifically be: a click input to a target area, which corresponds to the first screen area (ie , There is a mapping relationship between the coordinate points in the target area and the coordinate points in the first screen area). If the electronic device is a double-sided screen electronic device, the target area may be located on the first screen or the second screen of the double-sided screen electronic device.
示例性的,假设电子设备第二屏上的K区域对应电子设备第一屏上的第一屏幕区域(即K区域中的坐标点和第一区域中的坐标点存在映射关系)。如果用户想要针对第一屏幕区域进行点击输入,那么用户可以对电子设备第二屏上的K区域执行点击输入,从而电子设备根据K区域与第一屏幕区域的对应关系得到用户针对第一屏幕区域的输入。Exemplarily, assume that the K area on the second screen of the electronic device corresponds to the first screen area on the first screen of the electronic device (that is, the coordinate points in the K area and the coordinate points in the first area have a mapping relationship). If the user wants to perform a click input on the first screen area, the user can perform a click input on the K area on the second screen of the electronic device, so that the electronic device obtains the user’s input on the first screen according to the correspondence between the K area and the first screen area. The input of the area.
可以理解的是,本公开实施例中,由于用户可以通过折叠输入和点击输入操作电子设备,因此电子设备可以通过两种操作实现同一功能,用户可以进行多样性选择,提高用户体验。It is understandable that, in the embodiments of the present disclosure, since the user can operate the electronic device through folding input and click input, the electronic device can achieve the same function through two operations, and the user can make diversified choices and improve user experience.
步骤102、电子设备响应于该第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。Step 102: In response to the first input, the electronic device displays second content in the first screen area and displays the first content in the second screen area.
其中,该第二屏幕区域显示的内容中的部分内容位于预设单手操作区域内。Wherein, part of the content displayed in the second screen area is located in the preset one-handed operation area.
可选地,结合图2,如图3所示,本公开实施例中,上述步骤102具体可以通过下述步骤102a和步骤102b实现。Optionally, in conjunction with FIG. 2, as shown in FIG. 3, in the embodiment of the present disclosure, the foregoing step 102 may be specifically implemented by the following steps 102a and 102b.
步骤102a、电子设备响应于该第一输入,在该第一屏幕区域显示第二内容。Step 102a: In response to the first input, the electronic device displays second content in the first screen area.
步骤102b、电子设备响应于该第一输入,在该第二屏幕区域显示第一内容。Step 102b: In response to the first input, the electronic device displays the first content in the second screen area.
需要说明的是,由于在接收第一输入之前,第一屏幕区域显示有第一内容,第二屏幕区域显示有第二内容。在接收第一输入之后,第一屏幕区域显示有第二内容,第二屏幕区域显示有第一内容。因此本公开实施例将在第一屏幕区域中的显示内容和第二屏幕区域中的显示内容进行了交换显示。It should be noted that before the first input is received, the first screen area displays the first content, and the second screen area displays the second content. After receiving the first input, the first screen area displays the second content, and the second screen area displays the first content. Therefore, in the embodiment of the present disclosure, the display content in the first screen area and the display content in the second screen area are exchanged and displayed.
可选地,本公开实施例中,预设单手操作区域可以为用户设置的单手操作区域,也可以为电子设备出厂时默认的单手操作区域。其中,该预设单手操作区域具体可以分为:左手预设操作区域和右手预设操作区域,在用户交换操作手的情况下(例如,用户左手操作换为右手操作),电子设备对应更改单手操作区域(即左手操作区域不响应,右手操作区域响应)。Optionally, in the embodiments of the present disclosure, the preset one-handed operation area may be a one-handed operation area set by a user, or may be a default one-handed operation area when the electronic device is shipped. Among them, the preset one-handed operation area can be specifically divided into: a left-hand preset operation area and a right-hand preset operation area. In the case of a user switching hands (for example, the user's left-hand operation is changed to a right-hand operation), the electronic device is changed accordingly One-handed operation area (that is, the left-hand operation area does not respond, and the right-hand operation area responds).
示例性的,在接收第一输入之前,第一区域显示的内容为图片A,第二区域显示的内容为图片B,且第二区域的部分区域和预设单手操作区域部分重合(即图片B的部分内容位于预设单手操作区域内)。在接收用户对电子设备的第一输入之后,电子设备响应于该第一输入对第一区域显示的内容和第二区域显示的内容进行交换显示。即,在第一区域显示的内容为图片B,并在第二区域显示的内容为图片A,第二区域的部分区域和预设单手操作区域部分重合(即图片A的部分内容位于预设单手操作区域内)。Exemplarily, before receiving the first input, the content displayed in the first area is picture A, the content displayed in the second area is picture B, and part of the second area overlaps with the preset one-handed operation area (ie, picture Part of B is located in the preset one-handed operation area). After receiving the user's first input to the electronic device, the electronic device exchanges and displays the content displayed in the first area and the content displayed in the second area in response to the first input. That is, the content displayed in the first area is picture B, and the content displayed in the second area is picture A. Part of the second area overlaps with the preset one-handed operation area (that is, part of the content of picture A is located in the preset One-handed operation area).
可选地,本公开实施例中,在实际使用过程中,若用户通过一次交换显示操作,不能将用户想要操作的内容交换显示至预设单手操作区域内,则用户可以进行多次交换显示操作(即多次执行步骤102),使得用户想要操作的内容显示在用户单手操作区间内。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, in actual use, if the user cannot exchange and display the content that the user wants to operate in the preset one-handed operation area through one exchange display operation, the user can perform multiple exchanges The display operation (that is, step 102 is performed multiple times), so that the content that the user wants to operate is displayed in the user's one-handed operation interval. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
本公开实施例提供一种显示控制方法,可以在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;以及响应于该第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。通过该方案,在第一屏幕区域可以显示有第一内容,第二屏幕区域可以显示有第二内容的情况下,用户可以通过针对电子设备的第一输入,触发电子设备在第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容,即,第一屏幕区域显示的内容和第二屏幕区域显示的内容进行交换显示,从而在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,进而可以提高用户单手操作电子设备的便捷性。The embodiment of the present disclosure provides a display control method, which can display first content through the first screen area of the screen of the electronic device and display the second content through the second screen area of the screen of the electronic device. A first input on the screen of the device; and in response to the first input, displaying the second content in the first screen area and displaying the first content in the second screen area. With this solution, when the first content can be displayed in the first screen area and the second content can be displayed in the second screen area, the user can trigger the electronic device to display in the first screen area through the first input to the electronic device The second content, and the first content is displayed in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that when the user operates the electronic device with one hand, the user can The content that is far away from the preset one-handed operation area is exchanged to be close to the preset one-handed operation area for display, thereby improving the convenience of the user's one-handed operation of the electronic device.
可选地,结合图3,如图4所示,本公开实施例中,电子设备为可折叠屏幕,第一输入为可折叠屏幕的折叠输入,第一输入的输入参数包括折叠角度和折叠位置。上述步骤102a具体可以通过下述步骤102a1实现,上述步骤102b具体可以通过下述步骤102b1实现。Optionally, in conjunction with FIG. 3, as shown in FIG. 4, in an embodiment of the present disclosure, the electronic device is a foldable screen, the first input is a folding input of the foldable screen, and the input parameters of the first input include a folding angle and a folding position . The foregoing step 102a may be specifically implemented by the following step 102a1, and the foregoing step 102b may be specifically implemented by the following step 102b1.
步骤102a1、电子设备响应于第一输入,在折叠角度位于预设角度范围内的情况下,在与折叠位置对应的屏幕区域显示第二内容。Step 102a1. In response to the first input, the electronic device displays the second content on the screen area corresponding to the folding position when the folding angle is within the preset angle range.
步骤102b1、电子设备响应于第一输入,在可折叠屏幕上除折叠线预设范围内的屏幕区域和第一屏幕区域外的屏幕区域,显示第一内容。Step 102b1. In response to the first input, the electronic device displays the first content on the foldable screen except for the screen area within the preset range of the fold line and the screen area outside the first screen area.
可选地,本公开实施例中,在折叠角度位于预设角度范围内的情况下,根据折叠位置确定第一屏幕区域,并在该第一屏幕区域显示第二内容。Optionally, in the embodiment of the present disclosure, when the folding angle is within a preset angle range, the first screen area is determined according to the folding position, and the second content is displayed in the first screen area.
可选地,本公开实施例中,将电子设备的可折叠屏幕上,除折叠线预设范围内的屏幕区域和第一屏幕区域外的屏幕区域确定为第二屏幕区域,并在该第二屏幕区域显示第一内容。Optionally, in the embodiments of the present disclosure, on the foldable screen of the electronic device, the screen area except the screen area within the preset range of the fold line and the screen area outside the first screen area is determined as the second screen area, and the second screen area is The screen area displays the first content.
可选地,本公开实施例中,若第一输入为用户针对第一屏幕区域的折叠输入,则第一输入的输入参数可以包括:折叠角度和折叠位置。其中,折叠位置可以由折叠长度和折叠区域确定。Optionally, in the embodiment of the present disclosure, if the first input is a folding input of the user for the first screen area, the input parameters of the first input may include: a folding angle and a folding position. Among them, the folding position can be determined by the folding length and the folding area.
具体的,折叠角度是指:折叠式电子设备未折叠之前与折叠式电子设备折叠之后,折叠屏幕的弯折角度。示例性的,图5中的(a)为电子设备00沿折叠线01将进行折叠操作的主视图,图5中的(b)为电子设备00沿折叠线01折叠之后的侧视图。如图5中的(b)所示,电子设备00未折叠之前与电子设备00折叠之后电子设备屏幕的弯折角度α为折叠角度。Specifically, the folding angle refers to the folding angle of the folding screen before the folding electronic device is folded and after the folding electronic device is folded. Exemplarily, (a) in FIG. 5 is a front view of the electronic device 00 performing a folding operation along the folding line 01, and (b) in FIG. 5 is a side view of the electronic device 00 after being folded along the folding line 01. As shown in (b) of FIG. 5, the folding angle α of the screen of the electronic device before the electronic device 00 is folded and after the electronic device 00 is folded is the folding angle.
具体的,折叠长度是指:第一屏幕区域中平行于折叠线的边界与折叠线的距离。示例性的,图5中的(a)所示的第一屏幕区域的上边缘距离折叠线的距离H为折叠长度,即图5中的(b)所示的第一屏幕区域的上边缘距离折叠线的距离H。Specifically, the folding length refers to the distance between the boundary parallel to the folding line and the folding line in the first screen area. Exemplarily, the distance H from the upper edge of the first screen area shown in FIG. 5(a) to the fold line is the folding length, that is, the distance H from the upper edge of the first screen area shown in FIG. 5(b) The distance H of the fold line.
具体的,折叠区域是指:在用户将电子设备进行折叠时,由折叠线和屏幕的三个边缘构成的区域经过电子设备计算得到的区域。示例性的,图5中的(a)所示的区域02为折叠区域。Specifically, the folding area refers to an area calculated by the electronic device when the user folds the electronic device, the area formed by the folding line and the three edges of the screen. Exemplarily, the area 02 shown in (a) in FIG. 5 is a folding area.
可选地,本公开实施例中,上述预设角度范围为[0°,90°]。Optionally, in the embodiment of the present disclosure, the aforementioned preset angle range is [0°, 90°].
示例性的,若折叠角度为40°,在预设角度范围[0°,90°]内,电子设备可以根据折叠位置,确定第一区域。若折叠角度为-40°(即用户对电子设备的屏幕进行反方 向折叠),不在预设角度范围[0°,90°]内,则电子设备无法确定第一屏幕区域。Exemplarily, if the folding angle is 40°, within the preset angle range [0°, 90°], the electronic device may determine the first area according to the folding position. If the folding angle is -40° (that is, the user folds the screen of the electronic device in the opposite direction) and is not within the preset angle range [0°, 90°], the electronic device cannot determine the first screen area.
可选地,本公开实施例中,上述电子设备根据折叠位置,确定第一屏幕区域具体可以采用以下方式确定:Optionally, in the embodiment of the present disclosure, the above-mentioned electronic device may determine the first screen area according to the folding position in the following manner:
若H≤K/M,且α在[0°,90°]范围内,则将屏幕中的第一区域确定为第一屏幕区域;If H≤K/M and α is in the range of [0°, 90°], then the first area in the screen is determined as the first screen area;
若K/M<H≤2*K/M,且α在[0°,90°]范围内,则将屏幕中的第一区域和将屏幕中的第二区域确定为第一屏幕区域;If K/M<H≤2*K/M, and α is in the range of [0°, 90°], then the first area in the screen and the second area in the screen are determined as the first screen area;
若2*K/M<H≤3*K/M,且α在[0°,90°]范围内,则将屏幕中的确定第一区域、将屏幕中的第二区域和将屏幕中的第三区域确定为第一屏幕区域;If 2*K/M<H≤3*K/M, and α is in the range of [0°, 90°], then the first area in the screen will be determined, the second area in the screen will be set, and the The third area is determined as the first screen area;
……...
若(N-1)*K/M<H≤N*K/M,且α在[0°,90°]范围内,则将屏幕中的确定第一区域、将屏幕中的第二区域、……、将屏幕中的第(N-1)区域和第n区域为第一屏幕区域。If (N-1)*K/M<H≤N*K/M, and α is in the range of [0°, 90°], the first area in the screen, the second area in the screen, .... The (N-1)th area and the nth area in the screen are regarded as the first screen area.
其中:among them:
H可以用于表示折叠长度,例如图5中的(a)所示的H;H can be used to represent the folded length, such as H shown in (a) in Figure 5;
α可以用于表示折叠角度,例如图5中的(b)所示的α;α can be used to represent the folding angle, such as α shown in (b) in Figure 5;
M可以用于表示电子设备屏幕划分的区域个数,具体可以为沿平行于折叠线进行水平划分的区域,或竖直划分的区域;M can be used to indicate the number of areas divided by the screen of the electronic device, and specifically can be a horizontally divided area or a vertically divided area along a fold line parallel to the fold line;
K可以用于表示电子设备屏幕的长度,例如图6所示的K。K can be used to represent the length of the screen of an electronic device, such as K shown in FIG. 6.
N可以用于表示第N个区域,且N≤M/2,M和N均为正整数。N can be used to represent the Nth region, and N≤M/2, and both M and N are positive integers.
需要说明的是,上述按照行交换方式确定第一屏幕区域。对于按照列交换方式确定第一屏幕区域的具体实现方式,可以参照按照行交换方式确定第一屏幕区域的相关描述,此处不予赘述。It should be noted that, the first screen area is determined according to the line exchange method described above. For the specific implementation manner of determining the first screen area according to the column exchange mode, reference may be made to the related description of determining the first screen area according to the row exchange mode, which will not be repeated here.
示例性的,如图6所示,电子设备的屏幕从上向下依次划分为6个区域分别是:第一区域10、第二区域20、第三区域30、第四区域40、第五区域50和第六区域60。下面以M=6,n≤3,且K为电子设备屏幕的长度,为一个常数,对确定第一屏幕区域进行具体说明。若H≤K/6,且α在[0°,90°]范围内,则将第一区域10确定为第一屏幕区域;若K/6<H≤2*K/6,且α在[0°,90°]范围内,则将第一区域10和第二区域20确定为第一屏幕区域;若2*K/6<H≤3*K/6,且α在[0°,90°]范围内,则将第一区域10、第二区域20和第三区域30确定为第一屏幕区域。Exemplarily, as shown in FIG. 6, the screen of the electronic device is divided into 6 areas from top to bottom, respectively: a first area 10, a second area 20, a third area 30, a fourth area 40, and a fifth area. 50 and the sixth area 60. In the following, taking M=6, n≤3, and K being the length of the screen of the electronic device, which is a constant, the determination of the first screen area will be specifically described. If H≤K/6, and α is in the range of [0°, 90°], then the first area 10 is determined as the first screen area; if K/6<H≤2*K/6, and α is in [ 0°, 90°], the first area 10 and the second area 20 are determined as the first screen area; if 2*K/6<H≤3*K/6, and α is in [0°, 90 °], the first area 10, the second area 20, and the third area 30 are determined as the first screen area.
可选地,本公开实施例中,在电子设备确定第一屏幕区域之后,电子设备可以将沿折叠线与该第一屏幕区域对称的一个或多个区域确定为第二屏幕区域。Optionally, in the embodiment of the present disclosure, after the electronic device determines the first screen area, the electronic device may determine one or more areas symmetrical to the first screen area along the folding line as the second screen area.
示例性的,如图6所示,若第一区域10为第一屏幕区域,且折叠线位于第一区域10和第二区域20之间,则电子设备00可以将第二区域20确定为第二屏幕区域。若第一区域10和第二区域20为第一屏幕区域,且折叠线位于第二区域20和第三区域30之间,则电子设备00可以将第三区域30和第四区域40确定为第二屏幕区域。若第一区域10、第二区域20和第三区域30为第一屏幕区域,且折叠线位于第三区域30和第四区域40之间,则电子设备00可以将第四区域40、第五区域50和第六区域60确定为第二屏幕区域。Exemplarily, as shown in FIG. 6, if the first area 10 is the first screen area, and the folding line is located between the first area 10 and the second area 20, the electronic device 00 may determine the second area 20 as the first area. 2. Screen area. If the first area 10 and the second area 20 are the first screen area, and the folding line is located between the second area 20 and the third area 30, the electronic device 00 may determine the third area 30 and the fourth area 40 as the first screen area. 2. Screen area. If the first area 10, the second area 20, and the third area 30 are the first screen area, and the fold line is located between the third area 30 and the fourth area 40, the electronic device 00 can set the fourth area 40, the fifth area The area 50 and the sixth area 60 are determined as the second screen area.
下面分别以图7和图8为例,对按照行交换方式确定第一屏幕区域和第二屏幕区域、按照列交换方式确定第一屏幕区域和第二屏幕区域进行示例性说明。Hereinafter, taking FIG. 7 and FIG. 8 as examples, the first screen area and the second screen area are determined according to the row exchange mode, and the first screen area and the second screen area are determined according to the column exchange mode are exemplified.
示例性的,如图7中的(a)所示,电子设备00的屏幕按照平行于折叠线01的方式依次从上到下依次划分为6个区域,即第一区域10、第二区域20、第三区域30、第四区域40、第五区域50和第六区域60。如果用户的折叠输入(即第一输入)为按照折叠线01,且面向用户方向将电子设备00的屏幕折叠40°,那么,由于K/6<H≤2*K/6,且α在[0°,90°]范围内,则电子设备00可以将第一区域10和第二区域20确定为第一屏幕区域,并将第三区域30和第四区域40确定为第二屏幕区域。在确定第一屏幕区域和第二屏幕区域之后,如图7中的(b)所示,电子设备00可以将第一屏幕区域(第一区域10和第二区域20)中的内容和第二屏幕区域(第三区域30和第四区域40)中的内容进行交换显示。例如,可以将显示在第一区域10中的“应用1”图标交换至第四区域40中进行显示,如此用户可以对预设单手操作区域内的“应用1”图标进行单手操作。Exemplarily, as shown in FIG. 7(a), the screen of the electronic device 00 is divided into 6 regions from top to bottom in a manner parallel to the folding line 01, namely, the first region 10 and the second region 20. , The third area 30, the fourth area 40, the fifth area 50, and the sixth area 60. If the user's folding input (ie, the first input) is to follow the folding line 01 and fold the screen of the electronic device 00 by 40° facing the user, then, since K/6<H≤2*K/6, and α is in [ Within the range of 0°, 90°], the electronic device 00 may determine the first area 10 and the second area 20 as the first screen area, and the third area 30 and the fourth area 40 as the second screen area. After determining the first screen area and the second screen area, as shown in FIG. 7(b), the electronic device 00 can compare the content in the first screen area (the first area 10 and the second area 20) to the second screen area. The contents in the screen area (the third area 30 and the fourth area 40) are exchanged and displayed. For example, the "application 1" icon displayed in the first area 10 may be exchanged for display in the fourth area 40, so that the user can perform one-handed operation on the "application 1" icon in the preset one-hand operation area.
示例性的,如图8中的(a)所示,电子设备00的屏幕按照平行于折叠线01的方式依次从左到右依次划分为4个区域,即第一区域70、第二区域80、第三区域90和第四区域100。假设用户左手握持电子设备00,如果用户的折叠输入(即第一输入)为按照折叠线01,且向左将电子设备00的屏幕折叠40°,那么,由于H≤K/4,且α在[0°,90°]范围内,则电子设备00可以将第十区域100确定为第一屏幕区域,并将第九区域90确定为第二屏幕区域。在确定第一屏幕区域和第二屏幕区域之后,如图8中的(b)所示,电子设备00可以将第一屏幕区域(第十区域100)中的内容和第二屏幕区域(第九区域90)中的内容进行交换显示。可以将显示在第十区域100中的“应用16”图标交换至第九区域90中进行显示,如此用户可以对预设单手操作区域内的“应用16”图标进行单手操作。Exemplarily, as shown in FIG. 8(a), the screen of the electronic device 00 is divided into 4 areas from left to right in a manner parallel to the folding line 01, namely, the first area 70 and the second area 80. , The third area 90 and the fourth area 100. Assuming that the user holds the electronic device 00 with the left hand, if the user's folding input (ie, the first input) follows the folding line 01, and the screen of the electronic device 00 is folded to the left by 40°, then, since H≤K/4, and α Within the range of [0°, 90°], the electronic device 00 may determine the tenth area 100 as the first screen area and the ninth area 90 as the second screen area. After determining the first screen area and the second screen area, as shown in FIG. 8(b), the electronic device 00 can compare the content in the first screen area (the tenth area 100) with the content in the second screen area (the ninth area). The content in the area 90) is exchanged and displayed. The "application 16" icon displayed in the tenth area 100 can be exchanged for display in the ninth area 90, so that the user can perform one-handed operation on the "application 16" icon in the preset one-hand operation area.
本公开实施例中,电子设备可以根据用户第一输入的输入参数,在可折叠屏幕上除折叠线预设范围内的屏幕区域和第一屏幕区域外的屏幕区域,显示第一内容;在折叠角度位于预设角度范围内的情况下,在与折叠位置对应的屏幕区域显示第二内容。即电子设备可以准确确定第一屏幕区域和第二屏幕区域,并将确定出第一屏幕区域的内容和第二屏幕区域的内容为交换交换显示。如此,在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,从而提高单手操作的便捷性。In the embodiment of the present disclosure, the electronic device can display the first content on the foldable screen according to the input parameters first input by the user, except for the screen area within the preset range of the fold line and the screen area outside the first screen area; When the angle is within the preset angle range, the second content is displayed in the screen area corresponding to the folding position. That is, the electronic device can accurately determine the first screen area and the second screen area, and determine that the content of the first screen area and the content of the second screen area are exchanged and displayed. In this way, when the user operates the electronic device with one hand, the user can exchange the content far away from the preset one-hand operation area to be close to the preset one-hand operation area for display, thereby improving the convenience of one-hand operation.
可选地,结合图2如图9所示,本公开实施例中,第一输入为针对电子设备的屏幕的点击输入。上述步骤102a和步骤102b具体可以通过下述步骤102a2和步骤102b2实现。Optionally, as shown in FIG. 9 in conjunction with FIG. 2, in the embodiment of the present disclosure, the first input is a click input for the screen of the electronic device. The foregoing step 102a and step 102b can be specifically implemented by the following step 102a2 and step 102b2.
步骤102a2、电子设备响应于第一输入,在与点击输入的输入参数对应的屏幕区域,显示第二内容;Step 102a2, in response to the first input, the electronic device displays the second content in the screen area corresponding to the input parameter of the click input;
步骤102b2、电子设备响应于第一输入,在与第一屏幕区域具有预设对应关系的屏幕区域,显示第一内容。Step 102b2, in response to the first input, the electronic device displays the first content in a screen area having a preset corresponding relationship with the first screen area.
可选地,本公开实施例中,根据第一输入的输入参数,确定第一屏幕区域,并在该第一屏幕区域显示第二内容。Optionally, in the embodiment of the present disclosure, the first screen area is determined according to the first input input parameter, and the second content is displayed in the first screen area.
可选地,本公开实施例中,将电子设备的屏幕上,与第一屏幕区域具有预设对应关系的屏幕区域确定为第二屏幕区域,并在该第二屏幕区域显示第一内容。Optionally, in the embodiment of the present disclosure, a screen area on the screen of the electronic device that has a preset corresponding relationship with the first screen area is determined as the second screen area, and the first content is displayed in the second screen area.
可选地,本公开实施例中,若第一输入为用户针对电子设备屏幕的点击输入,则第一输入的输入参数具体可以包括:点击位置和点击次数。Optionally, in the embodiment of the present disclosure, if the first input is a user's click input on the screen of the electronic device, the input parameters of the first input may specifically include: the click location and the number of clicks.
示例性的,图10为双面屏电子设备的第二屏,如图10所示,电子设备的第二屏可以划分为:区域03(称为:A区域)、区域04(称为:B区域)、区域05(称为:C区域)和区域06(称为:D区域)四个区域。假设A区域对应电子设备第一屏上的第一屏幕区域,如果用户可以双击(即第一输入)A区域,那么电子设备根据A区域与第一屏幕区域的对应关系确定该点击输入的点击位置(该点击位置位于A区域)和点击次数(该点击次数为两次)。Exemplarily, FIG. 10 is the second screen of a double-sided screen electronic device. As shown in FIG. 10, the second screen of the electronic device can be divided into: area 03 (referred to as: area A), area 04 (referred to as: B Area), area 05 (referred to as: C area) and area 06 (referred to as: D area) four areas. Assuming that area A corresponds to the first screen area on the first screen of the electronic device, if the user can double-click (ie first input) area A, then the electronic device determines the click position of the click input according to the correspondence between area A and the first screen area (The click location is located in area A) and the number of clicks (the number of clicks is twice).
可以理解的是,本公开实施例中,由于电子设备可以根据用户第一输入的输入,电子设备可以准确确定第一屏幕区域和第二屏幕区域,因此,电子设备可以确定出第一屏幕区域的内容和第二屏幕区域的内容为交换显示的内容,进而在用户单手操作电子设备的情况下,用户可以将第一屏幕区域的内容和第二屏幕区域的内容为进行交换显示,满足用户的使用需求。It is understandable that in the embodiments of the present disclosure, since the electronic device can accurately determine the first screen area and the second screen area according to the first input input by the user, the electronic device can determine the size of the first screen area. The content and the content of the second screen area are exchanged and displayed. When the user operates the electronic device with one hand, the user can exchange the content of the first screen area and the content of the second screen area to meet the needs of the user. Usage requirements.
可选地,结合图9,如图11所示,本公开实施例中,第一输入的输入参数包括点击位置和点击次数,上述步骤102a2具体可以通过下述步骤102a2A实现。Optionally, in conjunction with FIG. 9, as shown in FIG. 11, in the embodiment of the present disclosure, the input parameters of the first input include the click position and the number of clicks. The foregoing step 102a2 can be specifically implemented by the following step 102a2A.
步骤102a2A、电子设备响应于第一输入,在点击位置位于第一预设区域的情况下,在与点击次数和目标区域对应的屏幕区域,显示第二内容。Step 102a2A: In response to the first input, the electronic device displays the second content in the screen area corresponding to the number of clicks and the target area when the click position is located in the first preset area.
其中,上述第一预设区域为与用户当前握持电子设备的握持方式对应的预设区域,该握持方式为左手握持或右手握持;该目标区域为终端设备的屏幕上与第一预设区域对应的区域。Wherein, the above-mentioned first preset area is a preset area corresponding to the holding mode of the user currently holding the electronic device, and the holding mode is left-handed or right-handed; the target area is the screen of the terminal device and the first An area corresponding to a preset area.
可选地,本公开实施例中,在点击位置位于第一预设区域的情况下,根据点击次数和目标区域,确定第一屏幕区域,并在该第一屏幕区域显示第二内容。Optionally, in the embodiment of the present disclosure, when the click position is located in the first preset area, the first screen area is determined according to the number of clicks and the target area, and the second content is displayed in the first screen area.
可选地,本公开实施例中,上述第一预设区域与电子设备的握持方式存在对应关系。具体的,用户在单手握持电子设备的情况下(左手握持或右手握持),用户可以预设一个或多个电子设备屏幕上的区域作为第一预设区域。具体可以根据用户使用需求和使用习惯进行设置。本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, there is a corresponding relationship between the above-mentioned first preset area and the holding manner of the electronic device. Specifically, when the user holds the electronic device with one hand (holding with the left hand or holding with the right hand), the user can preset one or more areas on the screen of the electronic device as the first preset area. Specifically, it can be set according to user needs and habits. The embodiments of the present disclosure are not specifically limited.
示例性的,如图10所示,电子设备00的第二屏可以划分为:区域03(称为:A区域)、区域04(称为:B区域)、区域05(称为:C区域)和区域06(称为:D区域)四个区域。如果用户为左手握持,那么用户可以设置区域A和区域C为第一预设区域,而容易产生操作失误的区域B和左手操作不便的区域D不进行设置。即当第一输入位于区域A或区域C位置,电子设备响应于该输入将第一屏幕区域的内容和第二屏幕区域的内容进行交换显示,当第一输入落在区域B或区域D位置,电子设备不进行交换显示操作。如果用户为右手握持,那么用户可以设置区域B和区域D为第一预设区域,而容易产生操作失误的区域C和左手操作不便的区域A不进行设置。即当第一输入位于区域B或区域D位置,电子设备响应于该输入将第一屏幕区域的内容和第二屏幕区域的内容进行交换显示,当第一输入落在区域A或区域C位置,电子设备不进行交换显示操作。Exemplarily, as shown in FIG. 10, the second screen of the electronic device 00 can be divided into: area 03 (referred to as: A area), area 04 (referred to as: B area), and area 05 (referred to as: C area) And area 06 (called: D area) four areas. If the user holds it with the left hand, the user can set the area A and the area C as the first preset area, and the area B that is prone to operation errors and the area D that is inconvenient for left-hand operation are not set. That is, when the first input is located at the location of area A or area C, the electronic device will exchange and display the content of the first screen area and the content of the second screen area in response to the input. When the first input is located at the location of area B or area D, The electronic device does not perform exchange display operations. If the user holds with the right hand, the user can set the area B and the area D as the first preset area, and the area C that is prone to operation errors and the area A that is inconvenient for left-hand operation are not set. That is, when the first input is located in area B or area D, the electronic device exchanges and displays the content of the first screen area and the content of the second screen area in response to the input. When the first input is located in area A or area C, The electronic device does not perform exchange display operations.
可选地,本公开实施例中,预设区域为与第一屏幕区域存在对应关系的区域,具体的,在点击位置位于第一预设区域的情况下,根据点击次数和目标区域,确定第一屏幕区域,并在该第一屏幕区域显示第二内容。Optionally, in the embodiment of the present disclosure, the preset area is an area corresponding to the first screen area. Specifically, in the case where the click position is located in the first preset area, the first screen area is determined according to the number of clicks and the target area. A screen area, and the second content is displayed in the first screen area.
可选地,本公开实施例中,预设区域与第一屏幕区域的预设对应关系可以为用户设置,也可以电子设备根据用户使用习惯自动设置。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the preset correspondence between the preset area and the first screen area may be set by the user, or the electronic device may be set automatically according to the user's usage habits. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
可选地,本公开实施例中,电子设备根据点击次数和目标区域,确定第一屏幕区域,具体可以采用以下方式确定:Optionally, in the embodiment of the present disclosure, the electronic device determines the first screen area according to the number of clicks and the target area, which may be specifically determined in the following manner:
若T=1,且点击位置为第一预设区域,则将屏幕中的第一区域确定为第一屏幕区域;If T=1 and the click position is the first preset area, then the first area on the screen is determined as the first screen area;
若T=2,且点击位置为第一预设区域,则将屏幕中的第一区域和将屏幕中的第二区域确定为第一屏幕区域;If T=2 and the click position is the first preset area, then the first area on the screen and the second area on the screen are determined as the first screen area;
若T=3,且点击位置为第一预设区域,则将屏幕中的第一区域、将屏幕中的第二区域和将屏幕中的第三区域确定为第一屏幕区域;If T=3 and the click position is the first preset area, then the first area in the screen, the second area in the screen, and the third area in the screen are determined as the first screen area;
……...
若T=Q,且点击位置为第一预设区域,则确定第一区域、第二区域、……、第Q区域为第一屏幕区域;If T=Q, and the click position is the first preset area, determine the first area, the second area, ..., the Qth area as the first screen area;
其中:among them:
T可以用于表示第一输入的点击次数;T can be used to represent the number of clicks of the first input;
M可以用于表示电子设备屏幕划分的区域个数;M can be used to indicate the number of areas divided by the screen of the electronic device;
Q可以用于表示第Q个区域,且Q≤M/2,M和Q均为正整数。Q can be used to represent the Q-th region, and Q≤M/2, and both M and Q are positive integers.
需要说明的是,上述按照行交换方式确定第一屏幕区域。对于按照列交换方式确定第一屏幕区域的具体实现方式,可以参照按照行交换方式确定第一屏幕区域的相关描述,此处不予赘述。It should be noted that, the first screen area is determined according to the line exchange method described above. For the specific implementation manner of determining the first screen area according to the column exchange mode, reference may be made to the related description of determining the first screen area according to the row exchange mode, which will not be repeated here.
下面分别以图12和图13为例,对按照行交换方式确定第一屏幕区域和第二屏幕区域、按照列交换方式确定第一屏幕区域和第二屏幕区域进行示例性说明。Hereinafter, taking FIGS. 12 and 13 as examples, the first screen area and the second screen area are determined according to the row exchange mode, and the first screen area and the second screen area are determined according to the column exchange mode are exemplified.
需要说明的是,为了方便描述各区域的位置关系,图12中采用虚线对区域进行划分,而在实际使用过程中,电子设备可以显示区域划分的虚线,也可以不显示区域划分的虚线。It should be noted that, in order to facilitate the description of the positional relationship of the regions, the dotted lines are used to divide the regions in FIG. 12, and in actual use, the electronic device may or may not display the dotted lines of the region division.
示例性的,图12中的(a)为电子设备00的第一屏,图12中的(b)为电子设备00的第二屏,其中第一屏和第二屏背向设置。如图12中的(a)所示,电子设备00的第一屏从上到下依次划分为6个区域,即:第一区域10、第二区域20、第三区域30、第四区域40、第五区域50和第六区域60。如图12中的(a)所示,电子设备00的第二屏可以划分为4个区域,分别为:区域03(即A区域)、区域04(即B区域)、区域05(即C区域)和区域06(即D区域)。假设用户右手握持电子设备00,设置区域B和区域D为第一预设区域。如果用户在区域D进行双击输入(即第一输入),若T=2,且点击位置为第一预设区域,则确定第一区域和第二区域为第一屏幕区域,那么电子设备00可以将第一区域10和第二区域20确定为第一屏幕区域。并将与第一区域10和第二区域20有预设对应关系的第三区域30和第四区域40确定为第二屏幕 区域。在确定第一屏幕区域和第二屏幕区域之后,如图12中的(c)所示,电子设备00可以将第一屏幕区域(第一区域10和第二区域20)中的内容和第二屏幕区域(第三区域30和第四区域40)中的内容进行交换显示。例如,可以将显示在第一区域10中的“应用1”图标交换至第四区域40中进行显示,如此用户可以对预设单手操作区域内的“应用1”图标进行单手操作。Exemplarily, (a) in FIG. 12 is the first screen of the electronic device 00, and (b) in FIG. 12 is the second screen of the electronic device 00, in which the first screen and the second screen are set back. As shown in (a) in Figure 12, the first screen of the electronic device 00 is divided into 6 areas from top to bottom, namely: the first area 10, the second area 20, the third area 30, and the fourth area 40. , The fifth area 50 and the sixth area 60. As shown in (a) in Figure 12, the second screen of the electronic device 00 can be divided into 4 areas, namely: area 03 (ie, area A), area 04 (ie, area B), area 05 (ie, area C) ) And area 06 (that is, area D). Assuming that the user holds the electronic device 00 with the right hand, the area B and the area D are set as the first preset area. If the user performs a double-click input (ie, the first input) in area D, if T=2 and the click position is the first preset area, then it is determined that the first area and the second area are the first screen area, then the electronic device 00 can The first area 10 and the second area 20 are determined as the first screen area. And the third area 30 and the fourth area 40 which have a preset corresponding relationship with the first area 10 and the second area 20 are determined as the second screen area. After determining the first screen area and the second screen area, as shown in (c) in FIG. 12, the electronic device 00 can compare the content in the first screen area (the first area 10 and the second area 20) with the second screen area. The contents in the screen area (the third area 30 and the fourth area 40) are exchanged and displayed. For example, the "application 1" icon displayed in the first area 10 may be exchanged for display in the fourth area 40, so that the user can perform one-handed operation on the "application 1" icon in the preset one-hand operation area.
示例性的,如图13中的(a)所示,电子设备00的第一屏从左到右依次划分为4个区域,即:第一区域70、第二区域80、第三区域90和第四区域100。如图13中的(b)所示,电子设备00的第二屏可以划分为4个区域,分别为:03(即A区域)、区域04(即B区域)、区域05(即C区域)和区域06(即D区域)。假设用户右手握持电子设备00,设置区域B和区域D为第一预设区域。如果用户在B区域进行单击输入(即第一输入),那么电子设备00可以将第一区域70确定为第一屏幕区域。并将与第一区域70有预设对应关系的第八区域80确定为第二屏幕区域。在确定第一屏幕区域和第二屏幕区域之后,如图13中的(c)所示,电子设备00可以将第一屏幕区域(第一区域70)中的内容和第二屏幕区域(第二区域80)中的内容进行交换显示。例如,可以将显示在第一区域70中的“应用13”图标交换至第二区域80中进行显示,如此用户可以对预设单手操作区域内的“应用13”图标进行单手操作。Exemplarily, as shown in (a) of FIG. 13, the first screen of the electronic device 00 is divided into 4 areas from left to right, namely: a first area 70, a second area 80, a third area 90 and The fourth area 100. As shown in (b) in Figure 13, the second screen of the electronic device 00 can be divided into 4 areas, namely: 03 (ie A area), area 04 (ie B area), and area 05 (ie C area) And area 06 (that is, area D). Assuming that the user holds the electronic device 00 with the right hand, the area B and the area D are set as the first preset area. If the user performs a single click input (ie, the first input) in the B area, the electronic device 00 may determine the first area 70 as the first screen area. And the eighth area 80 having a preset corresponding relationship with the first area 70 is determined as the second screen area. After determining the first screen area and the second screen area, as shown in FIG. 13(c), the electronic device 00 can compare the content in the first screen area (first area 70) with the second screen area (second screen area). The content in area 80) is exchanged and displayed. For example, the "application 13" icon displayed in the first area 70 may be exchanged for display in the second area 80, so that the user can perform one-hand operation on the "application 13" icon in the preset one-hand operation area.
本公开实施例中,由于电子设备可以根据用户第一输入的输入参数(例如,点击位置和点击次数),在点击位置位于第一预设区域的情况下,在与点击次数和目标区域对应的屏幕区域,显示第二内容,因此电子设备可以准确确定第一屏幕区域和第二屏幕区域,从而确定出第一屏幕区域的内容和第二屏幕区域的内容为交换显示的内容,进而在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,提高单手操作的便捷性。In the embodiment of the present disclosure, since the electronic device can according to the input parameters first input by the user (for example, the click position and the number of clicks), in the case that the click position is located in the first preset area, the number of clicks and the target area corresponding to the The screen area displays the second content, so the electronic device can accurately determine the first screen area and the second screen area, thereby determining that the content of the first screen area and the content of the second screen area are exchanged display content, and then the user order In the case of hand-operating the electronic device, the user can exchange the content far away from the preset one-handed operation area to close to the preset one-handed operation area for display, which improves the convenience of one-handed operation.
需要说明的是,本公开实施例中,上述各个附图所示的显示控制方法均是以结合本公开实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的显示控制方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present disclosure, the display control methods shown in each of the above figures are all exemplified in conjunction with one figure in the embodiment of the present disclosure. In a specific implementation, the display control method shown in each of the above figures can also be implemented in combination with any other figures illustrated in the above embodiments that can be combined, and will not be repeated here.
如图14所示,本公开实施例提供一种电子设备1400。该电子设备可以包括接收模块1401和显示模块1402。接收模块1401,用于在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;显示模块1402,用于响应于接收模块1401接收的该第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。As shown in FIG. 14, an embodiment of the present disclosure provides an electronic device 1400. The electronic device may include a receiving module 1401 and a display module 1402. The receiving module 1401 is configured to receive the first content for the screen of the electronic device when the first content is displayed on the first screen area of the screen of the electronic device and the second content is displayed on the second screen area of the screen of the electronic device. Input; the display module 1402, in response to the first input received by the receiving module 1401, display the second content in the first screen area, and display the first content in the second screen area.
可选地,电子设备包括可折叠屏幕,第一输入为可折叠屏幕的折叠输入;显示模块1402,具体用于在可折叠屏幕上除折叠线预设范围内的屏幕区域和第一屏幕区域外的屏幕区域,显示第一内容。Optionally, the electronic device includes a foldable screen, and the first input is a folding input of the foldable screen; the display module 1402 is specifically used for excluding the screen area and the first screen area within the preset range of the fold line on the foldable screen The area of the screen that displays the first content.
可选地,第一输入的输入参数包括折叠角度和折叠位置;显示模块1402,具体用于在折叠角度位于预设角度范围内的情况下,在与折叠位置对应的屏幕区域显示第二内容。Optionally, the first input input parameters include a folding angle and a folding position; the display module 1402 is specifically configured to display the second content in a screen area corresponding to the folding position when the folding angle is within a preset angle range.
可选地,第一输入为针对电子设备的屏幕的点击输入;显示模块1402,具体用于在与点击输入的输入参数对应的屏幕区域,显示第二内容;并在与第一屏幕区域具有 预设对应关系的屏幕区域,显示第一内容。Optionally, the first input is a click input for the screen of the electronic device; the display module 1402 is specifically configured to display the second content in the screen area corresponding to the input parameter of the click input; Set the screen area of the corresponding relationship to display the first content.
可选地,第一输入的输入参数包括点击位置和点击次数;显示模块1402,具体用于在点击位置位于第一预设区域的情况下,在与点击次数和目标区域对应的屏幕区域,显示第二内容。其中,该第一预设区域为与用户当前握持电子设备的握持方式对应的预设区域,该握持方式为左手握持或右手握持;该目标区域为该屏幕上与第一预设区域对应的区域。Optionally, the input parameters of the first input include the click position and the number of clicks; the display module 1402 is specifically configured to display in the screen area corresponding to the number of clicks and the target area when the click position is located in the first preset area The second content. Wherein, the first preset area is a preset area corresponding to the holding method of the user currently holding the electronic device, and the holding method is left-handed or right-handed; the target area is the first preset area on the screen. Set the area corresponding to the area.
本公开实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiments of the present disclosure can implement each process implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本公开实施例中提供一种电子设备,在第一屏幕区域可以显示有第一内容,第二屏幕区域可以显示有第二内容的情况下,用户可以通过针对电子设备的第一输入,触发电子设备在第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容,即,第一屏幕区域显示的内容和第二屏幕区域显示的内容进行交换显示,从而在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,进而可以提高用户单手操作电子设备的便捷性。An embodiment of the present disclosure provides an electronic device. In the case where the first screen area can display the first content and the second screen area can display the second content, the user can trigger the electronic device through the first input to the electronic device. The device displays the second content in the first screen area and displays the first content in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that the user can operate the electronic device with one hand. In the case of the device, the user can exchange the content far away from the preset one-handed operation area to be displayed close to the preset one-handed operation area, thereby improving the convenience for the user to operate the electronic device with one hand.
图15为实现本公开各个实施例的一种电子设备的硬件结构示意图。如图15所示,该电子设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图15中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 15 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present disclosure. As shown in FIG. 15, the electronic device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , The processor 210, and the power supply 211. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 15 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present disclosure, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,输入单元204,用于在通过电子设备的屏幕的第一屏幕区域显示第一内容,且通过电子设备的屏幕的第二屏幕区域显示第二内容的情况下,接收针对电子设备的屏幕的第一输入;显示单元206,用于响应于输入单元204接收的第一输入,在该第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容。Wherein, the input unit 204 is configured to receive the information for the screen of the electronic device when the first content is displayed on the first screen area of the screen of the electronic device and the second content is displayed on the second screen area of the screen of the electronic device. The first input; the display unit 206, in response to the first input received by the input unit 204, display the second content in the first screen area, and display the first content in the second screen area.
本公开实施例中提供一种电子设备,在第一屏幕区域可以显示有第一内容,第二屏幕区域可以显示有第二内容的情况下,用户可以通过针对电子设备的第一输入,触发电子设备在第一屏幕区域显示第二内容,并在第二屏幕区域显示第一内容,即,第一屏幕区域显示的内容和第二屏幕区域显示的内容进行交换显示,从而在用户单手操作电子设备的情况下,用户可以将远离预设单手操作区域的内容交换至靠近预设单手操作区域进行显示,进而可以提高用户单手操作电子设备的便捷性。An embodiment of the present disclosure provides an electronic device. In the case where the first screen area can display the first content and the second screen area can display the second content, the user can trigger the electronic device through the first input to the electronic device. The device displays the second content in the first screen area and displays the first content in the second screen area, that is, the content displayed in the first screen area and the content displayed in the second screen area are exchanged and displayed, so that the user can operate the electronic device with one hand. In the case of the device, the user can exchange the content far away from the preset one-handed operation area to be displayed close to the preset one-handed operation area, thereby improving the convenience for the user to operate the electronic device with one hand.
应理解的是,本公开实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 201 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与电子设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。The audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic device 200 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(graphics processing unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。The input unit 204 is used to receive audio or video signals. The input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042. The graphics processing unit 2041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame may be displayed on the display unit 206. The image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202. The microphone 2042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
电子设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在电子设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 200 further includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 2061 and the display panel 2061 when the electronic device 200 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板2061。The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元207可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 207 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. The touch panel 2071, also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operating). The touch panel 2071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed. In addition, the touch panel 2071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 2071, the user input unit 207 may also include other input devices 2072. Specifically, other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图15中,触控 面板2071与显示面板2061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 2071 can be overlaid on the display panel 2061. When the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of the touch event, and then the processor 210 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 2061. Although in FIG. 15, the touch panel 2071 and the display panel 2061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元208为外部装置与电子设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备200内的一个或多个元件或者可以用于在电子设备200和外部装置之间传输数据。The interface unit 208 is an interface for connecting an external device and the electronic device 200. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 208 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 200 or can be used to connect the electronic device 200 to an external device. Transfer data between devices.
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 209 can be used to store software programs and various data. The memory 209 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器210是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器210可包括一个或多个处理单元;可选地,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。The processor 210 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
电子设备200还可以包括给各个部件供电的电源211(比如电池),可选地,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 200 may also include a power source 211 (such as a battery) for supplying power to various components. Optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备200包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 200 includes some functional modules not shown, which will not be repeated here.
可选地,本公开实施例还提供一种电子设备,包括如图15所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides an electronic device, including a processor 210 as shown in FIG. 15, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is The processor 210 implements the various processes of the foregoing method embodiments when executing, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here. Among them, computer-readable storage media, such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限 定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例描述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, without departing from the purpose of the present disclosure and the scope of protection of the claims, many forms can be made, all of which fall within the protection of the present disclosure.

Claims (12)

  1. 一种显示控制方法,应用于电子设备,所述方法包括:A display control method applied to an electronic device, the method including:
    在通过电子设备的第一屏幕区域显示第一内容,且通过电子设备的第二屏幕区域显示第二内容的情况下,接收针对电子设备的第一输入;Receiving the first input for the electronic device in a case where the first content is displayed through the first screen area of the electronic device and the second content is displayed through the second screen area of the electronic device;
    响应于所述第一输入,在所述第一屏幕区域显示第二内容,并在所述第二屏幕区域显示第一内容。In response to the first input, the second content is displayed in the first screen area, and the first content is displayed in the second screen area.
  2. 根据权利要求1所述的方法,其中,所述电子设备包括可折叠屏幕,所述第一输入为所述可折叠屏幕的折叠输入;The method according to claim 1, wherein the electronic device comprises a foldable screen, and the first input is a folding input of the foldable screen;
    所述在所述第二屏幕区域显示第一内容,包括:The displaying the first content in the second screen area includes:
    在所述可折叠屏幕上除折叠线预设范围内的屏幕区域和所述第一屏幕区域外的屏幕区域,显示第一内容。The first content is displayed on the foldable screen except for the screen area within the preset range of the fold line and the screen area outside the first screen area.
  3. 根据权利要求2所述的方法,其中,所述第一输入的输入参数包括折叠角度和折叠位置;The method according to claim 2, wherein the input parameters of the first input include folding angle and folding position;
    所述在所述第一屏幕区域显示第二内容,包括:The displaying the second content in the first screen area includes:
    在所述折叠角度位于预设角度范围内的情况下,在与所述折叠位置对应的屏幕区域显示第二内容。In a case where the folding angle is within a preset angle range, the second content is displayed in a screen area corresponding to the folding position.
  4. 根据权利要求1所述的方法,其中,所述第一输入为针对电子设备的屏幕的点击输入;The method according to claim 1, wherein the first input is a click input for the screen of the electronic device;
    所述在所述第一屏幕区域显示第二内容,并在所述第二屏幕区域显示第一内容,包括:The displaying the second content in the first screen area and displaying the first content in the second screen area includes:
    在与所述点击输入的输入参数对应的屏幕区域,显示第二内容;Display the second content in the screen area corresponding to the input parameter of the click input;
    在与所述第一屏幕区域具有预设对应关系的屏幕区域,显示第一内容。The first content is displayed in a screen area having a preset corresponding relationship with the first screen area.
  5. 根据权利要求4所述的方法,其中,所述第一输入的输入参数包括点击位置和点击次数;The method according to claim 4, wherein the input parameters of the first input include a click position and a number of clicks;
    所述在与所述点击输入的输入参数对应的屏幕区域,显示第二内容,包括:The displaying the second content in the screen area corresponding to the input parameter of the click input includes:
    在所述点击位置位于第一预设区域的情况下,在与所述点击次数和目标区域对应的屏幕区域,显示第二内容;In a case where the click position is located in the first preset area, displaying the second content in a screen area corresponding to the number of clicks and the target area;
    其中,所述第一预设区域为与用户当前握持所述电子设备的握持方式对应的预设区域,所述握持方式为左手握持或右手握持;所述目标区域为所述屏幕上与所述第一预设区域对应的区域。Wherein, the first preset area is a preset area corresponding to the holding mode of the user currently holding the electronic device, and the holding mode is left-handed or right-handed; the target area is the The area on the screen corresponding to the first preset area.
  6. 一种电子设备,所述电子设备包括:接收模块和显示模块;An electronic device, the electronic device comprising: a receiving module and a display module;
    所述接收模块,用于在通过电子设备的第一屏幕区域显示第一内容,且通过电子设备的第二屏幕区域显示第二内容的情况下,接收针对电子设备的第一输入;The receiving module is configured to receive the first input for the electronic device when the first content is displayed through the first screen area of the electronic device and the second content is displayed through the second screen area of the electronic device;
    所述显示模块,用于响应于所述接收模块接收的第一输入,在所述第一屏幕区域显示第二内容,并在所述第二屏幕区域显示第一内容。The display module is configured to display second content in the first screen area and display first content in the second screen area in response to the first input received by the receiving module.
  7. 根据权利要求6所述的电子设备,其中,所述电子设备包括可折叠屏幕,所述第一输入为所述可折叠屏幕的折叠输入;The electronic device according to claim 6, wherein the electronic device comprises a foldable screen, and the first input is a folding input of the foldable screen;
    所述显示模块,具体用于在所述可折叠屏幕上除折叠线预设范围内的屏幕区域和所述第一屏幕区域外的屏幕区域,显示第一内容。The display module is specifically configured to display the first content on the foldable screen except for the screen area within the preset range of the folding line and the screen area outside the first screen area.
  8. 根据权利要求7所述的电子设备,其中,所述第一输入的输入参数包括折叠角度和折叠位置;The electronic device according to claim 7, wherein the input parameter of the first input includes a folding angle and a folding position;
    所述显示模块,具体用于在所述折叠角度位于预设角度范围内的情况下,在与所述折叠位置对应的屏幕区域显示第二内容。The display module is specifically configured to display the second content in a screen area corresponding to the folding position when the folding angle is within a preset angle range.
  9. 根据权利要求6所述的电子设备,其中,所述第一输入为针对电子设备的屏幕的点击输入;所述显示模块,具体用于在与所述点击输入的输入参数对应的屏幕区域,显示第二内容;并在与所述第一屏幕区域具有预设对应关系的屏幕区域,显示第一内容。The electronic device according to claim 6, wherein the first input is a click input for the screen of the electronic device; and the display module is specifically configured to display in a screen area corresponding to the input parameter of the click input Second content; and in a screen area that has a preset corresponding relationship with the first screen area, the first content is displayed.
  10. 根据权利要求9所述的电子设备,其中,所述第一输入的输入参数包括点击位置和点击次数;The electronic device according to claim 9, wherein the input parameters of the first input include a click position and a number of clicks;
    所述显示模块,具体用于在所述点击位置位于第一预设区域的情况下,在与所述点击次数和目标区域对应的屏幕区域,显示第二内容;The display module is specifically configured to display the second content in a screen area corresponding to the number of clicks and the target area when the click position is located in the first preset area;
    其中,所述第一预设区域为与用户当前握持所述电子设备的握持方式对应的预设区域,所述握持方式为左手握持或右手握持;所述目标区域为所述屏幕上与所述第一预设区域对应的区域。Wherein, the first preset area is a preset area corresponding to the holding mode of the user currently holding the electronic device, and the holding mode is left-handed or right-handed; the target area is the The area on the screen corresponding to the first preset area.
  11. 一种电子设备,其中,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的显示控制方法的步骤。An electronic device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to implement claims 1 to 5 The steps of any one of the display control method.
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的显示控制方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the display control method according to any one of claims 1 to 5 are realized .
PCT/CN2020/105235 2019-09-29 2020-07-28 Display control method and electronic device WO2021057242A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910935539.9A CN110750195B (en) 2019-09-29 2019-09-29 Display control method and electronic equipment
CN201910935539.9 2019-09-29

Publications (1)

Publication Number Publication Date
WO2021057242A1 true WO2021057242A1 (en) 2021-04-01

Family

ID=69277419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105235 WO2021057242A1 (en) 2019-09-29 2020-07-28 Display control method and electronic device

Country Status (2)

Country Link
CN (1) CN110750195B (en)
WO (1) WO2021057242A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750195B (en) * 2019-09-29 2021-04-27 维沃移动通信有限公司 Display control method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2701036A2 (en) * 2012-08-23 2014-02-26 Samsung Electronics Co., Ltd. Method of establishing communication link and display devices thereof
CN106936982A (en) * 2017-01-14 2017-07-07 惠州Tcl移动通信有限公司 Terminal and its display methods with flexible display screen
CN108073320A (en) * 2016-11-07 2018-05-25 富士施乐株式会社 Display device
CN108268195A (en) * 2018-02-28 2018-07-10 努比亚技术有限公司 One-handed performance display methods, mobile terminal and computer readable storage medium
CN110174990A (en) * 2019-04-23 2019-08-27 努比亚技术有限公司 A kind of one hand screen control method, terminal and computer readable storage medium
CN110221761A (en) * 2019-04-24 2019-09-10 维沃移动通信有限公司 Display methods and terminal device
CN110750195A (en) * 2019-09-29 2020-02-04 维沃移动通信有限公司 Display control method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9612736B2 (en) * 2013-07-17 2017-04-04 Korea Advanced Institute Of Science And Technology User interface method and apparatus using successive touches
CN104866222A (en) * 2015-05-08 2015-08-26 广州三星通信技术研究有限公司 Method and apparatus for displaying controls used in terminal
CN105338182A (en) * 2015-10-23 2016-02-17 李彦辰 Control method and control device for second touch control display screen of double-screen mobile phone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2701036A2 (en) * 2012-08-23 2014-02-26 Samsung Electronics Co., Ltd. Method of establishing communication link and display devices thereof
CN108073320A (en) * 2016-11-07 2018-05-25 富士施乐株式会社 Display device
CN106936982A (en) * 2017-01-14 2017-07-07 惠州Tcl移动通信有限公司 Terminal and its display methods with flexible display screen
CN108268195A (en) * 2018-02-28 2018-07-10 努比亚技术有限公司 One-handed performance display methods, mobile terminal and computer readable storage medium
CN110174990A (en) * 2019-04-23 2019-08-27 努比亚技术有限公司 A kind of one hand screen control method, terminal and computer readable storage medium
CN110221761A (en) * 2019-04-24 2019-09-10 维沃移动通信有限公司 Display methods and terminal device
CN110750195A (en) * 2019-09-29 2020-02-04 维沃移动通信有限公司 Display control method and electronic equipment

Also Published As

Publication number Publication date
CN110750195B (en) 2021-04-27
CN110750195A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
WO2021057337A1 (en) Operation method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2021083132A1 (en) Icon moving method and electronic device
WO2021036531A1 (en) Screenshot method and terminal device
CN109828850B (en) Information display method and terminal equipment
WO2020215950A1 (en) Interface display method and terminal device
WO2021012927A1 (en) Icon display method and terminal device
WO2020151460A1 (en) Object processing method and terminal device
CN109032486B (en) Display control method and terminal equipment
WO2020215932A1 (en) Method for displaying unread message and terminal device
US11354017B2 (en) Display method and mobile terminal
WO2020238497A1 (en) Icon moving method and terminal device
WO2020192297A1 (en) Screen interface switching method and terminal device
WO2020220893A1 (en) Screenshot method and mobile terminal
WO2020078234A1 (en) Display control method and terminal
WO2020211596A1 (en) Control method and terminal device
WO2020042835A1 (en) Image display method and mobile terminal
WO2020211602A1 (en) Application control method and terminal device
WO2020151490A1 (en) Application control method and terminal device
CN111190517B (en) Split screen display method and electronic equipment
US11947790B2 (en) Interface display method and terminal, and computer readable storage medium
WO2020156113A1 (en) Interface display control method and mobile terminal
WO2020125405A1 (en) Control method for terminal apparatus, and terminal apparatus
CN109597546B (en) Icon processing method and terminal equipment
WO2021129727A1 (en) Display method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20869114

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20869114

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20869114

Country of ref document: EP

Kind code of ref document: A1