WO2023045576A1 - 触控处理方法、装置、存储介质及移动终端 - Google Patents

触控处理方法、装置、存储介质及移动终端 Download PDF

Info

Publication number
WO2023045576A1
WO2023045576A1 PCT/CN2022/109921 CN2022109921W WO2023045576A1 WO 2023045576 A1 WO2023045576 A1 WO 2023045576A1 CN 2022109921 W CN2022109921 W CN 2022109921W WO 2023045576 A1 WO2023045576 A1 WO 2023045576A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinates
frame
sliding
edge area
command
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/CN2022/109921
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to US18/693,534 priority Critical patent/US12287938B2/en
Publication of WO2023045576A1 publication Critical patent/WO2023045576A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • 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
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • G06F3/04142Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position the force sensing means being located peripherally, e.g. disposed at the corners or at the side of a touch sensing plate
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present application relates to the technical field of mobile terminals, and in particular to a touch processing method, device, storage medium and mobile terminal.
  • Mobile terminals have become an indispensable electronic product in people's lives.
  • applications on the mobile terminal There are various applications on the mobile terminal.
  • the operation of the application requires sliding operations, such as sliding left and right on the desktop, sliding on the edge to flip the webpage, and quickly sliding the direction keys in gun games. These operations are all related to the edge area of the mobile terminal, and touch sliding is initiated from the edge area of the mobile terminal.
  • the peripheral area of the display screen of the mobile terminal is set to have a radian.
  • Embodiments of the present application provide a touch processing method, device, storage medium and mobile terminal thereof, which make sliding operations smoother by adding dots in edge areas.
  • the embodiment of the present application provides a touch processing method, which is applied to a mobile terminal.
  • the display screen of the mobile terminal is set with a connected edge area and an adjacent edge area, and the edge area is located on the display screen. Peripheral position, the edge area surrounds the near edge area, the method includes:
  • a coordinate point is added at a position opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame.
  • the embodiment of the present application provides a touch processing device, which is applied to a mobile terminal.
  • the display screen of the mobile terminal is set with a connected edge area and an adjacent edge area, and the edge area is located on the display screen.
  • the peripheral position, the edge area surrounds the near edge area, the device includes:
  • a first receiving unit configured to receive a touch instruction of a touch input
  • a first judging unit configured to judge whether the touch command is a slide command, if not, perform a touch operation corresponding to the touch command, and if so, collect the coordinates of the first frame of the slide command;
  • a second judging unit configured to judge whether the first frame coordinates are located in the near-edge region, if not, perform a sliding operation corresponding to the sliding command, and if so, collect the second frame coordinates of the sliding command;
  • a third judging unit configured to judge whether the sliding direction of the sliding command is towards the edge area according to the first frame coordinates and the second frame coordinates, if yes, the sliding command is invalid, if not, then
  • the coordinates of the first frame are used as a reference, and a coordinate point is added at a position opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame.
  • the embodiment of the present application further provides a storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to execute the above touch processing method.
  • the embodiment of the present application also provides a mobile terminal, including a display screen, a processor, and a memory, and the display screen is set with a connected edge area and an area close to the edge, and the edge area is located on the display screen.
  • the edge area surrounds the edge area
  • the processor is electrically connected to the memory
  • the memory is used to store instructions and data
  • the processor is used to execute the above-mentioned touch processing method .
  • the embodiment of the present application also provides a touch processing method, which is applied to a mobile terminal.
  • the display screen of the mobile terminal is set with a connected edge area and an area close to the edge, and the edge area is located on the display screen.
  • the peripheral position, the edge area surrounds the near-edge area, the method includes:
  • the display screen displays startup screen information, and the touch command is invalid
  • a coordinate point is added at a position opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame.
  • the first frame coordinates of the sliding command input by the user are collected, and it is judged whether the first frame coordinates are located in the area close to the edge.
  • the coordinates of the second frame combined with the coordinates of the first frame and the second frame, judge whether the sliding direction of the sliding command satisfies the supplementary condition.
  • the coordinate point is complemented at a position opposite to the sliding direction and symmetrical to the coordinates of the second frame, so that the sliding operation corresponding to the sliding command is smoother.
  • FIG. 1 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a touch processing method provided by an embodiment of the present application.
  • FIG. 3 is another flow chart of a touch processing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a touch processing device provided by an embodiment of the present application.
  • Embodiments of the present application provide a touch processing method, device, storage medium, and mobile terminal, which are mainly used in mobile terminals in which the periphery of the display screen is set in an arc to solve the problem of sliding breakpoints and sliding delays caused by the setting of the arc. , making sliding smoother.
  • the touch processing method, device, storage medium and mobile terminal will be described in detail below.
  • FIG. 1 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.
  • the mobile terminal includes a display screen, a memory, and a processor.
  • the display screen is used to display the pages of the mobile terminal, and the memory and the processor are electrically connected.
  • the memory is used to store instructions and data
  • the processor is the core control element of the entire mobile terminal.
  • the mobile terminal can be a mobile phone without a border, the front of the mobile phone is covered by a display screen, and the surroundings of the display screen or the left and right sides of the display screen are arranged in arcs to improve the overall aesthetics of the mobile phone.
  • the display screen includes an edge area 100 and an area close to the edge 200, wherein the edge area 100 is located at a peripheral position of the display screen, and the peripheral position refers to the positions of the surrounding frames of the display screen or the positions of the left and right sides of the display screen, and the edge area 100 A border area 200 is enclosed.
  • the display screen not only includes the edge area 100 and the area near the edge 200 , but also includes the middle area 300 , the middle area 300 of the display screen is arranged in a plane, and the middle area 300 is surrounded by the area near the edge 200 .
  • the edge area 100 is set in a radian and has a small width, when the user starts to slide from the edge area 100 to the middle area 300, breakpoints are prone to occur, that is, the connecting line on the display screen of the sliding action It is not displayed in the edge area 100, or, due to the influence of touch factors and environmental factors, the variable of the touch difference in the edge area 100 is different from the flat area of the display screen, which makes the sliding delay and reduces the sliding effect.
  • FIG. 2 is a flow chart of a touch processing method provided by an embodiment of the present application.
  • the method is applied to the above-mentioned mobile terminal.
  • the display screen of the mobile terminal is set with connected edge areas and near-edge areas.
  • the edge area is located at the periphery of the display screen, and the edge area is surrounded by the edge area.
  • the method includes:
  • the user can control the page change of the display screen by inputting commands by touching the display screen, and the display screen can be operated not only by sliding, but also by clicking.
  • the user can manually trigger the input on the display screen
  • a touch command, the touch command may be a click command or a slide command.
  • the above-mentioned touch command can be a click command or a slide command, and whether the touch command is a slide command can be known by judging and identifying the touch command.
  • the touch command may also be a false touch command, and after the corresponding command type is determined, subsequent control may be performed according to the type corresponding to each command.
  • the method further includes judging whether the display screen is in a locked screen state, if so, the display screen displays startup screen information, and the touch screen The command is invalid, if not, determine whether the touch command is a sliding command.
  • the display screen of the mobile terminal may be in the locked screen state or in the activated state, and the touch command input by the user may be a conscious input or an unconscious input. Touch commands.
  • the mobile terminal judges and analyzes the state of the display screen.
  • the touch command can be considered to be consciously input by the user, and subsequent work can be performed, that is, to determine whether the touch command is a sliding command.
  • the touch command can be considered to be generated by the user’s accidental touch, or the user consciously inputs.
  • the screen displays the startup screen information, which can be SMS verification information or human Face recognition information or voice activation information, etc., and the touch command is invalid, and the user can re-enter the corresponding touch information after unlocking the display screen.
  • the touch command may be a click command input by the user, and a corresponding touch operation may be performed.
  • buttons are set on the display screen, and the user can control each virtual button by inputting a click command, so that the corresponding virtual button performs a corresponding operation.
  • the touch command When the touch command is a sliding command, it should include several frame coordinate points on the display screen, and several frame coordinate points are connected to form a sliding track, which corresponds to the sliding action of the sliding command input by the user, and the mobile terminal responds to the corresponding Functional operation.
  • the coordinate point of the first frame of the sliding command is collected, and the coordinate point of the first frame is the coordinate point of the starting position of the sliding command.
  • the method before collecting the coordinates of the first frame of the sliding command, the method also includes judging whether the point supplement mechanism of the mobile terminal is activated, if so, collecting the coordinates of the first frame of the sliding command, if not, the display screen displays Start supplementary information.
  • the supplementary point mechanism is set in the mobile terminal, and the activation or deactivation is realized by setting the switch button.
  • the user can set the activation by himself, or, when the sliding command is detected, the user is prompted and selected by displaying information.
  • step 106 It is judged whether the coordinates of the first frame are located in the area close to the edge, if not, perform step 106, and if yes, perform step 107.
  • the position of the coordinates of the first frame is judged, and the system determines whether to perform subsequent corresponding operations by judging whether it is located in an area close to the edge.
  • a sliding operation corresponding to the sliding instruction is performed.
  • the coordinates of the first frame of the sliding command are not located in the edge area, the coordinates of the first frame are located in the edge area or the middle area, regardless of whether the coordinates of the first frame are located in the edge area or the middle area, it means that the sliding track corresponding to the sliding command is Continuously, the sliding operation corresponding to the sliding command can be carried out smoothly, and there is no need to make up points, and there is no need to perform subsequent related operations.
  • the sliding operation corresponding to the sliding instruction may be performed.
  • the method further includes judging whether the coordinates of the first frame are located in the edge area, and if so, performing the sliding operation corresponding to the sliding instruction; if not, judging Whether the first frame coordinates are located near the edge area.
  • the first frame coordinates may be located near the edge area or in the middle area, and then it is determined whether the first frame coordinates are located near the edge area.
  • the method further includes judging whether a virtual button is provided at the position corresponding to the coordinates of the first frame on the display screen, and if not, judging whether the coordinates of the first frame are Located in the area close to the edge, if so, the display screen displays execution options, the execution options include button options and sliding options, the button options correspond to the virtual buttons, the sliding options correspond to the sliding instructions, receive the button options, and execute the corresponding virtual buttons Key operation, receive sliding options, and judge whether the coordinates of the first frame are located in the area close to the edge.
  • the mode is for the user to choose, and the user makes the mobile terminal respond to the corresponding operation by selecting the option to be executed.
  • the method further includes judging whether a virtual button is provided at the position corresponding to the coordinates of the first frame on the display screen, and if not, judging whether the coordinates of the first frame are Located in the edge area, if yes, judge whether the priority level corresponding to the virtual key is higher than the priority level corresponding to the sliding command, if yes, execute the key operation corresponding to the virtual key, if not, determine whether the first frame coordinate is located near the edge area Inside.
  • the priority level of the command can be set by the system itself. For example, when the system detects that the mobile terminal is running a game program, the priority level of the sliding command can be set higher than that of the key command. When the system detects that the mobile terminal is running the program When switching to a video program, the priority level of the button command can be adjusted to be higher than that of the slide command.
  • the priority level of the command can be set by the user. For example, before the user plays the game, the priority level of the sliding command can be set higher than that of the key command. After the user switches the running program to the video program, the priority of the key command can be adjusted. The level is higher than the priority level of the slide command.
  • the sliding operation corresponding to the sliding command may not be smooth, and the coordinates of the second frame of the sliding command are collected.
  • the position of the coordinates of the second frame is judged.
  • the sliding command can be regarded as invalid.
  • the coordinates of the second frame are located near the edge In the area, continue to collect the third frame instruction of the sliding instruction, and combine the three frame instructions in the subsequent steps.
  • the coordinates of several frames of sliding instructions can be combined for subsequent work.
  • the embodiment of the present application only uses the coordinates of two frames for detailed description, but is not limited to the number of coordinates.
  • step 109 determines whether the sliding direction of the sliding instruction is towards the edge area, if yes, perform step 109, and if not, perform step 110.
  • the sliding direction of the sliding command can be known, and the sliding direction is from the coordinates of the first frame to the coordinates of the second frame, so that Whether the sliding direction of the sliding instruction is towards the edge area.
  • the coordinates of the first frame and the second frame are collected, the coordinates of several subsequent frames of the sliding instruction are continuously collected, so as to combine to obtain the sliding direction of the sliding instruction.
  • the sliding instruction is invalid.
  • edge area and the area near the edge are usually narrow in width, when the coordinates of the first frame of the sliding command are located behind the area near the edge, if the sliding direction of the sliding command is towards the edge area, it may be caused by a user's mistaken touch and can be regarded as an invalid command. .
  • the sliding track of the sliding command will be supplemented with points.
  • the supplementary method is based on the coordinates of the first frame. In the edge area, the position opposite to the sliding direction and symmetrical to the coordinates of the second frame is added to the coordinates.
  • the slide command needs to be supplemented.
  • the coordinate of the first frame of the sliding command is A
  • the coordinate of the second frame is B
  • the coordinate of the first frame A is located in the area close to the edge
  • the sliding direction of the sliding command is towards the middle area, then the sliding command meets the supplementary condition.
  • reverse supplementary point C is performed at a position equal to the distance between the first frame coordinate A and the second frame coordinate B in the edge area.
  • the sliding instruction further includes the coordinate D of the third frame, and the sliding instruction after the supplementary point includes the coordinate ABCD.
  • the coordinates of the first frame of the sliding command are collected, and it is judged whether the coordinates of the first frame are located in an area close to the edge. Close to the edge area, then collect the second frame coordinates of the sliding command, combine the first frame coordinates and the second frame coordinates to judge whether the sliding direction of the sliding command satisfies the supplementary point condition, when the judgment result is satisfied, then use
  • the coordinates of the first frame are used as the reference, and coordinate points are added at positions opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame, so that the sliding operation corresponding to the sliding command is smoother.
  • FIG. 3 is another flow chart of a touch processing method provided by the embodiment of the present application. Further, the above step 110 includes the following steps:
  • the width of the edge area may be smaller than the distance between the coordinates of the first frame and the coordinates of the second frame of the sliding command, therefore, it is necessary to calculate the distance between the coordinates of the two frames first, and execute the follow-up correspondingly through the calculation results.
  • step 1102 Determine whether the coordinate distance is smaller than the supplementary point distance. If yes, perform step 1103 . If not, perform step 1104 .
  • the supplementary point distance is the distance from the first frame coordinates to the edge on the side of the edge area that is far away from the edge area.
  • the coordinate distance between the first frame coordinates and the second frame coordinates may be greater than the supplementary point distance, and may be equal to the supplementary point distance.
  • the point distance may also be smaller than the complement point distance.
  • the coordinate distance between the first frame coordinate and the second frame coordinate is less than the complement point distance
  • the coordinate distance between the first frame coordinate and the second frame coordinate is less than the first frame coordinate to the edge area far away from the edge area
  • the distance of the side edge then, when supplementing points, take the coordinates of the first frame as a reference, and perform supplementary coordinates at a position opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame.
  • the coordinate distance between the first frame coordinates and the second frame coordinates is greater than or equal to the complement point distance
  • the coordinate distance between the first frame coordinates and the second frame coordinates is greater than or equal to the distance from the first frame coordinates to the edge area.
  • the distance of the side edge of the edge area then, when supplementing points, the supplementary coordinate point is performed in the edge area opposite to the sliding direction, and located on the edge area away from the side edge line close to the edge area.
  • the coordinates of the first frame of the sliding command are collected, and it is judged whether the coordinates of the first frame are located in an area close to the edge. Close to the edge area, then collect the second frame coordinates of the sliding command, combine the first frame coordinates and the second frame coordinates to judge whether the sliding direction of the sliding command satisfies the supplementary point condition, when the judgment result is satisfied, then use
  • the coordinates of the first frame are used as the reference, and coordinate points are added at positions opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame, so that the sliding operation corresponding to the sliding command is smoother.
  • FIG. 4 is a schematic structural diagram of a touch processing device provided by an embodiment of the present application.
  • the device includes:
  • the first receiving unit is configured to receive a touch instruction of a touch input.
  • the first judging unit is used to judge whether the touch command is a slide command, if not, execute the touch operation corresponding to the touch command, and if so, collect the coordinates of the first frame of the slide command.
  • the second judging unit is used for judging whether the first frame coordinates are located in the edge area, if not, execute the sliding operation corresponding to the sliding instruction, and if so, collect the second frame coordinates of the sliding instruction.
  • the third judging unit is used to judge whether the sliding direction of the sliding command is towards the edge area according to the first frame coordinates and the second frame coordinates, if so, the sliding command is invalid, if not, based on the first frame coordinates, within the edge area Complement the coordinate point at the position opposite to the sliding direction and symmetrical to the coordinates of the second frame.
  • the touch processing device further includes the following units:
  • the calculation unit is used to calculate the coordinate distance between the coordinates of the first frame and the coordinates of the second frame.
  • the fourth judging unit is used for judging whether the coordinate distance is smaller than the supplementary point distance.
  • the touch processing device in the embodiment of the present application may further include units with other functions, which will not be repeated here.
  • the touch processing device when it is determined that the user has input a sliding command, it collects the coordinates of the first frame of the sliding command, and judges whether the coordinates of the first frame are located in an area close to the edge. Close to the edge area, then collect the second frame coordinates of the sliding command, combine the first frame coordinates and the second frame coordinates to judge whether the sliding direction of the sliding command satisfies the supplementary point condition, when the judgment result is satisfied, then use
  • the coordinates of the first frame are used as the reference, and coordinate points are added at positions opposite to the sliding direction in the edge area and symmetrical to the coordinates of the second frame, so that the sliding operation corresponding to the sliding command is smoother.
  • a computer-readable storage medium in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute any one of the above touch processing methods.

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

一种触控处理方法、装置、存储介质及移动终端,其中,方法应用于移动终端,移动终端的显示屏设定有相连的边缘区域(100)和靠近边缘区域(200),边缘区域(100)位于显示屏的周缘位置,边缘区域(100)围设靠近边缘区域(200),该方法用于当接收到用户输入的滑动指令,并判断出滑动指令的第一帧坐标(A)位于靠近边缘区域(200)内,且滑动指令的滑动方向不朝向原本区域,则以第一帧坐标(A)为基准,于边缘区域(100)内与滑动方向相反,且与第二帧坐标(B)对称的位置进行补坐标点(C)。通过上述方式,解决由于移动终端的显示屏的周缘区域为弧度设置时,用户从边缘滑动产生的断点问题,以及边缘滑动产生的滑动延迟等问题,实现滑动更加流畅的目的。

Description

触控处理方法、装置、存储介质及移动终端
本申请要求于2021年09月23日提交中国专利局、申请号为202111112979.8、发明名称为“一种触控处理方法、装置、存储介质及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及移动终端技术领域,尤其涉及一种触控处理方法、装置、存储介质及移动终端。
背景技术
移动终端已经成为人们生活必不可少的电子产品,移动终端上包括各种应用程序,应用程序的操作要用到滑动操作,比如桌面左右滑动、边缘滑动翻动网页及枪战游戏快速滑方向键等,这些操作都与移动终端的边缘区域相关,从移动终端的边缘区域启动触控滑动。
目前,移动终端的显示屏的周缘区域设置为具有弧度,当用户的手指在移动终端的边缘区域向屏幕内滑动时,由于边缘区域的触控差值改变量差值较平整区域有一定差异,会出现滑动不顺畅的问题。
技术问题
本申请实施例提供一种触控处理方法、装置、存储介质及其移动终端,通过在边缘区域进行补点的方式使得滑动操作更加顺畅。
技术解决方案
第一方面,本申请实施例提供一种触控处理方法,应用于移动终端,所述移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述方法包括:
接收触摸输入的触控指令;
判断所述触控指令是否为滑动指令;
若否,执行与所述触控指令对应的触摸操作;
若是,采集所述滑动指令的第一帧坐标;
判断所述第一帧坐标是否位于所述靠近边缘区域内;
若否,执行与所述滑动指令对应的滑动操作;
若是,采集所述滑动指令的第二帧坐标;
根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域;
若是,所述滑动指令无效;
若否,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
第二方面,本申请实施例提供了一种触控处理装置,应用于移动终端,所述移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述装置包括:
第一接收单元,用于接收触摸输入的触控指令;
第一判断单元,用于判断所述触控指令是否为滑动指令,若否,执行与所述触控指令对应的触摸操作,若是,采集所述滑动指令的第一帧坐标;
第二判断单元,用于判断所述第一帧坐标是否位于所述靠近边缘区域内,若否,执行与所述滑动指令对应的滑动操作,若是,采集所述滑动指令的第二帧坐标;
第三判断单元,用于根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域,若是,所述滑动指令无效,若否,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
第三方面,本申请实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述的触控处理方法。
第四方面,本申请实施例还提供了一种移动终端,包括显示屏、处理器、存储器,所述显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行上述的触控处理方法。
第五方面,本申请实施例还提供一种触控处理方法,应用于移动终端,所述移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述方法包括:
接收触摸输入的触控指令;
判断所述显示屏是否为锁屏状态;
若是,所述显示屏显示启动屏幕信息,所述触控指令无效;
若否,判断所述触控指令是否为滑动指令;
若否,执行与所述触控指令对应的触摸操作;
若是,采集所述滑动指令的第一帧坐标;
判断所述第一帧坐标是否位于所述靠近边缘区域内;
若否,执行与所述滑动指令对应的滑动操作;
若是,采集所述滑动指令的第二帧坐标;
根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域;
若是,所述滑动指令无效;
若否,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
有益效果
在本申请实施例中,对用户输入的滑动指令的第一帧坐标进行采集,判断第一帧坐标是否位于靠近边缘区域内,当判断得出结果为位于靠近边缘区域内,采集该滑动指令的第二帧坐标,结合第一帧坐标和第二帧坐标判断该滑动指令的滑动方向是否满足补点条件,当判断得出结果为满足条件,则以第一帧坐标为基准,于边缘区域内与滑动方向相反,且与第二帧坐标对称的位置进行补坐标点,使得该滑动指令对应的滑动操作更加顺畅。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种移动终端的结构示意图。
图2是本申请实施例提供的一种触控处理方法的一流程图。
图3是本申请实施例提供的一种触控处理方法的另一流程图。
图4是本申请实施例提供的一种触控处理装置的结构示意图。
本发明的实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供一种触控处理方法、装置、存储介质及移动终端,主要用于显示屏的周缘呈弧度设置的移动终端中,解决因为弧度设置导致的滑动断点问题以及滑动延迟问题等,使得滑动更加地顺畅。
以下将对所述触控处理方法、装置、存储介质和移动终端分别进行详细说明。
请参阅图1,图1为本申请实施例提供的一种移动终端的结构示意图,移动终端包括显示屏、存储器以及处理器,显示屏用于显示移动终端的页面,存储器和处理器电性连接,存储器用于存储指令和数据,处理器为整个移动终端的核心控制元件。
在本申请的实施例中,移动终端可以为无边框的手机,手机的正面被显示屏覆盖,显示屏四周或者显示屏左右两侧呈弧度设置,以提高手机的整体美观性。
示例性的,显示屏包括边缘区域100和靠近边缘区域200,其中,边缘区域100位于显示屏的周缘位置,周缘位置指显示屏的四周边框位置或显示屏的左右两侧边框位置,边缘区域100围设靠近边缘区域200。
示例性的,显示屏除了包括边缘区域100和靠近边缘区域200,还包括中间区域300,显示屏的中间区域300为平面设置,靠近边缘区域200围设中间区域300。
可以理解的是,由于边缘区域100为弧度设置,并且宽度较小,当用户从边缘区域100开始朝向中间区域300进行滑动时,容易发生断点的现象,即滑动动作在显示屏上的连接线于边缘区域100不显示,或者,由于触摸因素及环境因素的影响,使得边缘区域100的触控差值该变量较显示屏的平整区域存在一定的差异,使得滑动延迟,降低滑动效果。
请参阅图2,图为本申请实施例提供的一种触控处理方法的一流程图,该方法应用于上述的移动终端,移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,边缘区域位于显示屏的周缘位置,边缘区域围设靠近边缘区域,该方法包括:
101、接收触摸输入的触控指令。
用户通过触摸显示屏输入指令从而实现控制显示屏的页面的变化,而显示屏上除了可以通过滑动的方式进行操控,也可以通过点击的方式进行操控,用户通过手动触发的方式于显示屏上输入触控指令,该触控指令可以为点击指令,也可以为滑动指令。
判断所述触控指令是否为滑动指令,若否,执行步骤103,若是,执行步骤104。
上述的触控指令可以为点击指令,也可以为滑动指令,通过对该触控指令的判断识别,得知该触控指令是否为滑动指令。
可选的,该触控指令也可能为误触指令,在判断出相应的指令类型之后,可根据每种指令对应的类型进行后续的控制。
在本申请的实施例中,在接收所述触摸输入的触控指令之后,该方法还包括判断所述显示屏是否为锁屏状态,若是,所述显示屏显示启动屏幕信息,所述触控指令无效,若否,判断所述触控指令是否为滑动指令。
移动终端的显示屏可能为锁屏状态,也可能为启动状态,而用户触摸输入的触控指令也可能为有意识的输入,也可能为无意识的输入,例如,用户可能是因为误触导致生成该触控指令。
在移动终端接收到该触控指令之后,对显示屏的状态进行判断分析。当显示屏为启动状态,那么,该触控指令可以认为是用户有意识输入的,可以进行后续的工作,即进行判断该触控指令是否为滑动指令。当显示屏为锁屏状态,该触控指令可以认为是用户误触产生的,或者,用户有意识输入的,这时,显示屏上显示启动屏幕信息,该信息可以为短信验证信息,也可以为人脸识别信息或者语音开启信息等,并且,该触控指令无效,用户在解锁显示屏之后,重新输入相应的触控信息即可。
执行与所述触控指令对应的触摸操作。
当判断为该触控指令并非滑动指令之后,该触控指令可能是用户输入的点击指令,则执行相应的触摸操作即可。
显示屏上设置有若干个虚拟按键,用户可通过输入点击指令的方式对每个虚拟按键进行控制,从而使得相应的虚拟按键执行相应的操作。
采集所述滑动指令的第一帧坐标。
当该触控指令为滑动指令,在显示屏上应当包括有若干帧坐标点,若干帧坐标点连接形成滑动轨迹,与用户输入的滑动指令的滑动动作对应,移动终端通过该滑动指令响应相应的功能操作。
在判断出该触控指令为滑动指令之后,采集该滑动指令的第一帧坐标点,第一帧坐标点为滑动指令的起始位置的坐标点。
在本申请的实施例中,在采集滑动指令的第一帧坐标之前,该方法还包括判断移动终端的补点机制是否启动,若是,采集滑动指令的第一帧坐标,若否,显示屏显示启动补点信息。
需要说明的是,并非所有的滑动操控都需要进行补点,本申请实施例的触控处理方法适用于起始坐标位于靠近边缘区域的情况,相应的,补点机制运用于起始坐标位于靠近边缘区域的情况。
在用户使用移动终端的过程中,通常只有进行枪战游戏、单手操作控制显示屏周缘位置的网页等情况时需要通过补点机制使得滑动操作更加顺畅,而看视频、听音乐或者拍照时,是不需要补点机制运行的。
在移动终端中设置补点机制,并且通过设置开关按键的方式实现启动或者关闭,用户可以自行设置开启,或者,当检测到滑动指令之后,以显示信息的方式对用户进行提示及选择。
在检测到滑动指令之后,并且,在补点机制启动运行的情况下,才对滑动指令的坐标点进行采集,从而进行后续的工作。
判断所述第一帧坐标是否位于所述靠近边缘区域内,若否,执行步骤106,若是,执行步骤107。
在采集滑动指令的第一帧坐标之后,对第一帧坐标的位置进行判断,系统通过判断其是否位于靠近边缘区域内,从而决定是否进行后续相应操作。
执行与所述滑动指令对应的滑动操作。
当滑动指令的第一帧坐标不位于靠近边缘区域内,则第一帧坐标位于边缘区域或者中间区域,而不管第一帧坐标是位于边缘区域还是中间区域,都说明滑动指令对应的滑动轨迹为连续的,滑动指令对应的滑动操作可以顺畅进行,则不需要进行补点,也就不需要进行后续的相关操作。
在判断出该第一帧很坐标不位于靠近边缘区域内之后,执行与该滑动指令对应的滑动操作即可。
在本申请的实施例中,在采集滑动指令的第一帧坐标之后,该方法还包括判断第一帧坐标是否位于边缘区域内,若是,执行与该滑动指令对应的滑动操作,若否,判断第一帧坐标是否位于靠近边缘区域内。
在采集到滑动指令的第一帧坐标之后,判断第一帧坐标是否位于边缘区域,位于边缘区域时,则说明滑动指令对应的滑动轨迹连续,滑动操作可以顺畅进行,则无需进行补点,直接执行对应的操作即可。
在判断出第一帧坐标不位于边缘区域之后,第一帧坐标可能位于靠近边缘区域或者中间区域,再对第一帧坐标判断是否位于靠近边缘区域。
在本申请的实施例中,在采集滑动指令的第一帧坐标之后,该方法还包括判断显示屏上与第一帧坐标对应的位置是否设有虚拟按键,若否,判断第一帧坐标是否位于靠近边缘区域内,若是,显示屏显示执行选项,该执行选项包括按键选项和滑动选项,该按键选项与虚拟按键对应,该滑动选项与滑动指令对应,接收按键选项,执行与虚拟按键对应的按键操作,接收滑动选项,判断第一帧坐标是否位于靠近边缘区域内。
由于显示屏上设置有若干个虚拟按键,用户在进行滑动的时候可能会触发某个虚拟按键,当用户触发的滑动指令的第一帧坐标对应的位置设有虚拟按键,则显示屏通过显示选项的方式供用户进行选择,用户通过选择执行的选项使得移动终端响应相应的操作。
在本申请的实施例中,在采集滑动指令的第一帧坐标之后,该方法还包括判断显示屏上与第一帧坐标对应的位置是否设有虚拟按键,若否,判断第一帧坐标是否位于靠近边缘区域内,若是,判断与虚拟按键对应的优先级别是否高于滑动指令对应的优先级别,若是,执行与虚拟按键对应的按键操作,若否,判断第一帧坐标是否位于靠近边缘区域内。
指令的优先级别可以是系统自行设置的,例如,当系统检测到移动终端正在运行游戏程序时,可设置滑动指令的优先级别高于按键指令的优先级别,当系统检测到移动终端正在运行的程序切换为视频程序时,可调整按键指令的优先级别高于滑动指令的优先级别。
指令的优先级别可以是用户自行设置的,例如,用户玩游戏之前,可以自行设置滑动指令的优先级别高于按键指令的优先级别,用户将运行程序切换到视频程序后,可以调整按键指令的优先级别高于滑动指令的优先级别。
采集所述滑动指令的第二帧坐标。
在判断出第一帧坐标位于靠近边缘区域之后,该滑动指令对应的滑动操作可能不顺畅,则采集滑动指令的第二帧坐标。
可选的,在采集到第二帧坐标之后,对第二帧坐标的位置进行判断,当第二帧坐标位于边缘区域内,则该滑动指令可以视为无效,当第二帧坐标位于靠近边缘区域内,则继续采集滑动指令的第三帧指令,在后续的步骤中结合三帧指令进行。
可选的,在本申请的实施例中,可结合若干帧滑动指令的坐标进行后续的工作,本申请实施例仅以两帧坐标进行详细说明,但是不限于坐标的数量。
108、根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域,若是,执行步骤109,若否,执行步骤110。
在采集第一帧坐标和第二帧坐标之后,根据第一帧坐标和第二帧坐标,可以得知滑动指令的滑动方向,其滑动方向为第一帧坐标朝向第二帧坐标,从而得知该滑动指令的滑动方向是否朝向边缘区域。
可选的,在采集第一帧坐标和第二帧坐标之后,继续采集滑动指令的第三帧坐标,结合三帧坐标对滑动指令的滑动方向进行判断。
可选的,在采集第一帧坐标和第二帧坐标之后,继续采集滑动指令的后续的若干帧坐标,以结合得到滑动指令的滑动方向。
109、所述滑动指令无效。
由于边缘区域和靠近边缘区域通常宽度较窄,当滑动指令的第一帧坐标位于靠近边缘区域之后,若滑动指令的滑动方向朝向边缘区域,则可能是用户误触产生的,可以视为无效指令。
110、以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
当滑动指令的第一帧坐标位于靠近边缘区域,且滑动指令的滑动方向不朝向边缘区域,则对该滑动指令的滑动轨迹进行补点工作,补点方式为,以第一帧坐标为基准,于边缘区域内与滑动方向相反,且与第二帧坐标对称的位置进行补点坐标。
结合图1进行说明,当用户从边缘区域朝向中间区域滑动触摸产生滑动指令,而该滑动指令与边缘区域发生了断点的现象,则需要对该滑动指令进行补点。滑动指令的第一帧坐标为A,第二帧坐标为B,第一帧坐标A位于靠近边缘区域内,并且,该滑动指令的滑动方向朝向中间区域,则该滑动指令符合补点条件,在进行补点时,于边缘区域内与与第一帧坐标A和第二帧坐标B之间的距离相等的位置进行反向补点C。
可选的,该滑动指令还包括第三帧坐标D,则补点之后的滑动指令包括坐标ABCD。
本申请实施例的触控处理方法,当判断出用户输入滑动指令后,对滑动指令的第一帧坐标进行采集,并判断第一帧坐标是否位于靠近边缘区域内,当判断得出结果为位于靠近边缘区域内,则采集该滑动指令的第二帧坐标,结合第一帧坐标和第二帧坐标判断该滑动指令的滑动方向是否满足补点条件,当判断得出结果为满足条件,则以第一帧坐标为基准,于边缘区域内与滑动方向相反,且与第二帧坐标对称的位置进行补坐标点,使得该滑动指令对应的滑动操作更加顺畅。
请参阅图3,图3为本申请实施例提供的一种触控处理方法的另一流程图,进一步的,上述步骤110包括以下步骤:
1101、计算所述第一帧坐标与所述第二帧坐标之间的坐标距离。
由于在设定中,边缘区域的宽度可能小于滑动指令的第一帧坐标与第二帧坐标之间的距离,因此,需要先对两帧坐标之间的距离进行计算,通过计算结果对应执行后续的步骤。
1102、判断所述坐标距离是否小于补点距离,若是,执行步骤1103,若否,执行步骤1104。
可选的,补点距离是第一帧坐标至边缘区域上远离靠近边缘区域的一侧边缘的距离,第一帧坐标和第二帧坐标之间的坐标距离可能大于补点距离,可能等于补点距离,也可能小于补点距离。
1103、以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
当第一帧坐标和第二帧坐标之间的坐标距离小于补点距离,则第一帧坐标和第二帧坐标之间的坐标距离小于第一帧坐标至边缘区域上远离靠近边缘区域的一侧边缘的距离,那么,在补点时,以第一帧坐标为基准,于边缘区域内与所述滑动方向相反,且与第二帧坐标对称的位置进行补坐标点。
1104、于所述边缘区域内与所述滑动方向相反,且位于所述边缘区域上远离所述靠近边缘区域的侧边缘线上进行补坐标点。
当第一帧坐标和第二帧坐标之间的坐标距离大于或者等于补点距离,则第一帧坐标和第二帧坐标之间的坐标距离大于或者等于第一帧坐标至边缘区域上远离靠近边缘区域的一侧边缘的距离,那么,在补点时,于边缘区域内与滑动方向相反,且位于边缘区域上远离靠近边缘区域的侧边缘线上进行补坐标点。
本申请实施例的触控处理方法,当判断出用户输入滑动指令后,对滑动指令的第一帧坐标进行采集,并判断第一帧坐标是否位于靠近边缘区域内,当判断得出结果为位于靠近边缘区域内,则采集该滑动指令的第二帧坐标,结合第一帧坐标和第二帧坐标判断该滑动指令的滑动方向是否满足补点条件,当判断得出结果为满足条件,则以第一帧坐标为基准,于边缘区域内与滑动方向相反,且与第二帧坐标对称的位置进行补坐标点,使得该滑动指令对应的滑动操作更加顺畅。
请参阅图4,图4为本申请实施例提供的一种触控处理装置的结构示意图,该装置包括:
第一接收单元,用于接收触摸输入的触控指令。
第一判断单元,用于判断该触控指令是否为滑动指令,若否,执行与触控指令对应的触摸操作,若是,采集滑动指令的第一帧坐标。
第二判断单元,用于用于判断第一帧坐标是否位于靠近边缘区域内,若否,执行与滑动指令对应的滑动操作,若是,采集滑动指令的第二帧坐标。
第三判断单元,用于根据第一帧坐标和第二帧坐标,判断滑动指令的滑动方向是否朝向边缘区域,若是,滑动指令无效,若否,以第一帧坐标为基准,于边缘区域内与滑动方向相反,且与第二帧坐标对称的位置进行补坐标点。
可选的,触控处理装置还包括以下单元:
计算单元,用于计算第一帧坐标与第二帧坐标之间的坐标距离。
第四判断单元,用于判断坐标距离是否小于补点距离。
可选的,本申请实施例的触控处理装置还包括其它功能的单元,在此不再赘述。
本申请实施例的触控处理装置,当判断出用户输入滑动指令后,对滑动指令的第一帧坐标进行采集,并判断第一帧坐标是否位于靠近边缘区域内,当判断得出结果为位于靠近边缘区域内,则采集该滑动指令的第二帧坐标,结合第一帧坐标和第二帧坐标判断该滑动指令的滑动方向是否满足补点条件,当判断得出结果为满足条件,则以第一帧坐标为基准,于边缘区域内与滑动方向相反,且与第二帧坐标对称的位置进行补坐标点,使得该滑动指令对应的滑动操作更加顺畅。
在一些实施例中,还提供了一种计算机可读存储介质,该存储介质中存储有多条指令,该指令适于由处理器加载以执行上述任一触控处理方法。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
以上对本申请实施例所提供的触控处理方法、装置、存储介质及移动终端进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种触控处理方法,应用于移动终端,其中,所述移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述方法包括:
    接收触摸输入的触控指令;
    判断所述触控指令是否为滑动指令;
    若否,执行与所述触控指令对应的触摸操作;
    若是,采集所述滑动指令的第一帧坐标;
    判断所述第一帧坐标是否位于所述靠近边缘区域内;
    若否,执行与所述滑动指令对应的滑动操作;
    若是,采集所述滑动指令的第二帧坐标;
    根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域;
    若是,所述滑动指令无效;
    若否,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
  2. 根据权利条件1所述的触控处理方法,其中,在所述接收触摸输入的触控指令之后,所述方法还包括:
    判断所述显示屏是否为锁屏状态;
    若是,所述显示屏显示启动屏幕信息,所述触控指令无效;
    若否,判断所述触控指令是否为滑动指令。
  3. 根据权利条件1所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之前,所述方法还包括:
    判断所述移动终端的补点机制是否启动;
    若是,采集所述滑动指令的所述第一帧坐标;
    若否,所述显示屏显示启动补点信息。
  4. 根据权利条件1所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之后,所述方法还包括:
    判断所述第一帧坐标是否位于所述边缘区域内;
    若是,执行与所述滑动指令对应的所述滑动操作;
    若否,判断所述第一帧坐标是否位于所述靠近边缘区域内。
  5. 根据权利条件1所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之后,所述方法还包括:
    判断所述显示屏上与所述第一帧坐标对应的位置是否设有虚拟按键;
    若否,判断所述第一帧坐标是否位于所述靠近边缘区域内;
    若是,所述显示屏显示执行选项,所述执行选项括按键选项和滑动选项,所述按键选项与所述虚拟按键对应,所述滑动选项与所述滑动指令对应;
    接收所述按键选项,执行与所述虚拟按键对应的按键操作;
    接收所述滑动选项,判断所述第一帧坐标是否位于所述靠近边缘区域内。
  6. 根据权利条件1所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之后,所述方法还包括:
    判断所述显示屏上与所述第一帧坐标对应的位置是否设有虚拟按键;
    若否,判断所述第一帧坐标是否位于所述靠近边缘区域内;
    若是,判断与所述虚拟按键对应的优先级别是否高于与所述滑动指令对应的优先级别;
    若是,执行与所述虚拟按键对应的按键操作;
    若否,判断所述第一帧坐标是否位于所述靠近边缘区域内。
  7. 根据权利条件1所述的触控处理方法,其中,在所述采集所述滑动指令的第二帧坐标之后,所述方法还包括:
    根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域;
    若是,所述滑动指令无效;
    若否,计算所述第一帧坐标与所述第二帧坐标之间的坐标距离;
    判断所述坐标距离是否小于补点距离;
    若是,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点;
    若否,于所述边缘区域内与所述滑动方向相反,且位于所述边缘区域上远离所述靠近边缘区域的侧边缘线上进行补坐标点。
  8. 一种触控处理装置,应用于移动终端,其中,所述移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述装置包括:
    第一接收单元,用于接收触摸输入的触控指令;
    第一判断单元,用于判断所述触控指令是否为滑动指令,若否,执行与所述触控指令对应的触摸操作,若是,采集所述滑动指令的第一帧坐标;
    第二判断单元,用于判断所述第一帧坐标是否位于所述靠近边缘区域内,若否,执行与所述滑动指令对应的滑动操作,若是,采集所述滑动指令的第二帧坐标;
    第三判断单元,用于根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域,若是,所述滑动指令无效,若否,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
  9. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行权利条件1-7任一项所述的触控处理方法。
  10. 一种移动终端,其中,包括显示屏、处理器、存储器,所述显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行权利条件1-7任一项所述的触控处理方法。
  11. 一种触控处理方法,应用于移动终端,其中,所述移动终端的显示屏设定有相连的边缘区域和靠近边缘区域,所述边缘区域位于所述显示屏的周缘位置,所述边缘区域围设所述靠近边缘区域,所述方法包括:
    接收触摸输入的触控指令;
    判断所述显示屏是否为锁屏状态;
    若是,所述显示屏显示启动屏幕信息,所述触控指令无效;
    若否,判断所述触控指令是否为滑动指令;
    若否,执行与所述触控指令对应的触摸操作;
    若是,采集所述滑动指令的第一帧坐标;
    判断所述第一帧坐标是否位于所述靠近边缘区域内;
    若否,执行与所述滑动指令对应的滑动操作;
    若是,采集所述滑动指令的第二帧坐标;
    根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域;
    若是,所述滑动指令无效;
    若否,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点。
  12. 根据权利要求11所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之前,所述方法还包括:
    判断所述移动终端的补点机制是否启动;
    若是,采集所述滑动指令的所述第一帧坐标。
  13. 根据权利条件11所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之前,所述方法还包括:
    判断所述移动终端的补点机制是否启动;
    若否,所述显示屏显示启动补点信息。
  14. 根据权利条件11所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之后,所述方法还包括:
    判断所述第一帧坐标是否位于所述边缘区域内;
    若是,执行与所述滑动指令对应的所述滑动操作。
  15. 根据权利条件11所述的触控处理方法,其中,在所述采集所述滑动指令的第一帧坐标之后,所述方法还包括:
    判断所述第一帧坐标是否位于所述边缘区域内;
    若否,判断所述第一帧坐标是否位于所述靠近边缘区域内。
  16. 根据权利条件11所述的触控处理方法,其中,在所述采集所述滑动指令的第二帧坐标之后,所述方法还包括:
    根据所述第一帧坐标和所述第二帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域;
    若是,所述滑动指令无效;
    若否,计算所述第一帧坐标与所述第二帧坐标之间的坐标距离。
  17. 根据权利条件16所述的触控处理方法,其中,在所述计算所述第一帧坐标与所述第二帧坐标之间的坐标距离之后,所述方法还包括:
    判断所述坐标距离是否小于补点距离;
    若是,以所述第一帧坐标为基准,于所述边缘区域内与所述滑动方向相反,且与所述第二帧坐标对称的位置进行补坐标点;
    若否,于所述边缘区域内与所述滑动方向相反,且位于所述边缘区域上远离所述靠近边缘区域的侧边缘线上进行补坐标点。
  18. 根据权利要求11所述的触控处理方法,其中,所述第一帧坐标为所述滑动指令的起始位置的坐标点。
  19. 根据权利要求11所述的触控处理方法,其中,在所述采集所述滑动指令的第二帧坐标之后,所述方法还包括:
    继续采集所述滑动指令的第三帧坐标;
    根据所述第一帧坐标、所述第二帧坐标和所述第三帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域。
  20. 根据权利要求11所述的触控处理方法,其中,在所述采集所述滑动指令的第二帧坐标之后,所述方法还包括:
    继续采集所述滑动指令的后续的若干帧坐标;
    根据所述第一帧坐标、所述第二帧坐标和所述滑动指令的后续的若干帧坐标,判断所述滑动指令的滑动方向是否朝向所述边缘区域。
PCT/CN2022/109921 2021-09-23 2022-08-03 触控处理方法、装置、存储介质及移动终端 Ceased WO2023045576A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/693,534 US12287938B2 (en) 2021-09-23 2022-08-03 Touch control processing method and device that determines if a touch control instruction is a sliding instruction, storage medium, and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111112979.8 2021-09-23
CN202111112979.8A CN113849082B (zh) 2021-09-23 2021-09-23 一种触控处理方法、装置、存储介质及移动终端

Publications (1)

Publication Number Publication Date
WO2023045576A1 true WO2023045576A1 (zh) 2023-03-30

Family

ID=78979242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109921 Ceased WO2023045576A1 (zh) 2021-09-23 2022-08-03 触控处理方法、装置、存储介质及移动终端

Country Status (3)

Country Link
US (1) US12287938B2 (zh)
CN (1) CN113849082B (zh)
WO (1) WO2023045576A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849082B (zh) * 2021-09-23 2024-01-19 惠州Tcl移动通信有限公司 一种触控处理方法、装置、存储介质及移动终端

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157029A1 (en) * 2009-12-31 2011-06-30 Google Inc. Touch sensor and touchscreen user input combination
CN105511776A (zh) * 2015-11-24 2016-04-20 努比亚技术有限公司 一种移动终端及其控制方法
CN106775392A (zh) * 2016-11-30 2017-05-31 维沃移动通信有限公司 一种移动终端界面的操控方法及移动终端
CN109002215A (zh) * 2018-07-27 2018-12-14 青岛海信移动通信技术股份有限公司 一种具有触摸屏的终端确定触摸起始位置的方法及终端
CN111966256A (zh) * 2020-08-25 2020-11-20 惠州Tcl云创科技有限公司 一种屏幕控制方法、装置、存储介质及移动终端
CN112083837A (zh) * 2020-09-25 2020-12-15 Oppo广东移动通信有限公司 触控屏的触控信息处理方法、装置及电子设备
CN113849082A (zh) * 2021-09-23 2021-12-28 惠州Tcl移动通信有限公司 一种触控处理方法、装置、存储介质及移动终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9086799B2 (en) * 2008-10-06 2015-07-21 Blackberry Limited Method for application launch and system function
CN101943995A (zh) * 2010-09-01 2011-01-12 惠州Tcl移动通信有限公司 一种移动终端及其触摸屏的显示信息处理方法和装置
US20120304107A1 (en) * 2011-05-27 2012-11-29 Jennifer Nan Edge gesture
JP5565433B2 (ja) * 2012-04-20 2014-08-06 カシオ計算機株式会社 撮像装置及び撮像処理方法並びにプログラム
CN105094673A (zh) * 2015-03-31 2015-11-25 努比亚技术有限公司 应用快速启动方法和装置
TWI575420B (zh) * 2015-11-30 2017-03-21 友達光電股份有限公司 具有指紋辨識功能的顯示裝置及其操作方法
WO2017197636A1 (zh) * 2016-05-20 2017-11-23 华为技术有限公司 识别误触摸操作的方法和电子设备
CN114363278B (zh) * 2017-05-16 2023-06-23 苹果公司 用于消息传送的方法、电子设备以及计算机可读存储介质
CN107547750B (zh) * 2017-09-11 2019-01-25 Oppo广东移动通信有限公司 终端的控制方法、装置和存储介质
CN110191209B (zh) * 2019-05-20 2021-06-22 维沃移动通信有限公司 一种屏幕切换控制方法及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157029A1 (en) * 2009-12-31 2011-06-30 Google Inc. Touch sensor and touchscreen user input combination
CN105511776A (zh) * 2015-11-24 2016-04-20 努比亚技术有限公司 一种移动终端及其控制方法
CN106775392A (zh) * 2016-11-30 2017-05-31 维沃移动通信有限公司 一种移动终端界面的操控方法及移动终端
CN109002215A (zh) * 2018-07-27 2018-12-14 青岛海信移动通信技术股份有限公司 一种具有触摸屏的终端确定触摸起始位置的方法及终端
CN111966256A (zh) * 2020-08-25 2020-11-20 惠州Tcl云创科技有限公司 一种屏幕控制方法、装置、存储介质及移动终端
CN112083837A (zh) * 2020-09-25 2020-12-15 Oppo广东移动通信有限公司 触控屏的触控信息处理方法、装置及电子设备
CN113849082A (zh) * 2021-09-23 2021-12-28 惠州Tcl移动通信有限公司 一种触控处理方法、装置、存储介质及移动终端

Also Published As

Publication number Publication date
CN113849082B (zh) 2024-01-19
US12287938B2 (en) 2025-04-29
US20240385717A1 (en) 2024-11-21
CN113849082A (zh) 2021-12-28

Similar Documents

Publication Publication Date Title
US20190302984A1 (en) Method and device for controlling a flexible display device
US9035883B2 (en) Systems and methods for modifying virtual keyboards on a user interface
WO2022001472A1 (zh) 显示方法、装置、电子设备及存储介质
JP2010538350A (ja) タッチスクリーンを備えた携帯用端末機
CN108920070B (zh) 基于异形显示屏的分屏方法、装置、存储介质及移动终端
WO2022121790A1 (zh) 分屏显示方法、装置、电子设备和可读存储介质
US9851802B2 (en) Method and apparatus for controlling content playback
WO2011118175A1 (ja) 携帯端末、表示制御プログラム及び表示制御方法
TW202145206A (zh) 單手操作模式開啟方法、終端及電腦儲存媒介
WO2022007541A1 (zh) 设备控制方法、装置、存储介质及电子设备
WO2017032066A1 (zh) 一种联系人管理方法及移动终端
CN113648661A (zh) 游戏中处理信息的方法、装置、电子设备及存储介质
WO2021068410A1 (zh) 一种界面元素的移动方法、系统、车辆及存储介质
CN108170346A (zh) 电子装置、游戏界面显示方法及相关产品
CN103034443A (zh) 一种终端的控制方法及终端
WO2023045576A1 (zh) 触控处理方法、装置、存储介质及移动终端
CN113655929A (zh) 界面显示的适配处理方法、装置和电子设备
TW202144984A (zh) 設備控制方法、裝置、儲存媒介及電子設備
WO2023226422A1 (zh) 内容编辑的控制方法、装置、电子设备及存储介质
WO2024012136A1 (zh) 虚拟键盘的显示方法、装置、电子设备及存储介质
CN107678591A (zh) 一种模式控制方法和终端
CN103576966A (zh) 一种电子设备及控制所述电子设备的方法及装置
CN111831196A (zh) 折叠屏幕的控制方法、终端设备以及存储介质
CN115328297A (zh) 游戏控制的方法、装置和电子设备
CN115407833A (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: 22871634

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18693534

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22871634

Country of ref document: EP

Kind code of ref document: A1

WWG Wipo information: grant in national office

Ref document number: 18693534

Country of ref document: US