WO2020257979A1 - 防误触方法、电子设备及非易失性计算机可读存储介质 - Google Patents
防误触方法、电子设备及非易失性计算机可读存储介质 Download PDFInfo
- Publication number
- WO2020257979A1 WO2020257979A1 PCT/CN2019/092556 CN2019092556W WO2020257979A1 WO 2020257979 A1 WO2020257979 A1 WO 2020257979A1 CN 2019092556 W CN2019092556 W CN 2019092556W WO 2020257979 A1 WO2020257979 A1 WO 2020257979A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- flexible screen
- touch
- deformation
- preset
- preventing accidental
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
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 anti-mistouch method, an electronic device, and a non-volatile computer-readable storage medium that can be applied to an electronic device with a flexible screen.
- an embodiment of the present invention provides a method for preventing false touches, which is applied to an electronic device with a flexible screen, including:
- an embodiment of the present invention provides an electronic device, including: a foldable flexible screen, a memory, and a controller.
- the memory stores a protective device readable by the controller.
- a false touch instruction the controller is electrically connected to the flexible screen and a memory, and the controller executes the false touch prevention instruction to execute the method for preventing false touch as described in the first aspect.
- embodiments of the present invention provide a non-volatile computer-readable storage medium, the computer-readable storage medium stores a computer-executable anti-mistouch instruction, and the anti-mistouch instruction
- the mistouch instruction is used to implement the method for preventing mistouch as described in the first aspect when executed by a computer.
- the beneficial effect of the present invention is that the method for preventing false touches provided in the embodiments of the present invention determines whether the shape of the flexible screen undergoes a preset deformation when the flexible screen receives a touch operation. When there is the deformation, the touch command generated by the touch operation is ignored, so as to prevent accidental touch.
- the present invention executes the corresponding anti-mistouch solution by monitoring whether the flexible screen is deformed, so that when the deformation of the electronic device is detected, the touch operation can be effectively avoided and the user experience is improved.
- FIG. 1 is a flowchart of a method for preventing accidental touch provided by the first embodiment of the present invention
- FIG. 2 is a schematic diagram of a flexible screen provided by an embodiment of the present invention.
- FIG. 3 is a specific sub-flow chart of step 110 in FIG. 1;
- FIG. 4 is a specific sub-flow chart of step 120 in FIG. 1;
- FIG. 5 is a flowchart of a method for preventing false touches according to a second embodiment of the present invention.
- FIG. 6 is a flowchart of a method for preventing accidental touch provided by a third embodiment of the present invention.
- FIG. 7 is a flowchart of a method for preventing accidental touch provided by a fourth 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 a method for preventing accidental touch; this method determines whether the shape of the flexible screen undergoes a preset deformation when the flexible screen receives a touch operation, and when the deformation occurs, The touch command generated by the touch operation is ignored, so as to prevent accidental touch.
- the present invention executes the corresponding anti-mistouch solution by monitoring whether the flexible screen is deformed, so that when the deformation process of the electronic device is monitored, the touch operation can be effectively avoided and the user experience is improved.
- FIG. 1 is a flowchart of a method for preventing accidental touch provided by a first embodiment of the present invention, which is applied to an electronic device with a flexible screen.
- the method of preventing accidental touch includes but not limited to the following steps:
- Step 110 When the flexible screen receives a touch operation, determine whether the shape of the flexible screen undergoes a preset deformation.
- the flexible screen when the flexible screen receives a touch operation, that is, when the flexible screen is performing a touch operation, monitor whether the shape of the flexible screen is deformed, and determine the deformation Whether it is a preset deformation.
- the flexible screen undergoes a preset deformation, it will drive the electronic components or wiring attached and/or connected to the deformed area of the flexible screen to deform, or drive to be attached and/or connected to
- the sensor detects the deformation of the electronic components or the wiring or the mechanical structure to determine whether the flexible screen has a preset deformation.
- the preset deformation includes but is not limited to at least one of folding of the flexible screen and unfolding of the flexible screen.
- the folding of the flexible screen refers to the situation that the angle between the adjacent undeformed areas of the flexible screen becomes smaller, and the unfolding of the flexible screen refers to the difference between the adjacent undeformed areas of the flexible screen. The angle between them keeps getting bigger.
- the screen can also be bent without folding.
- the screen can be a screen that can be attached or connected to the two opposite sides of the screen after bending, that is, it is equipped with screen electronics.
- the device can also be bent into a cylindrical shape.
- Determining whether the shape of the flexible screen undergoes a preset deformation includes, but is not limited to, determining by detecting the deformation of electronic components or wiring or mechanical structure that are attached and/or connected to the area where the shape of the flexible screen is deformed Whether there is said deformation. Specifically, the execution of the deformation, the deformation of the flexible screen, the electronic components or wiring or mechanical structure that are attached and/or connected to the area where the shape of the flexible screen is deformed can be performed according to actual conditions. The setting does not need to be restricted to the limitation of the embodiment of the present invention.
- the touch operation includes: a positioning operation and/or a trajectory drawing operation applied on the flexible screen.
- the touch operation may be a positioning operation on the flexible screen or a trajectory drawing operation on the screen.
- the touch operation is an operation performed on the screen that can be sensed by the screen.
- the positioning operation includes, but is not limited to, operations such as tapping, double-clicking, and long-pressing on a single location or multiple locations on the flexible screen at the same time.
- the trajectory drawing operation includes, but is not limited to, operations such as sliding on the flexible screen.
- the touch operation is a touch operation of a user or a stylus on the touch screen.
- a certain positioning or trajectory will be generated on the flexible screen.
- the flexible screen can obtain and determine the position or trajectory by obtaining the position or trajectory Touch operation. For example, when a certain virtual button is clicked on the flexible screen, the flexible screen locates the position of the operation on the screen, and obtains the operation information carried by the positioning. Or, when drawing a specific track on the screen, the flexible screen saves the track and acquires the operation information carried by the track. Further, it is matched with the track stored in the electronic device to obtain the information corresponding to the specific track.
- the acquisition method of the positioning and trajectory, and the setting of information carried by different positioning and trajectories can be set according to actual needs, and do not need to be restricted to the limitations of the embodiment of the present invention.
- the touch operation may be an operation performed by a person or on the screen, or it may be a touch operation that is simulated on the screen when the screen receives a specific signal.
- the touch operation includes, but is not limited to, one of the positioning operation and the trajectory drawing operation. Specifically, it can be set according to actual needs and does not need to be limited to the limitations of the embodiments of the present invention.
- Step 120 When the flexible screen undergoes a preset deformation, ignore the touch command generated by the flexible screen in response to the touch operation.
- the control system provided in the electronic device does not make any response to the touch command.
- the touch command is a control command generated by the flexible screen when a touch operation is received on the flexible screen.
- the ignoring the touch command generated by the flexible screen in response to the touch operation may be ignoring all the touch commands.
- part of the touch command may also be ignored.
- the touch command is not ignored when the specific touch command is obtained, and the control system further transmits or executes The specific touch command.
- whether to ignore all the touch commands, or which touch commands are further transmitted or executed 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 screen after acquiring the positioning or trajectory, generates and outputs corresponding touch commands according to the information carried by the positioning and the trajectory information. For example, when a positioning operation corresponds to a special button in the current screen display, it is determined that the information carried by the positioning is to start, close or change the parameters that can be controlled by the special button, then output the start, close or change the corresponding parameter Touch command. Or, for example, when the track operation is a "Z" track, the control information carried by the "Z" track in the matching system is matched, and the corresponding parameters in the system are changed according to the control information.
- the setting of each icon or text in the screen display, the setting of the track set stored in the system, and the setting of the control information carried by the positioning or track are all
- the setting of the touch command carried in the control information can be set according to actual needs, and does not need to be restricted to the limitations of the embodiment of the present invention.
- the method for preventing accidental touch determines whether the shape of the flexible screen undergoes a preset deformation when the flexible screen receives a touch operation, and when there is such a deformation, the touch operation is ignored. Generate touch commands to prevent accidental touches.
- the present invention executes the corresponding anti-mistouch solution by monitoring whether the flexible screen is deformed, so that when the deformation of the electronic device is monitored, the touch operation can be effectively avoided and the user experience is improved.
- FIG. 2 is a schematic diagram of a flexible screen provided by an embodiment of the present invention.
- the display area of the flexible screen 10 includes a deformed area 11, a non-deformed area 12a and a non-deformed 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 screen 10 can be folded or unfolded in the deformation area 11.
- the flexible screen can set the number of deformable areas according to actual needs.
- the non-deformable area 12a and the non-deformable area 12b can also be set.
- Other deformation areas parallel to the deformation area 11 and the same size as the deformation area 11 are arranged on the upper side, so that the flexible screen 10 can be further folded or unfolded.
- the number, size, position, etc. of the deformation area set on the flexible screen can be set according to actual conditions, and does not need to be restricted to the limitations of the embodiment of the present invention.
- step 110 specifically includes:
- Step 111 Determine whether there is an angle change of the flexible screen, if yes, execute step 112; if not, then the process ends.
- the angle change is an angle change of the deformation area. In other embodiments, the angle change is the angle change between two adjacent non-deformable regions (for example, 12a and 12b) of the flexible screen.
- a sensor can be used to detect whether the electronic components or wiring or mechanical structure attached and/or connected to the deformed area 11 of the flexible screen is deformed to determine whether the deformed area 11 is deformed.
- a hinge may be provided on the back of the flexible screen 10 to realize the folding or unfolding of the flexible screen 10, and the hinge seat of the hinge may be arranged on the deformation area 11 to realize the non-deformation area 12a.
- the angle between the flexible screen 10 and the non-deformable area 12b changes, so that the flexible screen 10 deforms only in the deformed area 11. Further, by determining whether the hinge moves based on the hinge base, it is determined whether the flexible screen 10 has an angle change.
- the flexible screen includes, but is not limited to, the aforementioned electronic components or mechanical structure to achieve deformation, and determining whether there is an angular change in the deformed area is not limited to detection and determination by a sensor.
- how to implement the hardware device that deforms the flexible screen and what hardware device is used to detect whether there is an angle change in the deformed area 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 112 Obtain the speed of the angle change.
- the speed of the angle change of the deformed area is obtained by real-time monitoring within a preset time.
- the deformation situation of the flexible screen when the current deformation area is deformed is determined by the angle change speed. Specifically, by detecting the angle change value of the deformed area within a certain period of time, for example, 0.5 seconds, and further dividing the angle change value by the time period, the angle change value of the deformed area can be obtained. speed.
- other deformation data may also be detected to determine the deformation of the flexible screen when the deformation area is deformed.
- the angle change value may be detected, or the screen shown in Figure 2
- the non-deformed area 12a and the non-deformed area 12b of 10 are respectively selected at positions far away from the deformed area 11 to detect the linear distance between the two points to realize the detection between the non-deformed area 12a and the non-deformed area 12b.
- the angle size is Specifically, how to obtain the deformation of the flexible screen according to the deformation of the deformation area, and the acquisition method and calculation method of the above-mentioned angle change speed related parameters can be set according to actual needs, and do not need to be restricted to the limitations of the embodiments of the present invention.
- Step 113 Determine whether the angle change speed within the preset time interval when the flexible screen is deformed reaches a preset threshold, if yes, go to step 114; if not, go back to step 113.
- the preset threshold value can be set to 30 degrees/sec. If the angle change speed exceeds all According to the 30 degrees/second, it can be determined that the angle change speed reaches the preset threshold. For example, when the angle change value of the deformed area is 30 degrees within 0.5 seconds, the angle change speed is 30 degrees/0.5 seconds, that is, 60 degrees/second. At this time, the angle change speed exceeds the preset Threshold, and then determine that the flexible screen has a preset deformation.
- the preset time interval and preset threshold can be set according to actual conditions, and do not need to be restricted to the limitations of the embodiments of the present invention.
- Step 114 Determine that the preset deformation has occurred.
- the preset threshold when it is determined that the angular change speed reaches the preset threshold, it may be determined that the preset deformation has occurred, that is, there is deformation such as folding or unfolding on the flexible screen. If the rate of angle change does not reach the threshold, it is impossible to determine that the preset deformation has occurred, and it is possible to continue to monitor whether the deformation operation exists. Further, it is also possible to detect the size of the angle between the non-deformed areas on both sides of the current deformed area, so as to determine the current deformation of the flexible screen.
- the relationship between the preset threshold and the preset deformation can be set according to actual needs, and does not need to be restricted to the limitations of the embodiments of the present invention.
- FIG. 4 is a sub-flow chart of step 120 in FIG. 1 in an embodiment.
- the step 120 specifically includes:
- Step 121 When the flexible screen undergoes the deformation, a label for ignoring touch commands is set at the touch command receiving entry.
- Step 122 Ignore the touch command according to the label of the ignore touch command.
- the system needs to be set to not respond to the touch command generated by the touch operation when the flexible screen undergoes a preset deformation. Therefore, a tag that ignores the touch command can be set at the entrance of the system for receiving the touch command.
- a touch operation is generated on the flexible screen, a corresponding touch command is output.
- the tag that ignores the touch command can also be set as a filter tag for letting a specific touch command pass.
- a specific touch operation is performed on the screen at this time, so that the flexible screen generates a specific The touch command, the filter tag can release the specific touch command, and the system further analyzes or executes the touch command according to the touch command.
- the tag for ignoring the touch command can be set according to actual needs as to whether all touch commands need to be filtered or the specific settings of those touch commands can be released.
- the setting position of the label of the control instruction can be set according to actual needs, and does not need to be restricted to the limitation of the embodiment of the present invention.
- FIG. 5 is a flowchart of a method for preventing accidental touch provided by the second embodiment of the present invention. Based on the method for preventing accidental touch described in FIGS. 1 to 4, the embodiment of the present invention The provided method for preventing accidental touch further includes the following steps after step 120:
- Step 130a Determine whether the deformation is completed.
- Step 140a After the transformation is completed, delete the tag set at the touch command receiving entrance.
- the deformation it is possible to determine whether the deformation is completed by detecting whether there is an angle change on the current deformation area. If there is no angle change, the deformation is complete.
- the detecting whether there is an angle change on the deformed area currently is to monitor the angle change of the deformed area in real time after determining that the flexible screen is deformed, and within a certain period of time after the angle of the deformed area stops changing, When there is no angle change in the deformation area, it is determined that the deformation is completed.
- the deformation may have multiple deformation stages to achieve different functions.
- the deformation is determined to be completed when the deformation reaches different deformation stages.
- the flexible screen when it is folded, it can be folded to a half-folding stage or a fully folded stage.
- a half-folding control button may be set on the screen, and when the button is clicked, when the screen is folded to the half-folding stage, the deformation is determined to be completed, and the label is deleted.
- the deformation to the final deformation stage as the criterion for the completion of the deformation.
- the label By setting the label to a specific touch command that can pass, when the flexible screen is deformed to a different deformation stage Output the specific touch command, and then determine that the deformation is completed when the execution reaches a certain deformation stage.
- the filter tag is for the specific The touch command "release”, the system determines that the deformation is completed through the touch command, and then deletes the tag.
- how to determine whether the deformation is complete, the criteria for determining whether the deformation is complete, and the corresponding setting of the tag that ignores the touch command under related circumstances need to be set according to actual conditions. There is no need to be bound by the limitations of the embodiments of the present invention.
- FIG. 6 is a flowchart of a method for preventing accidental touch provided by a third embodiment of the present invention. Based on the method for preventing accidental touch described in FIGS. 1 to 4, the embodiment of the present invention The provided method for preventing accidental touch further includes the following steps after step 120:
- Step 130b Determine whether the angle change speed of the flexible screen deformed within a preset time interval is less than a preset threshold.
- Step 140b When the angle change speed is less than the preset threshold, delete the tag set at the touch command receiving entrance.
- the present invention can also determine whether the angle change speed of the flexible screen deformed within a preset time interval is less than a preset threshold. Whether the deformation is complete. If the angle change speed is less than the preset threshold, it indicates that the deformation is completed.
- the detecting whether the angular change speed of the flexible screen deformed within a preset time interval is less than a preset threshold is to monitor the change of the angular change speed of the deformed area in real time after determining that the flexible screen is deformed. After the angular change speed of the deformed area slows down to be less than the preset threshold, it is determined that the deformation is completed.
- the preset time interval is 0.5 seconds and the preset threshold is set to 5 degrees/second
- the angle change speed is within the If the angle change speed is lower than the 5 degrees/second, it can be determined that the deformation is completed. For example, when the angle change value of the deformed area drops to 1 degree within 0.5 seconds, the angle change speed is 1 degree/0.5 second, that is, 2 degrees/second.
- the preset threshold value is used to determine that the deformation is completed.
- the preset thresholds described in step 130b and step 140b and the preset thresholds described in step 113 and step 114 may be different from the above examples. In some other embodiments It can also be the same. Specifically, it can be set according to actual conditions, and does not need to be restricted to the limitations of the embodiments of the present invention.
- the deformation may have multiple deformation stages to achieve different functions.
- step 130a and step 140a describe the conditions of multiple deformation stages in detail, please refer to the related descriptions in step 130a and step 140a together.
- how to set the preset threshold value, the criteria for determining whether the deformation is completed, and the corresponding setting of the tag that ignores the touch command under related circumstances need to be set according to actual conditions. There is no need to be bound by the limitations of the embodiments of the present invention.
- FIG. 7 is a flowchart of a method for preventing accidental touch provided by a fourth embodiment of the present invention. Based on the method for preventing accidental touch described in FIGS. 1 to 6, an embodiment of the present invention The provided method of preventing accidental touch also includes the following steps:
- Step 150 Determine the shape of the flexible screen after deformation.
- the final form of the screen may be further determined.
- the current angle of the deformed area of the flexible screen or the angle between two adjacent non-deformed areas on both sides of the deformed area can be detected to determine that the screen is deformed.
- the form includes but is not limited to: folded form and unfolded form.
- the unfolding forms include multiple unfolding forms, and different unfolding forms can be determined according to the current angle of the deformed area or the angle between two adjacent non-deformed areas on both sides of the deformed area.
- the form of the flexible screen includes but is not limited to the folded form and the unfolded form, and the flexible screen can also present more shapes according to the diversified settings of the deformable area and the non-deformed area.
- the form for example, the form of a hollow cylinder in the middle, can be specifically set according to actual needs, and does not need to be restricted to the limitations of the embodiments of the present invention.
- Step 160 Switch the electronic device to a corresponding working mode according to the form of the flexible screen.
- the form of the flexible screen After the form of the flexible screen is determined, it can be switched to different working modes according to the form of the flexible screen. Specifically, in different working modes, the display screen is displayed in different screen display areas.
- the deformed state of the flexible screen is the fully expanded state.
- the touch operation needs to be performed on the entire flexible screen. All deformed and non-deformed areas on the flexible screen are used to display images, and all deformed and non-deformed areas on the flexible screen can be touched. At this time, the flexible screen is switched to the working mode of full screen display.
- 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 flexible screen is a half-expanded/half-folded state.
- the user can stably place the flexible screen on the desktop.
- the flexible screen shown in FIG. 2 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 flexible screen is stably placed on the desktop in the shape of a triangular column.
- the flexible screen is switched to dual-screen display Operating mode.
- the deformed state of the flexible screen is a fully folded state, at this time.
- the touch operation is only performed on the non-deformable area 12a or 12b, and only a non-deformable area on the flexible screen is used for displaying images and performing touch operations.
- the flexible screen is switched to a working mode of single-screen display.
- 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 180 degrees.
- the deformation state of the screen and the setting of the corresponding working mode, the current angular size of the deformed area of the flexible screen, or two adjacent non-deformed areas on both sides of the deformed area The angle between the two can be set according to actual needs, and the deformation state of the screen can be changed according to needs during use, without being restricted to the limitations of the embodiments of the present invention.
- FIG. 8 is a structural block diagram of an anti-mistouch device provided by the first embodiment of the present invention, which is applied to an electronic device with a flexible screen.
- the anti-error touch device 200 includes but is not limited to: a determination module 210 and an ignore module 220. among them,
- the determining module 210 is configured to determine whether the shape of the flexible screen undergoes a preset deformation when the flexible screen receives a touch operation.
- the ignoring module 220 is configured to ignore the touch command generated by the flexible screen in response to the touch operation when the flexible screen undergoes a preset deformation.
- the ignoring module 220 is connected to the determining module 210, and is used to obtain a determination instruction of whether the preset deformation occurs.
- the anti-mistouch device provided in the embodiment of the present invention determines whether the shape of the flexible screen has a preset deformation when the flexible screen receives the touch operation by the determining module, and when there is deformation, it is generated by ignoring the touch operation by the ignoring module Touch command to prevent accidental touch.
- the anti-mistouch device provided by the present invention executes the corresponding anti-mistouch scheme by monitoring whether the flexible screen is deformed, so that when the deformation of the electronic device is detected, the touch operation can be effectively avoided and the user experience can be improved.
- the determining module 210 is specifically configured to determine whether the angle change speed of the flexible screen within a preset time interval reaches a preset threshold when the flexible screen is deformed; When the preset threshold is described, it is determined that the preset deformation has occurred.
- FIG. 9 is a structural block diagram of an anti-mistouch device according to a second embodiment of the present invention.
- the anti-mistouch device 200 further includes: an acquisition module 230, a deletion module 240 and a switching module 250.
- the acquiring module 230 is specifically configured to acquire the speed of the angle change in a preset time interval when the flexible screen is deformed.
- the acquisition module 230 is connected to the determination module 210 and is configured to send the determination result of whether there is an angle change and the angle change speed to the determination module 210.
- the flexible screen includes a deformation area
- the angle change is an angle change of the deformation area.
- the ignoring module 220 is specifically configured to: when the flexible screen undergoes the deformation, set a label for ignoring touch commands at the touch command receiving entry; ignore the label for ignoring touch commands The touch command.
- the deletion module 240 is configured to determine whether the deformation is completed; after the deformation is completed, delete the tag set at the touch command receiving entrance.
- the deletion module 240 is connected to the ignore module 220, and is used to determine that the deformation is completed, and send an instruction to delete the label set by the ignore module 220 after the determination.
- the deletion module 240 is further configured to determine whether the angle change speed of the flexible screen within a preset time interval is less than a preset threshold; when the angle change speed is less than the preset threshold, determine that the deformation is completed.
- the switching module 250 is configured to: determine the shape of the flexible screen after deformation, the shape of the flexible screen includes a folded state or an unfolded state; switch the electronic device to and the flexible screen according to the shape of the flexible screen The corresponding working mode.
- the switching module 250 is connected to the determining module 210, and is configured to detect the current angular size of the deformed area of the flexible screen or the difference between two adjacent non-deformed areas on both sides of the deformed area after the deformation is completed. The size of the included angle between the screen determines the shape of the screen after performing the deformation operation, and switches to the corresponding working mode according to the shape of the flexible screen.
- the touch operation includes one of a positioning operation and a trajectory drawing operation applied on the flexible screen.
- the deformation includes at least one of folding of the flexible screen and unfolding of the flexible screen.
- FIG. 10 is a structural block diagram of an electronic device provided by the first embodiment of the present invention.
- the electronic device 300 includes: a foldable flexible screen 310, a memory 320, and a controller 330.
- the memory 320 stores The controller 330 can read an anti-mistouch instruction, the controller 330 is electrically connected to the flexible screen 310 and the memory 320, and the controller 330 can execute the anti-mistouch instruction as described in the first embodiment. The method of preventing accidental touch as described.
- mistouch prevention method executed by the controller 330 in this embodiment is based on the same inventive concept as the mistouch prevention method provided in the first embodiment, it will not be described in detail here.
- 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 determine whether there is a deformation operation on the flexible screen 310 and control whether to ignore the touch command collected by the flexible screen 310.
- 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 method for preventing accidental touch in any of the foregoing method embodiments, and further, execute the method steps 110 to 120 in FIG. 1, the method steps 111 to 114 in FIG. 3, and the method steps 121 to 121 in FIG. 4 described in the foregoing embodiment. 122.
- the method steps 130a to 140a in FIG. 5, the method steps 130b to 140b in FIG. 6, and/or the method steps 150 to 160 in FIG. 7 implement the functions of the modules 210 to 250 in FIG. 8 and/or FIG. 9 .
- the controller 330 detects that the flexible screen 310 receives a touch operation. At the same time, it reads and executes the mistouch prevention instructions stored in the memory 320, and monitors whether the foldable flexible screen 310 has a preset deformation in real time according to the mistouch prevention instructions. The change of the form can determine that there is a preset deformation of the flexible screen 310. At this time, the controller 330 controls the system to ignore the touch command generated by the touch operation.
- the controller 330 in the electronic device 300 provided by the embodiment of the present invention can also determine whether the deformation is completed; after the deformation is completed, the control system transmits or executes the touch command.
- the controller 330 can also determine the shape of the flexible screen 310 after performing the deformation; switch to a corresponding working mode according to the shape of the flexible screen 310.
- An embodiment of the present invention provides an electronic device.
- the electronic device can determine whether the shape of the flexible screen undergoes a preset deformation when the flexible screen receives a touch operation through the controller, and ignore the touch when there is deformation. Operate the generated touch commands to prevent accidental touches, thereby effectively monitoring the deformation process of the electronic device, effectively avoiding touch commands when deformation occurs, so as to prevent accidental touches and improve user experience.
- the embodiment of the present invention also provides a non-volatile computer-readable storage medium with an anti-mistouch program instruction stored thereon, and when the anti-mistouch program instruction is executed by a computer, the computer is executed as described above
- the mistouch prevention program instruction may include the procedures of the above-mentioned 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)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例涉及计算机技术领域,公开了一种防误触方法、电子设备及计算机可读存储介质。该方法通过在柔性屏幕接收到触控操作的同时确定柔性屏幕的形态是否发生预设的变形,且当存在变形时,忽略触控操作所生成触控指令,从而实现防误触。本发明通过监测柔性屏幕是否发生变形来执行相应的防误触方案,从而能够在监测到电子设备的变形过程,对触控操作进行有效规避,提高用户体验。
Description
本发明涉及计算机技术领域,特别涉及一种防误触方法、电子设备及非易失性计算机可读存储介质。
近年来,随着柔性屏幕技术的发展,以及柔性屏幕因可弯曲的特性逐渐被应用到越来越多的电子设备中。目前,在使用柔性屏幕的电子设备,比如移动终端时,通常需要对柔性屏幕进行弯折或者折叠,从而实现更多的功能,满足更多的需求。
然而,目前的设置有柔性屏幕的电子设备在用户折叠或展开柔性屏幕的过程中,因柔性屏幕被触摸而容易触发误操作。故此,有必要对此情景下的误操作提供一种解决方案。
发明内容
针对现有技术的上述缺陷,本发明的目的是提供一种能够应用于具有柔性屏幕的电子设备的防误触方法、电子设备及非易失性计算机可读存储介质。
本发明的目的是通过如下技术方案实现的:
为解决上述技术问题,第一方面,本发明实施例中提供了一种防误触方法,应用于具有柔性屏幕的电子设备,包括:
在所述柔性屏幕接收到触控操作时,确定所述柔性屏幕的形态是否发生预设的变形;
当所述柔性屏幕发生了预设的变形时,忽略所述柔性屏幕响应所述触控操作所生成的触控指令。
为解决上述技术问题,第二方面,本发明实施例中提供了一种电子设备,包括:可折叠的柔性屏幕,存储器,以及控制器,所述存储器内存储有所述控制器可读的防误触指令,所述控制器与所述柔性屏幕和存储器电连接,所述控制器运行所述防误触指令能够执行如上述第一方面所述的防误触方法。
为解决上述技术问题,第三方面,本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行的防误触指令,所述的防误触指令用于被计算机执行时实现如上述第一方面所述的防误触方法。
与现有技术相比,本发明的有益效果是:本发明实施例中提供的防误触方法通过在柔性屏幕接收到触控操作的同时确定所述柔性屏幕的形态是否发生预设的变形,当存在所述变形时,忽略所述触控操作所生成触控指令,从而实现防误触。本发明通过监测柔性屏幕是否发生变形来执行相应的防误触方案,从而能够在监测到电子设备发生变形时,对触控操作进行有效规避,提高用户体验。
一个或多个实施例中通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件/模块和步骤表示为类似的元件/模块和步骤,除非有特别申明,附图中的图不构成比例限制。
图1是本发明第一实施例提供的一种防误触方法的流程图;
图2是本发明一实施例提供的柔性屏幕的示意图;
图3是图1中的步骤110具体的子流程图;
图4是本图1中的步骤120具体的子流程图;
图5是本发明第二实施例提供的防误触方法的流程图;
图6是本发明第三实施例提供的防误触方法的流程图;
图7是本发明第四实施例提供的防误触方法的流程图;
图8是本发明第一实施例提供的防误触装置的结构框图;
图9是本发明第二实施例提供的防误触装置的结构框图;
图10是本发明第一实施例提供的电子设备的结构框图。
下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进。这些都属于本发明的保护范围。
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
需要说明的是,如果不冲突,本发明实施例中的各个特征可以相互结合,均在本申请的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。
除非另有定义,本说明书所使用的所有的技术和科学术语与属于本实用新型的技术领域的技术人员通常理解的含义相同。本说明书中在本实用新型的说明书中所使用的术语只是为了描述具体的实施方式的目的,不是用于限制本实用新型。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。
本发明的一实施例中提供了一种防误触方法;该方法通过在柔性屏 幕接收到触控操作的同时确定所述柔性屏幕的形态是否发生预设的变形,当所述变形发生时,忽略所述触控操作所生成的触控指令,从而实现防误触。本发明通过监测柔性屏幕是否发生变形来执行相应的防误触方案,从而能够在监测到电子设备的变形过程,对触控操作进行有效规避,提高用户体验。
具体地,下面结合附图,对本发明实施例作进一步阐述。
实施例一
请参见图1,图1是本发明第一实施例提供的防误触方法的流程图,应用于具有柔性屏幕的电子设备。该防误触方法包括但不限于以下步骤:
步骤110:在所述柔性屏幕接收到触控操作时,确定所述柔性屏幕的形态是否发生预设的变形。
在本发明实施例中,在柔性屏幕接收到触控操作的同时,也即是用于对所述柔性屏幕执行触控操作时,监听所述柔性屏幕的形态是否发生变形,并确定所述变形是否为预设的变形。在所述柔性屏幕发生了预设的变形的时候,会带动贴合和/或连接在所述柔性屏幕发生变形的区域上的电子元器件或者接线发生变形,或者带动贴合和/或连接在所述柔性屏幕发生变形的区域上的机械结构,如铰链等发生变形,通过传感器检测所述电子元器件或者接线或机械结构的变形情况,即可确定所述柔性屏幕是否发生预设的变形。
在其他的一些实施例中,所述预设的变形包括但不限于所述柔性屏幕的折叠和所述柔性屏幕的展开其中至少之一。所述柔性屏幕的折叠指的是所述柔性屏幕相邻未变形的区域之间的夹角不断变小的情况,所述柔性屏幕的展开指的是所述柔性屏幕相邻未变形的区域之间的夹角不断变大的情况。在一些特定情况下,所述屏幕也可以仅进行弯曲而不进 行折叠,例如,所述屏幕可以是弯折后屏幕两对边能够贴合或连接的屏幕,也即是说,安装有屏幕电子设备也可以弯折成一个圆筒形。确定所述柔性屏幕的形态是否发生预设的变形包括但不限于通过检测贴合和/或连接在所述柔性屏幕形态发生变形的区域上的电子元器件或者接线或者机械结构的变形情况来确定是否存在所述变形。具体地,所述变形的执行情况、所述柔性屏幕的形变情况、贴合和/或连接在所述柔性屏幕形态发生变形的区域上的电子元器件或者接线或者机械结构等可根据实际情况进行设置,不需要拘泥于本发明实施例的限定。
此外,需要说明的是,在本发明实施例中,所述触控操作包括:施加在所述柔性屏幕上的定位操作和/或轨迹绘制操作。
在本发明实施例中,所述触控操作可以是在所述柔性屏幕上的定位操作或者在所述屏幕上的轨迹绘制操作。所述触控操作为所述屏幕能够感知的在所述屏幕上进行的操作。所述定位操作包括但不限于:所述柔性屏幕的单个位置或同时多个位置上的点击、双击、长按等操作。所述轨迹绘制操作包括但不限于:所述柔性屏幕上的滑动等操作。
具体地,在本发明实施例中,所述触控操作为用户或触控笔对于触控屏幕的触摸操作。在所述柔性屏幕上进行点击、滑动、长按或多点同时触摸等操作时,会在所述柔性屏幕产生一定的定位或轨迹,柔性屏幕可通过获取所述定位或轨迹获取并判断所述触控操作。例如,在所述柔性屏幕上点击某一特定虚拟按钮时,所述柔性屏幕对该次操作在屏幕上的作用位置进行定位,并获取该定位携带的操作信息。或者,在所述屏幕上绘画特定轨迹时,所述柔性屏幕保存该轨迹,并获取该轨迹携带的操作信息。进一步地,与存储在电子设备中的轨迹进行匹配,进而得到该特定轨迹相应的信息。对于所述定位和轨迹的获取方式,以及对于不同定位和轨迹所携带信息的设定等可根据实际需要进行设定,不需要拘 泥于本发明实施例的限定。
在其他的一些实施例中,所述触控操作可以是人员和在屏幕上执行的操作,还可以是所述屏幕接收到特定信号时,在所述屏幕上模拟产生的触控操作,所述触控操作包括但不限于所述定位操作和所述轨迹绘制操作中之一,具体地,可根据实际需要进行设定,不需要拘泥于本发明实施例的限定。
步骤120:当所述柔性屏幕发生了预设的变形时,忽略所述柔性屏幕响应所述触控操作所生成的触控指令。
在本发明实施例中,在确定所述柔性屏幕发生预设的变形时,在所述变形发生的过程中,若所述柔性屏幕接收到了触控操作,则忽略所述触控操作所生成的相应的触控指令,电子设备中设置的控制系统不对所述触控指令作出任何响应。所述触控指令为所述柔性屏幕上接收到触控操作时所述柔性屏幕所生成的控制指令。
在其他的一些实施例中,所述忽略所述柔性屏幕响应所述触控操作所生成的触控指令可以是对所有的所述触控指令忽略。在一些特定的情况下,也可以是对部分的所述触控指令忽略。例如,在所述变形被执行到某一程度时,需要系统对一些特定的触控指令进行响应时,获取到所述特定的触控指令时不忽略该触控指令,控制系统进一步传输或执行所述特定的触控指令。具体地,是否对于所有的所述触控指令忽略,或者对哪些触控指令进一步传输或执行,可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
进一步地,在本发明实施例中,所述屏幕在获取到定位或轨迹,根据所述定位携带的信息和轨迹信息,生成并输出相应的触控指令。例如,当一定位操作对应于当前屏幕显示画面中的某一特殊按钮时,确定该定位携带的信息是启动、关闭或改变该特殊按钮可控制的参数,则输出启 动、关闭或改变对应参数的触控指令。或者,例如,所述轨迹操作为一“Z”字轨迹时,匹配系统中所述“Z”字轨迹携带的控制信息,根据该控制信息改变系统中的相应参数。
在其他的一些实施例中,对于所述屏幕显示画面中各图标或文字的设定,对于系统中存储的轨迹集合的设定,对于所述定位或轨迹携带的控制信息的设定,对于所述控制信息携带的触控指令的设定等可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
本发明实施例中提供的防误触方法通过在柔性屏幕接收到触控操作的同时确定所述柔性屏幕的形态是否发生预设的变形,当存在所述变形时,忽略所述触控操作所生成触控指令,从而实现防误触。本发明通过监测柔性屏幕是否发生变形来执行相应的防误触方案,从而能够在监测到电子设备的发生变形时,对触控操作进行有效规避,提高用户体验。
在一些实施例中,请参见图,图2是本发明实施例提供的一种柔性屏幕的示意图。所述柔性屏幕10的显示区域包括变形区域11和非变形区域12a和非变形区域12b。该非变形区域12a和非变形区域12b分别位于变形区域11正对的两侧。柔性屏幕10可在变形区域11进行折叠或展开。
在其他的一些实施例中,所述柔性屏幕可根据实际需要设置可变形区域的数量,例如,在图2所示的柔性屏幕10中,还可以在所述非变形区域12a和非变形区域12b上设置平行于所述变形区域11且与所述变形区域11大小一致的其他变形区域,使得所述柔性屏幕10能够实现进一步的折叠或展开。具体地,所述柔性屏幕上变形区域设置的数量、大小、位置等可根据实际情况进行设置,不需要拘泥于本发明实施例的限定。
请参见图3,图3所示为一上述方式中步骤110具体的子流程图。所述步骤110具体包括:
步骤111:判断所述柔性屏幕是否存在角度变化,若是,则执行步骤112;若否,则流程结束。
在本实施方式中,所述角度变化为所述变形区域的角度变化。在其它实施方式中,所述角度变化为所述柔性屏幕的两个相临的非变形区域(例如12a和12b)之间的角度变化。
在本发明实施例中,可以通过传感器检测贴合和/或连接在所述柔性屏幕的变形区域11上的电子元器件或者接线或者机械结构的是否存在变形,来判断所述变形区域11上是否存在角度变化。例如,可以在所述柔性屏幕10的背面设置有铰链用于实现柔性屏幕10的折叠或展开,且将所述铰链的铰链座设置在所述变形区域11上,以实现所述非变形区域12a和非变形区域12b之间的角度发生变化,使得柔性屏幕10仅在所述变形区域11出现形变。进一步地,通过确定所述铰链基于所述铰链座是否发生运动,从而确定所述柔性屏幕10是否存在角度变化。
在其他的一些实施例中,所述柔性屏幕包括但不限于通过上述电子元器件或机械结构实现变形,判断所述变形区域是否存在角度变化也不仅限于通过传感器进行检测判断。具体地,如何实现柔性屏幕变形的硬件装置和采用什么硬件装置检测所述变形区域是否存在角度变化可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
步骤112:获取所述角度变化的速度。
在本发明实施例中,在监测的到所述柔性屏幕的变形区域存在角度变化时,在预设时间内实时监测获取所述变形区域的角度变化的速度。通过所述角度变化速度来判断当前变形区域存在形变时所述柔性屏幕的形变情况。具体地,可以通过检测在一定时间段内,例如0.5秒内所 述变形区域的角度变化值,进一步的将所述角度变化值和所述时间段相除,得到所述变形区域的角度变化的速度。
在其他的一些实施例中,也可以通过检测其他变形数据用于判断所述变形区域存在形变时所述柔性屏幕的形变情况,例如,可以通过检测所述角度变化值,或者在上述图2屏幕10的非变形区域12a和非变形区域12b远离所述变形区域11的位置上分别选定两个点,检测两个点之间的直线距离进而实现检测非变形区域12a和非变形区域12b之间的角度大小。具体地,如何根据变形区域的形变情况得到柔性屏幕的形变情况,以及上述角度变化速度相关参数的获取方法及计算方法可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
步骤113:判断所述柔性屏幕变形时在预设时间间隔内的角度变化速度是否达到预设阈值,若是,则执行步骤114;若否,则返回步骤113。
在本发明实施例中,还需要判断所述变形区域在预设时间间隔内的角度变化速度是否超过预设阈值,进而确定所述柔性屏幕的形变情况。以上述检测在0.5秒内所述变形区域的角度变化值为例,在预设时间间隔为0.5秒时,可设定所述预设阈值为30度/秒,若所述角度变化速度超过所述30度/秒,即可确定所述角度变化速度达到所述预设阈值。例如,在0.5秒内所述变形区域的角度变化值为30度时,所述角度变化速度即为30度/0.5秒,即60度/秒,此时所述角度变化速度超过所述预设阈值,进而确定所述柔性屏幕产生了预设的形变。
在其他的一些实施例中,所述预设时间间隔和预设阈值的设定可根据实际情况进行设置,不需要拘泥于本发明实施例的限定。
步骤114:确定发生了所述预设的变形。
在本发明实施例中,在确定所述角度变化速度达到所述预设阈值时,可以确定发生了所述预设的变形,即所述柔性屏幕上存在折叠或展开等 变形。若所述角度变化速度未达到所述阈值,则无法确定发生了所述预设的变形,可继续监测是否存在所述变形操作。进一步地,还可以检测当前所述变形区域两侧非变形区域之间的角度大小,进而确定当前柔性屏幕的形变情况。
在其他的一些实施例中,所述预设阈值与所述预设的变形之间的关系可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
在一些实施例中,请参见图4,图4是图1中的步骤120在一实施方式中具的子流程图。所述步骤120具体包括:
步骤121:在所述柔性屏幕发生所述变形时,在触控指令接收入口设置忽略触控指令的标签。
步骤122:根据所述忽略触控指令的标签忽略所述触控指令。
在本发明实施例中,确定所述柔性屏幕发生了所述变形时,由于在所述柔性屏幕发生预设的变形的期间,所述柔性屏幕上用户可能会因误触产生触控操作,因而,系统需要设定为在所述柔性屏幕发生预设的变形时,不对所述触控操作产生的触控指令进行响应。因此,可以在所述系统的触控指令接收入口处设置忽略所述触控指令的标签。当所述柔性屏幕上产生触控操作时,会输出相应的触控指令,所述触控指令在所述系统的触控指令接收入口处要进行所述系统时,由于所述忽略所述触控指令的标签的存在,主动将所述触控指令进行过滤,使得所述触控指令无法进入控制系统,从而系统不需要对所述触控指令进行输送或执行。
此外,所述忽略所述触控指令的标签也可以设置成对特定触控指令进行放行的过滤标签。例如,展开或折叠所述柔性屏幕至一定角度时,且需要对该状态下的所述屏幕进行操作或显示时,此时在屏幕上执行特定的触控操作,使得所述柔性屏幕产生特定的触控指令,所述过滤标签 能够对该特定的触控指令放行,系统根据该触控指令进一步地分析或执行。
在其他的一些实施例中,所述忽略所述触控指令的标签对于是否需要过滤所有触控指令、或者可以放行那些触控指令的具体设置可根据实际需要进行设置,所述忽略所述触控指令的标签的设置位置可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
在一些实施例中,请参见图5,图5是本发明第二实施例提供的一种防误触方法的流程图,基于图1至图4所述的防误触方法,本发明实施例提供的防误触方法在步骤120之后还包括以下步骤:
步骤130a:确定所述变形是否完毕。
步骤140a:在所述变形完毕后,删除所述设置于所述触控指令接收入口的标签。
在本发明实施例中,可以通过检测当前所述变形区域上是否存在角度变化,进而确定所述变形是否完毕。若不存在角度变化,说明所述变形完毕。所述检测当前所述变形区域上是否存在角度变化,是在确定所述柔性屏幕发生变形后,实时监测变形区域的角度变化情况,在所述变形区域的角度停止变化后的一定时间内,所述变形区域上不存在角度变化时,确定所述变形完毕。
在所述变形完毕后,需要恢复对触控操作的正常响应,使得系统能够正常接收并执行触控指令。因而,还需要在所述变形完毕后,删除用于过滤触控指令的设置于所述触控指令接收入口的忽略所述触控指令的标签,使得触控指令能够正常输入所述系统。
此外,在一些特定的情况下,所述变形可能存在多个变形阶段,以实现不同的功能。一方面,可以通过设置对应不同预变形指令的触控指 令,从而实现变形至不同变形阶段时确定变形完毕。
例如,所述柔性屏幕折叠时,可执行折叠至半折叠阶段,或者完全折叠阶段。可以在所述屏幕上设置半折叠控制按钮,点击该按钮时,所述屏幕被执行折叠至半折叠阶段时确定变形完毕,删除所述标签。
另一方面,也可以将变形至最终变形阶段确定为所述变形完毕的标准,通过将所述标签设定为能够通行的特定的触控指令,在所述柔性屏幕变形至不同的变形阶段时输出所述特定的触控指令,进而确定执行至某一变形阶段时所述变形完毕。
例如,在所述屏幕被执行折叠至半折叠阶段时,在所述屏幕上点击所述半折叠控制按钮或者输入特定轨迹,从而输出相应的特定的触控指令,所述过滤标签对所述特定的触控指令“放行”,系统通过该触控指令确定所述变形完毕,进而删除所述标签。
在其他的一些实施例中,如何判断所述变形是否完毕、确定所述变形是否完毕的标准、以及相关情况下对于所述忽略触控指令的标签的相应设定,需要根据实际情况进行设置,不需要拘泥于本发明实施例的限定。
在一些实施例中,请参见图6,图6是本发明第三实施例提供的一种防误触方法的流程图,基于图1至图4所述的防误触方法,本发明实施例提供的防误触方法在步骤120之后还包括以下步骤:
步骤130b:判断所述柔性屏幕在预设时间间隔内变形的角度变化速度是否小于预设阈值。
步骤140b:当所述角度变化速度小于所述预设阈值,删除设置于所述触控指令接收入口的标签。
在本发明实施例中,区别于上述步骤130a和步骤140a所述的方法, 本发明还可以通过检测所述柔性屏幕在预设时间间隔内变形的角度变化速度是否小于预设阈值,进而确定所述变形是否完毕。若所述角度变化速度小于所述预设阈值,说明所述变形完毕。所述检测所述柔性屏幕在预设时间间隔内变形的角度变化速度是否小于预设阈值,是在确定所述柔性屏幕发生变形后,实时监测变形区域的角度变化速度的变化情况,在所述变形区域的角度变化速度放慢到小于所述预设阈值后,确定所述变形完毕。
以检测在0.5秒内所述变形区域的角度变化值为例,在预设时间间隔为0.5秒时,且设定的所述预设阈值为5度/秒时,若角度变化速度在所述角度变化速度低于所述5度/秒,则可以确定所述变形完毕。例如,在0.5秒内所述变形区域的角度变化值为降到1度时,所述角度变化速度即为1度/0.5秒,即2度/秒,此时所述角度变化速度低于所述预设阈值,进而确定所述变形完毕。
在本发明实施例中,需要说明的是,步骤130b和步骤140b所述的预设阈值与步骤113和步骤114所述的预设阈值可以如上举例是不相同的,在其他的一些实施例中也可以是相同的。具体地,可根据实际情况进行设置,不需要拘泥于本发明实施例的限定。
且有,在所述变形完毕后,需要恢复对触控操作的正常响应,使得系统能够正常接收并执行触控指令。因而,还需要在所述变形完毕后,删除用于过滤触控指令的设置于所述触控指令接收入口的忽略所述触控指令的标签,使得触控指令能够正常输入所述系统。
此外,在一些特定的情况下,如上步骤130a和步骤140a中所述,所述变形可能存在多个变形阶段,以实现不同的功能。具体地,由于步骤130a和步骤140a对多个变形阶段的情况进行了详细描述,请一并参见步骤130a和步骤140a中的相关说明。
在其他的一些实施例中,如何设置所述预设阈值、确定所述变形是否完毕的标准、以及相关情况下对于所述忽略触控指令的标签的相应设定,需要根据实际情况进行设置,不需要拘泥于本发明实施例的限定。
在一些实施例中,请参见图7,图7是本发明第四实施例提供的一种防误触方法的流程图,基于图1至图6所述的防误触方法,本发明实施例提供的防误触方法还包括以下步骤:
步骤150:确定变形后所述柔性屏幕的形态。
在本发明实施例中,确定所述变形完毕后,还可以进一步确定所述屏幕的最终形态。例如,可以在变形完毕后通过检测所述柔性屏幕变形区域的当前角度大小或在所述变形区域两侧的相邻的两块非变形区域的之间的夹角大小,确定屏幕执行变形操作后的形态。所述形态包括但不限于:折叠形态和展开形态。所述展开形态包括多种展开形态,根据所述变形区域的当前角度大小或在所述变形区域两侧的相邻的两块非变形区域的之间的夹角大小能够确定不同的展开形态。
在其他的一些实施例中,所述柔性屏幕的形态包括但不限于所述折叠形态和所述展开形态,所述柔性屏幕根据对变形区域和非变形区域的多样化设置还可以呈现更多的形态,例如,中间空心的柱体形态,具体地,可根据实际需要进行设置,不需要拘泥于本发明实施例的限定。
步骤160:根据所述柔性屏幕的形态将所述电子设备切换至相应的工作模式。
确定所述柔性屏幕的形态后,可根据所述柔性屏幕的形态切换至不同的工作模式,具体地,在不同的工作模式下,显示画面在不同的屏幕显示区域进行显示。
例如,在所述变形区域两侧的相邻的两块非变形区域的显示界面之 间的夹角大小为180度时,可确定所述柔性屏幕的变形状态为完全展开状态,此时,确定触控操作需要在整个柔性屏幕上进行,所述柔性屏幕上的所有变形区域和非变形区域全部用于显示画面,所述柔性屏幕上的所有变形区域和非变形区域皆可进行触控操作,此时,所述柔性屏幕切换至全屏显示的工作模式。
或者,在所述变形区域两侧的相邻的两块非变形区域的显示界面之间的夹角大小为90度时,可确定所述柔性屏幕的变形状态为半展开/半折叠状态,此时,用户可以将所述柔性屏幕的稳定地放置在桌面上。以图2所示的柔性屏幕为例,即为所述非变形区域12a和12b的左右两对边可以贴合放置在桌面上,使得所述柔性屏幕呈三角柱的形状稳定放置在桌面上。此时,确定触控操作需要在非变形区域上进行,所述柔性屏幕上的非变形区域全部用于显示画面且皆可进行触控操作,此时,所述柔性屏幕切换至双屏显示的工作模式。
再或者,在所述变形区域两侧的相邻的两块非变形区域的显示界面之间的夹角大小为0度时,可确定所述柔性屏幕的变形状态为完全折叠状态,此时,以图2所示的柔性屏幕为例,确定触控操作仅在非变形区域12a或12b上进行,所述柔性屏幕上的仅一块非变形区域用于显示画面和进行触控操作,此时,所述柔性屏幕切换至单屏显示的工作模式。
在本发明实施例中,所述变形区域两侧的相邻的两块非变形区域的显示界面之间的夹角大小可在0度至180度的范围内变化。在其他的一些实施例中,所述屏幕的变形状态及相应的工作模式的设定、所述柔性屏幕变形区域的当前角度大小或在所述变形区域两侧的相邻的两块非变形区域的之间的夹角大小等可根据实际需要进行设置,使用时可以根据需要改变所述屏幕的变形状态,不需要拘泥于本发明实施例的限定。
实施例二
请参见图8,图8是本发明第一实施例提供的防误触装置的结构框图,应用于具有柔性屏幕的电子设备,该防误触装置200包括但不限于:确定模块210和忽略模块220。其中,
所述确定模块210用于在所述柔性屏幕接收到触控操作时,确定所述柔性屏幕的形态是否发生预设的变形。
所述忽略模块220用于当所述柔性屏幕发生了预设的变形时,忽略所述柔性屏幕响应所述触控操作所生成的触控指令。所述忽略模块220与所述确定模块210连接,用于获取是否发生所述预设的变形的确定指令。
本发明实施例中提供的防误触装置通过确定模块在柔性屏幕接收到触控操作的同时确定柔性屏幕的形态是否发生预设的变形,当存在变形时,通过忽略模块忽略触控操作所生成触控指令,从而实现防误触。本发明提供的防误触装置通过监测柔性屏幕是否发生变形来执行相应的防误触方案,从而能够在监测到电子设备的发生变形时,对触控操作进行有效规避,提高用户体验。
在一些实施例中,所述确定模块210具体用于:判断所述柔性屏幕变形时所述柔性屏幕在预设时间间隔内的角度变化速度是否达到预设阈值;在所述角度变化速度达到所述预设阈值时,确定发生了所述预设的变形。
在一些实施例中,请参见图9,图9是本发明第二实施例提供的防误触装置的结构框图,防误触装置200还包括:获取模块230、删除模块240和切换模块250。
所述获取模块230具体用于:在所述柔性屏幕形变时,获取预设时 间间隔内所述角度变化的速度。所述获取模块230与所述确定模块210连接,用于将是否存在角度变化的判断结果及所述角度变化速度发送至所述确定模块210。
在一些实施例中,所述柔性屏幕包括一变形区域,所述角度变化为所述变形区域的角度变化。在一些实施例中,所述忽略模块220具体用于:在所述柔性屏幕发生所述变形时,在触控指令接收入口设置忽略触控指令的标签;根据所述忽略触控指令的标签忽略所述触控指令。
所述删除模块240用于:确定所述变形是否完毕;在所述变形完毕后,删除所述设置于所述触控指令接收入口的标签。所述删除模块240与所述忽略模块220连接,用于确定所述变形完毕,并在确定后发送指令删除所述忽略模块220设置的标签。
所述删除模块240还用于:判断所述柔性屏幕在预设时间间隔内的角度变化速度是否小于预设阈值;当所述角度变化速度小于所述预设阈值,判断所述形变完毕。
所述切换模块250用于:确定变形后所述柔性屏幕的形态,所述柔性屏幕的形态包括折叠状态或展开状态;根据所述柔性屏幕的形态将所述电子设备切换至与所述柔性屏幕的形态相对应的工作模式。所述切换模块250与所述确定模块210连接,用于在变形完毕后通过检测所述柔性屏幕变形区域的当前角度大小或在所述变形区域两侧的相邻的两块非变形区域的之间的夹角大小,确定屏幕执行变形操作后的形态,并根据所述柔性屏幕的形态切换至相应的工作模式。
在一些实施例中,所述触控操作包括施加在所述柔性屏幕上的定位操作和轨迹绘制操作中之一。
在一些实施例中,所述变形包括所述柔性屏幕的折叠和所述柔性屏幕的展开其中至少之一。
实施例三
请参见图10,图10是本发明第一实施例提供的电子设备的结构框图,该电子设备300包括:可折叠的柔性屏幕310,存储器320,以及控制器330,所述存储器320内存储有所述控制器330可读的防误触指令,所述控制器330与所述柔性屏幕310和存储器320电连接,所述控制器330运行所述防误触指令能够执行如上述实施例一所述的防误触方法。
需要说明的是,由于本实施例中的所述控制器330能够执行的防误触方法与实施例一提供的防误触方法基于相同的发明构思,此处不再详述。
所述控制器330为一个微型计算机,用于设定各种参数、获取各种参数、存储各种参数、接收各种信息、处理各种信息以及发送各种信息和指令。所述控制器330用于确定所述柔性屏幕310是否存在变形操作并控制是否忽略所述柔性屏幕310采集到的触控指令。所述控制器330可以是带有一定存储空间的处理器,处理器至少需要能够获取并处理触控指令,处理器的数据处理能力可以根据需求进行选择,不需要拘泥于本申请实施例的限定。
所述存储器320存储有可执行的防误触指令,该防误触指令可被一个或多个处理器执行,例如:被图10中的控制器330执行,可使得上述一个或多个处理器执行上述任意方法实施例中的防误触方法,进一步的,执行上述实施例描述的图1中的方法步骤110至120、图3中的方法步骤111至114、图4中的方法步骤121至122、图5中的方法步骤130a至140a、图6中的方法步骤130b至140b和/或图7中的方法步骤150至160,实现图8和/或图9中的模块210至250的功能。
在实际的所述电子设备300执行如实施例一所述的防误触方法的过程中,具体执行流程为:首先,所述控制器330在检测到所述柔性屏幕310接收到触控操作的同时,读取并执行存储在存储器320中的防误触指令,根据所述防误触指令实时监测所述可折叠的柔性屏幕310的形态是否发生预设的变形,在所述柔性屏幕310存在形态的改变则可以确定存在改变所述柔性屏幕310发生了预设的变形时,此时,所述控制器330控制系统忽略所述触控操作所生成的触控指令。
此外,执行完上述流程后,本发明实施例提供的电子设备300中的控制器330还可以确定所述变形是否完毕;在所述变形完毕后,控制系统输送或执行所述触控指令。所述控制器330还能够确定执行所述变形后所述柔性屏幕310的形态;根据所述柔性屏幕310的形态切换至相应的工作模式。
本发明实施例中提供了一种电子设备,该电子设备通过控制器能够在柔性屏幕接收到触控操作的同时确定柔性屏幕的形态是否发生预设的变形,且当存在变形时,忽略触控操作所生成触控指令,从而实现防误触,从而能够有效地监测到电子设备的变形过程,在发生变形时对触控指令进行有效规避,从而实现防误触,提高用户体验。
本发明实施例还提供了一种非易失性计算机可读存储介质上,其上存储有防误触程序指令,当所述防误触程序指令被计算机执行时,使所述计算机执行如上述实施例一所述的防误触方法。该防误触程序指令在被执行时,可包括上述各方法的实施例的流程。其中,所述非易失性计算机存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或不同实施例中的技术特征之间也可以进行组合,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例中所记载的技术方案进行修改,或者对其中区域技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例中技术方案的范围。
Claims (12)
- 一种防误触方法,应用于具有柔性屏幕的电子设备,其特征在于,包括:在所述柔性屏幕接收到触控操作时,确定所述柔性屏幕的形态是否发生预设的变形;当所述柔性屏幕发生了预设的变形时,忽略所述柔性屏幕响应所述触控操作所生成的触控指令。
- 根据权利要求1所述的防误触方法,其特征在于,所述确定所述柔性屏幕的形态是否发生预设的变形,具体包括:判断所述柔性屏幕变形时所述柔性屏幕在预设时间间隔内的角度变化速度是否达到预设阈值;在所述角度变化速度达到所述预设阈值时,确定发生了所述预设的变形。
- 根据权利要求2所述的防误触方法,其特征在于,在判断所述柔性屏幕在预设时间间隔内的角度变化速度是否达到预设阈值之前,所述防误触方法还包括:在所述柔性屏幕形变时,获取预设时间间隔内所述角度变化的速度。
- 根据权利要求3所述的防误触方法,其特征在于,所述柔性屏幕包括一变形区域,所述角度变化为所述变形区域的角度变化。
- 根据权利要求1所述的防误触方法,其特征在于,所述当所述柔性屏幕发生了预设的变形时,忽略所述触控操作所生成的触控指令,具体包括:在所述柔性屏幕发生所述变形时,在触控指令接收入口设置忽略触控指令的标签;根据所述忽略触控指令的标签忽略所述触控指令。
- 根据权利要求5所述的防误触方法,其特征在于,所述防误触方法还包括:确定所述变形是否完毕;在所述变形完毕后,删除所述设置于所述触控指令接收入口的标签。
- 根据权利要求6所述的防误触方法,其特征在于,所述确定所述变形是否完毕包括:判断所述柔性屏幕在预设时间间隔内的角度变化速度是否小于预设阈值;当所述角度变化速度小于所述预设阈值,判断所述形变完毕。
- 根据权利要求7所述的防误触方法,其特征在于,所述防误触方法还包括:确定变形后所述柔性屏幕的形态,所述柔性屏幕的形态包括折叠状态或展开状态;根据所述柔性屏幕的形态将所述电子设备切换至与所述柔性屏幕的形态相对应的工作模式。
- 根据权利要求1所述的防误触方法,其特征在于,所述触控操作包括施加在所述柔性屏幕上的定位操作和轨迹绘制操作中之一。
- 根据权利要求1-9任一项所述的防误触方法,其特征在于,所述变形包括所述柔性屏幕的折叠和所述柔性屏幕的展开其中至少之一。
- 一种电子设备,其特征在于,包括:可折叠的柔性屏幕,存储器,以及控制器,所述存储器内存储有所述控制器可读的防误触指令,所述控制器与所述柔性屏幕和存储器电连接,所述控制器运行所述防误触指令能够执行如上述权利要求1-10任一项所述的防误触方法。
- 一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行的防误触指令,所述防误触指令被计算机执行时实现如上述权利要求1-10任一项所述的防误触方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/092556 WO2020257979A1 (zh) | 2019-06-24 | 2019-06-24 | 防误触方法、电子设备及非易失性计算机可读存储介质 |
| CN201980079764.5A CN113366425A (zh) | 2019-06-24 | 2019-06-24 | 防误触方法、电子设备及非易失性计算机可读存储介质 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/092556 WO2020257979A1 (zh) | 2019-06-24 | 2019-06-24 | 防误触方法、电子设备及非易失性计算机可读存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020257979A1 true WO2020257979A1 (zh) | 2020-12-30 |
Family
ID=74060475
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/092556 Ceased WO2020257979A1 (zh) | 2019-06-24 | 2019-06-24 | 防误触方法、电子设备及非易失性计算机可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113366425A (zh) |
| WO (1) | WO2020257979A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021223560A1 (zh) * | 2020-05-07 | 2021-11-11 | 华为技术有限公司 | 屏幕状态的控制方法及电子设备 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030098857A1 (en) * | 2001-11-28 | 2003-05-29 | Palm, Inc. | Detachable flexible and expandable display with touch sensor apparatus and method |
| CN105278902A (zh) * | 2014-07-25 | 2016-01-27 | Lg电子株式会社 | 移动终端及其控制方法 |
| CN107678661A (zh) * | 2017-10-19 | 2018-02-09 | 广东欧珀移动通信有限公司 | 显示数据内容的方法和装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109271059B (zh) * | 2018-08-24 | 2021-11-16 | 西安易朴通讯技术有限公司 | 屏幕的防误触方法、终端以及计算机可读存储介质 |
-
2019
- 2019-06-24 CN CN201980079764.5A patent/CN113366425A/zh active Pending
- 2019-06-24 WO PCT/CN2019/092556 patent/WO2020257979A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030098857A1 (en) * | 2001-11-28 | 2003-05-29 | Palm, Inc. | Detachable flexible and expandable display with touch sensor apparatus and method |
| CN105278902A (zh) * | 2014-07-25 | 2016-01-27 | Lg电子株式会社 | 移动终端及其控制方法 |
| CN107678661A (zh) * | 2017-10-19 | 2018-02-09 | 广东欧珀移动通信有限公司 | 显示数据内容的方法和装置 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021223560A1 (zh) * | 2020-05-07 | 2021-11-11 | 华为技术有限公司 | 屏幕状态的控制方法及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113366425A (zh) | 2021-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6333568B2 (ja) | センサを用いる近接動作認識装置及びその装置を用いた方法 | |
| KR102739759B1 (ko) | 감겨질 수 있는 플렉서블 디스플레이에서 표시되는 화면을 제어하기 위한 전자 장치 및 방법 | |
| KR102487389B1 (ko) | 제스쳐를 이용하여 화면을 제어하기 위한 폴더블 전자 장치 및 방법 | |
| JP6054892B2 (ja) | 複数のディスプレイに対するアプリケーション画像の表示方法、電子機器およびコンピュータ・プログラム | |
| US9596319B2 (en) | Simultaneous input system for web browsers and other applications | |
| US20140092015A1 (en) | Method and apparatus for manipulating a graphical user interface using camera | |
| CN105045417B (zh) | 中继设备和信息处理设备 | |
| US20220222029A1 (en) | Remote gesture control, input monitor, systems including the same, and associated methods | |
| KR100931403B1 (ko) | 손 동작에 의한 네트워크 상의 기기 및 정보 제어 시스템 | |
| US9916043B2 (en) | Information processing apparatus for recognizing user operation based on an image | |
| US20130346914A1 (en) | Information display apparatus and method of user device | |
| KR20150002786A (ko) | 제스처들을 이용한 디바이스와의 상호작용 | |
| CN103309594A (zh) | 一种触摸屏输入方法及电子设备 | |
| CN103797513A (zh) | 对内容的基于计算机视觉的双手控制 | |
| US20130167084A1 (en) | Information terminal, method of controlling information terminal, and program for controlling information terminal | |
| US9773329B2 (en) | Interaction with a graph for device control | |
| WO2011022014A1 (en) | Configuration of additional display devices | |
| KR20180006614A (ko) | 멀티-터치 디스플레이 패널 및 이를 제어하는 방법 | |
| US8922509B2 (en) | Operation of an electronic device with multiple display screens | |
| CN105278763A (zh) | 手势识别防误触的方法及装置 | |
| WO2020257979A1 (zh) | 防误触方法、电子设备及非易失性计算机可读存储介质 | |
| US9940900B2 (en) | Peripheral electronic device and method for using same | |
| CN107092433B (zh) | 触控一体机的触摸控制方法及装置 | |
| JP2017142564A (ja) | 情報処理装置、情報処理方法、及び、プログラム | |
| WO2020258270A1 (zh) | 交互控制方法、电子设备及非易失性计算机可读存储介质 |
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: 19935676 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: 19935676 Country of ref document: EP Kind code of ref document: A1 |