CN111258375A - State switching method, device and storage medium - Google Patents
State switching method, device and storage medium Download PDFInfo
- Publication number
- CN111258375A CN111258375A CN201811457729.6A CN201811457729A CN111258375A CN 111258375 A CN111258375 A CN 111258375A CN 201811457729 A CN201811457729 A CN 201811457729A CN 111258375 A CN111258375 A CN 111258375A
- Authority
- CN
- China
- Prior art keywords
- state
- foldable device
- casing
- state switching
- switch
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1641—Details 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1656—Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
- H04M1/0268—Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0279—Improving the user comfort or ergonomics
- H04M1/0283—Improving the user comfort or ergonomics for providing a decorative aspect, e.g. customization of casings, exchangeable faceplate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Set Structure (AREA)
- Telephone Function (AREA)
Abstract
本公开是关于一种状态切换方法、设备及存储介质,属于电子技术领域。该状态切换方法应用于可折叠设备,可折叠设备包括:至少三个壳体和至少两个转轴,至少三个壳体通过至少两个转轴连接;方法包括:接收状态切换指令;控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态;其中,可折叠设备当前的状态为展开状态或折叠状态,展开状态为至少三个壳体处于同一平面上的状态,折叠状态为至少三个壳体未处于同一平面上的状态。该方法通过在接收到状态切换指令时,控制至少三个壳体绕转轴同步旋转,使可折叠设备切换为该指令指示的状态,简化了用户的操作,提高了状态切换效率,延长了可折叠设备的寿命。
The present disclosure relates to a state switching method, device and storage medium, belonging to the field of electronic technology. The state switching method is applied to a foldable device, and the foldable device includes: at least three casings and at least two rotating shafts, and the at least three casings are connected by the at least two rotating shafts; the method includes: receiving a state switching instruction; controlling at least three The casing rotates synchronously around the connected rotating shaft, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction; wherein, the current state of the foldable device is the unfolded state or the folded state, and the unfolded state is at least three housings The state of being on the same plane, and the folded state is the state that at least three shells are not on the same plane. The method controls at least three shells to rotate synchronously around the rotation axis when receiving the state switching instruction, so that the foldable device is switched to the state indicated by the instruction, which simplifies the user's operation, improves the state switching efficiency, and prolongs the foldable device. the life of the device.
Description
技术领域technical field
本公开是关于电子技术领域,具体来说是关于一种状态切换方法、设备及存储介质。The present disclosure relates to the field of electronic technology, and in particular, to a state switching method, device and storage medium.
背景技术Background technique
随着电子技术的快速发展和多样化设备的兴起,可折叠设备目前已成为一种发展趋势。可折叠设备配置有第一壳体、第二壳体和转轴,第一壳体和第二壳体均与转轴活动连接,可绕着转轴旋转,实现设备的折叠或展开。With the rapid development of electronic technology and the rise of diversified devices, foldable devices have now become a development trend. The foldable device is provided with a first casing, a second casing and a rotating shaft, and the first casing and the second casing are movably connected with the rotating shaft, and can rotate around the rotating shaft to realize the folding or unfolding of the device.
当旋转后第一壳体和第二壳体分别位于转轴的两侧时,可折叠设备处于展开状态,可以提供较大的使用面积。而当旋转后第一壳体和第二壳体折叠至位于转轴的同一侧时,可折叠设备处于折叠状态,可以减小占用的空间。When the first casing and the second casing are respectively located on two sides of the rotating shaft after rotation, the foldable device is in an unfolded state, which can provide a larger use area. When the first casing and the second casing are folded to the same side of the rotating shaft after being rotated, the foldable device is in a folded state, which can reduce the occupied space.
当用户希望切换可折叠设备的状态时,可以手动旋转第一壳体或第二壳体,使可折叠设备折叠或者展开,但这种方式需要用户手动进行旋转操作,较为繁琐,而且用户很难控制旋转速度和力道,极易损坏可折叠设备。When the user wants to switch the state of the foldable device, the first shell or the second shell can be manually rotated to fold or unfold the foldable device, but this method requires the user to manually rotate the device, which is cumbersome and difficult for the user Control the speed and force of rotation, which can easily damage foldable devices.
发明内容SUMMARY OF THE INVENTION
本公开提供一种状态切换方法、设备及存储介质,能够克服相关技术中因用户手动进行旋转操作,而造成的操作繁琐、极易损坏可折叠设备的问题,所述技术方案如下:The present disclosure provides a state switching method, a device and a storage medium, which can overcome the problems in the related art that the user manually performs the rotation operation, which causes complicated operations and is extremely easy to damage the foldable device. The technical solutions are as follows:
根据本公开实施例的第一方面,提供了一种状态切换方法,应用于可折叠设备,所述可折叠设备包括:至少三个壳体和至少两个转轴,所述至少三个壳体通过所述至少两个转轴连接;所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a state switching method applied to a foldable device, the foldable device comprising: at least three casings and at least two rotating shafts, the at least three casings passing through The at least two shafts are connected; the method includes:
接收状态切换指令;Receive state switching instructions;
控制所述至少三个壳体绕连接的转轴同步旋转,使所述可折叠设备由当前的状态切换为所述状态切换指令指示的目标状态;Controlling the at least three shells to rotate synchronously around the connected shafts, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction;
其中,所述可折叠设备当前的状态为展开状态或折叠状态,所述展开状态为所述至少三个壳体处于同一平面上的状态,所述折叠状态为所述至少三个壳体未处于同一平面上的状态。Wherein, the current state of the foldable device is an unfolded state or a folded state, the unfolded state is a state in which the at least three shells are on the same plane, and the folded state is that the at least three shells are not in a states on the same plane.
在一种可能实现方式中,所述接收状态切换指令,包括:In a possible implementation manner, the receiving a state switching instruction includes:
当所述可折叠设备当前处于折叠状态,且检测到对切换按键的触发操作时,确定接收到第一状态切换指令,所述第一状态切换指令用于指示所述可折叠设备切换为所述展开状态;或者,When the foldable device is currently in a folded state and a trigger operation on the switch button is detected, it is determined that a first state switching instruction is received, and the first state switching instruction is used to instruct the foldable device to switch to the expanded state; or,
当所述可折叠设备当前处于展开状态,且检测到对所述切换按键的触发操作时,确定接收到第二状态切换指令,所述第二状态切换指令用于指示所述可折叠设备切换为所述折叠状态。When the foldable device is currently in an unfolded state and a trigger operation on the switch button is detected, it is determined that a second state switching instruction is received, and the second state switching instruction is used to instruct the foldable device to switch to the folded state.
在一种可能实现方式中,所述接收状态切换指令,包括:In a possible implementation manner, the receiving a state switching instruction includes:
当所述至少三个壳体中任一个壳体由于受到外力作用而绕连接的转轴旋转时,确定接收到与所述壳体的旋转方向对应的状态切换指令;或者,When any one of the at least three casings rotates around the connected rotating shaft due to an external force, it is determined that a state switching command corresponding to the rotation direction of the casing is received; or,
当通过压力传感器检测到任一个壳体上的压力大于预设阈值时,确定接收到与所述壳体的压力施加方向对应的状态切换指令。When it is detected by the pressure sensor that the pressure on any one of the casings is greater than the preset threshold value, it is determined that a state switching instruction corresponding to the pressure application direction of the casing is received.
在一种可能实现方式中,所述至少两个转轴包括第一转轴和第二转轴,所述至少三个壳体包括第一壳体、第二壳体和第三壳体;所述第一壳体和所述第二壳体通过所述第一转轴连接,所述第二壳体和所述第三壳体通过所述第二转轴连接;In a possible implementation, the at least two rotating shafts include a first rotating shaft and a second rotating shaft, and the at least three housings include a first casing, a second casing and a third casing; the first casing The casing and the second casing are connected through the first rotating shaft, and the second casing and the third casing are connected through the second rotating shaft;
所述控制所述至少三个壳体绕连接的转轴同步旋转,使所述可折叠设备由当前的状态切换为所述状态切换指令指示的目标状态,包括:The controlling the at least three shells to rotate synchronously around the connected shafts, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction, includes:
当所述状态切换指令为第一状态切换指令时,控制所述第一壳体按照第一方向绕所述第一转轴旋转,且所述第三壳体同步按照第二方向绕所述第二转轴旋转,直至所述第一壳体、所述第二壳体和所述第三壳体位于同一平面上;或者,When the state switching command is a first state switching command, the first housing is controlled to rotate around the first shaft in a first direction, and the third housing is synchronously rotated around the second shaft in a second direction The rotating shaft rotates until the first casing, the second casing and the third casing are on the same plane; or,
当所述状态切换指令为第二状态切换指令时,控制所述第一壳体按照所述第二方向绕所述第一转轴旋转,且所述第三壳体同步按照所述第一方向绕所述第二转轴旋转,直至所述第一壳体和所述第三壳体均与所述第二壳体的外侧表面接触。When the state switching command is a second state switching command, the first housing is controlled to rotate around the first shaft in the second direction, and the third housing is synchronously rotated around the first direction The second shaft rotates until both the first casing and the third casing are in contact with the outer surface of the second casing.
在一种可能实现方式中,所述接收状态切换指令,包括:In a possible implementation manner, the receiving a state switching instruction includes:
当检测到对第一切换按键的触发操作时,确定接收到第一状态切换指令,所述第一状态切换指令用于指示所述可折叠设备切换为所述展开状态;或者,When a trigger operation on the first switch button is detected, it is determined that a first state switch instruction is received, and the first state switch instruction is used to instruct the foldable device to switch to the unfolded state; or,
当检测到对第二切换按键的触发操作时,确定接收到第三状态切换指令,所述第三状态切换指令用于指示所述可折叠设备切换为第一折叠状态,所述第一折叠状态为所述至少三个壳体中边缘壳体位于其他壳体后侧的状态;或者,When a trigger operation on the second switch button is detected, it is determined that a third state switching instruction is received, and the third state switching instruction is used to instruct the foldable device to switch to a first folding state, the first folding state It is the state in which the edge shell is located on the rear side of the other shells among the at least three shells; or,
当检测到对第三切换按键的触发操作时,确定接收到第四状态切换指令,所述第四状态切换指令用于指示所述可折叠设备切换为第二折叠状态,所述第二折叠状态为所述至少三个壳体中边缘壳体与相邻壳体之间构成的角度为预设钝角的状态。When the triggering operation of the third switch button is detected, it is determined that a fourth state switch instruction is received, and the fourth state switch instruction is used to instruct the foldable device to switch to the second folded state, the second folded state In the at least three shells, the angle formed between the edge shell and the adjacent shell is a preset obtuse angle.
在一种可能实现方式中,所述可折叠设备包括设置于所述至少三个壳体和所述至少两个转轴内侧的柔性显示屏幕;所述方法还包括:In a possible implementation, the foldable device includes flexible display screens disposed inside the at least three housings and the at least two rotating shafts; the method further includes:
当所述可折叠设备处于所述第二折叠状态时,在所述边缘壳体内侧的柔性显示屏幕上显示操作区域,在所述其他壳体内侧的柔性显示屏幕上显示信息展示区域,所述操作区域供用户进行触控操作。When the foldable device is in the second folded state, an operation area is displayed on the flexible display screen inside the edge casing, and an information display area is displayed on the flexible display screen inside the other casings, and the The operation area is for users to perform touch operations.
根据本公开实施例的第二方面,提供了一种可折叠设备,所述可折叠设备包括:至少三个壳体、至少两个转轴和处理单元;According to a second aspect of the embodiments of the present disclosure, there is provided a foldable device, the foldable device comprising: at least three housings, at least two rotating shafts, and a processing unit;
所述至少三个壳体通过所述至少两个转轴连接;the at least three shells are connected by the at least two shafts;
所述处理单元位于所述至少三个壳体构成的空间内,所述处理单元与所述至少两个转轴连接;The processing unit is located in the space formed by the at least three housings, and the processing unit is connected with the at least two rotating shafts;
所述处理单元,用于接收状态切换指令,控制所述至少三个壳体绕连接的转轴同步旋转,使所述可折叠设备由当前的状态切换为所述状态切换指令指示的目标状态;The processing unit is configured to receive a state switching instruction, and control the at least three casings to rotate synchronously around the connected shafts, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction;
其中,所述可折叠设备当前的状态为展开状态或折叠状态,所述展开状态为所述至少三个壳体处于同一平面上的状态,所述折叠状态为所述至少三个壳体未处于同一平面上的状态。Wherein, the current state of the foldable device is an unfolded state or a folded state, the unfolded state is a state in which the at least three shells are on the same plane, and the folded state is that the at least three shells are not in a states on the same plane.
在一种可能实现方式中,所述处理单元,还用于当所述可折叠设备当前处于折叠状态,且检测到对切换按键的触发操作时,确定接收到第一状态切换指令,所述第一状态切换指令用于指示所述可折叠设备切换为所述展开状态;或者,In a possible implementation manner, the processing unit is further configured to determine that a first state switching instruction is received when the foldable device is currently in a folded state and a trigger operation on a switching button is detected, and the first state switching instruction is received. A state switching instruction is used to instruct the foldable device to switch to the unfolded state; or,
所述处理单元,还用于当所述可折叠设备当前处于展开状态,且检测到对所述切换按键的触发操作时,确定接收到第二状态切换指令,所述第二状态切换指令用于指示所述可折叠设备切换为所述折叠状态。The processing unit is further configured to determine that a second state switching instruction is received when the foldable device is currently in an unfolded state and a trigger operation of the switching button is detected, and the second state switching instruction is used for Instructs the foldable device to switch to the folded state.
在一种可能实现方式中,所述处理单元,还用于当所述至少三个壳体中任一个壳体由于受到外力作用而绕连接的转轴旋转时,确定接收到与所述壳体的旋转方向对应的状态切换指令;或者,In a possible implementation manner, the processing unit is further configured to, when any one of the at least three casings rotates around the connected rotating shaft due to an external force, determine whether the received communication with the casing is received. The state switching command corresponding to the rotation direction; or,
所述可折叠设备还包括压力传感器,所述处理单元,还用于当通过所述压力传感器检测到任一个壳体上的压力大于预设阈值时,确定接收到与所述壳体的压力施加方向对应的状态切换指令。The foldable device further includes a pressure sensor, and the processing unit is further configured to determine that a pressure application with the casing is received when the pressure sensor detects that the pressure on any one of the casings is greater than a preset threshold. The state switch instruction corresponding to the direction.
在一种可能实现方式中,所述至少两个转轴包括第一转轴和第二转轴,所述至少三个壳体包括第一壳体、第二壳体和第三壳体;In a possible implementation manner, the at least two rotating shafts include a first rotating shaft and a second rotating shaft, and the at least three casings include a first casing, a second casing, and a third casing;
所述第一壳体和所述第二壳体通过所述第一转轴连接,所述第二壳体和所述第三壳体通过所述第二转轴连接;The first casing and the second casing are connected by the first rotating shaft, and the second casing and the third casing are connected by the second rotating shaft;
所述处理单元,还用于当所述状态切换指令为第一状态切换指令时,控制所述第一壳体按照第一方向绕所述第一转轴旋转,且所述第三壳体同步按照第二方向绕所述第二转轴旋转,直至所述第一壳体、所述第二壳体和所述第三壳体位于同一平面上;或者,The processing unit is further configured to control the first housing to rotate around the first shaft in a first direction when the state switching command is a first state switching command, and the third housing synchronously follows the The second direction rotates around the second axis until the first housing, the second housing and the third housing are on the same plane; or,
所述处理单元,还用于当所述状态切换指令为第二状态切换指令时,控制所述第一壳体按照所述第二方向绕所述第一转轴旋转,且所述第三壳体同步按照所述第一方向绕所述第二转轴旋转,直至所述第一壳体和所述第三壳体均与所述第二壳体的外侧表面接触。The processing unit is further configured to control the first casing to rotate around the first rotation shaft in the second direction when the state switching command is a second state switching command, and the third casing Simultaneously rotate around the second shaft according to the first direction until both the first casing and the third casing are in contact with the outer surface of the second casing.
在一种可能实现方式中,所述处理单元,还用于:In a possible implementation manner, the processing unit is further configured to:
当检测到对第一切换按键的触发操作时,确定接收到第一状态切换指令,所述第一状态切换指令用于指示所述可折叠设备切换为所述展开状态;或者,When a trigger operation on the first switch button is detected, it is determined that a first state switch instruction is received, and the first state switch instruction is used to instruct the foldable device to switch to the unfolded state; or,
当检测到对第二切换按键的触发操作时,确定接收到第三状态切换指令,所述第三状态切换指令用于指示所述可折叠设备切换为第一折叠状态,所述折叠状态为所述至少三个壳体中边缘壳体位于其他壳体后侧的状态;或者,When the triggering operation of the second switch button is detected, it is determined that a third state switching instruction is received, and the third state switching instruction is used to instruct the foldable device to switch to the first folding state, and the folding state is all The state in which the edge shell is located on the rear side of the other shells among the at least three shells; or,
当检测到对第三切换按键的触发操作时,确定接收到第四状态切换指令,所述第四状态切换指令用于指示所述可折叠设备切换为第二折叠状态,所述第二折叠状态为所述至少三个壳体中边缘壳体与相邻壳体之间构成的角度为预设钝角的状态。When the triggering operation of the third switch button is detected, it is determined that a fourth state switch instruction is received, and the fourth state switch instruction is used to instruct the foldable device to switch to the second folded state, the second folded state In the at least three shells, the angle formed between the edge shell and the adjacent shell is a preset obtuse angle.
在一种可能实现方式中,所述可折叠设备包括设置于所述至少三个壳体和所述至少两个转轴内侧的柔性显示屏幕;In a possible implementation, the foldable device includes flexible display screens disposed inside the at least three housings and the at least two rotating shafts;
所述柔性显示屏幕还用于当所述可折叠设备处于所述第二折叠状态时,在所述边缘壳体内侧的柔性显示屏幕上显示操作区域,在所述其他壳体内侧的柔性显示屏幕上显示信息展示区域,所述操作区域供用户进行触控操作。The flexible display screen is also used to display the operation area on the flexible display screen inside the edge housing when the foldable device is in the second folding state, and the flexible display screen inside the other housings An information display area is displayed on the upper panel, and the operation area is for the user to perform touch operations.
根据本公开实施例的第三方面,提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由可折叠设备的处理器执行时,使得可折叠设备能够执行一种状态切换方法,所述方法包括:According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium that, when the instructions in the storage medium are executed by a processor of a foldable device, enables the foldable device to execute a state A handover method, the method comprising:
接收状态切换指令;Receive state switching instructions;
控制所述至少三个壳体绕连接的转轴同步旋转,使所述可折叠设备由当前的状态切换为所述状态切换指令指示的目标状态;Controlling the at least three shells to rotate synchronously around the connected shafts, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction;
其中,所述可折叠设备当前的状态为展开状态或折叠状态,所述展开状态为所述至少三个壳体处于同一平面上的状态,所述折叠状态为所述至少三个壳体未处于同一平面上的状态。Wherein, the current state of the foldable device is an unfolded state or a folded state, the unfolded state is a state in which the at least three shells are on the same plane, and the folded state is that the at least three shells are not in a states on the same plane.
本公开实施例提供的状态切换方法、设备及存储介质,通过在接收到状态切换指令时,控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态,不需要用户手动地旋转可折叠设备的壳体以进行状态切换操作,既简化了用户的操作,提高了状态切换效率,又避免了由于用户无法控制旋转速度和力道而损坏可折叠设备的问题,延长了可折叠设备的寿命。且,通过控制至少三个壳体的同步旋转,保证了可折叠设备在外观上的统一,增强了美观性。The state switching method, device, and storage medium provided by the embodiments of the present disclosure, by controlling at least three casings to rotate synchronously around the connected rotating shaft when a state switching instruction is received, so that the foldable device is switched from the current state to the state switching instruction The indicated target state does not require the user to manually rotate the casing of the foldable device to perform the state switching operation, which not only simplifies the user's operation, improves the state switching efficiency, but also avoids damage due to the user's inability to control the rotation speed and force. The problem with folding devices, extending the life of foldable devices. Moreover, by controlling the synchronous rotation of at least three casings, the appearance of the foldable device is unified, and the aesthetics is enhanced.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种可折叠设备处于展开状态的示意图;1 is a schematic diagram of a foldable device in an unfolded state according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种可折叠设备处于折叠状态的示意图;Fig. 2 is a schematic diagram showing a foldable device in a folded state according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种状态切换方法的流程图;FIG. 3 is a flowchart of a state switching method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种状态切换方法的流程图;FIG. 4 is a flowchart of a state switching method according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种外力施加方向的示意图;Fig. 5 is a schematic diagram showing a direction of applying an external force according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种压力施加方向的示意图;Fig. 6 is a schematic diagram showing a pressure application direction according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种可折叠设备处于第二折叠状态的示意图。Fig. 7 is a schematic diagram showing a foldable device in a second folded state according to an exemplary embodiment.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
本公开实施例提供了一种可折叠设备,该可折叠设备可以为手机、平板电脑等设备。可折叠设备包括:至少三个壳体101和至少两个转轴102,至少三个壳体101通过至少两个转轴102连接,则每个转轴102位于其连接的两个壳体101之间,每个壳体101可绕其连接的转轴102旋转。Embodiments of the present disclosure provide a foldable device, and the foldable device may be a mobile phone, a tablet computer, or the like. The foldable device includes: at least three
在一种可能实现方式中,图1是根据一示例性实施例示出的一种可折叠设备的结构示意图,如图1所示,至少三个壳体101包括第一壳体、第二壳体和第三壳体,至少两个转轴102包括第一转轴和第二转轴,第一壳体和第二壳体通过第一转轴连接,第二壳体和第三壳体通过第二转轴连接。In a possible implementation, FIG. 1 is a schematic structural diagram of a foldable device according to an exemplary embodiment. As shown in FIG. 1 , at least three
需要说明的是,图1仅是以三个壳体101和两个转轴102为例进行说明,而在其他可能实现方式中,任意两个相邻的壳体101之间通过一个转轴102连接,至少三个壳体101通过至少两个转轴102连接,构成该可折叠设备。本公开实施例对壳体的数量和转轴的数量不作限定。It should be noted that FIG. 1 only takes three
在一种可能实现方式中,每个转轴包括转动部和两个旋转杆,转动部与每个旋转杆活动连接,每个旋转杆与一个壳体固定连接,以实现转轴与两个壳体的连接。且转动部可以控制两个旋转杆的开合,带动固定连接的壳体绕控制部旋转,在此过程中,两个旋转杆之间的角度发生变化,则两个壳体之间的角度也会随之发生变化。In a possible implementation, each rotating shaft includes a rotating portion and two rotating rods, the rotating portion is movably connected to each rotating rod, and each rotating rod is fixedly connected to a housing, so as to realize the connection between the rotating shaft and the two housings. connect. And the rotating part can control the opening and closing of the two rotating rods, and drive the fixedly connected casing to rotate around the control part. During this process, the angle between the two rotating rods changes, and the angle between the two casings also changes. will change accordingly.
另外,可折叠设备还包括处理单元,处理单元位于至少三个壳体101构成的空间内,用于对可折叠设备进行控制。该处理单元可以为CPU(Central Processing Unit,中央处理器)、GPU(Graphics Processing Unit,图形处理器)、或者可折叠设备专门配置的用于控制可折叠设备状态的处理器。In addition, the foldable device further includes a processing unit, and the processing unit is located in the space formed by the at least three
处理单元与至少两个转轴102连接,用于控制至少两个转轴102同步转动,进而控制至少三个壳体101绕连接的转轴同步旋转。例如,处理单元与每个转轴的转动部连接,通过控制每个转轴的转动部,控制该转动部连接的两个旋转杆同步开合,进而控制至少三个壳体101绕连接的转轴同步旋转。且,处理单元还用于接收状态切换指令、在检测到对切换按键的触发操作以及壳体受到外力作用时,确定接收到的状态切换指令,基于状态切换指令进行状态切换,该状态切换过程详见下述方法实施例。The processing unit is connected with the at least two
在一种可能实现方式中,可折叠设备还包括柔性显示屏幕103,该柔性显示屏幕103设置于至少三个壳体101和至少两个转轴102的同一侧,将至少三个壳体101和至少两个转轴102上,柔性显示屏幕103所在侧称为内侧,与柔性显示屏幕103相对的另一侧称为外侧。In a possible implementation, the foldable device further includes a
当任一个或多个壳体101绕其连接的转轴102旋转时,会带动柔性显示屏幕103,使柔性显示屏幕103随着壳体101的旋转而旋转,并在旋转过程中发生形变。When any one or
可折叠设备的状态可以包括以下两种:The states of a foldable device can include the following two:
第一种、展开状态:至少三个壳体101处于同一平面上的状态。The first, unfolded state: a state in which at least three
如图1所示,在展开状态下,能够在一个平面上为用户展示完整的柔性显示屏幕,便于用户基于柔性显示屏幕进行操作,如观看柔性显示屏幕上播放的视频、通过柔性显示屏幕显示的聊天界面与好友聊天、浏览柔性显示屏幕上显示的网页等操作。As shown in Figure 1, in the unfolded state, the complete flexible display screen can be displayed for the user on a plane, which is convenient for the user to operate based on the flexible display screen, such as watching the video played on the flexible display screen, and displaying the video displayed on the flexible display screen. The chat interface is used to chat with friends, browse web pages displayed on the flexible display screen, etc.
在一种可能实现方式中,每个转轴102的两个旋转杆均处于打开状态,使每个转轴102所连接的两个壳体之间的角度为180度,能够处于同一平面上。In a possible implementation manner, the two rotating rods of each
第二种、折叠状态:至少三个壳体101未处于同一平面上的状态。The second, folded state: a state in which at least three
从展开状态下开始,可折叠设备的任一个或多个壳体101绕其连接的转轴发生旋转,会导致可折叠设备切换为折叠状态。在折叠状态下,任两个相邻的壳体101之间可以形成小于180度的角度。From the unfolded state, any one or
例如,如图2所示,任两个相邻的壳体101的后侧表面可以接触,使其中一个壳体101位于另一个壳体101的后侧,此时两者之间的角度为0度,可折叠设备的占用空间最小,方便收纳。For example, as shown in FIG. 2 , the rear surfaces of any two
本公开实施例提供的可折叠设备包括:至少三个壳体、至少两个转轴和处理单元,至少三个壳体通过至少两个转轴连接,处理单元位于至少三个壳体构成的空间内,处理单元与至少两个转轴连接,处理单元用于接收到状态切换指令时,控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态,不需要用户手动地旋转可折叠设备的壳体以进行状态切换操作,既简化了用户的操作,提高了状态切换效率,又避免了由于用户无法控制旋转速度和力道而损坏可折叠设备的问题,延长了可折叠设备的寿命。且,通过控制至少三个壳体的同步旋转,保证了可折叠设备在外观上的统一,增强了美观性。The foldable device provided by the embodiment of the present disclosure includes: at least three casings, at least two rotating shafts, and a processing unit, the at least three casings are connected by the at least two rotating shafts, and the processing unit is located in the space formed by the at least three casings, The processing unit is connected with at least two rotating shafts, and the processing unit is used to control at least three casings to rotate synchronously around the connected rotating shafts when receiving the state switching instruction, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction , which does not require the user to manually rotate the shell of the foldable device to perform the state switching operation, which not only simplifies the user's operation, improves the state switching efficiency, but also avoids the problem of damage to the foldable device due to the user's inability to control the rotation speed and force. , extending the life of foldable devices. Moreover, by controlling the synchronous rotation of at least three casings, the appearance of the foldable device is unified, and the aesthetics is enhanced.
图3是根据一示例性实施例示出的一种状态切换方法的流程图,应用于上述实施例所示的可折叠设备,如图3所示,包括如下步骤:Fig. 3 is a flowchart of a state switching method according to an exemplary embodiment, which is applied to the foldable device shown in the above-mentioned embodiment. As shown in Fig. 3, the method includes the following steps:
在步骤301中,接收状态切换指令。In
在步骤302中,控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态。In
其中,可折叠设备当前的状态为展开状态或折叠状态,展开状态为至少三个壳体处于同一平面上的状态,折叠状态为至少三个壳体未处于同一平面上的状态。The current state of the foldable device is an unfolded state or a folded state, the unfolded state is a state where at least three shells are on the same plane, and the folded state is a state where at least three shells are not on the same plane.
本公开实施例提供的方法,通过在接收到状态切换指令时,控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态,不需要用户手动地旋转可折叠设备的壳体以进行状态切换操作,既简化了用户的操作,提高了状态切换效率,又避免了由于用户无法控制旋转速度和力道而损坏可折叠设备的问题,延长了可折叠设备的寿命。且,通过控制至少三个壳体的同步旋转,保证了可折叠设备在外观上的统一,增强了美观性。The method provided by the embodiment of the present disclosure enables the foldable device to be switched from the current state to the target state indicated by the state switching instruction by controlling at least three casings to rotate synchronously around the connected rotating shaft when the state switching instruction is received, without the need for The user manually rotates the casing of the foldable device to perform the state switching operation, which not only simplifies the user's operation, improves the state switching efficiency, but also avoids the problem of damage to the foldable device due to the user's inability to control the rotation speed and force. The longevity of foldable devices. Moreover, by controlling the synchronous rotation of at least three casings, the appearance of the foldable device is unified, and the aesthetics is enhanced.
在一种可能实现方式中,接收状态切换指令,包括:In a possible implementation manner, receiving a state switching instruction includes:
当可折叠设备当前处于折叠状态,且检测到对切换按键的触发操作时,确定接收到第一状态切换指令,第一状态切换指令用于指示可折叠设备切换为展开状态;或者,When the foldable device is currently in the folded state and a trigger operation on the switch button is detected, it is determined that a first state switching instruction is received, and the first state switching instruction is used to instruct the foldable device to switch to the unfolded state; or,
当可折叠设备当前处于展开状态,且检测到对切换按键的触发操作时,确定接收到第二状态切换指令,第二状态切换指令用于指示可折叠设备切换为折叠状态。When the foldable device is currently in the unfolded state and a trigger operation of the switch button is detected, it is determined that a second state switching instruction is received, and the second state switching instruction is used to instruct the foldable device to switch to the folded state.
在一种可能实现方式中,接收状态切换指令,包括:In a possible implementation manner, receiving a state switching instruction includes:
当至少三个壳体中任一个壳体由于受到外力作用而绕连接的转轴旋转时,确定接收到与壳体的旋转方向对应的状态切换指令;或者,When any one of the at least three housings rotates around the connected rotating shaft due to an external force, it is determined that a state switching command corresponding to the rotation direction of the housing is received; or,
当通过压力传感器检测到任一个壳体上的压力大于预设阈值时,确定接收到与壳体的压力施加方向对应的状态切换指令。When it is detected by the pressure sensor that the pressure on any one of the casings is greater than the preset threshold value, it is determined that a state switching instruction corresponding to the pressure application direction of the casing is received.
在一种可能实现方式中,至少两个转轴包括第一转轴和第二转轴,至少三个壳体包括第一壳体、第二壳体和第三壳体;第一壳体和第二壳体通过第一转轴连接,第二壳体和第三壳体通过第二转轴连接;In a possible implementation, the at least two rotating shafts include a first rotating shaft and a second rotating shaft, and the at least three casings include a first casing, a second casing, and a third casing; the first casing and the second casing The body is connected by the first rotating shaft, and the second casing and the third casing are connected by the second rotating shaft;
控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态,包括:Control at least three shells to rotate synchronously around the connected shafts, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction, including:
当状态切换指令为第一状态切换指令时,控制第一壳体按照第一方向绕第一转轴旋转,且第三壳体同步按照第二方向绕第二转轴旋转,直至第一壳体、第二壳体和第三壳体位于同一平面上;或者,When the state switching command is the first state switching command, the first housing is controlled to rotate around the first shaft in the first direction, and the third housing is synchronously rotated around the second shaft in the second direction until the first housing, the The second shell and the third shell are on the same plane; or,
当状态切换指令为第二状态切换指令时,控制第一壳体按照第二方向绕第一转轴旋转,且第三壳体同步按照第一方向绕第二转轴旋转,直至第一壳体和第三壳体均与第二壳体的外侧表面接触。When the state switching command is the second state switching command, the first housing is controlled to rotate around the first shaft in the second direction, and the third housing is synchronously rotated around the second shaft in the first direction until the first housing and the All the three casings are in contact with the outer surface of the second casing.
在一种可能实现方式中,接收状态切换指令,包括:In a possible implementation manner, receiving a state switching instruction includes:
当检测到对第一切换按键的触发操作时,确定接收到第一状态切换指令,第一状态切换指令用于指示可折叠设备切换为展开状态;或者,When a trigger operation on the first switch button is detected, it is determined that a first state switch instruction is received, and the first state switch instruction is used to instruct the foldable device to switch to the unfolded state; or,
当检测到对第二切换按键的触发操作时,确定接收到第三状态切换指令,第三状态切换指令用于指示可折叠设备切换为第一折叠状态,第一折叠状态为至少三个壳体中边缘壳体位于其他壳体后侧的状态;或者,When the triggering operation of the second switch button is detected, it is determined that a third state switching instruction is received, and the third state switching instruction is used to instruct the foldable device to switch to the first folding state, and the first folding state is at least three shells The state in which the mid-edge shell is located behind the other shells; or,
当检测到对第三切换按键的触发操作时,确定接收到第四状态切换指令,第四状态切换指令用于指示可折叠设备切换为第二折叠状态,第二折叠状态为至少三个壳体中边缘壳体与相邻壳体之间构成的角度为预设钝角的状态。When the triggering operation of the third switch button is detected, it is determined that a fourth state switching instruction is received, and the fourth state switching instruction is used to instruct the foldable device to switch to the second folding state, and the second folding state is at least three shells The angle formed between the middle edge shell and the adjacent shell is a preset obtuse angle.
在一种可能实现方式中,可折叠设备包括设置于至少三个壳体和至少两个转轴内侧的柔性显示屏幕;方法还包括:In a possible implementation, the foldable device includes flexible display screens disposed inside at least three housings and at least two rotating shafts; the method further includes:
当可折叠设备处于第二折叠状态时,在边缘壳体内侧的柔性显示屏幕上显示操作区域,在其他壳体内侧的柔性显示屏幕上显示信息展示区域,操作区域供用户进行触控操作。When the foldable device is in the second folded state, the operation area is displayed on the flexible display screen inside the edge case, and the information display area is displayed on the flexible display screen inside the other case, and the operation area is available for the user to perform touch operations.
图4是根据一示例性实施例示出的一种状态切换方法的流程图,且以可折叠设备的状态包括展开状态和折叠状态为例进行说明,如图4所示,包括如下步骤:FIG. 4 is a flowchart of a state switching method according to an exemplary embodiment, and the state of a foldable device includes an unfolded state and a folded state as an example for description, as shown in FIG. 4 , including the following steps:
在步骤401中,检测对切换按键的触发操作,执行步骤402或404。In step 401, a trigger operation on the switch button is detected, and step 402 or 404 is performed.
可折叠设备的状态包括展开状态和折叠状态,且可折叠设备可以提供切换按键,该切换按键用于指示切换可折叠设备的状态。因此,当用户需要切换可折叠设备的状态时,触发该切换按键,由可折叠设备检测该触发操作,并基于该触发操作进行状态切换。The states of the foldable device include an unfolded state and a folded state, and the foldable device may provide a switch button for instructing to switch the state of the foldable device. Therefore, when the user needs to switch the state of the foldable device, the switch button is triggered, the foldable device detects the trigger operation, and switches the state based on the trigger operation.
其中,该切换按键可以为虚拟按键,虚拟按键可以设置于主界面、设置界面或者其他界面中,可折叠设备通过柔性显示屏幕显示该虚拟按键,此时用户可以对该虚拟按键进行点击操作、长按操作、滑动操作等,以触发该虚拟按键。The switch button may be a virtual button, and the virtual button may be set in the main interface, setting interface or other interface. The foldable device displays the virtual button through the flexible display screen. Press an action, a swipe action, etc. to trigger the virtual key.
该切换按键还可以为物理按键,物理按键可以设置于可折叠设备的壳体边缘的任一位置处,或者还可以设置于其他位置。该物理按键可以为按压式按键或拨动式按键,用户可以按压该物理按键,或者拨动该物理按键,以触发该物理按键。The switch button may also be a physical button, and the physical button may be arranged at any position on the edge of the casing of the foldable device, or may also be arranged at other positions. The physical button may be a push button or a toggle button, and the user may press the physical button or toggle the physical button to trigger the physical button.
在步骤402中,当可折叠设备当前处于折叠状态时,确定接收到第一状态切换指令。In
当检测到对切换按键的触发操作时,可折叠设备确定接收到状态切换指令,基于该状态切换指令,控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态。其中,同步旋转指代至少三个壳体的旋转速率相同,通过同步旋转可以在旋转过程中保证可折叠设备在外观上的统一。When the trigger operation of the switch button is detected, the foldable device determines to receive the state switching instruction, and based on the state switching instruction, controls at least three shells to rotate synchronously around the connected shafts, so that the foldable device switches from the current state to The target state indicated by the state switch instruction. The synchronous rotation means that the rotation rates of at least three casings are the same, and the synchronous rotation can ensure the uniform appearance of the foldable device during the rotation process.
在一种可能实现方式中,控制至少三个壳体绕连接的转轴同步旋转时,会控制每个转轴的两个旋转杆同步开合,使每个转轴上旋转杆的开合速率相同,以保证在任一时刻,至少三个壳体均以可折叠设备的中心线作为对称轴,呈对称的形状。In a possible implementation, when at least three housings are controlled to rotate synchronously around the connected rotating shafts, the two rotating rods of each rotating shaft are controlled to open and close synchronously, so that the opening and closing rates of the rotating rods on each rotating shaft are the same, so that It is ensured that at any time, at least three shells take the center line of the foldable device as the axis of symmetry and are in a symmetrical shape.
由于可折叠设备在不同的状态下检测到对切换按键的触发操作时,要切换的目标状态不同,所执行的状态切换操作也应当不同。Since the foldable device detects the triggering operation of the switching button in different states, the target state to be switched is different, and the state switching operation performed should also be different.
为了便于区分,可折叠设备设置有第一状态切换指令和第二状态切换指令,第一状态切换指令的目标状态为展开状态,即第一状态切换指令用于指示可折叠设备切换为展开状态,而第二状态切换指令的目标状态为折叠状态,即第二状态切换指令用于指示可折叠设备切换为折叠状态。采用上述两种不同的状态切换指令,可以使可折叠设备切换至不同的状态。In order to facilitate the distinction, the foldable device is provided with a first state switching instruction and a second state switching instruction, and the target state of the first state switching instruction is the expanded state, that is, the first state switching instruction is used to instruct the foldable device to switch to the expanded state, The target state of the second state switching instruction is the folded state, that is, the second state switching instruction is used to instruct the foldable device to switch to the folded state. By using the above two different state switching instructions, the foldable device can be switched to different states.
因此,可折叠设备在检测到对切换按键的触发操作时,会依据可折叠设备当前所处的状态,确定可折叠设备接收到的状态切换指令,以便执行不同的状态切换操作。Therefore, when the foldable device detects the trigger operation of the switch button, it will determine the state switching instruction received by the foldable device according to the current state of the foldable device, so as to perform different state switching operations.
第一种情况下,当可折叠设备检测对切换按键的触发操作,且确定当前处于折叠状态时,确定接收到第一状态切换指令。In the first case, when the foldable device detects the triggering operation of the switching button and determines that it is currently in the folded state, it is determined that the first state switching instruction is received.
在步骤403中,控制第一壳体按照第一方向绕第一转轴旋转,且第三壳体同步按照第二方向绕第二转轴旋转,直至第一壳体、第二壳体和第三壳体位于同一平面上。In
本公开实施例中,可折叠设备包括:第一转轴、第二转轴、第一壳体、第二壳体和第三壳体,且第一壳体和第二壳体通过第一转轴连接,第二壳体和第三壳体通过第二转轴连接。In the embodiment of the present disclosure, the foldable device includes: a first rotating shaft, a second rotating shaft, a first casing, a second casing and a third casing, and the first casing and the second casing are connected by the first rotating shaft, The second casing and the third casing are connected by a second rotating shaft.
在控制至少三个壳体绕连接的转轴同步旋转时,可以控制第一壳体和第三壳体按照不同的旋转方向同步进行旋转,改变第一壳体、第二壳体和第三壳体的相对位置关系,进而切换可折叠设备的状态。When at least three casings are controlled to rotate synchronously around the connected shafts, the first casing and the third casing can be controlled to rotate synchronously according to different rotation directions, and the first casing, the second casing and the third casing can be changed. The relative positional relationship of , and then switch the state of the foldable device.
其中,第一方向与第二方向指代不同的方向,当第一方向为顺时针方向时,第二方向为逆时针方向,或者,当第一方向为逆时针方向时,第二方向为顺时针方向。每个壳体按照顺时针方向旋转还是按照逆时针方向旋转,取决于壳体在可折叠设备中所处的位置,只需保证同步旋转之后,第一壳体、第二壳体和第三壳体位于同一平面上,使可折叠设备切换至展开状态。The first direction and the second direction refer to different directions. When the first direction is a clockwise direction, the second direction is a counterclockwise direction, or, when the first direction is a counterclockwise direction, the second direction is a clockwise direction. Clockwise. Each shell rotates clockwise or counterclockwise, depending on the position of the shell in the foldable device, and it is only necessary to ensure that after synchronous rotation, the first shell, the second shell and the third shell The body is on the same plane, making the foldable device switch to the unfolded state.
参见图2,可折叠设备两端的第1个壳体和第3个壳体均位于第2个壳体的后侧,处于折叠状态,当接收到第一状态切换指令时,控制第1个壳体绕转轴顺时针旋转,并控制第3个壳体绕转轴同步逆时针旋转,直至第1个壳体、第2个壳体和第3个壳体位于同一平面上,可折叠设备切换至图1所示的状态为止。Referring to Fig. 2, the first shell and the third shell at both ends of the foldable device are located on the rear side of the second shell and are in a folded state. When receiving the first state switching command, control the first shell The body rotates clockwise around the axis of rotation, and controls the third shell to rotate synchronously counterclockwise around the axis of rotation until the first shell, the second shell and the third shell are on the same plane, and the foldable device switches to Fig. 1 until the state shown.
需要说明的是,步骤403仅是以三个壳体和两个转轴为例,针对可折叠设备中的任意三个壳体和相应的转轴,均可采用步骤403的方式进行状态切换。It should be noted that
在步骤404中,当可折叠设备当前处于展开状态时,确定接收到第二状态切换指令。In
第二种情况下,当可折叠设备检测对切换按键的触发操作,且确定当前处于展开状态时,确定接收到第二状态切换指令。In the second case, when the foldable device detects the triggering operation of the switching button and determines that it is currently in the unfolded state, it is determined that the second state switching instruction is received.
在步骤405中,控制第一壳体按照第二方向绕第一转轴旋转,且第三壳体同步按照第一方向绕第二转轴旋转,直至第一壳体和第三壳体均与第二壳体的外侧表面接触。In
仍以本公开实施例中可折叠设备包括:第一转轴、第二转轴、第一壳体、第二壳体和第三壳体为例进行说明。The foldable device in the embodiment of the present disclosure includes: a first rotating shaft, a second rotating shaft, a first casing, a second casing and a third casing as an example for description.
每个壳体按照顺时针方向旋转还是按照逆时针方向旋转,取决于壳体在可折叠设备中所处的位置,只需保证同步旋转之后,第一壳体和第三壳体均与第二壳体的外侧表面接触,使可折叠设备切换至折叠状态。Whether each shell rotates clockwise or counterclockwise depends on the position of the shell in the foldable device, it is only necessary to ensure that after synchronous rotation, the first shell and the third shell are both connected with the second shell. The outer surfaces of the housings come into contact, causing the foldable device to switch to the folded state.
参见图1,可折叠设备两端的第1个壳体和第3个壳体均与第2个壳体位于同一个平面上,处于展开状态,当接收到第二状态切换指令时,控制第1个绕转轴逆时针旋转,并控制第3个壳体绕转轴同步顺时针旋转,直至第1个壳体和第3个壳体均位于第2个壳体的后侧,可折叠设备切换至图2所示的状态为止。Referring to Figure 1, the first and third housings at both ends of the foldable device are located on the same plane as the second housing and are in an unfolded state. When receiving the second state switching command, control the first Rotate the rotation axis counterclockwise, and control the third shell to rotate synchronously clockwise around the rotation axis, until the first shell and the third shell are both located on the back side of the second shell, and the foldable device switches to the picture 2 until the state shown.
需要说明的是,步骤405仅是以三个壳体和两个转轴为例,针对可折叠设备中的任意三个壳体和相应的转轴,均可采用步骤405的方式进行状态切换。It should be noted that
需要说明的是,可折叠设备还可以包括处理单元,处理单元与每个转轴连接,且位于至少三个壳体构成的空间内,本公开实施例所示的方法可以由处理单元执行,处理单元通过控制转轴,实现可折叠设备的状态切换。It should be noted that the foldable device may further include a processing unit. The processing unit is connected to each rotating shaft and is located in a space formed by at least three housings. The methods shown in the embodiments of the present disclosure may be executed by the processing unit. By controlling the rotating shaft, the state switching of the foldable device is realized.
本公开实施例提供的方法,可折叠设备在接收到状态切换指令时,即可切换至该状态切换指令目标状态,不需要用户手动地旋转可折叠设备的壳体以进行状态切换操作,既简化了用户的操作,提高了状态切换效率,又避免了由于用户无法控制旋转速度和力道而损坏可折叠设备的问题,延长了可折叠设备的寿命。In the method provided by the embodiment of the present disclosure, when the foldable device receives the state switching instruction, it can switch to the target state of the state switching instruction, and the user does not need to manually rotate the casing of the foldable device to perform the state switching operation, which simplifies the state switching operation. The operation of the user is improved, the state switching efficiency is improved, the problem of damage to the foldable device due to the user's inability to control the rotation speed and force is avoided, and the life of the foldable device is prolonged.
在一种可能实现方式中,由于用户习惯于通过对壳体施加外力来切换可折叠设备的状态,但由于用户很难控制力道,极易损坏可折叠设备。因此,在用户施加外力时,可折叠设备可以与用户施加的外力配合,实现状态切换。In a possible implementation manner, since the user is accustomed to switching the state of the foldable device by applying an external force to the casing, it is extremely easy to damage the foldable device because it is difficult for the user to control the force. Therefore, when the user applies an external force, the foldable device can cooperate with the external force applied by the user to realize state switching.
该方法可以包括但不限于以下两种情况:This method can include but is not limited to the following two situations:
第一种情况:当至少三个壳体中任一个壳体由于受到外力作用而绕连接的转轴旋转时,确定接收到与壳体的旋转方向对应的状态切换指令。The first situation: when any one of the at least three casings rotates around the connected rotating shaft due to an external force, it is determined that a state switching command corresponding to the rotation direction of the casing is received.
可折叠设备当前处于折叠状态,当用户想要切换至展开状态时,可施加外力在任一壳体上,使得该壳体由于受到外力作用而绕连接的转轴旋转,以使该壳体与其相邻的壳体之间的角度逐渐增大。或者,可折叠设备当前处于展开状态,当用户想要切换至折叠状态时,可施加外力在任一壳体上,使得该壳体由于受到外力作用而绕连接的转轴旋转,以使该壳体与其相邻的壳体之间的角度逐渐减小。The foldable device is currently in the folded state. When the user wants to switch to the unfolded state, an external force can be applied to any shell, so that the shell rotates around the connected axis due to the external force, so that the shell is adjacent to it. The angle between the shells gradually increases. Alternatively, when the foldable device is currently in the unfolded state, when the user wants to switch to the folded state, an external force can be applied to any of the casings, so that the casing is rotated around the connected shaft due to the external force, so that the casing and the The angle between adjacent shells gradually decreases.
因此,可折叠设备可以检测该壳体的旋转动作,确定该壳体的旋转方向,该旋转方向可以代表当前要切换至的目标状态。可折叠设备确定接收到与壳体的旋转方向对应的状态切换指令,后续基于该状态切换指令,自动控制可折叠设备中的至少三个壳体同步旋转,直至可折叠设备切换至相应的状态为止。Therefore, the foldable device can detect the rotating action of the casing, and determine the rotating direction of the casing, and the rotating direction can represent the target state to be switched to at present. The foldable device determines to receive a state switching instruction corresponding to the rotation direction of the casing, and then automatically controls at least three casings in the foldable device to rotate synchronously based on the state switching instruction until the foldable device switches to the corresponding state. .
例如,若可折叠设备确定该壳体的旋转方向,并确定按照该旋转方向进行旋转会导致该壳体与相邻的壳体之间的角度变大,表示目标状态为展开状态,则确定接收到第一状态切换指令。若可折叠设备确定该壳体的旋转方向,并确定按照该旋转方向进行旋转会导致该壳体与相邻的壳体之间的角度变小,表示目标状态为折叠状态,则确定接收到第二状态切换指令。For example, if the foldable device determines the rotation direction of the casing, and determines that the rotation according to the rotation direction will cause the angle between the casing and the adjacent casing to increase, indicating that the target state is the unfolded state, it is determined to receive Switch to the first state command. If the foldable device determines the rotation direction of the casing, and determines that the rotation according to the rotation direction will cause the angle between the casing and the adjacent casing to become smaller, indicating that the target state is the folded state, it is determined that the first Two state switching instructions.
图5是根据一示例性实施例示出的一种外力施加方向的示意图,图5中的箭头指向的方向为用户施加外力的方向,该外力会导致壳体绕转轴逆时针旋转,此时确定接收到第一状态切换指令。Fig. 5 is a schematic diagram showing a direction of applying an external force according to an exemplary embodiment. The direction of the arrow in Fig. 5 is the direction in which the user applies the external force, and the external force will cause the housing to rotate counterclockwise around the rotation axis. Switch to the first state command.
在一种可能实现方式中,处理单元检测每个转轴上两个旋转杆的相对位置关系的变化情况,当检测到任一转轴上两个旋转杆发生了开合动作,相对位置关系发生变化时,表示用户施加外力造成了壳体绕转轴旋转,此时,控制可折叠设备上每个转轴的两个旋转杆均采用相同的速率开合。即,当任一个壳体绕连接的转轴旋转时,其他的壳体也会绕连接的转轴同步旋转。In a possible implementation manner, the processing unit detects changes in the relative positional relationship of the two rotating rods on each rotating shaft, and when it is detected that the two rotating rods on any rotating shaft have an opening and closing action, and the relative positional relationship changes , indicating that the external force applied by the user causes the casing to rotate around the axis of rotation. At this time, the two rotating rods that control each axis of the foldable device open and close at the same rate. That is, when any one of the casings rotates around the connected shaft, the other casings also rotate synchronously around the connected shaft.
第二种情况:当通过压力传感器检测到任一个壳体上的压力大于预设阈值时,确定接收到与壳体的压力施加方向对应的状态切换指令。The second situation: when it is detected by the pressure sensor that the pressure on any one of the casings is greater than the preset threshold, it is determined that a state switching command corresponding to the pressure application direction of the casing is received.
可折叠设备当前处于折叠状态,当用户想要切换至展开状态时,可施加压力在任一壳体上,使得该壳体由于受到压力作用而绕连接的转轴旋转,以使该壳体与其相邻的壳体之间的角度逐渐增大。或者,可折叠设备当前处于展开状态,当用户想要切换至折叠状态时,可施加压力在任一壳体上,使得该壳体由于受到压力作用而绕连接的转轴旋转,以使该壳体与其相邻的壳体之间的角度逐渐减小。The foldable device is currently in a folded state, and when the user wants to switch to the unfolded state, pressure can be applied to either casing, causing the casing to rotate around the connected axis due to the pressure so that the casing is adjacent to it The angle between the shells gradually increases. Alternatively, when the foldable device is currently in the unfolded state, when the user wants to switch to the folded state, pressure can be applied to either casing, so that the casing is rotated around the connected shaft due to the pressure, so that the casing and its The angle between adjacent shells gradually decreases.
压力的大小和压力施加方向可以体现用户的需求,如压力较大时,可以确定用户要切换可折叠设备的状态,且压力施加方向可以表示用户要切换至哪一种目标状态。The magnitude of the pressure and the direction of pressure application can reflect the user's needs. For example, when the pressure is high, it can be determined that the user wants to switch the state of the foldable device, and the pressure application direction can indicate which target state the user wants to switch to.
因此,可折叠设备可以在壳体上设置压力传感器,通过压力传感器检测用户施加的压力。当通过压力传感器检测到任一个壳体上的压力大于预设阈值时,表示用户要切换可折叠设备的状态,则确定接收到与壳体的压力施加方向对应的状态切换指令。后续基于该状态切换指令,自动控制可折叠设备中的至少三个壳体同步旋转,直至可折叠设备切换至相应的状态为止,不再需要用户持续地施加压力,提高了智能化程度,且由于至少三个壳体同步旋转,保证了可折叠设备在外观上的统一,增强了美观性。Therefore, the foldable device can be provided with a pressure sensor on the casing, and the pressure applied by the user can be detected by the pressure sensor. When it is detected by the pressure sensor that the pressure on any one of the casings is greater than the preset threshold, it means that the user wants to switch the state of the foldable device, and it is determined that a state switching instruction corresponding to the pressure application direction of the casing is received. Subsequently, based on the state switching instruction, at least three shells in the foldable device are automatically controlled to rotate synchronously until the foldable device switches to the corresponding state, which eliminates the need for the user to continuously exert pressure, improves the degree of intelligence, and because the foldable device switches to the corresponding state. At least three shells rotate synchronously, which ensures the uniform appearance of the foldable device and enhances the aesthetics.
例如,若可折叠设备确定该壳体的压力施加方向,并确定按照该压力施加方向进行旋转会导致该壳体与相邻的壳体之间的角度变大,表示目标状态为展开状态,则确定接收到第一状态切换指令。若可折叠设备确定该壳体的压力施加方向,并确定按照该压力施加方向进行旋转会导致该壳体与相邻的壳体之间的角度变小,表示目标状态为折叠状态,则确定接收到第二状态切换指令。For example, if the foldable device determines the pressure application direction of the casing, and determines that rotating according to the pressure application direction will cause the angle between the casing and the adjacent casing to increase, indicating that the target state is the unfolded state, then It is determined that the first state switching instruction is received. If the foldable device determines the pressure application direction of the casing, and determines that rotating according to the pressure application direction will cause the angle between the casing and the adjacent casing to become smaller, indicating that the target state is the folded state, it is determined to receive Switch to the second state command.
其中,该预设阈值可以由用户一般在掰动壳体时施加的压力大小确定,或者该预设阈值可以略小于用户一般在掰动壳体时施加的压力,或者还可以采用其他方式设置该预设阈值。Wherein, the preset threshold may be determined by the amount of pressure that the user generally applies when breaking the casing, or the preset threshold may be slightly smaller than the pressure generally applied by the user when breaking the casing, or other methods may be used to set the Preset threshold.
为了实现压力检测,可折叠设备的一个或多个壳体上设置有压力传感器,处理单元与设置的每个压力传感器连接,从而能够检测该一个或多个壳体上受到的压力。In order to realize pressure detection, one or more housings of the foldable device are provided with pressure sensors, and the processing unit is connected to each of the provided pressure sensors, so that the pressure on the one or more housings can be detected.
其中,压力传感器的位置可以任意设置,或者根据用户切换可折叠设备的状态时常施加压力的壳体进行设置。例如,可以设置在每个壳体的边缘设置压力传感器,或者在位于可折叠设备边缘的壳体上设置压力传感器,而不再在其他壳体上设置。或者也可以在至少三个壳体构成的空间内、柔性显示屏幕的下方设置压力传感器。Wherein, the position of the pressure sensor can be set arbitrarily, or set according to the case where pressure is often applied when the user switches the state of the foldable device. For example, pressure sensors may be provided on the edge of each housing, or on housings located on the edges of the foldable device and not on other housings. Alternatively, a pressure sensor may also be arranged in the space formed by at least three housings and below the flexible display screen.
图6是根据一示例性实施例示出的一种压力施加方向的示意图。如图6所示,可折叠设备当前处于展开状态,当用户想要切换至折叠状态时在右侧壳体上施加压力,压力传感器检测到用户施加的压力,发送至处理单元,当处理单元确定该压力大于预设阈值且压力施加方向向下时,确定接收到第二状态切换指令。Fig. 6 is a schematic diagram showing a pressure application direction according to an exemplary embodiment. As shown in Figure 6, the foldable device is currently in the unfolded state. When the user wants to switch to the folded state, pressure is applied on the right casing. The pressure sensor detects the pressure applied by the user and sends it to the processing unit. When the processing unit determines When the pressure is greater than the preset threshold and the pressure is applied in a downward direction, it is determined that a second state switching instruction is received.
需要说明的是,上述两种情况仅是以任一个壳体受到外力为例进行说明,实际上,用户同时对多个壳体施加外力时,针对每个壳体,均可采用上述两种方式确定对应的状态切换指令,并基于该状态切换指令切换至目标状态。It should be noted that the above two cases are only described by taking any one of the shells as an example to receive external force. In fact, when the user applies external force to multiple shells at the same time, the above two methods can be used for each shell. Determine the corresponding state switching instruction, and switch to the target state based on the state switching instruction.
其中,当针对每个壳体确定的状态切换指令相同时,基于该状态切换指令进行切换。而当针对不同壳体确定的状态切换指令不同时,可以基于其中一个状态切换指令进行切换,或者不再进行状态切换,而是在柔性显示屏幕上提示用户选择要切换至的目标状态。Wherein, when the state switching instruction determined for each casing is the same, the switching is performed based on the state switching instruction. When the state switching instructions determined for different housings are different, the switching can be performed based on one of the state switching instructions, or the state switching is not performed, and the user is prompted on the flexible display screen to select the target state to be switched to.
本公开实施例提供的方法,通过检测用户对壳体施加的外力,确定接收到与壳体的旋转方向对应的状态切换指令,并基于该状态切换指令自动控制可折叠设备中的至少三个壳体同步旋转,直至可折叠设备切换至相应的状态为止,不再需要用户持续地施加压力,提高了智能化程度,且由于至少三个壳体同步旋转,保证了可折叠设备在外观上的统一,增强了美观性。In the method provided by the embodiment of the present disclosure, by detecting the external force exerted by the user on the casing, it is determined that a state switching instruction corresponding to the rotation direction of the casing is received, and based on the state switching instruction, at least three casings in the foldable device are automatically controlled The body rotates synchronously until the foldable device switches to the corresponding state, which no longer requires the user to continuously exert pressure, which improves the degree of intelligence, and because at least three shells rotate synchronously, the uniform appearance of the foldable device is guaranteed. , which enhances the aesthetics.
在上述实施例的基础上,可折叠设备的状态还可以划分为展开状态、第一折叠状态和第二折叠状态三种,第一折叠状态和第二折叠状态均属于折叠状态。其中,可折叠设备处于第二折叠状态的示意图如图7所示。参见图1、图2和图7,展开状态为至少三个壳体处于同一平面上的状态,第一折叠状态为至少三个壳体中边缘壳体位于其他壳体后侧的状态,第二折叠状态为至少三个壳体中边缘壳体与相邻壳体之间构成的角度为预设钝角的状态。On the basis of the above-mentioned embodiment, the states of the foldable device can be further divided into three states: an unfolded state, a first folded state and a second folded state, and the first folded state and the second folded state are both folded states. The schematic diagram of the foldable device in the second folded state is shown in FIG. 7 . Referring to Figures 1, 2 and 7, the unfolded state is a state in which at least three shells are on the same plane, the first folded state is a state in which the edge shells of the at least three shells are located on the rear side of the other shells, the second The folded state is a state in which the angle formed between the edge housing and the adjacent housing in the at least three housings is a preset obtuse angle.
边缘壳体是指可折叠设备的至少三个壳体中,位于可折叠设备边缘、仅与一个转轴连接的壳体。边缘壳体位于其他壳体后侧的状态是指边缘壳体绕转轴旋转后,与其他壳体的后侧表面接触的状态。该预设钝角可以为一般用户手持边缘壳体且边缘壳体的相邻壳体面向用户时这两个壳体构成的角度,或者由用户设置,或者由可折叠设备默认设置,可为135度、140度、145度,或者也可为其他符合要求的钝角。The edge case refers to the case that is located at the edge of the foldable device and only connected to one rotating shaft among the at least three housings of the foldable device. The state in which the edge case is located on the rear side of the other case refers to a state in which the edge case is in contact with the rear side surface of the other case after being rotated about the rotation axis. The preset obtuse angle can be the angle formed by the two shells when a general user holds the edge shell and the adjacent shells of the edge shell face the user, or set by the user, or set by the foldable device by default, which can be 135 degrees , 140 degrees, 145 degrees, or other obtuse angles that meet the requirements.
当可折叠设备处于展开状态时,可以将边缘壳体折叠,直至边缘壳体与相邻壳体之间的角度减小至预设钝角时,即切换至第一折叠状态,此时若继续将边缘壳体折叠,当边缘壳体与相邻壳体之间的角度减小至0度时,即切换至第二折叠状态。When the foldable device is in the unfolded state, the edge case can be folded until the angle between the edge case and the adjacent case is reduced to a preset obtuse angle, that is, it switches to the first folded state. When the edge shell is folded, when the angle between the edge shell and the adjacent shell is reduced to 0 degrees, it switches to the second folded state.
当可折叠设备处于第一折叠状态时,可以将边缘壳体继续折叠,直至边缘壳体与相邻壳体之间的角度减小至0度时,即切换至第二折叠状态。或者,当可折叠设备处于第一折叠状态时,可以将边缘壳体展开,直至边缘壳体与相邻壳体之间的角度增大至180度时,即切换至展开状态。When the foldable device is in the first folded state, the edge case can be further folded until the angle between the edge case and the adjacent case is reduced to 0 degrees, namely switching to the second folded state. Alternatively, when the foldable device is in the first folded state, the edge housing may be unfolded until the angle between the edge housing and the adjacent housing increases to 180 degrees, ie, switching to the unfolded state.
当可折叠设备处于第二折叠状态时,可以将边缘壳体展开,直至边缘壳体与相邻壳体之间的角度增大至预设钝角时,即切换至第一折叠状态,此时若继续将边缘壳体展开,当边缘壳体与相邻壳体之间的角度增大至180度时,即切换至展开状态。When the foldable device is in the second folded state, the edge case can be unfolded until the angle between the edge case and the adjacent case increases to a preset obtuse angle, that is, it switches to the first folded state. Continue to unfold the edge shell, when the angle between the edge shell and the adjacent shell increases to 180 degrees, it switches to the unfolded state.
为了便于确定每次要切换至的目标状态,可以相应设置三个切换按键,每一个切换按键对应一个状态切换指令,在检测到对任一切换按键的触发操作时,确定接收到与该切换按键对应的状态切换指令,进而切换至状态切换指令指示的目标状态。In order to facilitate the determination of the target state to be switched to each time, three switching buttons can be correspondingly set, and each switching button corresponds to a state switching instruction. The corresponding state switching instruction is then switched to the target state indicated by the state switching instruction.
其中,这三个切换按键既可以为虚拟按键,也可以为物理按键,设置方式与上述方法实施例中的切换按键类似,在此不再赘述。The three switching buttons may be virtual buttons or physical buttons, and the setting method is similar to the switching buttons in the above method embodiments, and details are not described herein again.
相应地,该方法可以包括以下任一项:Accordingly, the method may include any of the following:
在步骤406中,当检测到对第一切换按键的触发操作时,确定接收到第一状态切换指令,第一状态切换指令用于指示可折叠设备切换为展开状态,基于该第一状态切换指令切换可折叠设备的状态。In step 406, when a trigger operation on the first switch button is detected, it is determined that a first state switch instruction is received, and the first state switch instruction is used to instruct the foldable device to switch to the unfolded state, and based on the first state switch instruction Toggles the state of the foldable device.
步骤406与上述步骤401-403类似,区别仅在于步骤406中,可折叠设备当前的状态可以为第一折叠状态或第二折叠状态。Step 406 is similar to the above steps 401-403, except that in step 406, the current state of the foldable device may be the first folding state or the second folding state.
当可折叠设备处于第一折叠状态时,控制至少三个壳体绕连接的转轴同步旋转,先切换至第二折叠状态,此时继续控制至少三个壳体绕连接的转轴同步旋转,直至切换至展开状态。When the foldable device is in the first folded state, control at least three shells to rotate synchronously around the connected shafts, first switch to the second folded state, and then continue to control the at least three shells to rotate synchronously around the connected shafts until switching to the expanded state.
当可折叠设备处于第二折叠状态时,控制至少三个壳体绕连接的转轴同步旋转,直至切换至展开状态。When the foldable device is in the second folded state, the at least three housings are controlled to rotate synchronously around the connected rotating shafts until switched to the unfolded state.
需要说明的是,可折叠设备在未处于展开状态时,将第一切换按键设置于有效状态,而当可折叠设备在处于展开状态时,将第一切换按键设置于禁用状态,不允许用户触发该第一切换按键。It should be noted that when the foldable device is not in the unfolded state, the first switch button is set to an active state, and when the foldable device is in an unfolded state, the first switch button is set to a disabled state, and the user is not allowed to trigger the first switch button.
则在第一切换按键有效的情况下,当检测到对第一切换按键的触发操作时,确定接收到第一状态切换指令。而在禁用第一切换按键的情况下,当检测到对第一切换按键的触发操作时,忽略该触发操作。Then, in the case that the first switching key is valid, when a triggering operation on the first switching key is detected, it is determined that the first state switching instruction is received. In the case of disabling the first switch button, when a trigger operation on the first switch button is detected, the trigger operation is ignored.
在步骤407中,当检测到对第二切换按键的触发操作时,确定接收到第三状态切换指令,第三状态切换指令用于指示可折叠设备切换为第一折叠状态,基于该第三状态切换指令切换可折叠设备的状态。In step 407, when a triggering operation of the second switch button is detected, it is determined that a third state switching instruction is received, and the third state switching instruction is used to instruct the foldable device to switch to the first folding state, based on the third state The toggle instruction toggles the state of the foldable device.
步骤407与上述步骤401、404、405类似,区别仅在于步骤407中,可折叠设备当前的状态可以为展开状态或第二折叠状态。Step 407 is similar to the
当可折叠设备处于展开状态时,控制至少三个壳体绕连接的转轴同步旋转,先切换至第二折叠状态,此时继续控制至少三个壳体绕连接的转轴同步旋转,直至切换至第一折叠状态。When the foldable device is in the unfolded state, control the at least three shells to rotate synchronously around the connected shafts, first switch to the second folded state, and then continue to control the at least three shells to rotate synchronously around the connected shafts until it switches to the second folded state. a folded state.
当可折叠设备处于第二折叠状态时,控制至少三个壳体绕连接的转轴同步旋转,直至切换至第一折叠状态。When the foldable device is in the second folded state, the at least three housings are controlled to rotate synchronously around the connected rotating shafts until switched to the first folded state.
需要说明的是,可折叠设备在未处于第一折叠状态时,将第二切换按键设置于有效状态,而当可折叠设备在处于第一折叠状态时,将第二切换按键设置于禁用状态,不允许用户触发该第二切换按键。It should be noted that when the foldable device is not in the first folded state, the second switch button is set to an active state, and when the foldable device is in the first folded state, the second switch button is set to a disabled state, The user is not allowed to trigger the second switch button.
则在第二切换按键有效的情况下,当检测到对第二切换按键的触发操作时,确定接收到第三状态切换指令。而在禁用第二切换按键的情况下,当检测到对第二切换按键的触发操作时,忽略该触发操作。Then, in the case that the second switching key is valid, when a triggering operation on the second switching key is detected, it is determined that a third state switching instruction is received. In the case of disabling the second switch button, when a trigger operation on the second switch button is detected, the trigger operation is ignored.
在步骤408中,当检测到对第三切换按键的触发操作时,确定接收到第四状态切换指令,第四状态切换指令用于指示可折叠设备切换为第二折叠状态,基于该第四状态切换指令切换可折叠设备的状态。In step 408, when a trigger operation on the third switch button is detected, it is determined that a fourth state switch instruction is received, and the fourth state switch instruction is used to instruct the foldable device to switch to the second fold state, based on the fourth state The toggle instruction toggles the state of the foldable device.
当可折叠设备处于展开状态时,控制至少三个壳体绕连接的转轴同步旋转,直至切换至第二折叠状态为止,无需折叠至边缘壳体的后侧表面与相邻壳体的后侧表面接触。When the foldable device is in the unfolded state, the at least three housings are controlled to rotate synchronously around the connected shafts until they are switched to the second folding state, without being folded to the rear side surface of the edge housing and the rear side surface of the adjacent housing touch.
例如,控制第一壳体按照第二方向绕第一转轴旋转,且第三壳体同步按照第一方向绕第二转轴旋转,直至第一壳体与第二壳体之间构成的角度、第三壳体与第二壳体之间构成的角度均为预设钝角。For example, the first casing is controlled to rotate around the first axis in the second direction, and the third casing is controlled to rotate around the second axis in the first direction, until the angle formed between the first casing and the second casing, the first The angles formed between the three shells and the second shell are all preset obtuse angles.
在另一种可能实现方式中,可折叠设备当前处于第一折叠状态,接收到第四状态切换指令后,由第一折叠状态切换为第二折叠状态。In another possible implementation manner, the foldable device is currently in the first folding state, and after receiving the fourth state switching instruction, it switches from the first folding state to the second folding state.
当可折叠设备处于第一折叠状态时,控制至少三个壳体绕连接的转轴同步旋转,直至切换至第二折叠状态为止,无需折叠至边缘壳体与相邻壳体位于同一个平面上。When the foldable device is in the first folded state, the at least three shells are controlled to rotate synchronously around the connected shafts until they switch to the second folded state, without being folded until the edge shells and the adjacent shells are on the same plane.
例如,控制第一壳体按照第一方向绕第一转轴旋转,且第三壳体同步按照第二方向绕第二转轴旋转,直至第一壳体与第二壳体之间构成的角度、第三壳体与第二壳体之间构成的角度均为预设钝角。For example, the first casing is controlled to rotate around the first axis in the first direction, and the third casing is synchronously rotated around the second axis in the second direction until the angle formed between the first casing and the second casing, the first The angles formed between the three shells and the second shell are all preset obtuse angles.
需要说明的是,可折叠设备在未处于第二折叠状态时,将第三切换按键设置于有效状态,而当可折叠设备在处于第二折叠状态时,将第三切换按键设置于禁用状态,不允许用户触发该第三切换按键。It should be noted that when the foldable device is not in the second folding state, the third switch button is set to an active state, and when the foldable device is in the second folding state, the third switch button is set to a disabled state, The user is not allowed to trigger the third toggle key.
则在第三切换按键有效的情况下,当检测到对第三切换按键的触发操作时,确定接收到第四状态切换指令。而在禁用第三切换按键的情况下,当检测到对第三切换按键的触发操作时,忽略该触发操作。Then, in the case that the third switch button is valid, when a trigger operation on the third switch button is detected, it is determined that a fourth state switch instruction is received. In the case of disabling the third switching key, when a triggering operation on the third switching key is detected, the triggering operation is ignored.
在一种可能实现方式中,可折叠设备包括设置于至少三个壳体和至少两个转轴内侧的柔性显示屏幕,该柔性显示屏幕用于进行显示。In a possible implementation manner, the foldable device includes flexible display screens disposed inside at least three housings and at least two rotating shafts, and the flexible display screens are used for display.
其中,该柔性显示屏幕可以为玻璃材质、亚克力材质、透明塑胶复合材质、PMMA(polymethyl methacrylate,聚甲基丙烯酸甲酯)材质、PC(Polycarbonate,聚碳酸酯)材质等。The flexible display screen can be made of glass material, acrylic material, transparent plastic composite material, PMMA (polymethyl methacrylate, polymethyl methacrylate) material, PC (Polycarbonate, polycarbonate) material, and the like.
当可折叠设备处于第二折叠状态时,该柔性显示屏幕显示的界面中包括操作区域和信息展示区域。其中,在边缘壳体内侧的柔性显示屏幕上显示操作区域,供用户进行触控操作,在其他壳体内侧的柔性显示屏幕上显示信息展示区域,在信息展示区域中为用户展示信息,实现了不同内容的分区显示。并且,用户在使用可折叠设备的过程中,可以手持可折叠设备两端的边缘壳体,在操作区域上进行触控操作,同时查看信息展示区域上展示的信息,操作非常方便。When the foldable device is in the second folded state, the interface displayed on the flexible display screen includes an operation area and an information display area. Among them, the operation area is displayed on the flexible display screen inside the edge shell for the user to perform touch operations, the information display area is displayed on the flexible display screen inside the other shells, and the information is displayed for the user in the information display area. Sectional display of different content. Moreover, in the process of using the foldable device, the user can hold the edge shells at both ends of the foldable device, perform touch operations on the operation area, and at the same time view the information displayed on the information display area, which is very convenient to operate.
在播放视频的场景下,在信息展示区域显示播放界面,通过播放界面播放视频,并在操作区域显示操作按钮,包括:快进、快退、下一集、加减音量等。用户在使用该可折叠设备播放视频时,可以手持边缘壳体,并可通过对操作区域中的操作按钮进行触控操作来控制视频的播放,提高了便捷性。In the scenario of playing a video, the playback interface is displayed in the information display area, the video is played through the playback interface, and operation buttons are displayed in the operation area, including: fast-forward, fast-rewind, next episode, volume increase and decrease, etc. When using the foldable device to play a video, the user can hold the edge shell, and can control the playing of the video by touching the operation buttons in the operation area, which improves the convenience.
在电子游戏的场景下,在信息展示区域显示游戏场景界面,在操作区域显示操作按钮,包括:前进、后退、拾取物品、攻击等。用户在使用该可折叠设备进行游戏时,可以在查看游戏场景界面的同时,将边缘壳体作为游戏手柄,供用户手持并触发操作,提高了便捷性和趣味性。In the video game scene, the game scene interface is displayed in the information display area, and the operation buttons are displayed in the operation area, including: forward, backward, pick up items, attack, etc. When a user uses the foldable device to play a game, while viewing the game scene interface, the edge shell can be used as a game handle for the user to hold and trigger operations, which improves convenience and interest.
除上述两种场景之外,可折叠设备还可以应用于其他场景下,如浏览网页的场景、网上购物的场景等,实现信息展示区域与操作区域的分区显示。In addition to the above two scenarios, the foldable device can also be applied in other scenarios, such as the scenario of browsing web pages, the scenario of online shopping, etc., to realize the partitioned display of the information display area and the operation area.
本公开实施例提供的方法,还可将折叠设备切换至第二折叠状态,实现了信息展示区域与操作区域的分区显示。且,用户在使用可折叠设备的过程中,可以手持可折叠设备两端的边缘壳体,在操作区域上进行触控操作,提高了便捷性。In the method provided by the embodiment of the present disclosure, the folding device can also be switched to the second folding state, thereby realizing the partition display of the information display area and the operation area. Moreover, in the process of using the foldable device, the user can hold the edge shells at both ends of the foldable device and perform touch operations on the operation area, which improves the convenience.
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当存储介质中的指令由可折叠设备的处理器执行时,使得可折叠设备能够执行一种状态切换方法,方法包括:In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, when the instructions in the storage medium are executed by the processor of the foldable device, the foldable device is enabled to perform a state switching method, the method include:
接收状态切换指令;Receive state switching instructions;
控制至少三个壳体绕连接的转轴同步旋转,使可折叠设备由当前的状态切换为状态切换指令指示的目标状态;Control at least three shells to rotate synchronously around the connected shafts, so that the foldable device is switched from the current state to the target state indicated by the state switching instruction;
其中,可折叠设备当前的状态为展开状态或折叠状态,展开状态为至少三个壳体处于同一平面上的状态,折叠状态为至少三个壳体未处于同一平面上的状态。The current state of the foldable device is an unfolded state or a folded state, the unfolded state is a state where at least three shells are on the same plane, and the folded state is a state where at least three shells are not on the same plane.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811457729.6A CN111258375B (en) | 2018-11-30 | 2018-11-30 | State switching method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811457729.6A CN111258375B (en) | 2018-11-30 | 2018-11-30 | State switching method, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111258375A true CN111258375A (en) | 2020-06-09 |
| CN111258375B CN111258375B (en) | 2022-02-08 |
Family
ID=70948285
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811457729.6A Active CN111258375B (en) | 2018-11-30 | 2018-11-30 | State switching method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111258375B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115118815A (en) * | 2022-08-29 | 2022-09-27 | 荣耀终端有限公司 | Anti-reverse-folding alarm method and related device |
| CN115145428A (en) * | 2021-03-29 | 2022-10-04 | 北京小米移动软件有限公司 | A pointing method, device, electronic device and storage medium |
| CN119199353A (en) * | 2024-11-08 | 2024-12-27 | 荣耀终端有限公司 | A detection system for folding equipment and a method for acquiring detection data |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012098473A2 (en) * | 2012-06-06 | 2012-07-26 | Wasfi Alshdaifat | Motorized tri-phone (moto-phone) |
| CN105676958A (en) * | 2015-12-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | Terminal with flexible screen |
| US20160302314A1 (en) * | 2015-04-09 | 2016-10-13 | Samsung Electronics Co., Ltd. | Foldable device |
| US20180210515A1 (en) * | 2017-01-20 | 2018-07-26 | Dell Products L.P. | Flexible Information Handling System Display User Interface Configuration and Provisioning |
| CN108363458A (en) * | 2018-03-02 | 2018-08-03 | 上海天马微电子有限公司 | Flexible display device |
| CN108508971A (en) * | 2018-03-26 | 2018-09-07 | 联想(北京)有限公司 | Tumbler and electronic equipment |
-
2018
- 2018-11-30 CN CN201811457729.6A patent/CN111258375B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012098473A2 (en) * | 2012-06-06 | 2012-07-26 | Wasfi Alshdaifat | Motorized tri-phone (moto-phone) |
| US20160302314A1 (en) * | 2015-04-09 | 2016-10-13 | Samsung Electronics Co., Ltd. | Foldable device |
| CN105676958A (en) * | 2015-12-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | Terminal with flexible screen |
| US20180210515A1 (en) * | 2017-01-20 | 2018-07-26 | Dell Products L.P. | Flexible Information Handling System Display User Interface Configuration and Provisioning |
| CN108363458A (en) * | 2018-03-02 | 2018-08-03 | 上海天马微电子有限公司 | Flexible display device |
| CN108508971A (en) * | 2018-03-26 | 2018-09-07 | 联想(北京)有限公司 | Tumbler and electronic equipment |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115145428A (en) * | 2021-03-29 | 2022-10-04 | 北京小米移动软件有限公司 | A pointing method, device, electronic device and storage medium |
| US12298816B2 (en) | 2021-03-29 | 2025-05-13 | Beijing Xiaomi Mobile Software Co., Ltd. | Method for obtaining data indicating direction, electronic device and storage medium |
| CN115118815A (en) * | 2022-08-29 | 2022-09-27 | 荣耀终端有限公司 | Anti-reverse-folding alarm method and related device |
| CN115118815B (en) * | 2022-08-29 | 2023-02-03 | 荣耀终端有限公司 | Anti-reverse-folding alarm method and related device |
| CN119199353A (en) * | 2024-11-08 | 2024-12-27 | 荣耀终端有限公司 | A detection system for folding equipment and a method for acquiring detection data |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111258375B (en) | 2022-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108702446B (en) | A photographing method and terminal | |
| JP5742187B2 (en) | Information processing apparatus, information processing method, and program | |
| CN202281996U (en) | Information processing device | |
| CN104838352B (en) | Action initialization in multi-surface device | |
| TWI459284B (en) | Information processing apparatus, program, and control method | |
| CN108897483B (en) | Method for changing focus in response to gesture and dual screen communication device | |
| JP5749043B2 (en) | Electronics | |
| CN110602321B (en) | Application switching method, device, electronic device and storage medium | |
| WO2022100260A1 (en) | Display control method and apparatus, storage medium, and electronic device | |
| WO2018077207A1 (en) | Viewing angle mode switching method and terminal | |
| WO2018192390A1 (en) | Photographing method of mobile terminal, and mobile terminal | |
| CN111258375B (en) | State switching method, device and storage medium | |
| CN107566721A (en) | A kind of method for information display, terminal and computer-readable recording medium | |
| CN109947508A (en) | Split-screen display method, device, electronic device, and computer-readable storage medium | |
| CN112121415A (en) | Method, device and equipment for controlling interface display and storage medium | |
| WO2013061658A1 (en) | Portable information terminal | |
| CN109947383A (en) | Display control method and device, mobile terminal and storage medium | |
| CN107728810A (en) | Terminal control method, device, terminal and storage medium | |
| CN109806589B (en) | Virtual object control method and device, electronic device and storage medium | |
| WO2023193479A1 (en) | Control method and apparatus for one-handed operation mode, and electronic device and storage medium | |
| WO2024012102A1 (en) | Interface display method and apparatus, electronic device and storage medium | |
| CN115098015A (en) | Display method, device, electronic device and storage medium of virtual keyboard | |
| WO2020134903A1 (en) | Display screen operating method and mobile terminal | |
| CN115237324A (en) | Split-screen display method, apparatus, electronic device, and computer-readable medium | |
| CN108683851B (en) | A camera method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |