WO2020258270A1 - 交互控制方法、电子设备及非易失性计算机可读存储介质 - Google Patents

交互控制方法、电子设备及非易失性计算机可读存储介质 Download PDF

Info

Publication number
WO2020258270A1
WO2020258270A1 PCT/CN2019/093787 CN2019093787W WO2020258270A1 WO 2020258270 A1 WO2020258270 A1 WO 2020258270A1 CN 2019093787 W CN2019093787 W CN 2019093787W WO 2020258270 A1 WO2020258270 A1 WO 2020258270A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
deformation
touch
interactive control
control method
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.)
Ceased
Application number
PCT/CN2019/093787
Other languages
English (en)
French (fr)
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.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Priority to PCT/CN2019/093787 priority Critical patent/WO2020258270A1/zh
Priority to CN201980079828.1A priority patent/CN113330400A/zh
Publication of WO2020258270A1 publication Critical patent/WO2020258270A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • the present invention relates to the field of computer technology, and in particular to a method for preventing accidental touch, an electronic device and a non-volatile computer-readable storage medium.
  • the purpose of the present invention is to provide an interactive control method, an electronic device, and a non-volatile computer-readable storage medium that can detect the imminent deformation of the electronic device.
  • an embodiment of the present invention provides an interactive control method, which is applied to a foldable electronic device, the electronic device is provided with a touch screen, and the interactive control method includes:
  • an embodiment of the present invention provides an electronic device, including: a foldable touch screen, a memory, and a controller, and the memory is stored in the memory readable by the controller.
  • An interactive control instruction the controller is electrically connected to the touch screen and a memory, and running the interactive control instruction by the controller can execute the interactive control method described in the first aspect.
  • embodiments of the present invention provide a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable interactive control instructions, and the interactive control instructions When executed by a computer, the interactive control method as described in the first aspect is realized.
  • the beneficial effect of the present invention is that the interactive control method provided in the embodiments of the present invention obtains a pre-deformation instruction by responding to a preset touch operation, and the pre-deformation instruction indicates that the electronic device is about to deform.
  • the touch command generated by the touch screen in response to the user operation is ignored, so as to know when the user will fold or unfold the electronic device, that is, the user will fold or unfold the electronic device. The intention of the device.
  • the present invention executes the corresponding anti-incorrect touch solution by obtaining the pre-deformation instruction, so that when the user performs deformation operations such as folding or unfolding the electronic device, the touch instruction can be effectively circumvented, thereby realizing anti-incorrect touch and improving user experience .
  • FIG. 1 is a flowchart of an interactive control method provided by the first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a touch panel provided by an embodiment of the present invention.
  • FIG. 3 is a specific sub-flow chart of step 110 and step 120 in FIG. 1;
  • FIG. 5 is a schematic diagram of a flexible touch screen provided by an embodiment of the present invention.
  • FIG. 6 is a specific sub-flow chart of step 130 in FIG. 4;
  • FIG. 7 is a flowchart of an interactive control method provided by the third embodiment of the present invention.
  • FIG. 8 is a structural block diagram of the anti-mistouch device provided by the first embodiment of the present invention.
  • FIG. 9 is a structural block diagram of an anti-mistouch device provided by a second embodiment of the present invention.
  • Fig. 10 is a structural block diagram of an electronic device provided by the first embodiment of the present invention.
  • An embodiment of the present invention provides an interactive control method.
  • the method acquires a pre-deformation instruction by responding to a preset touch operation.
  • the pre-deformation instruction indicates that the electronic device is about to deform, and when the electronic device is deformed In the process, the touch command generated by the touch screen in response to the user operation is ignored, so as to know when the user will fold or unfold the electronic device, that is, the user's intention to fold or unfold the electronic device.
  • the present invention executes the corresponding anti-incorrect touch solution by obtaining the pre-deformation instruction, so that when the user performs deformation operations such as folding or unfolding the electronic device, the touch instruction can be effectively circumvented, thereby realizing anti-incorrect touch and improving user experience .
  • FIG. 1 is a flowchart of the interactive control method provided by the first embodiment of the present invention.
  • the interactive control method is applied to a foldable electronic device equipped with a touch screen, and the interactive control method includes but is not limited to the following steps:
  • Step 110 Acquire a pre-deformation instruction in response to a preset touch operation, where the pre-deformation instruction indicates that the electronic device is about to deform.
  • the preset touch operation is a preset gesture operation received in a specific area.
  • the deformation becomes a state change that occurs when the electronic device enters the expanded state from the folded state or enters the folded state from the expanded state.
  • the electronic device may be an electronic device including at least two housings.
  • the user may first perform a preset touch operation on the touch screen to inform the electronic device that the deformation is about to occur.
  • the touch screen outputs a pre-deformation instruction in response to a preset touch operation, and the electronic device knows that a deformation is about to occur through the pre-deformation instruction.
  • the touch screen since the touch screen is provided on the electronic device, and the touch screen is connected to the electronic device as a whole, when the electronic device is deformed, if the deformed area is set A touch screen will drive the touch to deform.
  • the deformation includes, but is not limited to, folding or unfolding of the electronic device.
  • the pre-deformation instruction includes but is not limited to a pre-unfolding instruction or a pre-folding instruction.
  • the electronic device may only be bent without folding.
  • the electronic device may be a screen that can be attached or connected to the touch screen of the electronic device after being bent, that is, That said, electronic devices with touch screens can also be bent into a cylindrical shape.
  • the setting of the deformation and corresponding pre-deformation commands can be set according to actual needs, and does not need to be restricted to the limitations of the embodiments of the present invention.
  • the touch operation includes: a positioning operation and/or a trajectory drawing operation applied on the touch screen.
  • the touch operation may be a positioning operation on the touch screen or a trajectory drawing operation on the touch screen.
  • the positioning operation includes, but is not limited to: single-click, double-click, and long-press operations on a single position or multiple positions of the touch screen at the same time.
  • the trajectory drawing operation includes, but is not limited to, operations such as sliding on the touch screen. When operations such as clicking, sliding, long pressing, or multi-point simultaneous touch are performed on the touch screen, a certain positioning or trajectory will be generated on the touch screen, and the touch screen can obtain the positioning or trajectory. Obtain and determine the touch operation.
  • the preset touch operation refers to a specific touch operation performed by the user on the touch screen, or the preset touch operation is a specific area
  • a preset gesture operation is received within, that is, when the preset touch operation/the preset gesture operation is a positioning at a preset position on the touch screen or a preset track on the touch screen, After acquiring the positioning or the trajectory, the touch screen generates and outputs the pre-deformation instruction.
  • the touch screen when a specific touch button in the display screen of the touch screen receives a positioning operation, the touch screen outputs the pre-distortion instruction. Or, when the touch screen receives a trajectory operation, and the trajectory operation is a preset "Z" trajectory, the touch screen outputs the pre-deformation instruction.
  • the processor of the electronic device receives the pre-deformation instruction, it knows that the electronic device will be deformed.
  • the deformation of the electronic device is specifically an external force, such as an external force applied by a user, or an internal driving force, such as a deformation force provided by a power device, which causes the electronic device to enter the unfolded state from the folded state or enter the folded state from the unfolded state.
  • Step 120 Ignore the touch command generated by the touch screen in response to the user operation when the electronic device is deformed.
  • a user performs a preset touch operation on the touch screen
  • the touch screen generates a pre-deformation instruction in response to the preset touch operation, and then (that is, the pre-deformation instruction is generated)
  • the touch screen In the following preset time interval) during the deformation of the electronic device, if the user also applies a touch operation to the touch screen, the touch screen generates a corresponding new touch command in response to the touch operation , The electronic device ignores the touch command, that is, the electronic device does not make any response to the touch command.
  • the ignoring the touch commands generated by the touch screen in response to the user operation may be ignoring all the touch commands, or in some specific cases, The touch command of is ignored.
  • the touch command of is ignored.
  • the command is not ignored when the specific touch command is acquired, and the electronic device executes the command.
  • Specific touch commands Specifically, whether to ignore all the touch commands or execute some of the touch commands can be set according to actual needs, and does not need to be limited to the limitations of the embodiments of the present invention.
  • the interactive control method provided in the embodiment of the present invention obtains a pre-deformation instruction by responding to a preset touch operation.
  • the pre-deformation instruction indicates that the electronic device is about to undergo deformation. During the deformation of the electronic device, all the instructions are ignored.
  • the touch screen generates touch commands in response to user operations, so that when the user performs deformation operations such as folding or unfolding the electronic device, the touch commands can be effectively circumvented, so as to prevent accidental touches and improve user experience.
  • the touch screen is a flexible display screen. That is, the electronic device is a flexible foldable device. When the electronic device deforms, the flexible display also deforms.
  • FIG. 2 is a schematic diagram of a touch panel provided by an embodiment of the present invention.
  • the touch panel 10a includes a control panel A, and the control panel A includes at least one control button (a1, a2, a3, a4). , A5 and a6).
  • the pre-folding button used to control the upcoming folding deformation of the electronic device and the pre-folding button used to control the upcoming unfolding deformation of the electronic device may be two different buttons or the same button.
  • the pre-folding button may be the control button a1 in the control panel A in FIG. 2
  • the pre-folding button may be the control button a2 in the control panel A in FIG. 2.
  • both the pre-folding button and the pre-expanding button are control buttons a1.
  • the control button a1 can be set to different backgrounds, texts or icons when switching to different control modes.
  • step 110 specifically includes two situations:
  • a touch icon or touch button for triggering the pre-deformation instruction is displayed on the touch screen, for example, each control button (a1, a2, a3, a4, a5) shown in FIG.
  • step 111a is performed: responding to a click operation received by the touch icon or touch button.
  • the click operation can be one of a single click or a double click operation.
  • the touch screen When performing a click operation on the touch screen, the touch screen acquires that the click operation falls on the touch screen, and the touch screen outputs a touch command generated in response to a user operation.
  • the pre-folding button is the control button in the control panel A of FIG. 2 a1
  • the pre-expanded button is the control button a2 in the control panel A of FIG. 2
  • the electronic device responds to the click operation received by the control button a1 , Obtain the pre-deformation instruction that the electronic device is about to be expanded and deformed, and ignore the touch instruction generated by the touch panel 10a in response to the user operation during the expansion and deformation of the electronic device.
  • the electronic device responds to the click operation received by the control button a2, obtains the pre-deformation instruction that the electronic device is about to be folded and deforms, and executes the When the electronic device is folded and deformed, the touch command generated by the touch panel 10a in response to the user operation is ignored.
  • step 111b specifically includes: responding to the physical button receiving a pressing operation or a sliding operation.
  • the pressing operation or sliding operation is applied to the physical button for issuing the pre-deformation instruction, and at this time, the electronic device responds to the physical button The received pressing operation or sliding operation obtains the pre-deformation instruction.
  • step 120 specifically includes the following steps:
  • Step 121 When the electronic device is deformed, set a filter label at the instruction receiving entrance.
  • the command receiving entry is a touch command receiving entry.
  • the instruction receiving entry is an input instruction receiving entry.
  • Step 132 Ignore the touch command according to the filter tag.
  • a pre-deformation instruction when acquired in response to a preset touch operation, it indicates that the electronic device is about to be deformed. Since during the deformation period of the electronic device, touch operations may be generated on the touch screen due to accidental touches, the system needs to be set during the period when the electronic device is deformed, and the touch screen is not correct. The touch command generated by the touch operation responds. Therefore, a filter tag can be set at the entrance of the system for receiving touch commands. When a touch operation is generated on the touch screen, a corresponding touch command is output.
  • the electronic device When the touch command enters the system of the electronic device at the touch command receiving entrance of the electronic device, In the presence of the filter tag, the electronic device will actively filter the touch command, so that the touch command cannot enter the system of the electronic device, so that the touch command will not be transmitted or executed .
  • the filter tag can also be set as a filter tag for releasing specific touch commands. For example, when the electronic device is unfolded or folded to a certain angle, when the touch screen in this state needs to be operated or displayed, a specific touch operation is performed on the touch screen at this time, so that the touch The screen generates a specific touch command, the filter tag can release the specific touch command, and the system further commands or analyzes the touch command according to the touch command.
  • Figure 4 is a flowchart of an interactive control method provided by the second embodiment of the present invention.
  • the interactive control method is based on the methods described in Figures 1 to 3 Above, also includes:
  • Step 130 Determine whether the deformation of the electronic device is completed.
  • Step 140 Delete the filter tag after the deformation of the electronic device is completed.
  • the normal response to the touch control operation needs to be restored, so that the system can receive and execute the touch command normally. Therefore, it is also necessary to determine whether the deformation of the electronic device is completed. After the deformation of the electronic device is completed, the filter tag for filtering touch commands is deleted, so that the touch commands can be normally input to the system.
  • the touch screen is a flexible display screen including a deformation area, and an angle sensor for acquiring a deformation angle of the deformation area is provided on the deformation area.
  • the deformation area is provided with a stress sensor for acquiring the amount of deformation of the deformation area.
  • the determining whether the deformation of the electronic device is completed specifically includes: determining whether the stress sensed by the stress sensor has changed within a preset time; when the stress has not changed, determining that the deformation is completed.
  • the electronic device may have multiple deformation stages to achieve different functions.
  • a corresponding half-folding control button can be set on the touch screen, and when the button is clicked, when the touch screen is folded to a half-folded stage, it is determined that the deformation is completed, and the filter tag is deleted.
  • the pre-folding button can be the control button a1 in the control panel A of Figure 2, and the half-folding control button can be the control described in Figure 2.
  • the corresponding filter flag is set at the instruction receiving entrance to ignore the touch command , And delete the filter label when the electronic device is folded to a half-folding stage.
  • the stage of the electronic device deforming to the final deformation as the criterion for the completion of the deformation, and to set a specific touch command that can pass through the filter tag, and the electronic device deforms to a different The specific touch command is output during the deforming stage, so as to determine that the deforming operation has been completed when the execution reaches a certain stage.
  • the half-folding control button is clicked on the touch screen or a specific track is input to output a corresponding specific touch command, and the system uses the specific The touch command of determines that the deformation is completed, and then deletes the filter tag.
  • the specific touch instruction is an instruction for the electronic device to stop deforming.
  • the pre-folding button can be the control button a1 in the control panel A of Figure 2, and the half-folding control button can be the control described in Figure 2.
  • the system After the user clicks the control button a1, the system responds to the click operation received by the control button a1, and when the electronic device is deformed, the corresponding filter flag is set at the instruction receiving entrance to ignore the touch command
  • the control button a3 When the electronic device is folded to the half-folding stage, the user clicks the control button a3 to output a specific touch instruction, and the system determines that the electronic device stops continuing to deform through the specific touch instruction, The system determines that the deformation is completed, and then deletes the filter tag.
  • FIG. 5 is a schematic diagram of a flexible touch screen provided by an embodiment of the present invention.
  • the display area of the flexible touch screen 10b includes a deformed area 11 and a non-deformed area 12a and a non-deformed area 12a. Area 12b.
  • the non-deformation area 12a and the non-deformation area 12b are respectively located on opposite sides of the deformation area 11.
  • the flexible touch screen 10b can be folded or unfolded in the deformation area 11.
  • the flexible touch screen can set the number of deformable regions according to actual needs.
  • the non-deformable regions 12a and The non-deformable area 12b is provided with other deformed areas parallel to the deformed area 11 and the same size as the deformed area 11, so that the electronic device can be further folded or unfolded.
  • FIG. 6 is a specific sub-flowchart of step 130 in FIG. 4.
  • the step 130 specifically includes:
  • Step 141 Acquire the angle change value of the deformed area in real time.
  • Step 142 When the angle change value reaches a predetermined threshold or the angle change value does not change within a preset time interval, it is determined that the deformation is completed.
  • the touch screen capable of performing touch operations and capable of outputting touch commands may also be a flexible touch screen 10b as shown in FIG. 5.
  • the deformed area 11 will bend and produce an angle change.
  • an angle sensor or a stress sensor arranged on the deformation area 11 it can be determined whether the deformation is completed.
  • the angle change is an angle change of the deformation area.
  • the angle change is an angle change between two adjacent non-deformable regions (for example, 12a and 12b) of the touch screen.
  • the range of the angle change value and the predetermined threshold value are both 0 to 360 degrees.
  • the preset time interval may be set according to the speed at which the angle changes when the flexible touch screen is deformed.
  • the predetermined threshold is set to 180 degrees or 360 degrees, and when it is detected in real time that the angle change value of the deformation area 11 reaches 180 degrees or 360 degrees, it can be determined that the deformation operation is completed.
  • the preset time interval may be set to three seconds, and when the angle change value does not change within three seconds, it may be determined that the deformation operation is completed.
  • a specific touch operation may be performed, so that the system determines that the deformation operation is completed.
  • the flexible touch screen 10b Click a specific button or input a specific trajectory, so that when the angle change value reaches 90 degrees, it is determined that the deformation is completed.
  • the electronic device can be formed into a 90-degree bracket shape.
  • the flexible touch screen 10b can place the electronic device on the desktop in a pyramid shape without blocking the display screen.
  • FIG. 7 is a flowchart of an interactive control method provided by the third embodiment of the present invention.
  • the interactive control method is based on the methods described in FIGS. 1 to 6 It also includes the following steps:
  • Step 150 Determine the state of the electronic device after the deformation of the electronic device is completed.
  • the state of the electronic device after the deformation of the electronic device is further determined. As shown in the method provided in FIG. 6, it is possible to detect the current angle of the deformed area 11 or the angle between the non-deformed area 12a and the display interface of the non-deformed area 12b or the angle change value, Then determine the state of the electronic device after deformation.
  • the state of the electronic device includes but is not limited to: a folded state and an unfolded state.
  • the unfolding state may include multiple unfolding states, which are determined to be different according to the angular size of the deformed area 11 or the angle between the non-deformed area 12a and the non-deformed area 12b display interface or the angle change value.
  • the expanded state is not limited to: a folded state and an unfolded state.
  • the unfolding state may include multiple unfolding states, which are determined to be different according to the angular size of the deformed area 11 or the angle between the non-deformed area 12a and the non-deformed area 12b display interface or the angle change value
  • the deformed state of the touch screen includes but is not limited to the folded form and the unfolded form, and the electronic device is configured according to the diversified configuration of the deformed area and the non-deformed area. More forms can also be presented, for example, the form of a hollow cylinder in the middle. Specifically, it can be set according to actual needs and does not need to be restricted to the limitations of the embodiments of the present invention.
  • Step 170 According to the state of the electronic device, control to enter a working mode corresponding to the state.
  • the electronic device After determining the state of the electronic device, it can switch to different working modes according to the state of the electronic device. Specifically, in different working modes, the display screen is in different display areas of the touch screen To display.
  • the angle between the non-deformable area 12a and the display interface of the non-deformable area 12b is 180 degrees, it can be determined that the state of the electronic device is a fully expanded state. At this time, it is determined that the touch operation requires It is performed on the entire flexible touch screen 10b. Therefore, the deformed area 11, the non-deformed area 12a, and the non-deformed area 12b of the flexible touch screen 10b are all used to display the screen. Both the deformed area 12a and the non-deformed area 12b can perform a touch operation, and the electronic device switches to a full-screen display mode.
  • the angle between the display interfaces of two adjacent non-deformable areas on both sides of the deformed area is 90 degrees, it can be determined that the deformed state of the electronic device is a half-expanded/half-folded state. At this time, the user can stably place the electronic device on the desktop.
  • the flexible touch screen 10b shown in FIG. 5 as an example, that is, the left and right sides of the non-deformable regions 12a and 12b can be placed on the desktop in close contact, so that the electronic device is stably placed on the desktop in the shape of a triangular column. on.
  • the angle between the display interfaces of two adjacent non-deformable areas on both sides of the deformed area is 0 degrees, it can be determined that the deformed state of the electronic device is a fully folded state, at this time, Taking the flexible touch screen 10b shown in FIG. 5 as an example, it is determined that the touch operation is only performed on the non-deformed area 12a or 12b, and only a non-deformed area on the touch screen 10 is used for displaying images and performing touch Operation, at this time, the electronic device switches to a single-screen display working mode.
  • the included angle between the display interfaces of two adjacent non-deformed areas on both sides of the deformed area may vary from 0 degrees to 160 degrees.
  • FIG. 11 is a structural block diagram of an interactive control apparatus provided by an embodiment of the present invention.
  • the interactive control device 200 includes but is not limited to: an acquiring unit 210, a determining unit 220, and an ignoring unit 230. among them,
  • the acquiring unit 210 is configured to acquire a pre-deformation instruction in response to a preset touch operation, and the pre-deformation instruction indicates that the electronic device is about to undergo deformation.
  • the ignoring unit 220 is used for ignoring the touch command generated by the touch screen in response to a user operation when the electronic device is deformed.
  • the preset touch operation is a preset gesture operation received in a specific area.
  • a touch icon or touch button for triggering the pre-deformation instruction is displayed on the touch screen, and the acquiring unit 210 is specifically configured to respond to the touch icon or touch button received To click operation.
  • the electronic device is provided with a physical button for issuing the pre-deformation instruction, and the acquiring unit 210 is specifically configured to respond to the physical button receiving a pressing operation or a sliding operation.
  • the ignoring unit 220 is specifically configured to set a filter tag at the instruction receiving entrance when the electronic device is deformed; and ignore the touch command according to the filter tag.
  • FIG. 9 is a structural block diagram of the interaction control apparatus provided in the second embodiment of the present invention.
  • the interaction control apparatus 200 further includes a deletion unit 230 and a switching unit 240.
  • the deleting unit 230 is configured to determine whether the deformation of the electronic device is completed; after the deformation of the electronic device is completed, delete the filter tag.
  • the touch screen is a flexible display screen and includes a deformed area
  • the deleting unit 230 is specifically configured to obtain the angle change value of the deformed area in real time; when the angle change value reaches a predetermined threshold or When the angle change value does not change within a preset time interval, it is determined that the deformation is completed.
  • the touch screen is a flexible display screen including a deformation area, and an angle sensor for acquiring a deformation angle of the deformation area is provided on the deformation area.
  • the deformation area is provided with a stress sensor for acquiring the amount of deformation of the deformation area.
  • the deleting unit 230 is specifically configured to determine whether the stress sensed by the stress sensor changes within a preset time; when the stress does not change, determine that the deformation is completed.
  • the shape becomes a state change that occurs when the electronic device enters an unfolded state from a folded state or when it enters a folded state from an unfolded state.
  • the switching unit 240 is configured to determine the state of the electronic device after the deformation of the electronic device is completed, and control to enter a working mode corresponding to the state according to the state of the electronic device.
  • FIG. 10 is a structural block diagram of an electronic device according to a first embodiment of the present invention.
  • the electronic device 300 includes: a foldable touch screen 310, a memory 320, and a controller 330.
  • the memory 320 Stored therein are interactive control instructions readable by the controller 330, the controller 330 is electrically connected to the touch screen 310 and the memory 320, and the controller 330 is capable of executing the above-mentioned embodiment 1.
  • the interactive control method is provided.
  • the controller 330 is a microcomputer for setting various parameters, acquiring various parameters, storing various parameters, receiving various information, processing various information, and sending various information and instructions.
  • the controller 330 is used to obtain pre-deformation instructions and perform interactive control.
  • the controller 330 may be a processor with a certain storage space.
  • the processor must at least be able to acquire and process touch commands.
  • the data processing capability of the processor can be selected according to requirements, and does not need to be restricted to the limitations of the embodiments of this application. .
  • the memory 320 stores an executable anti-mistouch instruction, which can be executed by one or more processors, for example, executed by the controller 330 in FIG. 10, which can enable the aforementioned one or more processors Execute the interactive control method in any of the foregoing method embodiments, and further, execute the method steps 110 to 120 in FIG. 1, the method steps 111a to 111b and steps 121 to 122 in FIG. 4 described in the foregoing embodiment, and The method steps 130 to 140, the method steps 131 to 132 in FIG. 6 and/or the method steps 150 to 160 in FIG. 7 implement the functions of the modules 210 to 240 in FIG. 8 and/or FIG. 9.
  • the specific execution process is as follows: First, the controller 330 responds to the preset touch operation through the touch screen 310 to obtain The pre-deformation instruction; then, the controller 330 ignores the touch instruction generated by the touch screen 310 in response to the user operation during the deformation process of the electronic device.
  • the controller 330 in the electronic device 300 provided by the embodiment of the present invention can also determine whether the deformation operation is completed; after the deformation operation is completed, delete the filter tag and execute normally The corresponding touch command for touch operation.
  • the controller 330 can also determine the state of the electronic device 300 after the deformation of the touch screen 310 is completed according to the pre-deformation instruction; switch to a corresponding working mode according to the state of the electronic device 300.
  • An embodiment of the present invention provides an electronic device.
  • the electronic device obtains a pre-deformation instruction in response to a preset touch operation through a touch screen, and the controller ignores the touch when the electronic device is deformed.
  • the control screen responds to the touch command generated by the user operation, and can effectively avoid the touch command when the touch screen is deformed such as folding or unfolding, so as to prevent accidental touch and improve user experience.
  • An embodiment of the present application also provides a non-volatile computer-readable storage medium on which is stored interactive control program instructions.
  • the interactive control program instructions When the interactive control program instructions are executed by a computer, the computer is caused to execute as described in the first embodiment above.
  • the interactive control method When the interactive control program instructions are executed, they may include the procedures of the foregoing method embodiments.
  • the non-volatile computer storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

