CN107656578A - terminal control method, device, terminal and storage medium - Google Patents

terminal control method, device, terminal and storage medium Download PDF

Info

Publication number
CN107656578A
CN107656578A CN201710977207.8A CN201710977207A CN107656578A CN 107656578 A CN107656578 A CN 107656578A CN 201710977207 A CN201710977207 A CN 201710977207A CN 107656578 A CN107656578 A CN 107656578A
Authority
CN
China
Prior art keywords
screen
user
half screen
determining
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710977207.8A
Other languages
Chinese (zh)
Inventor
李鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710977207.8A priority Critical patent/CN107656578A/en
Publication of CN107656578A publication Critical patent/CN107656578A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The invention discloses a terminal control method, a terminal control device, a terminal and a storage medium, and belongs to the technical field of terminals. The method is applied to a terminal with a foldable display screen, wherein the display screen is positioned at the outer side after being folded, and the method comprises the following steps: when the display screen is in a folded state, determining a first half screen and a second half screen formed by folding; judging whether a preset touch operation on the first half screen is detected or not; and when the preset touch operation on the first half screen is detected, controlling the display content of the second half screen according to the preset touch operation. According to the method and the device, the display content of the second half screen is controlled according to the touch operation on the first half screen, so that the shielding of fingers on the display content of the second half screen when the second half screen is touched is avoided, and the flexibility of terminal control is improved.

Description

终端控制方法、装置、终端及存储介质Terminal control method, device, terminal and storage medium

技术领域technical field

本发明实施例涉及终端技术领域,特别涉及一种终端控制方法、装置、终端及存储介质。Embodiments of the present invention relate to the technical field of terminals, and in particular, to a terminal control method, device, terminal, and storage medium.

背景技术Background technique

目前,随着终端技术的发展,诸如手机、平板电脑等终端在人们日常生活中的应用越来越广泛,人们可以使用终端上网、听音乐或者玩游戏等。而且,目前终端配置的显示屏通常为触摸屏,用户在使用终端的过程中,可以通过对当前显示屏的触碰操作,来对当前显示屏中显示的内容进行控制。比如,在用户阅读显示屏中显示的新闻页面时,可以通过对该显示屏的上下滑动操作来控制新闻页面上行移动。At present, with the development of terminal technologies, terminals such as mobile phones and tablet computers are more and more widely used in people's daily life. People can use the terminals to surf the Internet, listen to music or play games. Moreover, currently, the display screen configured on the terminal is usually a touch screen, and the user can control the content displayed on the current display screen by touching the current display screen during the use of the terminal. For example, when the user reads the news page displayed on the display screen, the upward movement of the news page can be controlled by sliding the display screen up and down.

发明内容Contents of the invention

本发明实施例提供了一种终端控制方法、装置、终端及存储介质,可以用于解决在对折叠形成的半屏执行触碰操作时,手指会较大程度遮挡半屏显示内容的问题。所述技术方案如下:Embodiments of the present invention provide a terminal control method, device, terminal, and storage medium, which can be used to solve the problem that a finger will largely block half-screen display content when performing a touch operation on a folded half-screen. Described technical scheme is as follows:

第一方面,提供了一种终端控制方法,所述方法应用于终端中,所述终端具有可折叠的显示屏,且所述显示屏被折叠后位于外侧,所述方法包括:In a first aspect, a terminal control method is provided, the method is applied to a terminal, the terminal has a foldable display screen, and the display screen is folded and located on the outside, the method includes:

当所述显示屏处于折叠状态时,确定折叠形成的第一半屏和第二半屏;When the display screen is in a folded state, determining a first half screen and a second half screen formed by folding;

判断是否检测到对所述第一半屏的预设触碰操作;judging whether a preset touch operation on the first half screen is detected;

当检测到对所述第一半屏的预设触碰操作时,根据所述预设触碰操作对所述第二半屏的显示内容进行控制。When a preset touch operation on the first half-screen is detected, the display content of the second half-screen is controlled according to the preset touch operation.

可选地,所述确定折叠形成的第一半屏和第二半屏,包括:Optionally, the determining the first half-screen and the second half-screen formed by folding includes:

将折叠形成的两个半屏中位于顶部的半屏确定为所述第一半屏,将位于底部的半屏确定为所述第二半屏;或者,Determining the top half-screen of the two half-screens formed by folding as the first half-screen, and determining the bottom half-screen as the second half-screen; or,

将折叠形成的两个半屏中处于黑屏状态的半屏确定为所述第一半屏,将处于亮屏状态的半屏确定为所述第二半屏;或者,Of the two half-screens formed by folding, the half-screen in the black-screen state is determined as the first half-screen, and the half-screen in the bright-screen state is determined as the second half-screen; or,

当折叠形成的两个半屏均处于亮屏状态且显示内容相同时,将所述两个半屏中的任一半屏确定为所述第一半屏,将另一半屏确定为所述第二半屏;或者,When the two half-screens formed by folding are both in the bright state and display the same content, determine any half-screen of the two half-screens as the first half-screen, and determine the other half-screen as the second half-screen half screen; or,

从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,将所述背对用户的半屏确定为所述第一半屏,将所述正对用户的半屏确定为所述第二半屏。Determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding, determine the half screen facing away from the user as the first half screen, and set the half screen facing the user The screen is determined as the second half screen.

可选地,所述从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,包括:Optionally, the determining the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding includes:

通过配置的摄像头采集图像,并对采集的图像进行识别,根据识别结果从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者,Collect images through the configured camera, identify the collected images, and determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding according to the recognition results; or,

当所述终端处于手持状态时,确定所述终端的手持姿势,根据所述手持姿势从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者;When the terminal is in the handheld state, determine the handheld posture of the terminal, and determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding according to the handheld posture; or;

当所述终端处于手持状态时,确定所述折叠形成的两个半屏中的每个半屏与用户的接触面积,将与用户的接触面积最小的半屏确定为正对用户的半屏,将与用户的接触面积最大的半屏确定为背对用户的半屏。When the terminal is in the handheld state, determine the contact area between each of the two half-screens formed by the folding and the user, and determine the half-screen with the smallest contact area with the user as the half-screen facing the user, The half screen with the largest contact area with the user is determined as the half screen facing away from the user.

可选地,所述根据所述预设触碰操作对所述第二半屏的显示内容进行控制,包括:Optionally, the controlling the display content of the second half screen according to the preset touch operation includes:

确定所述预设触碰操作在所述第一半屏中的第一触碰位置;determining a first touch position of the preset touch operation in the first half screen;

根据所述第一触碰位置和存储的所述第一半屏和所述第二半屏的位置对应关系,确定所述预设触碰操作在所述第二半屏中的第二触碰位置;According to the first touch position and the stored position correspondence between the first half screen and the second half screen, determine a second touch of the preset touch operation in the second half screen Location;

根据所述预设触碰操作和所述第二触碰位置,确定针对所述第二半屏的显示内容的控制指令;determining a control instruction for display content of the second half-screen according to the preset touch operation and the second touch position;

根据所述控制指令对所述第二半屏的显示内容进行控制。The display content of the second half screen is controlled according to the control instruction.

可选地,所述预设触碰操作包括点触操作和滑动操作中的至少一种,且所述预设触碰操作包括多个力度等级对应的预设触碰操作。Optionally, the preset touch operation includes at least one of a point touch operation and a slide operation, and the preset touch operation includes preset touch operations corresponding to a plurality of force levels.

第二方面,提供了一种终端控制装置,所述装置应用于终端中,所述终端具有可折叠的显示屏,且所述显示屏被折叠后位于外侧,装置方法包括:In a second aspect, a terminal control device is provided, the device is applied to a terminal, the terminal has a foldable display screen, and the display screen is folded and located on the outside, the device method includes:

确定模块,用于当所述显示屏处于折叠状态时,确定折叠形成的第一半屏和第二半屏;A determining module, configured to determine the first half-screen and the second half-screen formed by folding when the display screen is in the folded state;

判断模块,用于判断是否检测到对所述第一半屏的预设触碰操作;A judging module, configured to judge whether a preset touch operation on the first half screen is detected;

控制模块,用于当检测到对所述第一半屏的预设触碰操作时,根据所述预设触碰操作对所述第二半屏的显示内容进行控制。A control module, configured to, when a preset touch operation on the first half-screen is detected, control the display content of the second half-screen according to the preset touch operation.

可选地,所述确定模块用于:Optionally, the determination module is used for:

将折叠形成的两个半屏中位于顶部的半屏确定为所述第一半屏,将位于底部的半屏确定为所述第二半屏;或者,Determining the top half-screen of the two half-screens formed by folding as the first half-screen, and determining the bottom half-screen as the second half-screen; or,

将折叠形成的两个半屏中处于黑屏状态的半屏确定为所述第一半屏,将处于亮屏状态的半屏确定为所述第二半屏;或者,Of the two half-screens formed by folding, the half-screen in the black-screen state is determined as the first half-screen, and the half-screen in the bright-screen state is determined as the second half-screen; or,

当折叠形成的两个半屏均处于亮屏状态且显示内容相同时,将所述两个半屏中的任一半屏确定为所述第一半屏,将另一半屏确定为所述第二半屏;或者,When the two half-screens formed by folding are both in the bright state and display the same content, determine any half-screen of the two half-screens as the first half-screen, and determine the other half-screen as the second half-screen half screen; or,

从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,将所述背对用户的半屏确定为所述第一半屏,将所述正对用户的半屏确定为所述第二半屏。Determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding, determine the half screen facing away from the user as the first half screen, and set the half screen facing the user The screen is determined as the second half screen.

可选地,所述确定模块用于:Optionally, the determination module is used for:

通过配置的摄像头采集图像,并对采集的图像进行识别,根据识别结果从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者,Collect images through the configured camera, identify the collected images, and determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding according to the recognition results; or,

当所述终端处于手持状态时,确定所述终端的手持姿势,根据所述手持姿势从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者;When the terminal is in the handheld state, determine the handheld posture of the terminal, and determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding according to the handheld posture; or;

当所述终端处于手持状态时,确定所述折叠形成的两个半屏中的每个半屏与用户的接触面积,将与用户的接触面积最小的半屏确定为正对用户的半屏,将与用户的接触面积最大的半屏确定为背对用户的半屏。When the terminal is in the handheld state, determine the contact area between each of the two half-screens formed by the folding and the user, and determine the half-screen with the smallest contact area with the user as the half-screen facing the user, The half screen with the largest contact area with the user is determined as the half screen facing away from the user.

可选地,所述控制模块用于:Optionally, the control module is used for:

确定所述预设触碰操作在所述第一半屏中的第一触碰位置;determining a first touch position of the preset touch operation in the first half screen;

根据所述第一触碰位置和存储的所述第一半屏和所述第二半屏的位置对应关系,确定所述预设触碰操作在所述第二半屏中的第二触碰位置;According to the first touch position and the stored position correspondence between the first half screen and the second half screen, determine a second touch of the preset touch operation in the second half screen Location;

根据所述预设触碰操作和所述第二触碰位置,确定针对所述第二半屏的显示内容的控制指令;determining a control instruction for display content of the second half-screen according to the preset touch operation and the second touch position;

根据所述控制指令对所述第二半屏的显示内容进行控制。The display content of the second half screen is controlled according to the control instruction.

可选地,所述预设触碰操作包括点触操作和滑动操作中的至少一种,且所述预设触碰操作包括多个力度等级对应的预设触碰操作。Optionally, the preset touch operation includes at least one of a point touch operation and a slide operation, and the preset touch operation includes preset touch operations corresponding to a plurality of force levels.

第三方面,提供了一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器被配置为执行上述第一方面提供的任一终端控制方法的步骤。In a third aspect, a terminal is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor is configured to execute the above-mentioned first The steps of any terminal control method provided by the aspect.

第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面提供的任一终端控制方法。In a fourth aspect, a computer-readable storage medium is provided, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes any terminal control method provided in the above-mentioned first aspect.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

本发明实施例中,当终端的显示屏处于折叠状态时,可以确定折叠形成的第一半屏和第二半屏,并可以根据对第一半屏的预设触碰操作,对第二半屏的显示内容进行控制,从而避免了对第二半屏进行触控时手指对第二半屏的显示内容的遮挡,提高了终端控制的灵活性。In the embodiment of the present invention, when the display screen of the terminal is in the folded state, the first half screen and the second half screen formed by folding can be determined, and the second half screen can be adjusted according to the preset touch operation on the first half screen. The display content of the second half of the screen is controlled, thereby avoiding the blocking of the display content of the second half of the screen by fingers when touching the second half of the screen, and improving the flexibility of terminal control.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明实施例提供的一种终端控制方法的流程图;FIG. 1 is a flowchart of a terminal control method provided by an embodiment of the present invention;

图2A是本发明实施例提供的另一种终端控制方法的流程图;FIG. 2A is a flowchart of another terminal control method provided by an embodiment of the present invention;

图2B是本发明实施例提供的一种终端的折叠示意图;FIG. 2B is a schematic folding diagram of a terminal provided by an embodiment of the present invention;

图3是本发明实施例提供的一种终端控制装置的结构示意图;Fig. 3 is a schematic structural diagram of a terminal control device provided by an embodiment of the present invention;

图4是本发明实施例提供的一种终端400的结构示意图;FIG. 4 is a schematic structural diagram of a terminal 400 provided by an embodiment of the present invention;

图5是本发明实施例提供的一种终端400的结构示意图;FIG. 5 is a schematic structural diagram of a terminal 400 provided by an embodiment of the present invention;

图6A是本发明实施例提供的一种终端的结构示意图;FIG. 6A is a schematic structural diagram of a terminal provided by an embodiment of the present invention;

图6B是本发明实施例提供的另一种终端的结构示意图;FIG. 6B is a schematic structural diagram of another terminal provided by an embodiment of the present invention;

图6C是本发明实施例提供的又一种终端的结构示意图;FIG. 6C is a schematic structural diagram of another terminal provided by an embodiment of the present invention;

图6D是本发明实施例提供的又一种终端的结构示意图。FIG. 6D is a schematic structural diagram of another terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

在对本发明实施例进行详细解释说明之前,首先,对本发明实施例提供的应用场景进行介绍。Before explaining the embodiment of the present invention in detail, firstly, the application scenario provided by the embodiment of the present invention is introduced.

本发明实施例应用于用户使用终端的过程中,想要方便地对显示屏的显示内容进行控制的场景中。比如在浏览网页内容时上下滑动网页,或者在玩游戏时对游戏角色进行控制,或者在主界面中通过应用图标打开对应应用等待。The embodiments of the present invention are applied in a scenario where a user wants to conveniently control display content of a display screen during a process of using a terminal. For example, when browsing the content of the webpage, slide the webpage up and down, or control the game character when playing the game, or open the corresponding application through the application icon on the main interface and wait.

对于配置可折叠屏的终端而言,用户经常会将显示屏进行折叠后对显示屏的显示内容进行控制。相关技术中,当终端的显示屏处于折叠状态时,对于折叠形成的任一半屏来说,都只能通过对当前半屏的触控操作来对当前半屏的显示内容进行控制。但是,当显示屏为可折叠屏时,由于折叠后形成的半屏的尺寸偏小,因此在对某个半屏执行触控操作时,用户手指将会较大程度地遮挡该半屏的显示内容,影响用户查看。For a terminal configured with a foldable screen, the user often controls the displayed content of the display screen after folding the display screen. In the related art, when the display screen of the terminal is in the folded state, for any half screen formed by folding, the display content of the current half screen can only be controlled by touch operation on the current half screen. However, when the display screen is a foldable screen, since the size of the half screen formed after folding is relatively small, when performing a touch operation on a half screen, the user's fingers will largely block the display of the half screen. Content that affects user viewing.

为了避免用户控制终端的过程中,用户手指对显示屏中显示内容的遮挡,本发明实施例提供了一种终端控制方法,具体过程将在下述图1或图2A实施例进行详细描述。In order to prevent the user's finger from blocking the content displayed on the display screen during the process of the user controlling the terminal, an embodiment of the present invention provides a terminal control method, and the specific process will be described in detail in the embodiment of FIG. 1 or FIG. 2A below.

其次,对本发明实施例的实施环境予以介绍。Secondly, the implementation environment of the embodiment of the present invention is introduced.

本发明实施例应用于终端中,该终端具体可以为手机或者平板电脑等。而且,该终端的显示屏为可折叠屏,也即是,该终端的显示屏可以被折叠,且显示屏被折叠后不会影响终端的功能。具体地,该显示屏可以朝外侧被折叠,,即折叠后显示屏位于外侧,也可以朝内侧被折叠,即折叠后显示屏位于内侧,本发明实施例对此不做限定。The embodiment of the present invention is applied to a terminal, and the terminal may specifically be a mobile phone or a tablet computer. Moreover, the display screen of the terminal is a foldable screen, that is, the display screen of the terminal can be folded, and the function of the terminal will not be affected after the display screen is folded. Specifically, the display screen may be folded toward the outside, that is, the display screen is positioned outside after folding, or may be folded toward the inside, that is, the display screen is positioned inside after folding, which is not limited in this embodiment of the present invention.

在对本发明实施例的应用场景和实施环境进行介绍之后,接下来将结合附图对本发明实施例提供的终端控制方法进行详细介绍。After introducing the application scenario and implementation environment of the embodiment of the present invention, the terminal control method provided by the embodiment of the present invention will be described in detail next with reference to the accompanying drawings.

图1是本发明实施例提供的一种终端控制方法的流程图,该方法应用于终端中,该终端具有可折叠的显示屏,且该显示屏被折叠后位于外侧,参见图1,该方法包括如下步骤:Fig. 1 is a flow chart of a terminal control method provided by an embodiment of the present invention, the method is applied to a terminal, the terminal has a foldable display screen, and the display screen is folded and located on the outside, see Fig. 1, the method Including the following steps:

步骤101:当终端的显示屏处于折叠状态时,确定折叠形成的第一半屏和第二半屏。Step 101: When the display screen of the terminal is in a folded state, determine a first half screen and a second half screen formed by folding.

步骤102:判断是否检测到对该第一半屏的预设触碰操作。Step 102: Determine whether a preset touch operation on the first half screen is detected.

步骤103:当检测到对该第一半屏的预设触碰操作时,根据该预设触碰操作对该第二半屏的显示内容进行控制。Step 103: When a preset touch operation on the first half-screen is detected, control the display content of the second half-screen according to the preset touch operation.

发明实施例中,当终端的显示屏处于折叠状态时,可以确定折叠形成的第一半屏和第二半屏,并可以根据对第一半屏的预设触碰操作,对第二半屏的显示内容进行控制,从而避免了对第二半屏进行触控时手指对第二半屏的显示内容的遮挡,提高了终端控制的灵活性。In the embodiment of the invention, when the display screen of the terminal is in the folded state, the first half screen and the second half screen formed by folding can be determined, and the second half screen can be adjusted according to the preset touch operation on the first half screen. The display content of the second half of the screen is controlled, thereby avoiding the blocking of the display content of the second half of the screen by fingers when touching the second half of the screen, and improving the flexibility of terminal control.

可选地,该确定折叠形成的第一半屏和第二半屏,包括:Optionally, determining the first half screen and the second half screen formed by folding includes:

将折叠形成的两个半屏中位于顶部的半屏确定为该第一半屏,将位于底部的半屏确定为该第二半屏;或者,Of the two half-screens formed by folding, the top half-screen is determined as the first half-screen, and the bottom half-screen is determined as the second half-screen; or,

将折叠形成的两个半屏中处于黑屏状态的半屏确定为该第一半屏,将处于亮屏状态的半屏确定为该第二半屏;或者,Of the two half-screens formed by folding, the half-screen in the black-screen state is determined as the first half-screen, and the half-screen in the bright-screen state is determined as the second half-screen; or,

当折叠形成的两个半屏均处于亮屏状态且显示内容相同时,将该两个半屏中的任一半屏确定为该第一半屏,将另一半屏确定为该第二半屏;或者,When the two half-screens formed by folding are both in the bright state and display the same content, determine any half-screen of the two half-screens as the first half-screen, and determine the other half-screen as the second half-screen; or,