Landscapes

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

Abstract

一种防误触方法、装置及电子设备,该方法通过响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变(110),在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令(120),以得知用户会在什么时候对电子设备执行折叠或展开,即用户折叠或展开电子设备的意向。通过获取预变形指令来执行防误触方案,从而能够在用户执行对电子设备的折叠或展开等变形操作时,对触控指令进行有效规避,从而实现防误触,提高用户体验。

Description

交互控制方法、电子设备及非易失性计算机可读存储介质 技术领域
本发明涉及计算机技术领域,特别涉及一种防误触方法、电子设备及非易失性计算机可读存储介质。
背景技术
近年来,随着科技的发展及市场竞争的日益激烈,电子设备在性能和外观上得到了很大的提升,其中,柔性显示屏幕因其低功耗、可弯曲的特性逐渐被应用到越来越多的电子设备中。目前,在使用柔性显示屏幕的电子设备,比如移动终端时,通常需要对柔性屏幕进行弯折或者折叠,从而实现更多的功能,满足更多的需求。
在实现本发明过程中,发明人发现以上相关技术中至少存在如下问题:目前现有的带触控屏的可折叠电子设备通常无法得知用户会在什么时候对折叠或展开电子设备,只有当折叠或展开的操作发生时才能检测到,这就会导致电子设备无法预处理某些事件或行为,比如:误操作,也无法控制折叠或展开后的设备表现状态。
发明内容
针对现有技术的上述缺陷,本发明的目的是提供一种能够检测到电子设备即将发生形变的交互控制方法、电子设备及非易失性计算机可读存储介质。
为解决上述技术问题,第一方面,本发明实施例中提供了一种交互控制方法,应用于可折叠的电子设备,所述电子设备上设置有触控屏, 所述交互控制方法包括:
响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变;
在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令。
为解决上述技术问题,第二方面,本发明实施例中提供了一种电子设备,包括:可折叠的触控屏,存储器,以及控制器,所述存储器内存储有所述控制器可读的交互控制指令,所述控制器与所述触控屏和存储器电连接,所述控制器运行所述交互控制指令能够执行如上述第一方面所述的交互控制方法。
为解决上述技术问题,第三方面,本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行的交互控制指令,所述交互控制指令被计算机执行时实现如上述第一方面所述的交互控制方法。
与现有技术相比,本发明的有益效果是:本发明实施例中提供的交互控制方法通过响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变,在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令,以得知用户会在什么时候对电子设备执行折叠或展开,即用户折叠或展开电子设备的意向。本发明通过获取预变形指令来执行相应的防误触方案,从而能够在用户执行对电子设备的折叠或展开等变形操作时,对触控指令进行有效规避,从而实现防误触,提高用户体验。
附图说明
一个或多个实施例中通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数 字标号的元件/模块和步骤表示为类似的元件/模块和步骤,除非有特别申明,附图中的图不构成比例限制。
图1是本发明第一实施例提供的一种交互控制方法的流程图;
图2是本发明一实施例提供的触控面板的示意图;
图3是图1中的步骤110和步骤120具体的子流程图;
图4是本发明第二实施例提供的一种交互控制方法的流程图;
图5是本发明一实施例提供的柔性触控屏的示意图;
图6是图4中的步骤130具体的子流程图;
图7是本发明第三实施例提供的一种交互控制方法的流程图;
图8是本发明第一实施例提供的防误触装置的结构框图;
图9是本发明第二实施例提供的防误触装置的结构框图;
图10是本发明第一实施例提供的电子设备的结构框图。
具体实施方式
下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进。这些都属于本发明的保护范围。
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
需要说明的是,如果不冲突,本发明实施例中的各个特征可以相互结合,均在本申请的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步 骤。
除非另有定义,本说明书所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本说明书中在本发明的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是用于限制本发明。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。
本发明的一实施例提供一种交互控制方法,该方法通过响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变,在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令,以得知用户会在什么时候对电子设备执行折叠或展开,即用户折叠或展开电子设备的意向。本发明通过获取预变形指令来执行相应的防误触方案,从而能够在用户执行对电子设备的折叠或展开等变形操作时,对触控指令进行有效规避,从而实现防误触,提高用户体验。
具体地,下面结合附图,对本发明实施例作进一步阐述。
实施例一
请参见图1,图1是本发明第一实施例提供的交互控制方法的流程图。该交互控制方法应用于可折叠的电子设备,所述电子设备上设置有触控屏,该交互控制方法包括但不限于以下步骤:
步骤110:响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变。
在一实施方式中,所述预设的触控操作为特定区域内接收到预设的手势操作。所述形变为所述电子设备由折叠状态进入展开状态时或由展开状态进入折叠状态时发生的状态改变。所述电子设备可以是包括至少 两个壳体的电子设备。
在本发明实施例中,在所述电子设备即将发生折叠或展开等形变之前,用户可以先在所述触控屏上进行预设的触控操作,以告知所述电子设备将要发生形变。所述触控屏响应预设触控操作输出预变形指令,电子设备通过该预形变指令便知将要发生形变。在本发明实施例中,由于所述触控屏设置在所述电子设备上,所述触控屏与所述电子设备连接为一体,所述电子设备发生形变时,若发生形变的区域上设置有触控屏,会带动所述触控发生形变。
在其他的一些实施例中,所述形变包括但不限于所述电子设备发生折叠或展开,相应的,所述预变形指令包括但不限于预展开指令或预折叠指令。在一些特定情况下,所述电子设备也可以仅进行弯曲而不进行折叠,例如,所述电子设备可以是弯折后电子设备的触控屏相对两边能够贴合或连接的屏幕,也即是说,安装有触控屏的电子设备也可以弯折成一个圆筒形。具体地,对于所述形变及相应预变形指令的设定可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
此外,需要说明的是,在本发明实施例中,所述触控操作包括:施加在所述触控屏上的定位操作和/或轨迹绘制操作。
在本发明实施例中,所述触控操作可以是在所述触控屏上的定位操作或者在所述触控屏上的轨迹绘制操作。所述定位操作包括但不限于:所述触控屏的单个位置或同时多个位置上的单击、双击、长按等操作。所述轨迹绘制操作包括但不限于:所述触控屏上的滑动等操作。在所述触控屏上进行单击、滑动、长按或多点同时触摸等操作时,会在所述触控屏产生一定的定位或轨迹,触控屏可通过获取所述定位或轨迹来获取并判断所述触控操作。
进一步地,在本发明一实施例中,所述预设的触控操作指的是用户 在所述触控屏上进行的特定的触控操作,或所述预设的触控操作为特定区域内接收到预设的手势操作,即当所述预设的触控操作/所述预设的手势操作为在触控屏预设位置上的定位或在触控屏上的预设轨迹时,所述触控屏在获取到所述定位或所述轨迹后,生成并输出该预变形指令。
例如,当触控屏显示画面中的某一特定的触控按钮接收到定位操作时,触控屏则输出该预变形指令。或者,当触控屏接收到轨迹操作,且所述轨迹操作为预设的“Z”字轨迹时,触控屏则输出该预变形指令。当电子设备的处理器接收到该预形变指令时便获知该电子设备将发生形变。电子设备发生形变具体为受外力如用户所施加的外力或内驱动力如动力装置所提供的形变力使电子设备由折叠状态进入展开状态或由展开状态进入折叠状态。
步骤120:在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令。
在本发明实施例中,在所述触控屏被用户执行预设的触控操作,所述触控屏响应所述预设的触控操作生成预变形指令,随后(即该预形变指令生成后的一预设时间间隔内)在所述电子设备发生形变的期间,若用户还对所述触控屏施加了触控操作,所述触控屏响应触控操作生成相应新的触控指令,所述电子设备则忽略所述触控指令,即所述电子设备不对所述触控指令作出任何响应。
在其他的一些实施例中,所述忽略所述触控屏响应用户操作所生成的触控指令可以是对所有的所述触控指令进行忽略,在一些特定的情况下,也可以是对部分的所述触控指令忽略。例如,在所述电子设备发生形变且形变执行到某一程度,需要系统对一些特定的触控指令进行响应时,获取到该特定的触控指令时不忽略该指令,所述电子设备执行该特定的触控指令。具体地,是否对于所有的所述触控指令进行忽略,或者 执行部分触控指令,可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
本发明实施例中提供的交互控制方法通过响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变,在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令,从而能够在用户执行对电子设备的折叠或展开等变形操作时,对触控指令进行有效规避,从而实现防误触,提高用户体验。
在一些实施例中,所述触控屏为柔性显示屏。也即,电子设备为柔性可折叠设备。当电子设备发生形变时,该柔性显示屏也一并发生形变。请参见图2,图2是本发明一实施例提供的触控面板的示意图,所述触控面板10a包括控制面板A,所述控制面板A包括至少一个控制按钮(a1、a2、a3、a4、a5和a6)。
在本发明实施例中,用于控制电子设备即将发生折叠形变的预折叠按钮,以及用于控制电子设备即将发生展开形变的预展开按钮可以是不同的两个按钮,也可以是同一个按钮。例如,所述预折叠按钮可以是图2所述控制面板A中的控制按钮a1,所述预展开按钮可以是图2所述控制面板A中的控制按钮a2。或者,所述预折叠按钮和所述预展开按钮均是控制按钮a1。所述控制按钮a1在切换至不同的控制模式时可以设置成不同的背景、文字或图标。
请一并参见图3,图3是图1中的步骤110和步骤120具体的子流程图。其中,所述步骤110具体包括两种情况:
第一种情况下,所述触控屏上显示用于触发所述预形变指令的触控图标或触控按钮,例如,图2所示的各个控制按钮(a1、a2、a3、a4、a5和a6)的其中至少之一为用于触发所述预形变指令的触控图标或触 控按钮时,执行步骤111a:响应所述触控图标或触控按钮所接收到点击操作。该点击操作可为单击或双击操作中的一种。
在对所述触控屏执行点击操作时,触控屏获取到所述点击操作落在所述触控屏上,所述触控屏输出响应用户操作所生成的触控指令。
例如,当用于触发所述预形变指令的触控图标或触控按钮为图2所述控制面板A中的控制按钮,如所述预折叠按钮为图2所述控制面板A中的控制按钮a1,所述预展开按钮为图2所述控制面板A中的控制按钮a2时,对所述控制按钮a1执行单击操作后,所述电子设备响应所述控制按钮a1所接收到单击操作,获取到所述电子设备将要发生展开形变的预变形指令,并在所述电子设备发生展开形变的过程中,忽略所述触控面板10a响应用户操作所生成的触控指令。或者,对所述控制按钮a2执行单击操作后,所述电子设备响应所述控制按钮a2所接收到单击操作,获取到所述电子设备将要发生折叠形变的预变形指令,并在所述电子设备发生折叠形变的过程中,忽略所述触控面板10a响应用户操作所生成的触控指令。
第二种情况下,当所述电子设备上设置有用于发出所述预形变指令的物理按钮,步骤111b具体包括:响应所述物理按钮接收到按压操作或滑动操作。
若对所述电子设备执行按压操作或滑动操作时,所述按压操作或滑动操作施加在所述用于发出所述预形变指令的物理按钮上,此时,所述电子设备响应所述物理按钮所接收到按压操作或滑动操作,获取预变形指令。
在一些实施例中,请继续参见图3,其中,所述步骤120具体包括以下步骤:
步骤121:在所述电子设备发生形变的过程中,在指令接收入口设 置过滤标签。在一上述方式中,该指令接收入口为触控指令接收入口。在其他实施方式中,该指令接收入口为输入指令接收入口。
步骤132:根据所述过滤标签忽略所述触控指令。
在本发明实施例中,响应预设的触控操作获取预变形指令时,说明所述电子设备将要发生形变。由于在所述电子设备发生形变的期间,所述触控屏上可能会因误触产生触控操作,因而,系统需要设定在所述电子设备发生形变的期间,所述触控屏不对所述触控操作产生的触控指令进行响应。因而,可以在所述系统的触控指令接收入口处设置过滤标签。当所述触控屏上产生触控操作时,会输出相应的触控指令,所述触控指令在所述电子设备的触控指令接收入口处要进入所述电子设备的系统时,由于所述过滤标签的存在,所述电子设备会主动将所述触控指令进行过滤,使得所述触控指令无法进入到所述电子设备的系统,从而不会对所述触控指令进行输送或执行。
此外,所述过滤标签也可以设置成对特定触控指令进行放行的过滤标签。例如,展开或折叠所述电子设备至一定角度时,需要对该状态下的所述触控屏进行操作或显示时,此时在触控屏上进行特定的触控操作,使得所述触控屏产生特定的触控指令,所述过滤标签能够对该特定的触控指令放行,系统根据该触控指令进一步地指令或分析。
在一些实施例中,请参见图4,图4是本发明第二实施例提供的一种交互控制方法的流程图,所述交互控制方法在所述图1至图3所述的方法的基础上,还包括:
步骤130:确定所述电子设备的形变是否完成。
步骤140:在所述电子设备的形变完成后,删除所述过滤标签。
在本发明实施例中,在所述电子设备的形变完成后,需要恢复对触 控操作的正常响应,使得系统能够正常接收并执行触控指令。因而,还需要判断所述电子设备的形变是否完成,在所述电子设备的形变完成后,删除用于过滤触控指令的过滤标签,使得触控指令能够正常输入所述系统。
具体地,所述触控屏为包括形变区域的柔性显示屏,所述形变区域上设置有用于获取所述形变区域形变角度的角度传感器。所述形变区域上设置有用于获取所述形变区域形变量的应力感应器。所述确定所述电子设备的形变是否完成具体包括:判断所述应力感应器所感测到的应力在预设时间内是否发生改变;当所述应力未改变时,确定所述形变完成。
此外,在一些特定的情况下,所述电子设备的形变可能存在多个变形的阶段,以实现不同的功能。
一方面,可以通过设置对应不同预变形指令的触控指令,从而实现所述电子设备的形变执行至不同的变形的阶段时确定所述电子设备的形变是否执行完毕。
具体地,所述电子设备被折叠时,可能存在变形至半折叠的阶段,或者完全折叠的阶段。可以在所述触控屏上设置相应的半折叠控制按钮,单击该按钮时,所述触控屏被折叠至半折叠的阶段时确定变形完成,删除所述过滤标签。
以基于图2和图3步骤111a所述方法为例,例如,所述预折叠按钮可以是图2所述控制面板A中的控制按钮a1,所述半折叠控制按钮可以是图2所述控制面板A中的控制按钮a3。用户对控制按钮a3进行单击操作后,系统响应所述控制按钮a3所接收到的单击操作,在所述电子设备发生形变的过程中,在指令接收入口设置相应的过滤标志忽略触控指令,并在所述电子设备被折叠至半折叠阶段时删除所述过滤标签。
另一方面,也可以将所述电子设备变形至最终变形的阶段确定为所 述变形完成的标准,通过所述过滤标签设定能够通行的特定的触控指令,在所述电子设备变形至不同的变形的阶段时输出所述特定的触控指令,进而确定执行至某一阶段时所述变形操作已执行完毕。
具体地,在所述电子设备变形至半折叠阶段时,在所述触控屏上单击所述半折叠控制按钮或者输入特定轨迹,从而输出相应的特定的触控指令,系统通过所述特定的触控指令确定所述变形完成,进而删除所述过滤标签。所述特定的触控指令为电子设备停止继续变形的指令。
以基于图2和图3步骤111a所述方法为例,例如,所述预折叠按钮可以是图2所述控制面板A中的控制按钮a1,所述半折叠控制按钮可以是图2所述控制面板A中的控制按钮a3。用户对控制按钮a1进行单击操作后,系统响应所述控制按钮a1所接收到的单击操作,在所述电子设备发生形变的过程中,在指令接收入口设置相应的过滤标志忽略触控指令,用户在所述电子设备被折叠至半折叠阶段时对所述控制按钮a3进行单击操作,输出特定的触控指令,系统通过所述特定的触控指令确定所述电子设备停止继续变形,系统确定所述变形完成,进而删除所述过滤标签。
在一些实施例中,请参见图5,图5是本发明一实施例提供的柔性触控屏的示意图,所述柔性触控屏10b的显示区域包括变形区域11和非变形区域12a和非变形区域12b。该非变形区域12a和非变形区域12b分别位于变形区域11正对的两侧。柔性触控屏10b可在变形区域11进行折叠或展开。
在其他的一些实施例中,所述柔性触控屏可根据实际需要设置可变形区域的数量,例如,在图2所示的柔性触控屏10b中,还可以在所述非变形区域12a和非变形区域12b上设置平行于所述变形区域11且与 所述变形区域11大小一致的其他变形区域,使得所述电子设备能够实现进一步的折叠或展开。
请一并参阅图6,图6是图4中的步骤130的具体子流程图,所述步骤130具体包括:
步骤141:实时获取所述变形区域的角度变化值。
步骤142:在所述角度变化值达到预定阈值或所述角度变化值在预设的时间间隔内未发生变化时,确定所述形变完成。
在本发明实施例中,进行触控操作且能够输出触控指令的触控屏还可以是如图5所述的柔性触控屏10b,所述电子设备被折叠或展开时,所述变形区域11会弯折产生角度变化,通过设置在形变区域11上的角度传感器或应力传感器实时监测该变形区域11角度变化产生的角度变化值或应力变化值,可以确定所述形变是否完成。
在本发明实施方式中,所述角度变化为所述变形区域的角度变化。在其它实施方式中,所述角度变化为所述触控屏的两个相邻的非变形区域(例如12a和12b)之间的角度变化。在本发明实施例图5所示的柔性触控屏10b中,所述角度变化值和所述预定阈值的取值范围皆为0至360度。所述预设的时间间隔可根据实际所述柔性触控屏形变时角度变化的速度来设置。
例如,在所述电子设备完全展开或完全折叠,并需要对该电子设备进行完全折叠使得所述非变形区域12a的一面和所述非变形区域12b的一面完全贴和在一起时,需要将所述预定阈值设置为180度或360度,在实时监测到所述变形区域11的角度变化值达到180度或360度时,可以确定所述变形操作执行完毕。或者,也可以是将预设的时间间隔设置为三秒,在三秒内所述角度变化值未发生变化时,可以确定所述变形操作执行完毕。
此外,在一些特定的情况下,可以在所述电子设备变形至一定阶段时,执行特定的触控操作,使得系统判断所述变形操作执行完毕。例如,在所述电子设备完全折叠,且将所述预定阈值设置为180度时,若在所述电子设备变形至半折叠阶段,即角度变化值达到90度时,在柔性触控屏10b上单击特定的按钮或者输入特定的轨迹,使得在所述角度变化值达到90度时,判断所述变形完成。这类情况下,可以使所述电子设备形成一个90度的支架形态,此时,柔性触控屏10b可以在不遮挡显示画面的条件下,将所述电子设备呈金字塔状放置在桌面上。
在一些实施例中,请参见图7,图7是本发明第三实施例提供的一种交互控制方法的流程图,所述交互控制方法在所述图1至图6所述的方法的基础上,还包括以下步骤:
步骤150:确定所述电子设备形变完成后所述电子设备所处的状态。
在本发明实施例中,确定所述形变完成后,还可以进一步确定所述电子设备形变完成后所述电子设备所处的状态。如图6提供的方法所示,可以通过检测当前所述变形区域11的角度大小或所述非变形区域12a的和所述非变形区域12b显示界面之间的角度大小或所述角度变化值,进而确定电子设备形变后的所处的状态。所述电子设备所处的状态包括但不限于:折叠状态和展开状态。所述展开状态可以包括多种展开状态,根据所述变形区域11的角度大小或所述非变形区域12a的和所述非变形区域12b显示界面之间的角度大小或所述角度变化值确定不同的展开状态。
在其他的一些实施例中,所述触控屏形变后的所处的状态包括但不限于所述折叠形态和所述展开形态,所述电子设备根据对变形区域和非变形区域的多样化设置还可以呈现更多的形态,例如,中间空心的柱体 形态,具体地,可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
步骤170:根据所述电子设备的状态控制进入与所处状态相对应的工作模式。
确定所述电子设备所处的状态后,可根据所述电子设备所处的状态切换至不同的工作模式,具体地,在不同的工作模式下,显示画面在不同的触控屏的显示区域内进行显示。
例如,在所述非变形区域12a的和所述非变形区域12b显示界面之间的角度大小为180度时,可确定所述电子设备的状态为完全展开状态,此时,确定触控操作需要在整个柔性触控屏10b上进行,因此,柔性触控屏10b的变形区域11和非变形区域12a和非变形区域12b全部用于显示画面,所述柔性触控屏10b的变形区域11和非变形区域12a和非变形区域12b皆可进行触控操作,所述电子设备切换至全屏显示工作模式。
或者,在所述变形区域两侧的相邻的两块非变形区域的显示界面之间的夹角大小为90度时,可确定所述电子设备的变形状态为半展开/半折叠状态,此时,用户可以将所述电子设备稳定地放置在桌面上。以图5所示的柔性触控屏10b为例,即为所述非变形区域12a和12b的左右两对边可以贴合放置在桌面上,使得所述电子设备呈三角柱的形状稳定放置在桌面上。此时,确定触控操作需要在非变形区域上进行,所述柔性触控屏10b上的非变形区域全部用于显示画面且皆可进行触控操作,此时,所述电子设备切换至双屏显示的工作模式。
再或者,在所述变形区域两侧的相邻的两块非变形区域的显示界面之间的夹角大小为0度时,可确定所述电子设备的变形状态为完全折叠状态,此时,以图5所示的柔性触控屏10b为例,确定触控操作仅在非 变形区域12a或12b上进行,所述触控屏10上的仅一块非变形区域用于显示画面和进行触控操作,此时,所述电子设备切换至单屏显示的工作模式。
在本发明实施例中,所述变形区域两侧的相邻的两块非变形区域的显示界面之间的夹角大小可在0度至160度的范围内变化。
实施例二
请参见图11,图11是本发明实施例提供的一种交互控制装置的结构框图。该交互控制装置200包括但不限于:获取单元210、确定单元220和忽略单元230。其中,
所述获取单元210用于响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变。
所述忽略单元220用于在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令。
在一些实施例中,所述预设的触控操作为特定区域内接收到预设的手势操作。
在一些实施例中,所述触控屏上显示用于触发所述预形变指令的触控图标或触控按钮,所述获取单元210具体用于响应所述触控图标或触控按钮所接收到点击操作。
在一些实施例中,所述电子设备上设置有用于发出所述预形变指令的物理按钮,所述获取单元210具体用于响应所述物理按钮接收到按压操作或滑动操作。
在一些实施例中,所述忽略单元220具体用于在所述电子设备发生形变的过程中,在指令接收入口设置过滤标签;根据所述过滤标签忽略所述触控指令。
在一些实施例中,请参见图9,图9是本发明第二实施例提供的交互控制装置的结构框图,交互控制装置200还包括:删除单元230和切换单元240。
所述删除单元230用于:确定所述电子设备的形变是否完成;在所述电子设备的形变完成后,删除所述过滤标签。
在一些实施例中,所述触控屏为柔性显示屏,包括变形区域,所述删除单元230具体用于实时获取所述变形区域的角度变化值;在所述角度变化值达到预定阈值或所述角度变化值在预设的时间间隔内未发生变化时,确定所述形变完成。
在一些实施例中,所述触控屏为包括形变区域的柔性显示屏,所述形变区域上设置有用于获取所述形变区域形变角度的角度传感器。
在一些实施例中,所述形变区域上设置有用于获取所述形变区域形变量的应力感应器。
在一些实施例中,所述删除单元230具体用于:判断所述应力感应器所感测到的应力在预设时间内是否发生改变;当所述应力未改变时,确定所述形变完成。
在一些实施例中,所述形变为所述电子设备由折叠状态进入展开状态时或由展开状态进入折叠状态时发生的状态改变。
所述切换单元240用于:确定所述电子设备形变完成后所述电子设备所处的状态,以及根据所述电子设备的状态控制进入与所处状态相对应的工作模式。
实施例三
请参见图10,图10是本发明第一实施例提供的一种电子设备的结构框图,该电子设备300包括:可折叠的触控屏310,存储器320,以 及控制器330,所述存储器320内存储有所述控制器330可读的交互控制指令,所述控制器330与所述触控屏310和存储器320电连接,控制器330控制器330所述控制器330能够执行如上述实施例一所述的交互控制方法。
需要说明的是,由于本实施例中的所述控制器330能够执行的交互控制方法与实施例一提供的交互控制方法基于相同的发明构思,此处不再详述。
所述控制器330为一个微型计算机,用于设定各种参数、获取各种参数、存储各种参数、接收各种信息、处理各种信息以及发送各种信息和指令。所述控制器330用于获取预变形指令并进行交互控制。所述控制器330可以是带有一定存储空间的处理器,处理器至少需要能够获取并处理触控指令,处理器的数据处理能力可以根据需求进行选择,不需要拘泥于本申请实施例的限定。
所述存储器320存储有可执行的防误触指令,该防误触指令可被一个或多个处理器执行,例如:被图10中的控制器330执行,可使得上述一个或多个处理器执行上述任意方法实施例中的交互控制方法,进一步的,执行上述实施例描述的图1中的方法步骤110至120、图3中的方法步骤111a至111b和步骤121至122、图4中的方法步骤130至140、图6中的方法步骤131至132和/或图7中的方法步骤150至160,实现图8和/或图9中的模块210至240的功能。
在实际的所述电子设备300执行如实施例一所述的交互控制方法的过程中,具体执行流程为:首先,所述控制器330通过所述触控屏310响应预设的触控操作获取预变形指令;然后,所述控制器330在所述电子设备发生形变的过程中,忽略所述触控屏310响应用户操作所生成的触控指令。
此外,执行完上述流程后,本发明实施例提供的电子设备300中的控制器330还可以确定所述变形操作是否执行完毕;在所述变形操作执行完毕后,删除所述过滤标签,正常执行触控操作相应的触控指令。所述控制器330还能够根据所述预变形指令,确定所述触控屏310变形完成后所述电子设备300的状态;根据所述电子设备300的状态切换至相应的工作模式。
本发明实施例中提供了一种电子设备,该电子设备通过触控屏响应预设的触控操作获取预变形指令,并且在所述电子设备发生形变的过程中,通过控制器忽略所述触控屏响应用户操作所生成的触控指令,进而能够在触控屏发生折叠或展开等形变时,对触控指令进行有效规避,从而实现防误触,提高用户体验。
本申请实施例还提供了一种非易失性计算机可读存储介质,其上存储有交互控制程序指令,当所述交互控制程序指令被计算机执行时,使所述计算机执行如上述实施例一所述的交互控制方法。该交互控制程序指令在被执行时,可包括上述各方法的实施例的流程。其中,所述非易失性计算机存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或不同实施例中的技术特征之间也可以进行组合,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例中所记载的技术方案进行修改,或者对其中区域技术特征 进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例中技术方案的范围。

Claims (14)

  1. 一种交互控制方法,应用于可折叠的电子设备,所述电子设备上设置有触控屏,其特征在于,所述交互控制方法包括:
    响应预设的触控操作获取预变形指令,所述预变形指令表明所述电子设备即将发生形变;
    在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令。
  2. 根据权利要求1所述的交互控制方法,其特征在于,所述预设的触控操作为特定区域内接收到预设的手势操作。
  3. 根据权利要求1所述的交互控制方法,其特征在于,所述触控屏上显示用于触发所述预形变指令的触控图标或触控按钮,所述响应预设的触控操作具体为:响应所述触控图标或触控按钮所接收到点击操作。
  4. 根据权利要求1所述的交互控制方法,其特征在于,
    所述电子设备上设置有用于发出所述预形变指令的物理按钮,所述响应预设的触控操作具体包括:
    响应所述物理按钮接收到按压操作或滑动操作。
  5. 根据权利要求1所述的交互控制方法,其特征在于,
    所述在所述电子设备发生形变的过程中,忽略所述触控屏响应用户操作所生成的触控指令,具体包括:
    在所述电子设备发生形变的过程中,在指令接收入口设置过滤标签;
    根据所述过滤标签忽略所述触控指令。
  6. 根据权利要求5所述的交互控制方法,其特征在于,所述交互控制方法还包括:
    确定所述电子设备的形变是否完成;
    在所述电子设备的形变完成后,删除所述过滤标签。
  7. 根据权利要求6所述的交互控制方法,其特征在于,
    所述触控屏为柔性显示屏,包括变形区域,所述确定所述电子设备的形变是否完成具体包括:
    实时获取所述变形区域的角度变化值;
    在所述角度变化值达到预定阈值或所述角度变化值在预设的时间间隔内未发生变化时,确定所述形变完成。
  8. 根据权利要求7所述的交互控制方法,其特征在于,所述触控屏为包括形变区域的柔性显示屏,所述形变区域上设置有用于获取所述形变区域形变角度的角度传感器。
  9. 根据权利要求8所述的交互控制方法,其特征在于,所述形变区域上设置有用于获取所述形变区域形变量的应力感应器。
  10. 根据权利要求9所述的交互控制方法,其特征在于,所述确定所述电子设备的形变是否完成具体包括:判断所述应力感应器所感测到的应力在预设时间内是否发生改变;当所述应力未改变时,确定所述形变完成。
  11. 根据权利要求1-10任一项所述的交互控制方法,其特征在于,所述形变为所述电子设备由折叠状态进入展开状态时或由展开状态进入折叠状态时发生的状态改变。
  12. 根据权利要求11所述的交互控制方法,其特征在于,所述交互控制方法还包括:
    确定所述电子设备形变完成后所述电子设备所处的状态,以及
    根据所述电子设备的状态控制进入与所处状态相对应的工作模式。
  13. 一种电子设备,其特征在于,包括:可折叠的触控屏,存储器, 以及控制器,所述存储器内存储有所述控制器可读的交互控制指令,所述控制器与所述触控屏和存储器电连接,所述控制器运行所述交互控制指令能够执行如上述权利要求1-12任一项所述的交互控制方法。
  14. 一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行的交互控制指令,所述交互控制指令被计算机执行时实现如上述权利要求1-12任一项所述的交互控制方法。