从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,将该背对用户的半屏确定为该第一半屏,将该正对用户的半屏确定为该第二半屏。Determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding, determine the half-screen facing away from the user as the first half-screen, and determine the half-screen facing the user as the first half-screen The second half screen.

可选地,该从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,包括:Optionally, determining the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding includes:

通过配置的摄像头采集图像,并对采集的图像进行识别,根据识别结果从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者,Collect images through the configured camera, identify the collected images, and determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding according to the recognition results; or,

当该终端处于手持状态时,确定该终端的手持姿势,根据该手持姿势从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者;When the terminal is in the handheld state, determine the handheld posture of the terminal, and determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding according to the handheld posture; or;

当该终端处于手持状态时,确定该折叠形成的两个半屏中的每个半屏与用户的接触面积,将与用户的接触面积最小的半屏确定为正对用户的半屏,将与用户的接触面积最大的半屏确定为背对用户的半屏。When the terminal is in the handheld state, determine the contact area between each of the two half-screens formed by the folding and the user, and determine the half-screen with the smallest contact area with the user as the half-screen facing the user. The half-screen with the largest contact area of the user is determined to be the half-screen facing away from the user.

可选地,该根据该预设触碰操作对该第二半屏的显示内容进行控制,包括:Optionally, controlling the display content of the second half screen according to the preset touch operation includes:

确定该预设触碰操作在该第一半屏中的第一触碰位置;determining a first touch position of the preset touch operation in the first half screen;

根据该第一触碰位置和存储的该第一半屏和该第二半屏的位置对应关系,确定该预设触碰操作在该第二半屏中的第二触碰位置;determining a second touch position of the preset touch operation in the second half-screen according to the first touch position and the stored corresponding relationship between the positions of the first half-screen and the second half-screen;

根据该预设触碰操作和该第二触碰位置,确定针对该第二半屏的显示内容的控制指令;According to the preset touch operation and the second touch position, determine a control command for the display content of the second half screen;

根据该控制指令对该第二半屏的显示内容进行控制。The display content of the second half screen is controlled according to the control instruction.

可选地,该预设触碰操作包括点触操作和滑动操作中的至少一种,且该预设触碰操作包括多个力度等级对应的预设触碰操作。Optionally, the preset touch operation includes at least one of a point touch operation and a slide operation, and the preset touch operation includes preset touch operations corresponding to multiple strength levels.

上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be described in detail in the embodiments of the present disclosure.

图2A是本发明实施例提供的另一种终端控制方法的流程图,该方法应用于终端中,该终端具有可折叠的显示屏,且显示屏被折叠后位于外侧。参见图2A,该方法包括如下步骤:Fig. 2A is a flow chart of another terminal control method provided by an embodiment of the present invention, the method is applied to a terminal, the terminal has a foldable display screen, and the display screen is folded and located on the outside. Referring to Fig. 2A, this method comprises the steps:

步骤201:检测终端的显示屏是否处于折叠状态。Step 201: Detect whether the display screen of the terminal is in a folded state.

该终端配置的显示屏为可折叠屏,在工作过程中,可以检测显示屏是否处于折叠状态。具体地,可以实时检测显示屏是否处于折叠状态,也可以周期性地检测显示屏是否处于折叠状态。The display screen configured on this terminal is a foldable screen, and it can detect whether the display screen is in a folded state during the working process. Specifically, whether the display screen is in a folded state can be detected in real time, or whether the display screen is in a folded state can be detected periodically.

实际实现时,终端可以通过显示屏中配置的传感器检测显示屏是否处于折叠状态,也可以通过系统接口检测显示屏是否处于折叠状态,本发明实施例对检测显示屏的折叠状态的方式不做限定。In actual implementation, the terminal can detect whether the display screen is in the folded state through the sensor configured in the display screen, or can detect whether the display screen is in the folded state through the system interface. The embodiment of the present invention does not limit the method of detecting the folded state of the display screen .

比如,以终端通过显示屏中配置的传感器检测显示屏的折叠状态为例,当显示屏中配置的传感器检测到该显示屏被折叠时,可以向该终端的处理器发送折叠信号,当该终端通过处理器接收到折叠信号时,即可确定该终端的显示屏处于折叠状态。For example, taking the terminal detecting the folding state of the display screen through the sensor configured in the display screen as an example, when the sensor configured in the display screen detects that the display screen is folded, it can send a folding signal to the processor of the terminal, and when the terminal When the processor receives the folding signal, it can be determined that the display screen of the terminal is in the folding state.

步骤202:当终端的显示屏处于折叠状态时,确定折叠形成的第一半屏和第二半屏。Step 202: When the display screen of the terminal is in a folded state, determine a first half screen and a second half screen formed by folding.

其中,该第一半屏和第二半屏为终端的显示屏被折叠后形成的屏幕尺寸小于该显示屏的屏幕,且该第一半屏和第二半屏可以为该显示屏被折叠后形成的多个半屏中的任意两个半屏。Wherein, the first half screen and the second half screen are screens whose screen size is smaller than that of the display screen formed after the display screen of the terminal is folded, and the first half screen and the second half screen may be screens after the display screen is folded. Any two half-screens among the multiple half-screens formed.

实际应用中,该显示屏被折叠后可以形成两个半屏,即该第一半屏和第二半屏,或者,该显示屏被折叠后可以形成两个以上的半屏,比如3个半屏或4个半屏等,该第一半屏和第二半屏为该两个以上的半屏中的任意两个半屏。In practical applications, the display screen can be folded to form two half screens, that is, the first half screen and the second half screen, or the display screen can be folded to form more than two half screens, such as three half screens. screen or 4 half screens, etc., the first half screen and the second half screen are any two half screens in the two or more half screens.

本发明实施例中,为了避免对折叠形成的任一半屏进行触控时,手指对该半屏中显示内容的遮挡,提出了一种通过对一个半屏的触碰操作来对另一半屏的显示内容进行控制的方法。其中,待触碰的半屏为第一半屏,待控制的半屏为第二半屏。也即是,在对折叠形成的半屏的显示内容进行控制之前,需要先确定待触碰的第一半屏和待控制的第二半屏。In the embodiment of the present invention, in order to avoid the blocking of the displayed content in the half-screen by fingers when touching any half-screen formed by folding, a method is proposed to control the other half-screen by touching one half-screen. Display content control methods. Wherein, the half screen to be touched is the first half screen, and the half screen to be controlled is the second half screen. That is, before controlling the displayed content of the folded half-screen, it is necessary to first determine the first half-screen to be touched and the second half-screen to be controlled.

进一步地,考虑到只有当显示屏朝外被折叠时,用户才能看到显示屏上显示的内容,进而对显示屏的显示内容进行控制。因此,为了节省终端电量消耗,提高准确性,还可以在检测到终端的显示屏处于折叠状态且位于外侧时,确定折叠形成的第一半屏和第二半屏,并对第二半屏的显示内容进行控制。Further, considering that only when the display screen is folded outward, the user can see the content displayed on the display screen, and then control the display content of the display screen. Therefore, in order to save power consumption of the terminal and improve accuracy, when it is detected that the display screen of the terminal is in a folded state and located on the outside, the first half screen and the second half screen formed by folding can be determined, and the second half screen Display content is controlled.

当然,在另一实施例中,也可以在检测到终端的显示屏处于折叠状态且位于内侧时,确定折叠形成的第一半屏和第二半屏,并对第二半屏的显示内容进行控制,本发明实施例对此不做限定。Of course, in another embodiment, when it is detected that the display screen of the terminal is in a folded state and located inside, the first half screen and the second half screen formed by folding can be determined, and the display content of the second half screen can be determined. control, which is not limited in this embodiment of the present invention.

具体地,以显示屏被折叠后可以形成两个半屏为例,确定折叠形成的第一半屏和第二半屏的方式可以包括以下几种:Specifically, taking the display screen being folded to form two half-screens as an example, the ways to determine the first half-screen and the second half-screen formed by folding may include the following:

第一种实现方式:将折叠形成的两个半屏中位于顶部的半屏确定为该第一半屏,将位于底部的半屏确定为该第二半屏。A first implementation manner: among the two half-screens formed by folding, the top half-screen is determined as the first half-screen, and the bottom half-screen is determined as the second half-screen.

实际应用中,用户使用折叠屏终端时,为了方便操作,通常会将显示屏的上部超外侧折叠,然后查看并使用下部的显示屏,即位于显示屏的底部的半屏。比如,用户可以将显示屏的上部超外侧折叠,使得显示屏被折叠后形成位于顶部的半屏和位于底部的半屏,然后将这两个半屏扣在一起,使得这两个半屏的背部相贴合,以便于用户手持操作。在用户手持过程中,用户通常会查看并使用位于底部的半屏。In practical applications, when using a folding screen terminal, for convenience of operation, the user usually folds the upper part of the display screen to the outside, and then views and uses the lower display screen, that is, the half screen at the bottom of the display screen. For example, the user can fold the upper part of the display to the outer side so that the display is folded to form a half screen at the top and a half screen at the bottom, and then buckle the two half screens together so that the two half screens The back fits together so that users can hold it in hand. During the user's hand-held process, the user usually views and uses the bottom half screen.

因此,可以将位于顶部的半屏确定为待触碰的第一半屏,将位于底部的半屏确定为待控制的第二半屏,以通过对顶部半屏的触碰操作来对底部半屏的显示内容进行控制。Therefore, the half screen at the top can be determined as the first half screen to be touched, and the half screen at the bottom can be determined as the second half screen to be controlled, so that the bottom half screen can be controlled by touching the top half screen. Control the display content of the screen.

第二种实现方式:将折叠形成的两个半屏中处于黑屏状态的半屏确定为该第一半屏,将处于亮屏状态的半屏确定为该第二半屏。A second implementation manner: among the two half-screens formed by folding, the half-screen in a black-screen state is determined as the first half-screen, and the half-screen in a bright-screen state is determined as the second half-screen.

在用户使用折叠屏终端的过程中,用户将显示屏折叠后,通常只会查看折叠形成的一个半屏的显示内容,因此为了节省终端的电量消耗,可以只将待查看的半屏点亮,而将另一半屏关闭。此时即可将处于黑屏状态的半屏确定为待触碰的第一半屏,将处于亮屏状态的半屏确定为待控制的第二半屏,以通过对黑屏状态半屏的触碰操作来对亮屏状态半屏的显示内容进行控制。When the user uses the folding screen terminal, after the user folds the display screen, he usually only views the display content of a half screen formed by folding. Therefore, in order to save the power consumption of the terminal, only the half screen to be viewed can be lighted up. And close the other half of the screen. At this point, the half-screen in the black-screen state can be determined as the first half-screen to be touched, and the half-screen in the bright-screen state can be determined as the second half-screen to be controlled, so that the half-screen in the black-screen state can be touched Operation to control the display content of the half screen in the bright screen state.

在一个实施例中,将显示屏折叠后,当折叠形成的两个半屏均处于亮屏状态时,可以在接收到对这两个半屏中的任一半屏的黑屏显示指令时,将该半屏设置为黑屏状态。其中,该黑屏显示指令可以由用户通过指定操作触发,该指定操作可以为按压操作、滑动操作或者语音操作等。In one embodiment, after the display screen is folded, when the two half-screens formed by folding are both in the bright screen state, when a black-screen display instruction for any half-screen of the two half-screens is received, the Half screen is set to black screen state. Wherein, the black screen display instruction may be triggered by the user through a designated operation, and the designated operation may be a pressing operation, a sliding operation, or a voice operation.

例如,折叠形成的两个半屏可以显示有黑屏快捷键,当检测到对任一半屏中显示的黑屏快捷键的触发操作时,确定接收到对该半屏的黑屏显示指令。For example, the two half-screens formed by folding may display a black-screen shortcut key, and when a trigger operation on the black-screen shortcut key displayed in any half-screen is detected, it is determined that a black-screen display instruction for the half-screen is received.

第三种实现方式:当折叠形成的两个半屏均处于亮屏状态且显示内容相同时,将该两个半屏中的任一半屏确定为该第一半屏,将另一半屏确定为该第二半屏。The third implementation method: when the two half-screens formed by folding are in the bright screen state and display the same content, determine any half-screen of the two half-screens as the first half-screen, and determine the other half-screen as the The second half screen.

对于折叠屏终端而言,在用户将显示屏折叠后,该显示屏中显示的内容可能会缩小显示在折叠形成的每个半屏中,即折叠形成的每个半屏显示的均为原来显示屏中显示的内容,显示内容相同。当折叠形成的两个半屏的显示内容相同时,用户可以使用任一半屏进行查看,因此可以将任一半屏作为待控制的第二半屏,即可以通过任一半屏的触碰操作来对另一半屏的显示内容进行控制。For folding screen terminals, after the user folds the display screen, the content displayed on the display screen may be reduced and displayed in each half screen formed by folding, that is, each half screen formed by folding displays the original display The content displayed on the screen is the same. When the display content of the two half-screens formed by folding is the same, the user can use either half-screen to view, so any half-screen can be used as the second half-screen to be controlled, that is, any half-screen can be controlled by touch operation The display content of the other half of the screen is controlled.

进一步地,为了提高准确度,还可以在接收到对任一半屏的控制指令时,将该半屏确定为待控制的第二半屏,并将另一半屏确定为待触碰的第一半屏。其中,对任一半屏的控制指令可以由用户通过指定操作触发,例如,折叠形成的两个半屏可以显示有控制快捷键,当检测到对任一半屏中显示的控制快捷键的触发操作时,确定接收到对该半屏的控制指令。Further, in order to improve the accuracy, when receiving a control instruction for any half screen, this half screen can be determined as the second half screen to be controlled, and the other half screen can be determined as the first half screen to be touched Screen. Among them, the control command for any half screen can be triggered by the user through a specified operation, for example, the two half screens formed by folding can display control shortcut keys, when the trigger operation for the control shortcut keys displayed in any half screen is detected , to determine that a control command for the half-screen is received.

第四种实现方式:从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,将该背对用户的半屏确定为该第一半屏,将该正对用户的半屏确定为该第二半屏。The fourth implementation method: determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding, determine the half screen facing away from the user as the first half screen, and determine the half screen facing away from the user as the first half screen, and determine the half screen facing away from the user The user's half screen is determined as the second half screen.

其中,正对用户的半屏为用户正在查看和使用的半屏,背对用户的半屏为用户未在查看的半屏,因此可以将背对用户的半屏确定为待触碰的第一半屏,将正对用户的半屏确定为待控制的第二半屏,以通过对背对用户的半屏的触碰操作来对正对用户的半屏的显示内容进行控制。Among them, the half screen facing the user is the half screen that the user is viewing and using, and the half screen facing away from the user is the half screen that the user is not viewing, so the half screen facing away from the user can be determined as the first half screen to be touched. For the half screen, the half screen facing the user is determined as the second half screen to be controlled, so as to control the display content of the half screen facing the user through a touch operation on the half screen facing away from the user.

具体地,从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏的方式可以包括以下几种:Specifically, the methods of determining the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding may include the following:

1)通过配置的摄像头采集图像,并对采集的图像进行识别,根据识别结果从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏。1) Collect images through the configured camera, and recognize the collected images, and determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding according to the recognition result.

对采集的图像进行识别是为了确定采集的图像中是否存在人脸图像,以通过人脸识别技术确定正对用户的半屏和背对用户的半屏。The purpose of identifying the collected images is to determine whether there is a face image in the collected images, so as to determine the half screen facing the user and the half screen facing away from the user through face recognition technology.

具体地,当配置有摄像头的半屏采集的图像中存在人脸图像时,可以将该半屏确定为正对用户的半屏,并将另一半屏确定为背对用户的半屏。或者,当配置有摄像头的半屏采集的图像中不存在人脸图像时,还可以将该半屏确定为背对用户的半屏,并将另一半屏确定为正对用户的半屏。Specifically, when there is a face image in the image collected by the half-screen configured with the camera, the half-screen may be determined as the half-screen facing the user, and the other half-screen may be determined as the half-screen facing away from the user. Or, when there is no face image in the image collected by the half-screen configured with the camera, the half-screen may also be determined as the half-screen facing away from the user, and the other half-screen may be determined as the half-screen facing the user.

2)当该终端处于手持状态时,确定该终端的手持姿势,根据该手持姿势从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏。2) When the terminal is in the handheld state, determine the handheld posture of the terminal, and determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding according to the handheld posture.

也即是,可以根据用户手持终端的姿势,确定正对用户的半屏和背对用户的半屏。例如,终端可以根据终端的手持姿势确定手持在上的半屏和手持在下的半屏,并将手持在上的半屏确定为正对用户的半屏,将手持在下的半屏确定为背对用户的半屏。当然也可以通过其他手持姿势确定正对用户的半屏和背对用户的半屏,本发明实施例对此不做限定。That is, according to the posture of the user holding the terminal, the half screen facing the user and the half screen facing away from the user may be determined. For example, the terminal may determine the upper half-screen and the lower half-screen according to the hand-holding posture of the terminal, and determine the upper half-screen as the half-screen facing the user, and the lower half-screen as facing away from the user. The user's half screen. Of course, the half-screen facing the user and the half-screen facing away from the user may also be determined through other hand-holding gestures, which is not limited in this embodiment of the present invention.

实际应用中,终端可以通过配置的重力传感器、陀螺仪和光线传感器中的至少一种,来确定终端的手持姿势。当然也可以结合其他传感器来确定,本发明实施例对此不做限定。In practical applications, the terminal may determine the hand-holding posture of the terminal through at least one of the configured gravity sensor, gyroscope and light sensor. Certainly, it may also be determined in combination with other sensors, which is not limited in this embodiment of the present invention.

3)当该终端处于手持状态时,确定该折叠形成的两个半屏中的每个半屏与用户的接触面积,将与用户的接触面积最大的半屏确定为该背对用户的半屏,将与用户的接触面积最小的半屏确定为该正对用户的半屏。3) When the terminal is in the handheld state, determine the contact area between each of the two half-screens formed by the folding and the user, and determine the half-screen with the largest contact area with the user as the half-screen facing away from the user , determine the half screen with the smallest contact area with the user as the half screen facing the user.

考虑到当用户手持终端时,用户手部通常与正对用户的半屏的接触面积较小,而与背对用户的半屏的接触面积较大,例如,用户手持终端,通常会将拇指与正对用户的半屏的接触,而将其与四指与背对用户的半屏接触,因此,可以将与用户的接触面积最大的半屏确定为背对用户的半屏,而将与用户的接触面积最小的半屏确定为正对用户的半屏。Considering that when the user is holding the terminal, the contact area of the user's hand is usually smaller with the half-screen facing the user, while the contact area with the half-screen facing away from the user is larger. The half-screen facing the user is in contact with the four fingers and the half-screen facing away from the user. Therefore, the half-screen with the largest contact area with the user can be determined as the half-screen facing away from the user, and the half-screen with the user’s The half screen with the smallest contact area is determined as the half screen facing the user.

需要说明的是,本发明实施例仅是以上述四种方式从折叠形成的多个半屏中确定待触碰的第一半屏和待控制的第二半屏为例进行说明,而实际应用中,还可以根据实际需要通过其他方式确定第一半屏和第二半屏,本发明实施例对此不做限定。It should be noted that the embodiment of the present invention is only described by taking the above four methods to determine the first half-screen to be touched and the second half-screen to be controlled from the multiple half-screens formed by folding as an example. , the first half screen and the second half screen may also be determined in other ways according to actual needs, which is not limited in this embodiment of the present invention.

步骤203:终端判断是否检测到对第一半屏的预设触碰操作。Step 203: The terminal judges whether a preset touch operation on the first half of the screen is detected.

其中,该预设触碰操作包括点触操作和滑动操作中的至少一种,且该预设触碰操作包括多个力度等级对应的预设触碰操作,该多个力度等级对应的预设触碰操作与多个控制指令相对应,也即是,不同力度等级对应的相同预设触碰操作用于触发不同的控制指令。Wherein, the preset touch operation includes at least one of a point touch operation and a slide operation, and the preset touch operation includes preset touch operations corresponding to multiple force levels, and the preset touch operations corresponding to the multiple force levels The touch operation corresponds to multiple control instructions, that is, the same preset touch operation corresponding to different strength levels is used to trigger different control instructions.

其中,点触操作可以包括单击操作、双击操作和长按操作等,且该点触操作还可以包括不同力度等级对应的点触操作,用于触发不同的控制指令。例如,对应用图标的第一力度等级的单击操作可以用于触发对该应用图标的选中指令,对该应用图标的第二力度等级的单击操作可以用于触发对该应用图标的开启指令,且第一力度等级小于第二力度等级。Wherein, the touch operation may include single-click operation, double-click operation, and long-press operation, etc., and the touch operation may also include touch operations corresponding to different strength levels, for triggering different control instructions. For example, the click operation of the first force level on the application icon can be used to trigger the selection instruction of the application icon, and the click operation of the second force level of the application icon can be used to trigger the opening instruction of the application icon , and the first intensity level is smaller than the second intensity level.

其中,滑动操作可以包括不同方向的滑动操作,比如上滑操作、下滑操作、左滑操作和右滑操作等,且可以包括不同力度等级对应的滑动操作,用于触发不同的控制指令。例如,第一力度等级的滑动操作用于控制亮度,第二力度等级的滑动操作用于控制音量。Wherein, the sliding operation may include sliding operations in different directions, such as upward sliding operation, downward sliding operation, left sliding operation, and right sliding operation, etc., and may include sliding operations corresponding to different strength levels for triggering different control commands. For example, the sliding operation of the first strength level is used to control the brightness, and the sliding operation of the second strength level is used to control the volume.

实际应用中,终端可以通过第一半屏中配置的传感器,检测对该第一半屏的预设触碰操作。比如,可以通过第一半屏中配置的压力传感器反馈的压力信号进行检测。In practical applications, the terminal may detect a preset touch operation on the first half of the screen through a sensor configured in the first half of the screen. For example, it can be detected through the pressure signal fed back by the pressure sensor configured in the first half of the screen.

步骤204:当终端检测到对第一半屏的预设触碰操作时,根据该预设触碰操作对第二半屏的显示内容进行控制。Step 204: When the terminal detects a preset touch operation on the first half of the screen, control the display content of the second half of the screen according to the preset touch operation.

具体地,根据该预设触碰操作对第二半屏的显示内容进行控制可以包括以下两种实现方式:Specifically, controlling the display content of the second half screen according to the preset touch operation may include the following two implementations:

第一种实现方式:根据该预设触碰操作确定针对该第二半屏的显示内容的控制指令,根据该控制指令对该第二半屏的显示内容进行控制。A first implementation manner: determine a control instruction for the display content of the second half-screen according to the preset touch operation, and control the display content of the second half-screen according to the control instruction.

在一个实施例中,可以在该预设触碰操作为滑动操作时,采用第一种实现方式对第二半屏的显示内容进行控制。例如,当该第二半屏正在显示网页页面或客户端页面,且该预设触碰操作为滑动操作时,可以根据该滑动操作控制页面的上下移动或左右切换。In an embodiment, when the preset touch operation is a sliding operation, the display content of the second half screen may be controlled using the first implementation manner. For example, when the second half-screen is displaying a web page or a client page, and the preset touch operation is a sliding operation, the page can be controlled to move up and down or to switch left and right according to the sliding operation.

如图2B所示,以用户按照显示屏的中线将上部的显示屏向后折叠,并将折叠形成的两个半屏扣在一起,使得这两个半屏的背部相贴合,形成一个在前的半屏10、一个在后的半屏20为例,当前面的半屏10正在显示网页页面时,用户可以通过对后面的半屏20执行上滑操作,控制前面的半屏10所显示的页面上移,以对半屏10中的页面内容进行刷新。As shown in Figure 2B, the user folds the upper display screen backwards according to the center line of the display screen, and buckles the two half-screens formed by folding together so that the backs of the two half-screens fit together to form a Take the front half-screen 10 and the rear half-screen 20 as examples. When the front half-screen 10 is displaying a web page, the user can control the front half-screen 10 by sliding up the back half-screen 20. Move up the page to refresh the page content in the half screen 10 .

第二种实现方式:确定该预设触碰操作在该第一半屏中的第一触碰位置;根据该第一触碰位置和存储的该第一半屏和该第二半屏的位置对应关系,确定该预设触碰操作在该第二半屏中的第二触碰位置;根据该预设触碰操作和该第二触碰位置,确定针对该第二半屏的显示内容的控制指令;根据该控制指令对该第二半屏的显示内容进行控制。The second implementation mode: determine the first touch position of the preset touch operation in the first half-screen; according to the first touch position and the stored positions of the first half-screen and the second half-screen According to the corresponding relationship, determine the second touch position of the preset touch operation in the second half screen; according to the preset touch operation and the second touch position, determine the display content for the second half screen A control instruction; the display content of the second half screen is controlled according to the control instruction.

也即是,可以根据第一半屏的触碰位置确定第二半屏的触碰位置,并根据确定的触碰位置对第二半屏的显示内容进行控制。That is, the touch position of the second half screen may be determined according to the touch position of the first half screen, and the display content of the second half screen may be controlled according to the determined touch position.

其中,该第一半屏和该第二半屏的位置对应关系可以根据该第一半屏和该第二半屏的屏幕尺寸等比例进行设置,且可以由终端默认设置,也可以由用户根据实际需要进行设置。Wherein, the corresponding relationship between the positions of the first half screen and the second half screen can be set according to the equal ratio of the screen sizes of the first half screen and the second half screen, and can be set by default by the terminal, or can be set by the user according to actually needs to be set.

如图2B所示,当用户触碰后面的半屏20的上部位置时,相当于触碰了前面的半屏10对应的上部位置,并可以根据该触碰操作和触碰位置对前面的半屏10中的显示内容进行控制。比如,可以通过点击后面的半屏20的相应位置,控制打开前面的半屏10中相应位置的应用图标,或者相应位置的虚拟开关等。As shown in Figure 2B, when the user touches the upper position of the rear half screen 20, it is equivalent to touching the upper position corresponding to the front half screen 10, and the front half screen 10 can be adjusted according to the touch operation and the touch position. The display content in the screen 10 is controlled. For example, by clicking on the corresponding position of the rear half screen 20, the application icon at the corresponding position in the front half screen 10 or the virtual switch at the corresponding position can be controlled to be opened.

发明实施例中,当终端的显示屏处于折叠状态时,可以确定折叠形成的第一半屏和第二半屏,并可以根据对第一半屏的预设触碰操作,对第二半屏的显示内容进行控制,从而避免了对第二半屏进行触控时手指对第二半屏的显示内容的遮挡,提高了终端控制的灵活性。In the embodiment of the invention, when the display screen of the terminal is in the folded state, the first half screen and the second half screen formed by folding can be determined, and the second half screen can be adjusted according to the preset touch operation on the first half screen. The display content of the second half of the screen is controlled, thereby avoiding the blocking of the display content of the second half of the screen by fingers when touching the second half of the screen, and improving the flexibility of terminal control.

图3是本发明实施例提供的一种终端控制装置的结构示意图,该装置应用于终端中,该终端具有可折叠的显示屏,且该显示屏被折叠后位于外侧,参见图3,该装置包括确定模块301、判断模块302和控制模块303。Fig. 3 is a schematic structural diagram of a terminal control device provided by an embodiment of the present invention, the device is applied in a terminal, the terminal has a foldable display screen, and the display screen is folded and located on the outside, see Fig. 3, the device It includes a determination module 301 , a judgment module 302 and a control module 303 .

确定模块301,用于当终端的显示屏处于折叠状态时,确定折叠形成的第一半屏和第二半屏;A determining module 301, configured to determine the first half screen and the second half screen formed by folding when the display screen of the terminal is in a folded state;

判断模块302,用于判断是否检测到对该第一半屏的预设触碰操作;A judging module 302, configured to judge whether a preset touch operation on the first half screen is detected;

控制模块303,用于当检测到对该第一半屏的预设触碰操作时,根据该预设触碰操作对该第二半屏的显示内容进行控制。The control module 303 is configured to, when a preset touch operation on the first half-screen is detected, control the display content of the second half-screen according to the preset touch operation.

可选地,该确定模块301用于:Optionally, the determination module 301 is used for:

将折叠形成的两个半屏中位于顶部的半屏确定为该第一半屏,将位于底部的半屏确定为该第二半屏;或者,Of the two half-screens formed by folding, the top half-screen is determined as the first half-screen, and the bottom half-screen is determined as the second half-screen; or,

将折叠形成的两个半屏中处于黑屏状态的半屏确定为该第一半屏,将处于亮屏状态的半屏确定为该第二半屏;或者,Of the two half-screens formed by folding, the half-screen in the black-screen state is determined as the first half-screen, and the half-screen in the bright-screen state is determined as the second half-screen; or,

当折叠形成的两个半屏均处于亮屏状态且显示内容相同时,将该两个半屏中的任一半屏确定为该第一半屏,将另一半屏确定为该第二半屏;或者,When the two half-screens formed by folding are both in the bright state and display the same content, determine any half-screen of the two half-screens as the first half-screen, and determine the other half-screen as the second half-screen; or,

从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏,将该背对用户的半屏确定为该第一半屏,将该正对用户的半屏确定为该第二半屏。Determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding, determine the half-screen facing away from the user as the first half-screen, and determine the half-screen facing the user as the first half-screen The second half screen.

可选地,该确定模块301用于:Optionally, the determination module 301 is used for:

通过配置的摄像头采集图像,并对采集的图像进行识别,根据识别结果从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者,Collect images through the configured camera, identify the collected images, and determine the half screen facing the user and the half screen facing away from the user from the two half screens formed by folding according to the recognition results; or,

当该终端处于手持状态时,确定该终端的手持姿势,根据该手持姿势从折叠形成的两个半屏中确定正对用户的半屏和背对用户的半屏;或者;When the terminal is in the handheld state, determine the handheld posture of the terminal, and determine the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by folding according to the handheld posture; or;

当该终端处于手持状态时,确定该折叠形成的两个半屏中的每个半屏与用户的接触面积,将与用户的接触面积最小的半屏确定为正对用户的半屏,将与用户的接触面积最大的半屏确定为背对用户的半屏。When the terminal is in the handheld state, determine the contact area between each of the two half-screens formed by the folding and the user, and determine the half-screen with the smallest contact area with the user as the half-screen facing the user. The half-screen with the largest contact area of the user is determined to be the half-screen facing away from the user.

可选地,该控制模块303用于:Optionally, the control module 303 is used for:

确定该预设触碰操作在该第一半屏中的第一触碰位置;determining a first touch position of the preset touch operation in the first half screen;

根据该第一触碰位置和存储的该第一半屏和该第二半屏的位置对应关系,确定该预设触碰操作在该第二半屏中的第二触碰位置;determining a second touch position of the preset touch operation in the second half-screen according to the first touch position and the stored corresponding relationship between the positions of the first half-screen and the second half-screen;

根据该预设触碰操作和该第二触碰位置,确定针对该第二半屏的显示内容的控制指令;According to the preset touch operation and the second touch position, determine a control command for the display content of the second half screen;

根据该控制指令对该第二半屏的显示内容进行控制。The display content of the second half screen is controlled according to the control instruction.

可选地,该预设触碰操作包括点触操作和滑动操作中的至少一种,且该预设触碰操作包括多个力度等级对应的预设触碰操作。Optionally, the preset touch operation includes at least one of a point touch operation and a slide operation, and the preset touch operation includes preset touch operations corresponding to multiple strength levels.

发明实施例中,当终端的显示屏处于折叠状态时,可以确定折叠形成的第一半屏和第二半屏,并可以根据对第一半屏的预设触碰操作,对第二半屏的显示内容进行控制,从而避免了对第二半屏进行触控时手指对第二半屏的显示内容的遮挡,提高了终端控制的灵活性。In the embodiment of the invention, when the display screen of the terminal is in the folded state, the first half screen and the second half screen formed by folding can be determined, and the second half screen can be adjusted according to the preset touch operation on the first half screen. The display content of the second half of the screen is controlled, thereby avoiding the blocking of the display content of the second half of the screen by fingers when touching the second half of the screen, and improving the flexibility of terminal control.

需要说明的是:上述实施例提供的终端控制装置在对终端进行控制时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的终端控制装置与终端控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the terminal control device provided in the above embodiment controls the terminal, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. , that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the terminal control device and the terminal control method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.

参考图4和图5所示,其示出了本申请一个示例性实施例提供的终端400的结构示意图。该终端400可以是智能手机、平板电脑和电子书等等。本申请中的终端400可以包括一个或多个如下部件:处理器410、存储器420和触摸显示屏430。Referring to FIG. 4 and FIG. 5 , it shows a schematic structural diagram of a terminal 400 provided by an exemplary embodiment of the present application. The terminal 400 may be a smart phone, a tablet computer, an e-book, and the like. The terminal 400 in this application may include one or more of the following components: a processor 410 , a memory 420 and a touch screen 430 .

处理器410可以包括一个或者多个处理核心。处理器410利用各种接口和线路连接整个终端400内的各个部分,通过运行或执行存储在存储器420内的指令、程序、代码集或指令集,以及调用存储在存储器420内的数据,执行终端400的各种功能和处理数据。可选地,处理器410可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器410可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏430所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器410中,单独通过一块芯片进行实现。Processor 410 may include one or more processing cores. The processor 410 uses various interfaces and lines to connect various parts of the entire terminal 400, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 420, and calling data stored in the memory 420. 400 various functions and process data. Optionally, the processor 410 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 410 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, the user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 430; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 410, but may be realized by a single chip.

存储器420可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器420包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器420可用于存储指令、程序、代码、代码集或指令集。存储器420可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端400的使用所创建的数据(比如音频数据、电话本)等。The memory 420 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Optionally, the memory 420 includes a non-transitory computer-readable storage medium. Memory 420 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), It is used to implement instructions and the like of the various method embodiments described below; the storage data area can store data created according to the use of the terminal 400 (such as audio data, phone book) and the like.

以操作系统为安卓(Android)系统为例,存储器420中存储的程序和数据如图4所示,存储器420中存储有Linux内核层520、系统运行库层540、应用框架层560和应用层580。Linux内核层520为终端400的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层540通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层540中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层560提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层580中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 420 are as shown in Figure 4, and the memory 420 is stored with a Linux kernel layer 520, a system runtime layer 540, an application framework layer 560 and an application layer 580 . The Linux kernel layer 520 provides underlying drivers for various hardware of the terminal 400, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on. The system runtime layer 540 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. The Android Runtime library (Android Runtime) is also provided in the system runtime library layer 540, which mainly provides some core libraries and can allow developers to write Android applications using the Java language. The application framework layer 560 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, location management. There is at least one application program running in the application layer 580, and these application programs can be a contact program, a text message program, a clock program, a camera application, etc. Communication programs, photo beautification programs, etc.

以操作系统为IOS系统为例,存储器420中存储的程序和数据如图5所示,IOS系统包括:核心操作系统层620(Core OS layer)、核心服务层640(Core Services layer)、媒体层660(Media layer)、可触摸层680(Cocoa Touch Layer)。核心操作系统层620包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层640的程序框架所使用。核心服务层640提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层660为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层680为应用程序开发提供了各种常用的界面相关的框架,可触摸层680负责用户在终端400上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 420 are as shown in Figure 5, and the IOS system includes: a core operating system layer 620 (Core OS layer), a core service layer 640 (Core Services layer), a media layer 660 (Media layer), touchable layer 680 (Cocoa Touch Layer). The core operating system layer 620 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 640 . The core service layer 640 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on. The media layer 660 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technology. The touchable layer 680 provides various commonly used interface-related frameworks for application development, and the touchable layer 680 is responsible for the user's touch interaction operation on the terminal 400 . Such as local notification service, remote push service, advertisement framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.

在图5所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层640中的基础框架和可触摸层680中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。Among the frameworks shown in FIG. 5 , frameworks related to most applications include, but are not limited to: the basic framework in the core service layer 640 and the UIKit framework in the touchable layer 680 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.

触摸显示屏430用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏430通常设置在终端400的前面板。The touch display screen 430 is used to receive user's touch operation on or near it with any suitable object such as a finger or a stylus, and to display user interfaces of various application programs. The touch display screen 430 is generally arranged on the front panel of the terminal 400 .

如图6A所示,终端400包括第一壳体41、第二壳体42以及连接于第一壳体41和第二壳体42之间的连接组件43,第一壳体41与第二壳体42通过连接组件43实现翻转折叠。As shown in FIG. 6A, the terminal 400 includes a first housing 41, a second housing 42, and a connection assembly 43 connected between the first housing 41 and the second housing 42. The first housing 41 and the second housing The body 42 is flipped and folded through the connection assembly 43 .

第一壳体41包括与触摸显示屏背面连接的第一支撑面,以及与第一支撑面相对的第一背面,第二壳体42包括与触摸显示屏背面连接的第二支撑面,以及与第二支撑面相对的第二背面。相应的,触摸显示屏包括第一显示区域131、第二显示区域132和第三显示区域133,其中,第一显示区域131与第一壳体41的位置对应,第二显示区域132与第二壳体42的位置对应,第三显示区域133与连接组件43的位置对应。在一种实现方式中,第一显示区域131、第二显示区域132和第三显示区域133均采用柔性材料制成,具有一定的伸缩延展性;在另一种实现方式中,仅第三显示区域133采用柔性材料制成,第一显示区域131和第二显示区域132采用非柔性材料制成。The first housing 41 includes a first support surface connected to the back of the touch screen, and a first back opposite to the first support surface, and the second housing 42 includes a second support surface connected to the back of the touch screen, and a second support surface connected to the back of the touch screen. The second back surface opposite to the second supporting surface. Correspondingly, the touch display screen includes a first display area 131, a second display area 132 and a third display area 133, wherein the first display area 131 corresponds to the position of the first housing 41, and the second display area 132 corresponds to the position of the second The position of the housing 42 corresponds, and the third display area 133 corresponds to the position of the connecting component 43 . In one implementation, the first display area 131, the second display area 132, and the third display area 133 are all made of flexible materials, which have certain stretchability; in another implementation, only the third display The area 133 is made of flexible material, and the first display area 131 and the second display area 132 are made of non-flexible material.

在一种可选的实现方式中,终端400的连接组件43采用手动结构。用户手动分离第一壳体41和第二壳体42时,终端400由折叠状态变为展开状态;用户手动合拢第一壳体41和第二壳体42时,终端400由展开状态变为折叠状态。In an optional implementation manner, the connection component 43 of the terminal 400 adopts a manual structure. When the user manually separates the first casing 41 and the second casing 42, the terminal 400 changes from the folded state to the unfolded state; when the user manually closes the first casing 41 and the second casing 42, the terminal 400 changes from the unfolded state to the folded state. state.

在另一种可选的实现方式中,终端400的连接组件43采用电动结构,比如,连接组件43中设置有电动马达一类的电动旋转部件。在电动旋转部件的带动下,第一壳体41和第二壳体42自动实现合拢或分离,从而使终端400具备展开和折叠两种状态。In another optional implementation manner, the connection assembly 43 of the terminal 400 adopts an electric structure, for example, the connection assembly 43 is provided with an electric rotating component such as an electric motor. Driven by the electric rotating part, the first casing 41 and the second casing 42 are automatically closed or separated, so that the terminal 400 has two states of unfolding and folding.

按照折叠状态下触摸显示屏是否外露进行划分,终端400可以被划分为外折叠屏终端和内折叠屏终端。其中:According to whether the touch display screen is exposed in the folded state, the terminal 400 can be divided into an outer folding screen terminal and an inner folding screen terminal. in:

外折叠屏终端External folding screen terminal