PCT/CN2019/093787 2019-06-28 2019-06-28 交互控制方法、电子设备及非易失性计算机可读存储介质 Ceased WO2020258270A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/093787 WO2020258270A1 (zh) 2019-06-28 2019-06-28 交互控制方法、电子设备及非易失性计算机可读存储介质
CN201980079828.1A CN113330400A (zh) 2019-06-28 2019-06-28 交互控制方法、电子设备及非易失性计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/093787 WO2020258270A1 (zh) 2019-06-28 2019-06-28 交互控制方法、电子设备及非易失性计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020258270A1 true WO2020258270A1 (zh) 2020-12-30

Family

ID=74059978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/093787 Ceased WO2020258270A1 (zh) 2019-06-28 2019-06-28 交互控制方法、电子设备及非易失性计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN113330400A (zh)
WO (1) WO2020258270A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461323A (zh) * 2014-12-29 2015-03-25 联想(北京)有限公司 一种信息处理方法及电子设备
CN105159523A (zh) * 2015-07-31 2015-12-16 小米科技有限责任公司 目标功能的开启方法、装置及系统
CN106095188A (zh) * 2016-06-24 2016-11-09 联想(北京)有限公司 一种控制方法及电子设备
CN107995968A (zh) * 2016-11-22 2018-05-04 深圳市柔宇科技有限公司 线控装置及用户终端的线控方法
CN108073321A (zh) * 2016-11-16 2018-05-25 富士施乐株式会社 显示装置和显示方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569707A (zh) * 2016-10-21 2017-04-19 深圳众思科技有限公司 基于触控屏的触控屏蔽方法和终端
CN109871147B (zh) * 2019-02-22 2020-12-01 华为技术有限公司 一种触摸屏的响应方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461323A (zh) * 2014-12-29 2015-03-25 联想(北京)有限公司 一种信息处理方法及电子设备
CN105159523A (zh) * 2015-07-31 2015-12-16 小米科技有限责任公司 目标功能的开启方法、装置及系统
CN106095188A (zh) * 2016-06-24 2016-11-09 联想(北京)有限公司 一种控制方法及电子设备
CN108073321A (zh) * 2016-11-16 2018-05-25 富士施乐株式会社 显示装置和显示方法
CN107995968A (zh) * 2016-11-22 2018-05-04 深圳市柔宇科技有限公司 线控装置及用户终端的线控方法