外折叠屏终端是指可折叠角度为180°,且在折叠状态下,触摸显示屏全部外露的终端。如图6A所示,终端400为外折叠屏终端。展开状态下,终端400的第一壳体41的第一支撑面与第二壳体42的第二支撑面相齐平(即夹角为180°),且触摸显示屏的第一显示区域131、第二显示区域132和第三显示区域133位于同一平面;终端400由展开状态变为折叠状态过程中,如图6A所示,第一壳体41的第一背面与第二壳体42的第二背面相靠拢,第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,如图6B所示,终端400的第一壳体41的第一支撑面与第二壳体42的第二支撑面相平行(第一壳体41与第二壳体42的夹角为0°),使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域133形成外露的U型弧面。A terminal with an outer folding screen refers to a terminal that can be folded at an angle of 180°, and in the folded state, the entire touch screen is exposed. As shown in FIG. 6A , the terminal 400 is an external folding screen terminal. In the unfolded state, the first supporting surface of the first housing 41 of the terminal 400 is flush with the second supporting surface of the second housing 42 (that is, the included angle is 180°), and the first display area 131, The second display area 132 and the third display area 133 are located on the same plane; when the terminal 400 changes from the unfolded state to the folded state, as shown in FIG. The two backs are close together, and the angle between the first support surface and the second support surface changes from 180° to 0°; in the folded state, as shown in FIG. 6B , the first support surface and the second support surface of the first housing 41 of the terminal 400 The second supporting surfaces of the two housings 42 are parallel (the angle between the first housing 41 and the second housing 42 is 0°), so that the touch screen is in a U-shaped folded state, wherein the third display area of the touch screen 133 forms an exposed U-shaped arc surface.

在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部或部分显示区域用于显示用户界面。比如,如图6B所示,折叠状态下,仅第二显示区域132用于显示用户界面,或,仅第三显示区域133用于显示用户界面。In an optional implementation manner, in the folded state, all or part of the display area of the touch display screen is used to display a user interface. For example, as shown in FIG. 6B , in the folded state, only the second display area 132 is used to display the user interface, or only the third display area 133 is used to display the user interface.

内折叠屏终端Inner folding screen terminal

内折叠屏终端是指可折叠角度为180°,且在折叠状态下,触摸显示屏(全部或部分)内敛的终端。如图6C所示,终端400为内折叠屏终端。展开状态下,终端400的第一壳体41的第一支撑面与第二壳体42的第二支撑面相齐平(即夹角为180°),使得触摸显示屏处于平面展开状态(第一显示区域131、第二显示区域132和第三显示区域133位于同一平面);终端400由展开状态变为折叠状态过程中,如图6C所示,第一壳体41的第一支撑面与第二壳体42的第二支撑面相靠拢,即第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,终端400的第一壳体41的第一支撑面与第二壳体42的第二支撑面相平行,使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域133形成内敛的U型弧面。在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部显示区域均不显示用户界面。An inner folding screen terminal refers to a terminal that can be folded at an angle of 180°, and in the folded state, the touch screen (all or part) is restrained. As shown in FIG. 6C , the terminal 400 is an inner folding screen terminal. In the unfolded state, the first supporting surface of the first housing 41 of the terminal 400 is flush with the second supporting surface of the second housing 42 (that is, the included angle is 180°), so that the touch screen is in a planar unfolded state (first The display area 131, the second display area 132 and the third display area 133 are located on the same plane); during the terminal 400 changing from the unfolded state to the folded state, as shown in FIG. The second supporting surfaces of the two casings 42 are close together, that is, the angle between the first supporting surface and the second supporting surface changes from 180° to 0°; in the folded state, the first supporting surface of the first casing 41 of the terminal 400 and the The second supporting surfaces of the second housing 42 are parallel, so that the touch screen is in a U-shaped folded state, wherein the third display area 133 of the touch screen forms a restrained U-shaped arc. In an optional implementation manner, in the folded state, no user interface is displayed on the entire display area of the touch display screen.

除了在壳体的支撑面上设置触摸显示屏外,第一壳体41的第一背面和/或第二壳体42的第二背面上也可以设置触摸显示屏。内折叠屏终端处于折叠状态时,设置在壳体背面的触摸显示屏用于显示用户界面,该用户界面与展开状态下触摸显示屏显示的用户界面相同或不同。In addition to setting a touch display screen on the supporting surface of the housing, a touch display screen may also be provided on the first back of the first housing 41 and/or the second back of the second housing 42 . When the inner folding screen terminal is in the folded state, the touch screen disposed on the back of the casing is used to display a user interface, which is the same as or different from the user interface displayed on the touch screen in the unfolded state.

在其他可能的实现方式中,终端400的可折叠角度还可以为360°(既可以内折也可以外折),且在折叠状态下,触摸显示屏外露或内敛的终端,本实施例对此不加以限定。In other possible implementations, the foldable angle of the terminal 400 can also be 360° (it can be folded inward or outward), and in the folded state, the touch screen is exposed or restrained. Not limited.

图6A至图6C所示的终端400中,第一壳体41和第二壳体42尺寸相同或相近,终端400的折叠方式被称为对称折叠。在其他可能的实现方式中,终端400的折叠方式还可以为非对称折叠。采用非对称折叠时,第一壳体41和第二壳体42的尺寸可以不同或尺寸相差大于阈值(比如50%或60%或70%),相应的,触摸显示屏中第一显示区域131的面积与第二显示区域132的面积相差大于阈值。In the terminal 400 shown in FIGS. 6A to 6C , the first housing 41 and the second housing 42 have the same or similar dimensions, and the folding method of the terminal 400 is called symmetrical folding. In other possible implementation manners, the folding manner of the terminal 400 may also be asymmetric folding. When using asymmetric folding, the size of the first housing 41 and the second housing 42 can be different or the size difference is greater than a threshold (such as 50% or 60% or 70%), correspondingly, the first display area 131 in the touch screen The difference between the area of and the area of the second display region 132 is greater than the threshold.

示意性的,如图6D所示,终端400为非对称折叠的外折叠屏终端,第一壳体41的尺寸大于第二壳体42的尺寸。折叠状态下,第一显示区域131的面积大于第二显示区域132的面积。Schematically, as shown in FIG. 6D , the terminal 400 is an asymmetrically folded outer folding screen terminal, and the size of the first casing 41 is larger than that of the second casing 42 . In the folded state, the area of the first display area 131 is larger than the area of the second display area 132 .

图6A至图6D中,仅以终端400包含两部分壳体以及一个用于连接壳体的连接组件为例进行示意性说明(终端为两折结构),在另一些可能的实现方式中,终端400可以包含n部分壳体以及n-1个连接组件,相应的,终端400的触摸显示屏中包含2n-1块显示区域,与连接组件对应的n-1块显示区域采用柔性材料制成,从而实现n折结构的终端,本实施例对此不加以限定。In Fig. 6A to Fig. 6D, only the terminal 400 includes two shells and a connection assembly for connecting the shells as an example for schematic illustration (the terminal is a two-fold structure). In other possible implementations, the terminal The 400 may include n parts of the housing and n-1 connection components. Correspondingly, the touch screen of the terminal 400 contains 2n-1 display areas, and the n-1 display areas corresponding to the connection components are made of flexible materials. In this way, a terminal with an n-fold structure is realized, which is not limited in this embodiment.

终端400中还设置有至少一种其他部件,该至少一种其他部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,至少一种其他部件设置在终端400的正面、侧边或背面,比如将指纹传感器设置在壳体的背面或侧边、将摄像头设置在触摸显示屏430的上方。At least one other component is also provided in the terminal 400, and the at least one other component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, at least one other component is disposed on the front, side or back of the terminal 400 , for example, the fingerprint sensor is disposed on the back or side of the housing, and the camera is disposed above the touch display 430 .

在另一些实施例中,至少一种其他部件可以集成在触摸显示屏430的内部或下层。在一些实施例中,将骨传导式的听筒设置在终端400的内部;将传统终端的前面板上的其他部件集成在触摸显示屏430的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏430中每个显示像素中的黑色区域中,使得触摸显示屏430具备图像采集功能。由于将至少一种其他部件集成在了触摸显示屏430的内部或下层,因此终端400具有更高的屏占比。In some other embodiments, at least one other component can be integrated inside or under the touch display screen 430 . In some embodiments, a bone conduction earpiece is placed inside the terminal 400; other components on the front panel of a traditional terminal are integrated into the entire or partial area of the touch display 430, such as the photosensitive element in the camera After splitting into multiple light-sensitive pixels, each light-sensitive pixel is integrated in the black area of each display pixel in the touch screen 430, so that the touch screen 430 has an image acquisition function. Since at least one other component is integrated inside or under the touch display screen 430, the terminal 400 has a higher screen-to-body ratio.

在一些可选的实施例中,终端400的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器,该边缘触控传感器用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器上施加操作,对终端400中的应用程序进行控制。In some optional embodiments, a single side of the middle frame of the terminal 400, or two sides (such as left and right sides), or four sides (such as upper, lower, left and right sides) An edge touch sensor is arranged on two sides), and the edge touch sensor is used to detect at least one of the user's touch operation, click operation, press operation and slide operation on the middle frame. The edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor to control the application programs in the terminal 400 .

除此之外,本领域技术人员可以理解,上述附图所示出的终端400的结构并不构成对终端400的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端400中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 400 shown in the above drawings does not constitute a limitation on the terminal 400, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements. For example, the terminal 400 also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.

在另一实施例中,还提供了一种终端,该终端的屏幕下方配置有指纹传感器,且该终端包括存储器、处理器及存储在该存储器上并可在该处理器上运行的计算机程序,该处理器被配置为执行上述图1或图2A实施例提供的终端控制方法。In another embodiment, a terminal is also provided, the terminal is provided with a fingerprint sensor under the screen, and the terminal includes a memory, a processor, and a computer program stored on the memory and operable on the processor, The processor is configured to execute the terminal control method provided in the above-mentioned embodiment in FIG. 1 or FIG. 2A .

在另一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述图1或图2A实施例提供的终端控制方法。In another embodiment, a computer-readable storage medium is also provided. Instructions are stored in the computer-readable storage medium. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned embodiment provided in FIG. 1 or FIG. 2A. Terminal control method.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (12)

1. A terminal control method, wherein the method is applied to a terminal having a foldable display screen and the display screen is located at the outer side after being folded, and the method comprises:
when the display screen is in a folded state, determining a first half screen and a second half screen formed by folding;
judging whether a preset touch operation on the first half screen is detected or not;
and when the preset touch operation on the first half screen is detected, controlling the display content of the second half screen according to the preset touch operation.
2. The method of claim 1, wherein determining the first half-panel and the second half-panel formed by the fold comprises:
determining the half screen positioned at the top of the two half screens formed by folding as the first half screen, and determining the half screen positioned at the bottom as the second half screen; or,
determining a half screen in a black screen state in the two half screens formed by folding as the first half screen, and determining a half screen in a bright screen state as the second half screen; or,
when the two half screens formed by folding are both in a bright screen state and display contents are the same, determining any one half screen of the two half screens as the first half screen and determining the other half screen as the second half screen; or,
determining a half screen facing a user and a half screen facing away from the user from the two half screens formed by folding, determining the half screen facing away from the user as the first half screen, and determining the half screen facing the user as the second half screen.
3. The method of claim 2, wherein determining the half-screen facing the user and the half-screen facing away from the user from the two half-screens formed by the folding comprises:
acquiring an image through a configured camera, identifying the acquired image, and determining a half screen facing a user and a half screen facing away from the user from two half screens formed by folding according to an identification result; or,
when the terminal is in a handheld state, determining a handheld gesture of the terminal, and determining a half screen facing a user and a half screen facing away from the user from two half screens formed by folding according to the handheld gesture; or;
when the terminal is in a handheld state, determining the contact area between each of the two half screens formed by folding and a user, determining the half screen with the minimum contact area with the user as the half screen facing the user, and determining the half screen with the maximum contact area with the user as the half screen facing away from the user.
4. The method of claim 1, wherein the controlling the display content of the second half-screen according to the preset touch operation comprises:
determining a first touch position of the preset touch operation in the first half screen;
determining a second touch position of the preset touch operation in the second half screen according to the first touch position and the stored corresponding relation between the first half screen and the second half screen;
determining a control instruction for the display content of the second half screen according to the preset touch operation and the second touch position;
and controlling the display content of the second half screen according to the control instruction.
5. The method according to any one of claims 1 to 4, wherein the predetermined touch operation includes at least one of a point touch operation and a slide operation, and the predetermined touch operation includes predetermined touch operations corresponding to a plurality of force levels.
6. The utility model provides a terminal control device, its characterized in that, the device is applied to in the terminal, the terminal has folding display screen, just the display screen is located the outside after being folded, the device includes:
the determining module is used for determining a first half screen and a second half screen formed by folding when the display screen is in a folded state;
the judging module is used for judging whether preset touch operation on the first half screen is detected or not;
and the control module is used for controlling the display content of the second half screen according to the preset touch operation when the preset touch operation on the first half screen is detected.
7. The apparatus of claim 6, wherein the determination module is to:
determining the half screen positioned at the top of the two half screens formed by folding as the first half screen, and determining the half screen positioned at the bottom as the second half screen; or,
determining a half screen in a black screen state in the two half screens formed by folding as the first half screen, and determining a half screen in a bright screen state as the second half screen; or,
when the two half screens formed by folding are both in a bright screen state and display contents are the same, determining any one half screen of the two half screens as the first half screen and determining the other half screen as the second half screen; or,
determining a half screen facing a user and a half screen facing away from the user from the two half screens formed by folding, determining the half screen facing away from the user as the first half screen, and determining the half screen facing the user as the second half screen.
8. The apparatus of claim 7, wherein the determination module is to:
acquiring an image through a configured camera, identifying the acquired image, and determining a half screen facing a user and a half screen facing away from the user from two half screens formed by folding according to an identification result; or,
when the terminal is in a handheld state, determining a handheld gesture of the terminal, and determining a half screen facing a user and a half screen facing away from the user from two half screens formed by folding according to the handheld gesture; or;
when the terminal is in a handheld state, determining the contact area between each of the two half screens formed by folding and a user, determining the half screen with the minimum contact area with the user as the half screen facing the user, and determining the half screen with the maximum contact area with the user as the half screen facing away from the user.
9. The apparatus of claim 6, wherein the control module is to:
determining a first touch position of the preset touch operation in the first half screen;
determining a second touch position of the preset touch operation in the second half screen according to the first touch position and the stored corresponding relation between the first half screen and the second half screen;
determining a control instruction for the display content of the second half screen according to the preset touch operation and the second touch position;
and controlling the display content of the second half screen according to the control instruction.
10. The apparatus according to any one of claims 6-9, wherein the predetermined touch operation comprises at least one of a point touch operation and a slide operation, and the predetermined touch operation comprises a predetermined touch operation corresponding to a plurality of force levels.
11. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is configured to perform the steps of any of the methods of claims 1-5.
12. A computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-5.
CN201710977207.8A 2017-10-19 2017-10-19 terminal control method, device, terminal and storage medium Pending CN107656578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710977207.8A CN107656578A (en) 2017-10-19 2017-10-19 terminal control method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710977207.8A CN107656578A (en) 2017-10-19 2017-10-19 terminal control method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN107656578A true CN107656578A (en) 2018-02-02

Family

ID=61119263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710977207.8A Pending CN107656578A (en) 2017-10-19 2017-10-19 terminal control method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107656578A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739400A (en) * 2018-12-21 2019-05-10 维沃移动通信有限公司 A kind of information processing method and terminal device
CN109979413A (en) * 2019-03-18 2019-07-05 Oppo广东移动通信有限公司 Screen-lighting control method, screen-lighting control device, electronic equipment and readable storage medium
CN110221799A (en) * 2019-05-30 2019-09-10 维沃移动通信有限公司 A kind of control method, terminal and computer readable storage medium
CN110251941A (en) * 2019-07-22 2019-09-20 网易(杭州)网络有限公司 The adaptive method and device of game picture, electronic equipment, storage medium
CN110286834A (en) * 2019-06-20 2019-09-27 Oppo(重庆)智能科技有限公司 Display control method and relevant device
WO2019196707A1 (en) * 2018-04-12 2019-10-17 维沃移动通信有限公司 Mobile terminal control method and mobile terminal
JP2020061085A (en) * 2018-10-12 2020-04-16 レノボ・シンガポール・プライベート・リミテッド Information processing apparatus, control method, and program
CN111443882A (en) * 2019-01-17 2020-07-24 丰田自动车株式会社 Information processing apparatus, information processing system, and information processing method
CN111566607A (en) * 2018-03-30 2020-08-21 华为技术有限公司 A terminal display method and terminal
WO2020210978A1 (en) * 2019-04-16 2020-10-22 深圳市柔宇科技有限公司 Photographing control method, terminal device, and computer-readable storage medium
US11899929B2 (en) 2019-12-16 2024-02-13 Huawei Technologies Co., Ltd. Method for customizing key of foldable device, device, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309594A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Touch screen input method and electronic equipment
CN106774671A (en) * 2016-12-22 2017-05-31 广东虹勤通讯技术有限公司 The control method and electronic equipment of a kind of folding screen
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309594A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Touch screen input method and electronic equipment
CN106774671A (en) * 2016-12-22 2017-05-31 广东虹勤通讯技术有限公司 The control method and electronic equipment of a kind of folding screen
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111566607A (en) * 2018-03-30 2020-08-21 华为技术有限公司 A terminal display method and terminal
WO2019196707A1 (en) * 2018-04-12 2019-10-17 维沃移动通信有限公司 Mobile terminal control method and mobile terminal
JP2020061085A (en) * 2018-10-12 2020-04-16 レノボ・シンガポール・プライベート・リミテッド Information processing apparatus, control method, and program
CN109739400A (en) * 2018-12-21 2019-05-10 维沃移动通信有限公司 A kind of information processing method and terminal device
CN111443882B (en) * 2019-01-17 2023-11-10 丰田自动车株式会社 Information processing device, information processing system, and information processing method
CN111443882A (en) * 2019-01-17 2020-07-24 丰田自动车株式会社 Information processing apparatus, information processing system, and information processing method
CN109979413A (en) * 2019-03-18 2019-07-05 Oppo广东移动通信有限公司 Screen-lighting control method, screen-lighting control device, electronic equipment and readable storage medium
CN109979413B (en) * 2019-03-18 2021-02-02 Oppo广东移动通信有限公司 Screen-lighting control method, screen-lighting control device, electronic equipment and readable storage medium
WO2020210978A1 (en) * 2019-04-16 2020-10-22 深圳市柔宇科技有限公司 Photographing control method, terminal device, and computer-readable storage medium
CN110221799A (en) * 2019-05-30 2019-09-10 维沃移动通信有限公司 A kind of control method, terminal and computer readable storage medium
CN110286834A (en) * 2019-06-20 2019-09-27 Oppo(重庆)智能科技有限公司 Display control method and relevant device
CN110251941A (en) * 2019-07-22 2019-09-20 网易(杭州)网络有限公司 The adaptive method and device of game picture, electronic equipment, storage medium
US11899929B2 (en) 2019-12-16 2024-02-13 Huawei Technologies Co., Ltd. Method for customizing key of foldable device, device, and storage medium

Similar Documents

Publication Publication Date Title
US11467715B2 (en) User interface display method, terminal and non-transitory computer-readable storage medium for splitting a display using a multi-finger swipe
CN107831999B (en) Screen control method and device and terminal
CN107728901B (en) Interface display method and device and terminal
CN107870716B (en) Method and device for calling background application
CN107765959B (en) Background application display method and terminal
CN107656578A (en) terminal control method, device, terminal and storage medium
CN107577414A (en) The method and mobile terminal of split screen display available
WO2020038168A1 (en) Content sharing method and device, terminal, and storage medium
CN107844228A (en) Message display method, device and terminal
CN107765968A (en) Target switching method, device, terminal and computer-readable recording medium
WO2019174477A1 (en) User interface display method and device, and terminal
CN107678661A (en) Method and device for displaying data content
CN107765835A (en) Method, device and terminal for lighting screen
CN108804190A (en) User interface display method, device, terminal and storage medium
CN107589900A (en) Split-screen display method, device, terminal and storage medium
CN107562316A (en) Interface display method, device and terminal
CN107766023A (en) Information display method, device, terminal and storage medium
CN114779987B (en) Method, device, terminal and storage medium for displaying content
CN107807760A (en) Screen display method and device
CN107728810B (en) Terminal control method, device, terminal and storage medium
CN108762619A (en) buoy display method, device, terminal and storage medium
CN107589903A (en) Method and device for displaying multi-page display information
CN107765775A (en) Control method, device and the storage medium of terminal
CN107678826A (en) interface display method, device, mobile terminal and storage medium
CN107831993A (en) Play control method, device, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180202

RJ01 Rejection of invention patent application after publication