Also Published As

Publication number Publication date
CN113330400A (zh) 2021-08-31

Similar Documents

Publication Publication Date Title
CN113918260B (zh) 应用程序显示方法、装置及电子设备
KR102739759B1 (ko) 감겨질 수 있는 플렉서블 디스플레이에서 표시되는 화면을 제어하기 위한 전자 장치 및 방법
CN113748407B (zh) 用于显示提供分屏的对象的电子装置和方法
KR101495967B1 (ko) 다중의 터치 스크린들로부터의 제스처 입력을 하나의 제스처 입력으로 결합하는 방법, 시스템, 및 컴퓨터 프로그램 제품
JP6328947B2 (ja) マルチタスキング運用のための画面表示方法及びこれをサポートする端末機
US9495094B2 (en) Method and apparatus for inputting user commands using relative movements of device panels
EP2843535B1 (en) Apparatus and method of setting gesture in electronic device
TWI459281B (zh) 在使用者介面顯示上顯現教學動畫
JP6054892B2 (ja) 複数のディスプレイに対するアプリケーション画像の表示方法、電子機器およびコンピュータ・プログラム
JP5980913B2 (ja) エッジ・ジェスチャー
CN102197366B (zh) 子窗口显露和管理
WO2021066965A1 (en) Dynamic screen modes on a bendable computing device
US9013366B2 (en) Display environment for a plurality of display devices
CN102981747B (zh) 信息处理装置、信息处理方法和计算机程序
US20140198036A1 (en) Method for controlling a portable apparatus including a flexible display and the portable apparatus
US20110050599A1 (en) Electronic device with touch input function and touch input method thereof
WO2018040943A1 (zh) 显示数据的控制方法、装置和系统
CN106775313A (zh) 分屏操作控制方法及移动终端
JP2007240964A (ja) 表示装置
CN103513817A (zh) 一种触控设备及控制其配置操作模式的方法、装置
WO2014019207A1 (zh) Widget处理方法、装置及移动终端
US20220374146A1 (en) Extensions to global keyboard shortcuts for computing devices having multiple display regions
WO2016188317A1 (zh) 一种投影设备的控制方法、投影设备和计算机可读存储介质
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
WO2014141548A1 (ja) 表示制御

Legal Events

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

Ref document number: 19935181

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19935181

Country of ref document: EP

Kind code of ref document: A1