WO2019019440A1 - 一种触摸屏边缘处理方法及装置 - Google Patents

一种触摸屏边缘处理方法及装置 Download PDF

Info

Publication number
WO2019019440A1
WO2019019440A1 PCT/CN2017/107465 CN2017107465W WO2019019440A1 WO 2019019440 A1 WO2019019440 A1 WO 2019019440A1 CN 2017107465 W CN2017107465 W CN 2017107465W WO 2019019440 A1 WO2019019440 A1 WO 2019019440A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
edge
touch screen
state
suppression
Prior art date
Application number
PCT/CN2017/107465
Other languages
English (en)
French (fr)
Inventor
王剑平
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to JP2020502610A priority Critical patent/JP2020527809A/ja
Priority to US16/632,848 priority patent/US10996794B2/en
Publication of WO2019019440A1 publication Critical patent/WO2019019440A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1643Details related to the display arrangement, including those related to the mounting of the display in the housing the display being associated to a digitizer, e.g. laptops that can be used as penpads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1647Details related to the display arrangement, including those related to the mounting of the display in the housing including at least an additional display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2300/00Aspects of the constitution of display devices
    • G09G2300/02Composition of display devices
    • G09G2300/026Video wall, i.e. juxtaposition of a plurality of screens to create a display screen of bigger dimensions

Definitions

  • the present disclosure relates to the field of communications, and in particular to a touch screen edge processing method and apparatus.
  • Portable electronic devices such as smart phones have been widely used, and smart phones are generally equipped with a touch screen as an input device.
  • Smartphones currently use capacitive touch screens to provide users with a better experience.
  • FIG. 1 is a schematic diagram of controlling a touch screen across a screen according to the thumb of the related art.
  • the thumb when using a mobile phone with one hand, if the right hand is held, the thumb needs to traverse the screen to click the content on the left side of the screen, the thumb And/or the big fish at the base of the thumb (the part where the thumb and the palm are connected, as shown in Figure 1A, hereinafter referred to as the big fish) often touch the right screen and its contents, resulting in a false touch, and there is no point in the place where you want to click. Going, instead, clicking on a place that you don't want to click, there is a result that the user does not want.
  • FIG. 2 is a schematic diagram of a single-screen mobile terminal according to the related art.
  • a large-screen mobile phone often has an edge mis-touch phenomenon when operated by one hand, this causes some users to simply give up one-hand operation and has to take
  • the other solution is to point the area on the left side.
  • the existing solution is to increase the edge suppression of the touch screen.
  • the existing touch screen adds edge suppression function to the edge, and the edge portion of the rectangle filled with the oblique line is the edge suppression region.
  • FIG. 3 is a schematic diagram 1 of a cross-screen operation in a dual-screen mobile phone according to the related art, as shown in FIG. 3, when the cross-screen operation is performed, the left edge of the left screen and the left edge of the right screen are suppressed.
  • the dual-screen mobile phone is operated with dual-screen vertical screen, it causes obvious disconnection and jamming during the sliding process.
  • FIG. 4 is a schematic diagram 2 of a cross-screen operation in a dual-screen mobile phone according to the related art.
  • the dual-screen mobile phone dual-screen horizontal screen operation is as follows, sliding from top to bottom, and clicking on the upper and lower edges. It is difficult to touch the bottom edge, and the normal operation such as touch click activity is suppressed, and the touch is unresponsive.
  • the embodiments of the present disclosure provide a touch screen edge processing method and apparatus to at least solve the problem that the touch screen screen edge suppression of the mobile terminal in the related art is not flexible enough.
  • a touch screen edge processing method including:
  • the edge suppression function of the touch screen is set according to the determined result.
  • determining to set edge suppression or setting edgeless suppression on an edge of the touch screen according to the horizontal and vertical screen state in which the mobile terminal is located includes:
  • determining to set edge suppression on the left and right edges of the touch screen includes at least one of the following:
  • edge suppression is set on the left and right edges of the touch screen, and no edge suppression is set between adjacent display screens.
  • determining to set edge suppression on the left edge and the right edge of the touch screen, and setting no edge suppression between adjacent touch screens includes:
  • edge suppression is set on the left edge of the left screen touch screen and the right edge of the right screen touch screen, and the left edge of the left screen touch screen and the left edge of the right screen touch screen are set to have no edge suppression. ;or,
  • setting the edge suppression function of the touch screen according to the determined result includes:
  • the left edge and the right edge suppression are sent to the touch screen through the I2C or SPI bus, and there is no edge suppression touch screen configuration file between adjacent display screens.
  • determining that the edgeless suppression is set on an edge of the touch screen includes:
  • setting the edge suppression function of the touch screen according to the determined result includes:
  • the touch screen edge is not edge-suppressed to the touch screen through the I2C or SPI bus, and there is no edge suppression touch screen configuration file between adjacent display screens.
  • the method further includes:
  • the read touch screen configuration file is sent to the touch screen integrated circuit IC via an I2C or SPI bus.
  • the method further includes:
  • the edge suppression area of the touch screen of the mobile terminal is changed according to the change of the state of the touch screen.
  • changing the edge suppression area of the touch screen of the mobile terminal according to the change of the state of the touch screen includes:
  • the edge suppression state of the touch screen is switched from left edge and right edge suppression to no edge suppression;
  • the edge suppression state of the touch screen is switched from no edge suppression to left edge and right edge suppression.
  • switching the edge suppression state of the touch screen from left edge and right edge suppression to no edge suppression includes:
  • the edge suppression state of the touch screen is suppressed by the left edge and the right edge, and the adjacent display screen has no edge suppression switching. No edge suppression for the touch screen.
  • switching the edge suppression state of the touch screen from no edge suppression to left edge and right edge suppression includes:
  • the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression;
  • the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression, adjacent The display has no edge suppression.
  • the method further includes:
  • detecting a horizontal and vertical screen state of the current touch screen of the mobile terminal includes:
  • the current horizontal and vertical screen state of the mobile terminal is detected by a three-axis acceleration sensor;
  • the horizontal and vertical screen states of the dual-screen or multi-screen mobile terminal are determined by a Hall device automatic detection or a function key switching manner.
  • a touch screen edge processing apparatus including:
  • a detecting module configured to detect a horizontal and vertical screen state of the current touch screen of the mobile terminal
  • Determining a module configured to determine to set edge suppression or set no edge suppression at an edge of the touch screen according to a horizontal and vertical screen state in which the mobile terminal is located;
  • a setting module configured to set an edge suppression function of the touch screen according to the determined result.
  • the determining module includes:
  • a first determining unit configured to determine to set edge suppression on a left edge and a right edge of the touch screen when the mobile terminal is in a portrait state
  • the second determining unit is configured to determine that no edge suppression is set at an edge of the touch screen when the mobile terminal is in a landscape state.
  • the first determining unit includes at least one of the following:
  • a first determining submodule configured to determine to set edge suppression on a left edge and a right edge of the touch screen when the mobile terminal is in a single screen vertical screen state
  • the second determining sub-module is configured to determine that edge suppression is set on the left edge and the right edge of the touch screen when the mobile terminal is in a dual-screen or multi-screen extended vertical state, and no edge suppression is set between adjacent display screens.
  • the second determining subunit is further configured to
  • edge suppression is set on the left edge of the left screen touch screen and the right edge of the right screen touch screen, and the left edge of the left screen touch screen and the left edge of the right screen touch screen are set to have no edge suppression. ;or,
  • the setting module includes:
  • a first sending unit configured to send a left edge and a right edge suppressed touch screen configuration file to the touch screen through the I2C or SPI bus when the mobile terminal is in a single screen vertical screen state;
  • a second sending unit configured to send left edge and right edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a dual screen or multi-screen extended vertical state, and no edge suppression between adjacent display screens Touch screen profile.
  • the second determining unit includes:
  • a third determining subunit configured to determine that no edge suppression is set on an edge of the touch screen when the mobile terminal is in a single screen horizontal screen state
  • the fourth determining subunit is configured to determine that no edge suppression is set on an edge of the touch screen when the mobile terminal is in a dual screen or multi-screen extended horizontal screen state, and no edge suppression is set between adjacent display screens.
  • the setting module includes:
  • a third sending unit configured to send a touch screen configuration file without edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a single screen horizontal screen state;
  • a fourth sending unit configured to send a touch screen edge without edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a dual-screen or multi-screen extended horizontal screen state, and no edge suppression between adjacent display screens Touch screen profile.
  • the device further includes:
  • An obtaining unit configured to read the touch screen configuration file from a memory
  • the fifth transmitting unit is configured to send the read touch screen configuration file to the touch screen integrated circuit IC through an I2C or SPI bus.
  • the device further includes:
  • a detecting module configured to detect whether a state of the touch screen of the mobile terminal changes
  • the change module is configured to change an edge suppression region of the touch screen of the mobile terminal according to a change in the state of the touch screen when a state of the touch screen of the mobile terminal changes.
  • the change module includes:
  • a first switching unit configured to switch the edge suppression state of the touch screen from left edge and right edge suppression to no edge suppression when detecting that the touch screen changes from a portrait state to a landscape state;
  • the second switching unit is configured to switch the edge suppression state of the touch screen from no edge suppression to left edge and right edge suppression when detecting that the touch screen changes from a landscape state to a portrait state.
  • the first switching unit is further configured to
  • the edge suppression state of the touch screen is switched from the left edge and the right edge suppression to the touch screen without edge suppression;
  • the edge suppression state of the touch screen is suppressed by the left edge and the right edge, and the adjacent display screen has no edge suppression switching. No edge suppression for the touch screen.
  • the second switching unit is further configured to
  • the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression;
  • the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression, adjacent The display has no edge suppression.
  • the device further includes:
  • a detecting unit configured to detect a sliding instruction from the first display screen of the touch screen to an adjacent second display screen when the touch screen is in a dual screen or multi-screen state
  • the reporting unit is configured to trigger a DOWN event of the first display screen and an UP event of the second display screen according to the sliding instruction, wherein the first display screen and the second display screen are No edge suppression state.
  • the detecting module is further configured to
  • the current horizontal and vertical screen state of the mobile terminal is detected by a three-axis acceleration sensor;
  • the horizontal and vertical screen states of the dual-screen or multi-screen mobile terminal are determined by a Hall device automatic detection or a function key switching manner.
  • a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
  • a processor for running a program wherein the program is executed to perform the method of any of the above.
  • detecting a horizontal and vertical screen state of the current touch screen of the mobile terminal determining, according to the horizontal and vertical screen state in which the mobile terminal is located, setting edge suppression or setting no edge suppression on an edge of the touch screen; and according to the determined result, the touch screen is
  • the edge suppression function is set to solve the problem that the touch screen screen edge suppression of the mobile terminal in the related art is not flexible enough, and the touch screen screen edge suppression function of the mobile terminal is flexibly set, thereby improving the convenience of use and improving the user experience.
  • FIG. 1 is a schematic diagram of manipulating a touch screen across a screen according to a thumb in the related art
  • FIG. 2 is a schematic diagram of a single-screen mobile terminal according to the related art
  • FIG. 3 is a schematic diagram 1 of a cross-screen operation in a dual-screen mobile phone according to the related art
  • FIG. 4 is a schematic diagram 2 of a cross-screen operation in a dual-screen mobile phone according to the related art
  • FIG. 5 is a block diagram showing a hardware structure of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of a touch screen edge processing method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a multi-screen mobile terminal in accordance with an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a horizontal screen setting edge suppression of a single-screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 9 is a schematic diagram of a vertical screen setting edge suppression of a dual screen mobile terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a horizontal screen setting edge suppression of a dual screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 11 is a first schematic diagram of a vertical screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 12 is a second schematic diagram of a vertical screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 13 is a first schematic diagram of a horizontal screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 14 is a second schematic diagram of a horizontal screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 15 is a block diagram of a touch screen edge processing device in accordance with an embodiment of the present disclosure.
  • the mobile terminal 10 may include one or two (only one is shown) processor 102.
  • processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions.
  • FIG. 5 is merely illustrative, and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 5, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software.
  • the set top box in the embodiment of the present disclosure is connected to a DHCP corresponding program instruction/module, and the processor 102 executes each by running a software program and a module stored in the memory 104.
  • a functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or two magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 can include memory remotely located relative to processor 102, which can be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 6 is a flowchart of a touch screen edge processing method according to an embodiment of the present disclosure. As shown in FIG. 6, the flow includes the following steps:
  • Step S602 detecting a horizontal and vertical screen state of the current touch screen of the mobile terminal
  • Step S604 determining, according to the horizontal and vertical screen state in which the mobile terminal is located, setting edge suppression or setting no edge suppression on an edge of the touch screen;
  • Step S606 setting an edge suppression function of the touch screen according to the determined result.
  • detecting a horizontal and vertical screen state of the current touch screen of the mobile terminal determining, according to the horizontal and vertical screen state in which the mobile terminal is located, setting edge suppression or setting no edge suppression on the edge of the touch screen; and according to the determined result, the touch screen is
  • the edge suppression function is set to solve the problem that the touch screen screen edge suppression of the mobile terminal in the related art is not flexible enough, and the touch screen screen edge suppression function of the mobile terminal is flexibly set, thereby improving the convenience of use and improving the user experience.
  • determining, according to the horizontal and vertical screen state in which the mobile terminal is located, setting edge suppression or setting edgeless suppression at an edge of the touch screen includes determining, when the mobile terminal is in a portrait state, on the left of the touch screen The edge suppression is set at the edge and the right edge; when the mobile terminal is in the landscape state, it is determined that no edge suppression is set at the edge of the touch screen.
  • determining to set edge suppression on the left edge and the right edge of the touch screen includes at least one of: when the mobile terminal is in a single screen vertical screen state, determining Edge suppression is set on the left and right edges of the touch screen; when the mobile terminal is in a dual screen or multi-screen extended vertical screen state, it is determined that edge suppression is set on the left and right edges of the touch screen, and no setting is set between adjacent display screens. Edge suppression.
  • determining to set edge suppression on the left edge and the right edge of the touch screen, and setting no edge suppression between adjacent touch screens includes: at the mobile terminal When in the dual screen extended vertical state, it is determined that edge suppression is set on the left edge of the left screen touch screen and the right edge of the right screen touch screen, and the left edge of the left screen touch screen and the left edge of the right screen touch screen are set without edge suppression; When the mobile terminal is in the multi-screen extended vertical screen state, it is determined that edge suppression is set on the left edge of the leftmost screen and the right edge of the rightmost touch screen, the right edge of the leftmost screen, the left and right edges of the middle screen, and the The left edge of the rightmost touch screen is set to have no edge suppression.
  • setting the edge suppression function of the touch screen according to the determined result includes: sending the left edge and the right edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a single screen vertical screen state a touch screen configuration file; when the mobile terminal is in a dual-screen or multi-screen extended vertical screen state, an Inter-Integrated Circuit (I2C) or a Serial Peripheral Interface (SPI) is used.
  • the bus sends a left edge and a right edge suppression to the touch screen, and there is no edge suppression touch screen profile between adjacent display screens.
  • determining that the edgeless suppression is set on the edge of the touch screen comprises: determining that the edge of the touch screen is set when the mobile terminal is in a single screen horizontal screen state. Edge suppression; when the mobile terminal is in a dual-screen or multi-screen extended landscape state, it is determined that no edge suppression is set on the edge of the touch screen, and no edge suppression is set between adjacent display screens.
  • setting the edge suppression function of the touch screen according to the determined result includes: sending the touch screen configuration file without edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a single screen horizontal screen state; When the mobile terminal is in a dual-screen or multi-screen extended horizontal screen state, the touch screen edge is not edge-suppressed to the touch screen through the I2C or SPI bus, and there is no edge suppression touch screen configuration file between adjacent display screens.
  • the method further includes: reading the touch screen configuration file from a memory; and transmitting the read touch screen configuration file to the touch screen integrated circuit (IC) through an I2C or SPI bus.
  • IC touch screen integrated circuit
  • the method further includes: detecting whether a state of the touch screen of the mobile terminal changes; in a case where a state of the touch screen of the mobile terminal is changed, according to a change of the state of the touch screen, the mobile terminal is The edge suppression area of the touch screen is changed.
  • the edge suppression area of the touch screen of the mobile terminal is changed according to the change of the state of the touch screen.
  • the row change includes: when detecting that the touch screen changes from a portrait state to a landscape state, switching the edge suppression state of the touch screen from left edge and right edge suppression to no edge suppression; or when detecting the touch screen by The horizontal screen state changes to a portrait state, and the edge suppression state of the touch screen is switched from no edge suppression to left edge and right edge suppression.
  • switching the edge suppression state of the touch screen from the left edge and the right edge to no edge suppression comprises: when the touch screen is detected by the single The state of the screen vertical screen changes to a single screen horizontal screen state, and the edge suppression state of the touch screen is switched from the left edge and the right edge to the touch screen without edge suppression; when the touch screen is detected to be changed by the dual screen or the multi screen vertical screen state In the dual-screen or multi-screen horizontal screen state, the edge suppression state of the touch screen is suppressed by the left edge and the right edge, and the adjacent display without edge suppression is switched to the touch screen without edge suppression.
  • switching the edge suppression state of the touch screen from no edge suppression to left edge and right edge suppression comprises: when the touch screen is detected by a single The screen horizontal screen state changes to a single screen vertical screen state, and the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression; when the touch screen is detected to be changed by the dual screen or multiscreen horizontal screen state In the dual screen or multi-screen vertical screen state, the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression, and the adjacent display screen has no edge suppression.
  • the method further includes: detecting a sliding instruction sliding from the first display screen of the touch screen to an adjacent second display screen when the touch screen is in a dual screen or multi-screen state; triggering according to the sliding instruction The DOWN event of the first display screen and the UP event of the second display screen are reported, wherein there is no edge suppression state between the first display screen and the second display screen.
  • detecting a horizontal and vertical screen state of the current touch screen of the mobile terminal includes: detecting, for a single-screen mobile terminal, a current horizontal and vertical screen state of the mobile terminal by using a three-axis acceleration sensor; and automatically detecting the dual-screen or multi-screen mobile terminal by using a Hall device Or the function key switching mode determines the horizontal and vertical screen state of the dual-screen or multi-screen mobile terminal.
  • the touch response of the upper and lower edges is insensitive, the touch does not respond to the problem; and when the dual-screen mobile phone operates, the horizontal screen slides across the screen.
  • the problem of disconnection and jamming is obvious; and during the vertical screen operation of the dual-screen mobile phone, the disconnection, the jam, and the touch of the upper and lower edges are insensitive and unresponsive.
  • the embodiments of the present disclosure provide an apparatus and method for flexible processing of touch screen edge suppression, which solves the problem that the edge suppression caused by the operation of the mobile terminal in the prior art causes the touch to be unresponsive, disconnected, insensitive, and improves the use of the electronic device. Convenience to enhance the user experience.
  • the current horizontal and vertical screen status of the mobile phone is automatically detected by the acceleration.
  • the left and right sides of the touch screen are edge suppression areas; when the single-screen horizontal screen is operated, the edge suppression is not performed in the upper, lower, left and right areas of the touch screen.
  • 7 is a schematic diagram of a multi-screen mobile terminal according to an embodiment of the present disclosure. As shown in FIG.
  • a first display touch screen, a second display touch screen, ..., an Nth display touch screen are connected to a CPU of a central processing unit under the control of a CPU.
  • the mobile terminal also includes a memory, an acceleration sensor, and other peripherals.
  • Embodiments of the present disclosure provide a flexible processing and setting method for touch screen edge suppression to eliminate touch unresponsiveness caused by touch screen edge suppression in some scenes, and the touch is insensitive, including:
  • FIG. 8 is a schematic diagram of a horizontal screen setting edge suppression of a single-screen mobile terminal according to an embodiment of the present disclosure.
  • the mobile phone when in a single-screen working mode or a single-screen mobile terminal, the mobile phone is determined by the direction of the acceleration. Whether it is in landscape or vertical screen.
  • the processor sends the left edge suppression touch screen configuration file to the touch screen through the I2C or SPI bus; when the horizontal screen works, the processor sends the touch screen configuration file without edge suppression to the touch screen through the I2C or SPI bus.
  • the direction of the acceleration is used to determine whether the mobile phone is in a horizontal or vertical state when the dual-screen operation is performed.
  • FIG. 9 is a schematic diagram of vertical screen setting edge suppression of a dual-screen mobile terminal according to an embodiment of the present disclosure.
  • the processor when operating in portrait mode, sends a left edge suppression right edge to the left touch screen through an I2C or SPI bus. Unsuppressed touch screen configuration file, the processor sends a touch screen configuration file on the right touch screen to the right touch screen through the I2C or SPI bus without suppressing the right edge suppression;
  • FIG. 10 is a schematic diagram of a horizontal screen setting edge suppression of a dual-screen mobile terminal according to an embodiment of the present disclosure.
  • the processor sends the left and right edges to the touch screen through the I2C or SPI bus.
  • the touch screen configuration file the processor sends the touch screen configuration file to the lower touch screen through the I2C or SPI bus without suppressing the left and right edges.
  • FIG. 11 is a first schematic diagram of a vertical screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure.
  • the processor sends the first touch screen to the left touch screen through the I2C or SPI bus. Displaying the left edge suppression of the touch screen, the Nth display the touch screen configuration file suppressed by the right edge of the touch screen, the processor does not suppress the right edge of the first display touch screen through the I2C or SPI bus, and the left edge of the Nth display touch screen transmits the unsuppressed touch screen
  • the configuration file, the second display touch screen to the N-1 display touch screen configuration file of the left and right edges of the touch screen are not suppressed.
  • FIG. 12 is a schematic diagram 2 of a vertical screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure.
  • a left-side suppression and a right-side non-suppressed touch screen configuration are transmitted to a leftmost screen by an I2C or SPI bus.
  • the file sends a touch screen profile whose left edge is not suppressed and the right edge is suppressed to the rightmost touch screen, and sends a touch screen profile whose left and right edges are not suppressed to the middle screen.
  • FIG. 13 is a first schematic diagram of a horizontal screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure
  • FIG. 14 is a second schematic diagram of a horizontal screen setting edge suppression of a multi-screen mobile terminal according to an embodiment of the present disclosure, as shown in FIGS. 13 and 14. It is shown that when working in the horizontal screen, the processor sends the touch screen configuration file that the upper and lower left and right edges are not suppressed to the first display touch screen to the Nth display touch screen through the I2C or SPI bus. When sliding from top to bottom and clicking on the top and bottom edges, it is difficult to touch the bottom edge, and the normal operation such as touch click activity is suppressed, and the touch is unresponsive.
  • the touch screen Since the screen will first report a Down event when sliding from one screen to another when the screen is operated, when the first screen is slid, the touch screen will report an Up event and slide into another screen. At the time, the touch screen will then report a Down event, and when it finally lifts the finger, it will report an Up again. Event; that is, the complete process is that when the first display screen is continuously slid to the second display screen, the first display will report the Down event in the process -> the first display reports the Up event -> the second The Down event is reported on the display->The second display will report the Up event, in which the first display will report a Down event->The second display will report a disconnection during the Up event, usually in order to handle this disconnection. A delay determination is added. If there is a Down event of the second display within the timeout period, the edge Up event of the first display screen is discarded to form a complete sliding operation.
  • the setting of the timeout waiting time can be reduced, thereby further improving the user experience.
  • the current posture of the mobile phone can be calculated by the value of (x, y, z) of the triaxial acceleration sensor.
  • the automatic rotation function of the mobile phone realizes the automatic horizontal and vertical screen switching by calculating the angle of the acceleration sensor.
  • the automatic detection of the Hall device or the function key switching mode can be used to confirm the working state of the dual-screen mobile phone;
  • the working states include: single-screen working mode and dual-screen working mode.
  • the single-screen working mode may be that only the first display screen works, or only the second display screen works.
  • the automatic adjustment of the touch screen edge suppression is suitable for the first display screen as well as for the second display screen.
  • FIG. 15 is a block diagram of a touch screen edge processing device according to an embodiment of the present disclosure. As shown in FIG.
  • the detecting module 152 is configured to detect a horizontal and vertical screen state of the current touch screen of the mobile terminal;
  • a determining module 154 configured to determine edge suppression or set no edge suppression at an edge of the touch screen according to a horizontal and vertical screen state in which the mobile terminal is located;
  • the setting module 156 is configured to set an edge suppression function of the touch screen according to the determined result.
  • the determining module 154 includes:
  • a first determining unit configured to determine that edge suppression is set on a left edge and a right edge of the touch screen when the mobile terminal is in a portrait state
  • a second determining unit configured to determine that no edge suppression is set on an edge of the touch screen when the mobile terminal is in a landscape state.
  • the first determining unit includes at least one of the following:
  • a first determining submodule configured to determine that edge suppression is set on a left edge and a right edge of the touch screen when the mobile terminal is in a single screen vertical screen state
  • the second determining sub-module is configured to determine that edge suppression is set on the left edge and the right edge of the touch screen when the mobile terminal is in the dual screen or multi-screen extended vertical state, and no edge suppression is set between the adjacent display screens.
  • the second determining subunit is further used to
  • edge suppression is set on the left edge of the left screen touch screen and the right edge of the right screen touch screen, and the left edge of the left screen touch screen and the left edge of the right screen touch screen are set to have no edge suppression. ; or
  • the setting module 156 includes:
  • a first sending unit configured to send a left edge and a right edge suppressed touch screen configuration file to the touch screen through the I2C or SPI bus when the mobile terminal is in a single screen vertical screen state;
  • a second sending unit configured to send left edge and right edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a dual screen or multi-screen extended vertical state, and no edge suppression between adjacent display screens Touch screen profile.
  • the second determining unit includes:
  • a third determining subunit configured to determine that no edge suppression is set on an edge of the touch screen when the mobile terminal is in a single screen horizontal screen state
  • a fourth determining subunit configured to determine that no edge suppression is set on an edge of the touch screen when the mobile terminal is in a dual screen or multi-screen extended horizontal screen state, and no edge suppression is set between adjacent display screens.
  • the setting module 156 includes:
  • a third sending unit configured to send a touch screen configuration file without edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a single screen horizontal screen state;
  • a fourth sending unit configured to send a touch screen edge without edge suppression to the touch screen through the I2C or SPI bus when the mobile terminal is in a dual-screen or multi-screen extended horizontal screen state, and no edge suppression between adjacent display screens Touch screen profile.
  • the device further includes:
  • An obtaining unit configured to read the touch screen configuration file from a memory
  • a fifth sending unit configured to send the read touch screen configuration file to the touch screen integrated circuit IC through an I2C or SPI bus.
  • the device further includes:
  • a detecting module configured to detect whether a state of the touch screen of the mobile terminal changes
  • the change module is configured to change an edge suppression region of the touch screen of the mobile terminal according to a change in the state of the touch screen when a state of the touch screen of the mobile terminal changes.
  • the change module includes:
  • a first switching unit configured to switch the edge suppression state of the touch screen from left edge and right edge suppression to no edge suppression when detecting that the touch screen changes from a portrait state to a landscape state;
  • a second switching unit configured to switch the edge suppression state of the touch screen from no edge suppression to left edge and right edge suppression when detecting that the touch screen changes from a horizontal screen state to a vertical screen state.
  • the first switching unit is further used to control the first switching unit
  • the edge suppression state of the touch screen is switched from the left edge and the right edge suppression to the touch screen without edge suppression;
  • the edge suppression state of the touch screen is suppressed by the left edge and the right edge, and the adjacent display screen has no edge suppression switching. No edge suppression for the touch screen.
  • the second switching unit is further used to control the second switching unit
  • the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression;
  • the edge suppression state of the touch screen is switched from the touch screen without edge suppression to the left edge and the right edge suppression, adjacent The display has no edge suppression.
  • the device further includes:
  • a detecting unit configured to detect a sliding instruction from the first display screen of the touch screen to an adjacent second display screen when the touch screen is in a dual screen or multi-screen state
  • a reporting unit configured to trigger a DOWN event of the first display screen and an UP event of the second display screen according to the sliding instruction, wherein the first display screen and the second display screen are No edge suppression state.
  • the detecting module 152 is further configured to:
  • the current horizontal and vertical screen state of the mobile terminal is detected by a three-axis acceleration sensor;
  • the horizontal and vertical screen states of the dual-screen or multi-screen mobile terminal are determined by a Hall device automatic detection or a function key switching manner.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present disclosure also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present disclosure also provide a processor for running a program, wherein the program executes the steps of any of the above methods when executed.
  • the foregoing program is used to perform the following steps:

Landscapes

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

Abstract

本公开提供了一种触摸屏边缘处理方法及装置,其中,该方法包括:检测移动终端当前触摸屏的横竖屏状态;根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;根据确定的结果对所述触摸屏的边缘抑制功能进行设置,解决了相关技术中移动终端的触摸屏屏幕边缘抑制不够灵活的问题,实现了灵活设置移动终端的触摸屏屏幕边缘抑制功能,提高了使用的方便性,提升了用户体验。

Description

一种触摸屏边缘处理方法及装置 技术领域
本公开涉及通信领域,具体而言,涉及一种触摸屏边缘处理方法及装置。
背景技术
便携式电子装置例如智能手机已广泛应用,智能手机一般标配有触摸屏作为输入设备。智能手机目前大多采用电容式触摸屏,给用户提供了较好的使用体验。
目前,触摸屏手机的屏幕尺寸普遍在5英寸以上,有的达到6.0英寸,甚至更大。图1是根据相关技术中的拇指横跨屏幕操控触摸屏的示意图,如图1所示,在单手使用手机时,假如右手握持,拇指需要横跨屏幕去点击屏幕左侧的内容时,拇指和/或拇指根部的大鱼际(拇指与手掌相连的部位,如图1的A处,以下简称大鱼际)经常触及右侧屏幕及其内容,导致误触摸,想点击的地方还没点到,反而点击了不想点击的地方,出现用户并不想要的结果。
图2是根据相关技术中的单屏移动终端的示意图,如图2所示,由于大屏手机单手操作时经常会发生边缘误触现象,这使一部分用户干脆放弃单手操作,不得不拿起另一只手去点左侧的区域,现有的解决办法是增加触摸屏的边缘抑制。现有触摸屏为了解决操作时边缘误触的问题,都会在边缘增加边缘抑制的功能,斜线填充的矩形边缘部分为边缘抑制区域。
但是单屏横屏操作的时候,由于如图中底部有矩形边缘抑制区域,会导致底部边缘触摸困难,触摸点击活动等正常操作时被抑制,触摸无响应的问题,非常影响用户的体验。
对于双屏手机,图3是根据相关技术中的双屏手机中跨屏操作的示意图一,如图3所示,当跨屏操作的时候,由于左屏的右边缘和右屏的左边缘抑制;双屏手机双屏竖屏操作时,导致滑动的过程中感觉明显的断线、卡顿。
图4是根据相关技术中的双屏手机中跨屏操作的示意图二,如图4所示,双屏手机双屏横屏操作时如下图,由上向下滑动,以及上下边缘点击时,会导致底部边缘触摸困难,触摸点击活动等正常操作时被抑制,触摸无响应的问题。
针对相关技术中移动终端的触摸屏屏幕边缘抑制不够灵活的问题,尚未提出解决方 案。
发明内容
本公开实施例提供了一种触摸屏边缘处理方法及装置,以至少解决相关技术中移动终端的触摸屏屏幕边缘抑制不够灵活的问题。
根据本公开的一个实施例,提供了一种触摸屏边缘处理方法,包括:
检测移动终端当前触摸屏的横竖屏状态;
根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
可选地,根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制包括:
在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制;
在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制。
可选地,在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制包括以下至少之一:
在所述移动终端处于单屏竖屏状态时,确定在所述触摸屏左边缘和右边缘设置边缘抑制;
在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻触摸屏之间设置无边缘抑制包括:
在所述移动终端处于双屏扩展竖屏状态时,确定在左屏触摸屏的左边缘和右屏触摸屏的右边缘设置边缘抑制,左屏触摸屏的右边缘和右屏触摸屏的左边缘设置无边缘抑制;或者,
在所述移动终端处于多屏扩展竖屏状态时,确定在最左屏触摸屏的左边缘和最右屏触摸屏的右边缘设置边缘抑制,所述最左屏触摸屏的右边缘、中间屏的左右边缘以及所述最右屏触摸屏的左边缘设置无边缘抑制。
可选地,根据确定的结果对所述触摸屏的边缘抑制功能进行设置包括:
在所述移动终端处于单屏竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制的触摸屏配置文件;
在所述移动终端处于双屏或多屏扩展竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制包括:
在所述移动终端处于单屏横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制;
在所述移动终端处于双屏或多屏扩展横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,根据确定的结果对触摸屏的边缘抑制功能进行设置包括:
在所述移动终端处于单屏横屏状态时,通过I2C或SPI总线向所述触摸屏发送无边缘抑制的触摸屏配置文件;
在所述移动终端处于双屏或多屏扩展横屏状态时,通过I2C或SPI总线向所述触摸屏发送触摸屏边缘无边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,所述方法还包括:
从存储器读取所述触摸屏配置文件;
通过I2C或SPI总线将读取的所述触摸屏配置文件发送给所述触摸屏集成电路IC。
可选地,所述方法还包括:
检测所述移动终端的触摸屏状态是否发生变化;
在所述移动终端的触摸屏状态发生变化的情况下,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更。
可选地,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更包括:
当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制;或者,
当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制。
可选地,当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制包括:
当检测到所述触摸屏由单屏竖屏状态变化为单屏横屏状态,将所述触摸屏的边缘抑制 状态由左边缘和右边缘抑制切换为触摸屏无边缘抑制;
当检测到所述触摸屏由双屏或多屏竖屏状态变化为双屏或多屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制,相邻显示屏无边缘抑制切换为触摸屏无边缘抑制。
可选地,当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制包括:
当检测到所述触摸屏由单屏横屏状态变化为单屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制;
当检测到所述触摸屏由双屏或多屏横屏状态变化为双屏或多屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制,相邻显示屏无边缘抑制。
可选地,所述方法还包括:
当触摸屏为双屏或多屏状态时,检测从所述触摸屏的第一显示屏滑动到相邻的第二显示屏的滑动指令;
根据所述滑动指令触发上报所述第一显示屏的DOWN事件和所述第二显示屏的UP事件,其中,所述第一显示屏与所述第二显示屏之间为无边缘抑制状态。
可选地,检测移动终端当前触摸屏的横竖屏状态包括:
对于单屏移动终端,通过三轴加速度传感器检测移动终端当前的横竖屏状态;
对于双屏或多屏移动终端,通过霍尔器件自动检测或功能键切换方式,确定所述双屏或多屏移动终端的横竖屏状态。
根据本公开的另一个实施例,还提供了一种触摸屏边缘处理装置,包括:
检测模块,设置为检测移动终端当前触摸屏的横竖屏状态;
确定模块,设置为根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
设置模块,设置为根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
可选地,所述确定模块包括:
第一确定单元,设置为在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制;
第二确定单元,设置为在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制。
可选地,所述第一确定单元,包括以下至少之一:
第一确定子模块,设置为在所述移动终端处于单屏竖屏状态时,确定在所述触摸屏左边缘和右边缘设置边缘抑制;
第二确定子模块,设置为在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,所述第二确定子单元,还设置为
在所述移动终端处于双屏扩展竖屏状态时,确定在左屏触摸屏的左边缘和右屏触摸屏的右边缘设置边缘抑制,左屏触摸屏的右边缘和右屏触摸屏的左边缘设置无边缘抑制;或者,
在所述移动终端处于多屏扩展竖屏状态时,确定在最左屏触摸屏的左边缘和最右屏触摸屏的右边缘设置边缘抑制,所述最左屏触摸屏的右边缘、中间屏的左右边缘以及所述最右屏触摸屏的左边缘设置无边缘抑制。
可选地,所述设置模块包括:
第一发送单元,设置为在所述移动终端处于单屏竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制的触摸屏配置文件;
第二发送单元,设置为在所述移动终端处于双屏或多屏扩展竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,所述第二确定单元包括:
第三确定子单元,设置为在所述移动终端处于单屏横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制;
第四确定子单元,设置为在所述移动终端处于双屏或多屏扩展横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,所述设置模块包括:
第三发送单元,设置为在所述移动终端处于单屏横屏状态时,通过I2C或SPI总线向所述触摸屏发送无边缘抑制的触摸屏配置文件;
第四发送单元,设置为在所述移动终端处于双屏或多屏扩展横屏状态时,通过I2C或SPI总线向所述触摸屏发送触摸屏边缘无边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,所述装置还包括:
获取单元,设置为从存储器读取所述触摸屏配置文件;
第五发送单元,设置为通过I2C或SPI总线将读取的所述触摸屏配置文件发送给所述触摸屏集成电路IC。
可选地,所述装置还包括:
检测模块,设置为检测所述移动终端的触摸屏状态是否发生变化;
变更模块,设置为在所述移动终端的触摸屏状态发生变化的情况下,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更。
可选地,所述变更模块包括:
第一切换单元,设置为当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制;或者,
第二切换单元,设置为当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制。
可选地,所述第一切换单元,还设置为
当检测到所述触摸屏由单屏竖屏状态变化为单屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为触摸屏无边缘抑制;
当检测到所述触摸屏由双屏或多屏竖屏状态变化为双屏或多屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制,相邻显示屏无边缘抑制切换为触摸屏无边缘抑制。
可选地,所述第二切换单元,还设置为
当检测到所述触摸屏由单屏横屏状态变化为单屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制;
当检测到所述触摸屏由双屏或多屏横屏状态变化为双屏或多屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制,相邻显示屏无边缘抑制。
可选地,所述装置还包括:
检测单元,设置为当触摸屏为双屏或多屏状态时,检测从所述触摸屏的第一显示屏滑动到相邻的第二显示屏的滑动指令;
上报单元,设置为根据所述滑动指令触发上报所述第一显示屏的DOWN事件和所述第二显示屏的UP事件,其中,所述第一显示屏与所述第二显示屏之间为无边缘抑制状态。
可选地,所述检测模块,还设置为
对于单屏移动终端,通过三轴加速度传感器检测移动终端当前的横竖屏状态;
对于双屏或多屏移动终端,通过霍尔器件自动检测或功能键切换方式,确定所述双屏或多屏移动终端的横竖屏状态。
根据本公开的又一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述任一项所述的方法。
根据本公开的又一个实施例,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述任一项所述的方法。
通过本公开,检测移动终端当前触摸屏的横竖屏状态;根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;根据确定的结果对所述触摸屏的边缘抑制功能进行设置,解决了相关技术中移动终端的触摸屏屏幕边缘抑制不够灵活的问题,实现了灵活设置移动终端的触摸屏屏幕边缘抑制功能,提高了使用的方便性,提升了用户体验。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是根据相关技术中的拇指横跨屏幕操控触摸屏的示意图;
图2是根据相关技术中的单屏移动终端的示意图;
图3是根据相关技术中的双屏手机中跨屏操作的示意图一;
图4是根据相关技术中的双屏手机中跨屏操作的示意图二;
图5是本公开实施例的移动终端的硬件结构框图;
图6是根据本公开实施例的触摸屏边缘处理方法的流程图;
图7是根据本公开实施例的多屏移动终端的示意图;
图8是根据本公开实施例的单屏移动终端横屏设置边缘抑制的示意图;
图9是根据本公开实施例的双屏移动终端竖屏设置边缘抑制的示意图;
图10是根据本公开实施例的双屏移动终端横屏设置边缘抑制的示意图;
图11是根据本公开实施例的多屏移动终端竖屏设置边缘抑制的示意图一;
图12是根据本公开实施例的多屏移动终端竖屏设置边缘抑制的示意图二;
图13是根据本公开实施例的多屏移动终端横屏设置边缘抑制的示意图一;
图14是根据本公开实施例的多屏移动终端横屏设置边缘抑制的示意图二;
图15是根据本公开实施例的种触摸屏边缘处理装置的框图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图5是本公开实施例的移动终端的硬件结构框图,如图5所示,移动终端10可以包括一个或两个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图5所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图5中所示更多或者更少的组件,或者具有与图5所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本公开实施例中的机顶盒连接到DHCP对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者两个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
基于上述的移动终端,在本实施例中提供了一种触摸屏边缘处理方法,图6是根据本公开实施例的触摸屏边缘处理方法的流程图,如图6所示,该流程包括如下步骤:
步骤S602,检测移动终端当前触摸屏的横竖屏状态;
步骤S604,根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
步骤S606,根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
通过上述步骤,检测移动终端当前触摸屏的横竖屏状态;根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;根据确定的结果对所述触摸屏的边缘抑制功能进行设置,解决了相关技术中移动终端的触摸屏屏幕边缘抑制不够灵活的问题,实现了灵活设置移动终端的触摸屏屏幕边缘抑制功能,提高了使用的方便性,提升了用户体验。
可选地,根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制包括:在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制;在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制。
可选地,在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制包括以下至少之一:在所述移动终端处于单屏竖屏状态时,确定在所述触摸屏左边缘和右边缘设置边缘抑制;在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻触摸屏之间设置无边缘抑制包括:在所述移动终端处于双屏扩展竖屏状态时,确定在左屏触摸屏的左边缘和右屏触摸屏的右边缘设置边缘抑制,左屏触摸屏的右边缘和右屏触摸屏的左边缘设置无边缘抑制;或者,在所述移动终端处于多屏扩展竖屏状态时,确定在最左屏触摸屏的左边缘和最右屏触摸屏的右边缘设置边缘抑制,所述最左屏触摸屏的右边缘、中间屏的左右边缘以及所述最右屏触摸屏的左边缘设置无边缘抑制。
可选地,根据确定的结果对所述触摸屏的边缘抑制功能进行设置包括:在所述移动终端处于单屏竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制的触摸屏配置文件;在所述移动终端处于双屏或多屏扩展竖屏状态时,通过内置集成电路(Inter-Integrated Circuit,简称为I2C)或串行外设接口(Serial Peripheral Interface,简称为SPI)总线向所述触摸屏发送左边缘和右边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制包括:在所述移动终端处于单屏横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制;在所述移动终端处于双屏或多屏扩展横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,根据确定的结果对触摸屏的边缘抑制功能进行设置包括:在所述移动终端处于单屏横屏状态时,通过I2C或SPI总线向所述触摸屏发送无边缘抑制的触摸屏配置文件;在所述移动终端处于双屏或多屏扩展横屏状态时,通过I2C或SPI总线向所述触摸屏发送触摸屏边缘无边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,所述方法还包括:从存储器读取所述触摸屏配置文件;通过I2C或SPI总线将读取的所述触摸屏配置文件发送给所述触摸屏集成电路(integrate circuit,简称为IC)。
可选地,所述方法还包括:检测所述移动终端的触摸屏状态是否发生变化;在所述移动终端的触摸屏状态发生变化的情况下,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更。
可选地,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进 行变更包括:当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制;或者,当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制。
可选地,当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制包括:当检测到所述触摸屏由单屏竖屏状态变化为单屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为触摸屏无边缘抑制;当检测到所述触摸屏由双屏或多屏竖屏状态变化为双屏或多屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制,相邻显示屏无边缘抑制切换为触摸屏无边缘抑制。
可选地,当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制包括:当检测到所述触摸屏由单屏横屏状态变化为单屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制;当检测到所述触摸屏由双屏或多屏横屏状态变化为双屏或多屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制,相邻显示屏无边缘抑制。
可选地,所述方法还包括:当触摸屏为双屏或多屏状态时,检测从所述触摸屏的第一显示屏滑动到相邻的第二显示屏的滑动指令;根据所述滑动指令触发上报所述第一显示屏的DOWN事件和所述第二显示屏的UP事件,其中,所述第一显示屏与所述第二显示屏之间为无边缘抑制状态。
可选地,检测移动终端当前触摸屏的横竖屏状态包括:对于单屏移动终端,通过三轴加速度传感器检测移动终端当前的横竖屏状态;对于双屏或多屏移动终端,通过霍尔器件自动检测或功能键切换方式,确定所述双屏或多屏移动终端的横竖屏状态。
为了解决不同操作场景下触摸屏边缘抑制导致的不响应触摸事件,比如单屏手机横屏操作时,上下边缘触摸反应不灵敏,触摸不响应问题;以及双屏手机操作时,横屏跨屏左右滑动操作的过程中感觉明显的断线、卡顿的问题;以及双屏手机竖屏操作的时候上下滑动操作的过程中感觉明显的断线、卡顿,和上下边缘触摸不灵敏不响应的问题。本公开实施例提供了一种触摸屏边缘抑制灵活处理的装置以及方法,以解决现有技术中操作移动终端存在经常发生的边缘抑制导致触摸不响应、断线、不灵敏现象,提高电子装置使用的方便性,提升用户体验。通过加速度自动检测手机当前的横竖屏状态。单屏竖屏显示时,触摸屏左右两边为边缘抑制区域;单屏横屏操作时,触摸屏上下左右区域均不进行边缘抑制。图7是根据本公开实施例的多屏移动终端的示意图,如图7所示,第一显示触摸屏、第二显示触摸屏、…、第N显示触摸屏与中央处理器CPU连接,在CPU的控制下工作,移动终端还包括存储器、加速度传感器以及其他外设。双屏扩展竖屏显示时,左屏触摸屏的左边缘和右屏触摸屏的右边缘抑制;左屏触摸屏的右边缘和右屏触摸屏的左边缘不抑制;双屏扩展横屏显示时,上触摸屏的上下左右均不进行边缘抑制;下触摸屏的上下左右均不进 行边缘抑制。
本公开实施例提供了一种触摸屏边缘抑制的灵活处理和设定方法,以消除部分场景下由于触摸屏边缘抑制导致的触摸不响应,触摸不灵敏,包括:
第一方面,图8是根据本公开实施例的单屏移动终端横屏设置边缘抑制的示意图,如图8所示,当处于单屏工作模式或者单屏移动终端时,通过加速度的方向判断手机处于横屏还是竖屏的状态。竖屏工作的时候,处理器通过I2C或SPI总线给触摸屏发送左边边缘抑制的触摸屏配置文件;横屏工作的时候,处理器通过I2C或SPI总线给触摸屏发送无边缘抑制的触摸屏配置文件。
第二方面,当处于双屏工作模式时,通过加速度的方向判断手机双屏工作时处于横屏还是竖屏的状态。
图9是根据本公开实施例的双屏移动终端竖屏设置边缘抑制的示意图,如图9所示,当处于竖屏工作时,处理器通过I2C或SPI总线给左触摸屏发送左边缘抑制右边缘不抑制的触摸屏配置文件,处理器通过I2C或SPI总线给右触摸屏发送左边缘不抑制右边缘抑制的触摸屏配置文件;
图10是根据本公开实施例的双屏移动终端横屏设置边缘抑制的示意图,如图10所示,当处于横屏工作时,处理器通过I2C或SPI总线给上触摸屏发送左右边缘都不抑制的触摸屏配置文件,处理器通过I2C或SPI总线给下触摸屏发送左右边缘都不抑制的触摸屏配置文件。
图11是根据本公开实施例的多屏移动终端竖屏设置边缘抑制的示意图一,如图11所示,当多屏处于竖屏工作时,处理器通过I2C或SPI总线给左触摸屏发送第一显示触摸屏的左边缘抑制,第N显示触摸屏的右边缘抑制的触摸屏配置文件,处理器通过I2C或SPI总线给第一显示触摸屏的右边缘不抑制,第N显示触摸屏的左边缘发送不抑制的触摸屏配置文件,第二显示触摸屏到第N-1显示触摸屏的左右边缘均不抑制的触摸屏配置文件。
图12是根据本公开实施例的多屏移动终端竖屏设置边缘抑制的示意图二,如图12所示,通过I2C或SPI总线向最左屏触摸屏发送左边缘抑制且右边缘不抑制的触摸屏配置文件,向最右屏触摸屏发送左边缘不抑制且右边缘抑制的触摸屏配置文件,向中间屏发送左右边缘不抑制的触摸屏配置文件。
图13是根据本公开实施例的多屏移动终端横屏设置边缘抑制的示意图一,图14是根据本公开实施例的多屏移动终端横屏设置边缘抑制的示意图二,如图13和14所示,当处于横屏工作时,处理器通过I2C或SPI总线给第一显示触摸屏至第N显示触摸屏发送上下左右边缘都不抑制的触摸屏配置文件。由上向下滑动,以及上下边缘点击时,会导致底部边缘触摸困难,触摸点击活动等正常操作时被抑制,触摸无响应的问题。
由于在跨屏操作的时候,从某一个屏滑动到另外一个屏幕的时候,触摸屏会先报一个Down事件,滑出第一个屏幕的时候,触摸屏会上报一个Up事件,当滑入另外一个屏幕的时候,触摸屏会接着上报一个Down事件,当最终抬起手指的时候,会再次上报一Up 事件;也就是说完整的流程为,从第一显示屏连续滑动到第二显示屏的时候,在此过程中第一显示屏会上报Down事件->第一显示屏上报Up事件->第二显示屏上报Down事件->第二显示屏会上报Up事件,其中在第一显示屏会上报Down事件->第二显示屏上报Up事件过程中会存在一个断线,通常为了处理此断线,会增加一个延时判断,如果超时时间内有第二显示屏的Down事件,则丢弃第一显示屏的边缘Up事件,形成一个完整的滑动操作。
如果采用了本公开中的两个相连屏幕中间边缘不抑制方案,那么超时等待时间的设置可以减少,从而进一步的提升用户体验。
特别地,通过三轴加速度传感器的(x,y,z)的值,即可以计算出手机当前的姿势。比如目前手机自动旋转功能即通过加速度传感器的值来计算角度实现自动横竖屏的切换。比如当手机横屏且与地面水平的时候,加速度传感器三轴的值分别为(x=9.8m/s^2,y=0,z=0)。
其中,特别针对双屏手机,可以通过霍尔器件自动检测,或者功能键切换方式,确认双屏手机的工作状态;工作状态包括:单屏工作模式,双屏工作模式。
其中单屏工作模式,即可以是仅第一显示屏工作,也可以是仅第二显示屏工作。触摸屏边缘抑制的自动调节方式即适合第一显示屏,也适合第二显示屏。
实施例2
根据本公开的另一个实施例,还提供了一种触摸屏边缘处理装置,图15是根据本公开实施例的一种触摸屏边缘处理装置的框图,如图15所示,包括:
检测模块152,用于检测移动终端当前触摸屏的横竖屏状态;
确定模块154,用于根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
设置模块156,用于根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
可选地,所述确定模块154包括:
第一确定单元,用于在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制;
第二确定单元,用于在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制。
可选地,所述第一确定单元,包括以下至少之一:
第一确定子模块,用于在所述移动终端处于单屏竖屏状态时,确定在所述触摸屏左边缘和右边缘设置边缘抑制;
第二确定子模块,用于在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,所述第二确定子单元,还用于
在所述移动终端处于双屏扩展竖屏状态时,确定在左屏触摸屏的左边缘和右屏触摸屏的右边缘设置边缘抑制,左屏触摸屏的右边缘和右屏触摸屏的左边缘设置无边缘抑制;或 者,
在所述移动终端处于多屏扩展竖屏状态时,确定在最左屏触摸屏的左边缘和最右屏触摸屏的右边缘设置边缘抑制,所述最左屏触摸屏的右边缘、中间屏的左右边缘以及所述最右屏触摸屏的左边缘设置无边缘抑制。
可选地,所述设置模块156包括:
第一发送单元,用于在所述移动终端处于单屏竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制的触摸屏配置文件;
第二发送单元,用于在所述移动终端处于双屏或多屏扩展竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,所述第二确定单元包括:
第三确定子单元,用于在所述移动终端处于单屏横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制;
第四确定子单元,用于在所述移动终端处于双屏或多屏扩展横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制,相邻显示屏之间设置无边缘抑制。
可选地,所述设置模块156包括:
第三发送单元,用于在所述移动终端处于单屏横屏状态时,通过I2C或SPI总线向所述触摸屏发送无边缘抑制的触摸屏配置文件;
第四发送单元,用于在所述移动终端处于双屏或多屏扩展横屏状态时,通过I2C或SPI总线向所述触摸屏发送触摸屏边缘无边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
可选地,所述装置还包括:
获取单元,用于从存储器读取所述触摸屏配置文件;
第五发送单元,用于通过I2C或SPI总线将读取的所述触摸屏配置文件发送给所述触摸屏集成电路IC。
可选地,所述装置还包括:
检测模块,用于检测所述移动终端的触摸屏状态是否发生变化;
变更模块,用于在所述移动终端的触摸屏状态发生变化的情况下,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更。
可选地,所述变更模块包括:
第一切换单元,用于当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制;或者,
第二切换单元,用于当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制。
可选地,所述第一切换单元,还用于
当检测到所述触摸屏由单屏竖屏状态变化为单屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为触摸屏无边缘抑制;
当检测到所述触摸屏由双屏或多屏竖屏状态变化为双屏或多屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制,相邻显示屏无边缘抑制切换为触摸屏无边缘抑制。
可选地,所述第二切换单元,还用于
当检测到所述触摸屏由单屏横屏状态变化为单屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制;
当检测到所述触摸屏由双屏或多屏横屏状态变化为双屏或多屏竖屏状态,将所述触摸屏的边缘抑制状态由触摸屏无边缘抑制切换为左边缘和右边缘抑制,相邻显示屏无边缘抑制。
可选地,所述装置还包括:
检测单元,用于当触摸屏为双屏或多屏状态时,检测从所述触摸屏的第一显示屏滑动到相邻的第二显示屏的滑动指令;
上报单元,用于根据所述滑动指令触发上报所述第一显示屏的DOWN事件和所述第二显示屏的UP事件,其中,所述第一显示屏与所述第二显示屏之间为无边缘抑制状态。
可选地,所述检测模块152,还用于
对于单屏移动终端,通过三轴加速度传感器检测移动终端当前的横竖屏状态;
对于双屏或多屏移动终端,通过霍尔器件自动检测或功能键切换方式,确定所述双屏或多屏移动终端的横竖屏状态。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本公开的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项所述的方法。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S11,检测移动终端当前触摸屏的横竖屏状态;
S12,根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
S13,根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
实施例4
本公开的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。
可选地,在本实施例中,上述程序用于执行以下步骤:
S21,检测移动终端当前触摸屏的横竖屏状态;
S22,根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
S23,根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在两个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的两个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (17)

  1. 一种触摸屏边缘处理方法,其中,包括:
    检测移动终端当前触摸屏的横竖屏状态;
    根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
    根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
  2. 根据权利要求1所述的方法,其中,根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制包括:
    在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制;在所述移动终端处于横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制。
  3. 根据权利要求2所述的方法,其中,在所述移动终端处于竖屏状态时,确定在所述触摸屏的左边缘和右边缘设置边缘抑制包括以下至少之一:
    在所述移动终端处于单屏竖屏状态时,确定在所述触摸屏左边缘和右边缘设置边缘抑制;在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻显示屏之间设置无边缘抑制。
  4. 根据权利要求3所述的方法,其中,在所述移动终端处于双屏或多屏扩展竖屏状态时,确定在触摸屏的左边缘和右边缘设置边缘抑制,相邻触摸屏之间设置无边缘抑制包括:在所述移动终端处于双屏扩展竖屏状态时,确定在左屏触摸屏的左边缘和右屏触摸屏的右边缘设置边缘抑制,左屏触摸屏的右边缘和右屏触摸屏的左边缘设置无边缘抑制;或者,在所述移动终端处于多屏扩展竖屏状态时,确定在最左屏触摸屏的左边缘和最右屏触摸屏的右边缘设置边缘抑制,所述最左屏触摸屏的右边缘、中间屏的左右边缘以及所述最右屏触摸屏的左边缘设置无边缘抑制。
  5. 根据权利要求3所述的方法,其中,根据确定的结果对所述触摸屏的边缘抑制功能进行设置包括:
    在所述移动终端处于单屏竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制的触摸屏配置文件;
    在所述移动终端处于双屏或多屏扩展竖屏状态时,通过I2C或SPI总线向所述触摸屏发送左边缘和右边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
  6. 根据权利要求2所述的方法,其中,在所述移动终端处于横屏状态时,确定在所述触 摸屏的边缘设置无边缘抑制包括:
    在所述移动终端处于单屏横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制;
    在所述移动终端处于双屏或多屏扩展横屏状态时,确定在所述触摸屏的边缘设置无边缘抑制,相邻显示屏之间设置无边缘抑制。
  7. 根据权利要求6所述的方法,其中,根据确定的结果对触摸屏的边缘抑制功能进行设置包括:
    在所述移动终端处于单屏横屏状态时,通过I2C或SPI总线向所述触摸屏发送无边缘抑制的触摸屏配置文件;
    在所述移动终端处于双屏或多屏扩展横屏状态时,通过I2C或SPI总线向所述触摸屏发送触摸屏边缘无边缘抑制,相邻显示屏之间无边缘抑制的触摸屏配置文件。
  8. 根据权利要求5或7所述的方法,其中,所述方法还包括:
    从存储器读取所述触摸屏配置文件;
    通过I2C或SPI总线将读取的所述触摸屏配置文件发送给所述触摸屏集成电路IC。
  9. 根据权利要求1至7中任一项所述的方法,其中,所述方法还包括:
    检测所述移动终端的触摸屏状态是否发生变化;
    在所述移动终端的触摸屏状态发生变化的情况下,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更。
  10. 根据权利要求9所述的方法,其中,根据所述触摸屏状态的变化情况对所述移动终端的触摸屏的边缘抑制区域进行变更包括:
    当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制;或者,
    当检测到所述触摸屏由横屏状态变化为竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制。
  11. 根据权利要求10述的方法,其中,当检测到所述触摸屏由竖屏状态变化为横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制包括:
    当检测到所述触摸屏由单屏竖屏状态变化为单屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制切换为无边缘抑制;
    当检测到所述触摸屏由双屏或多屏竖屏状态变化为双屏或多屏横屏状态,将所述触摸屏的边缘抑制状态由左边缘和右边缘抑制,相邻显示屏无边缘抑制切换为无边缘抑制。
  12. 根据权利要求10述的方法,其中,当检测到所述触摸屏由横屏状态变化为竖屏状态, 将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制包括:
    当检测到所述触摸屏由单屏横屏状态变化为单屏竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制;
    当检测到所述触摸屏由双屏或多屏横屏状态变化为双屏或多屏竖屏状态,将所述触摸屏的边缘抑制状态由无边缘抑制切换为左边缘和右边缘抑制,相邻显示屏无边缘抑制。
  13. 根据权利要求10所述的方法,其中,所述方法还包括:
    当触摸屏为双屏或多屏状态时,检测从所述触摸屏的第一显示屏滑动到相邻的第二显示屏的滑动指令;
    根据所述滑动指令触发上报所述第一显示屏的DOWN事件和所述第二显示屏的UP事件,其中,所述第一显示屏与所述第二显示屏之间为无边缘抑制状态。
  14. 根据权利要求1至7中任一项所述的方法,其中,检测移动终端当前触摸屏的横竖屏状态包括:
    对于单屏移动终端,通过三轴加速度传感器检测移动终端当前的横竖屏状态;
    对于双屏或多屏移动终端,通过霍尔器件自动检测或功能键切换方式,确定所述双屏或多屏移动终端的横竖屏状态。
  15. 一种触摸屏边缘处理装置,其中,包括:
    检测模块,用于检测移动终端当前触摸屏的横竖屏状态;
    确定模块,用于根据所述移动终端所处的横竖屏状态确定在所述触摸屏的边缘设置边缘抑制或设置无边缘抑制;
    设置模块,用于根据确定的结果对所述触摸屏的边缘抑制功能进行设置。
  16. 一种存储介质,其中,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至14中任一项所述的方法。
  17. 一种处理器,其中,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至14中任一项所述的方法。
PCT/CN2017/107465 2017-07-25 2017-10-24 一种触摸屏边缘处理方法及装置 WO2019019440A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020502610A JP2020527809A (ja) 2017-07-25 2017-10-24 タッチスクリーンのエッジ処理方法及び装置
US16/632,848 US10996794B2 (en) 2017-07-25 2017-10-24 Method and apparatus for processing edge of touch screen

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710612486.8A CN108459753B (zh) 2017-07-25 2017-07-25 一种触摸屏边缘处理方法及装置
CN201710612486.8 2017-07-25

Publications (1)

Publication Number Publication Date
WO2019019440A1 true WO2019019440A1 (zh) 2019-01-31

Family

ID=63220252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107465 WO2019019440A1 (zh) 2017-07-25 2017-10-24 一种触摸屏边缘处理方法及装置

Country Status (4)

Country Link
US (1) US10996794B2 (zh)
JP (1) JP2020527809A (zh)
CN (1) CN108459753B (zh)
WO (1) WO2019019440A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112076466A (zh) * 2020-09-16 2020-12-15 努比亚技术有限公司 游戏数据控制方法、移动终端及计算机可读存储介质
JP7284853B1 (ja) 2022-05-19 2023-05-31 レノボ・シンガポール・プライベート・リミテッド 情報処理装置、情報処理システム、及び制御方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130285956A1 (en) * 2012-04-25 2013-10-31 Kyocera Corporation Mobile device provided with display function, storage medium, and method for controlling mobile device provided with display function
CN103995668A (zh) * 2014-05-14 2014-08-20 联想(北京)有限公司 一种信息处理方法和电子设备
CN105700709A (zh) * 2016-02-25 2016-06-22 努比亚技术有限公司 一种移动终端及控制移动终端不可触控区域的方法
CN106681638A (zh) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 一种触摸屏控制方法、装置及移动终端
CN106708263A (zh) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 一种触摸屏的防误触方法、装置及移动终端
CN106855785A (zh) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 一种双手握持时实现屏幕防误触的方法、装置及移动终端

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5703623A (en) * 1996-01-24 1997-12-30 Hall; Malcolm G. Smart orientation sensing circuit for remote control
US20100045705A1 (en) * 2006-03-30 2010-02-25 Roel Vertegaal Interaction techniques for flexible displays
JP5653920B2 (ja) * 2009-09-03 2015-01-14 クゥアルコム・インコーポレイテッドQualcomm Incorporated グラフィカルユーザインターフェース要素の配置および方向を示すための方法
JP5557314B2 (ja) * 2010-03-24 2014-07-23 Necカシオモバイルコミュニケーションズ株式会社 端末装置及びプログラム
US9372618B2 (en) * 2010-10-01 2016-06-21 Z124 Gesture based application management
JP2012248137A (ja) * 2011-05-31 2012-12-13 Sharp Corp 表示装置および表示方法
JP5708555B2 (ja) * 2012-04-25 2015-04-30 コニカミノルタ株式会社 操作表示装置及び操作表示方法プログラム
US9619008B2 (en) * 2014-08-15 2017-04-11 Dell Products, Lp System and method for dynamic thermal management in passively cooled device with a plurality of display surfaces
WO2016087855A2 (en) * 2014-12-02 2016-06-09 Nes Irvine Independent touch it
KR102332015B1 (ko) * 2015-02-26 2021-11-29 삼성전자주식회사 터치 처리 방법 및 이를 지원하는 전자 장치
US10088943B2 (en) * 2015-06-30 2018-10-02 Asustek Computer Inc. Touch control device and operating method thereof
CN106681554B (zh) * 2016-12-16 2019-09-06 Oppo广东移动通信有限公司 一种移动终端触摸屏的控制方法、装置及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130285956A1 (en) * 2012-04-25 2013-10-31 Kyocera Corporation Mobile device provided with display function, storage medium, and method for controlling mobile device provided with display function
CN103995668A (zh) * 2014-05-14 2014-08-20 联想(北京)有限公司 一种信息处理方法和电子设备
CN105700709A (zh) * 2016-02-25 2016-06-22 努比亚技术有限公司 一种移动终端及控制移动终端不可触控区域的方法
CN106681638A (zh) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 一种触摸屏控制方法、装置及移动终端
CN106708263A (zh) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 一种触摸屏的防误触方法、装置及移动终端
CN106855785A (zh) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 一种双手握持时实现屏幕防误触的方法、装置及移动终端

Also Published As

Publication number Publication date
US10996794B2 (en) 2021-05-04
US20200150820A1 (en) 2020-05-14
JP2020527809A (ja) 2020-09-10
CN108459753B (zh) 2019-10-01
CN108459753A (zh) 2018-08-28

Similar Documents

Publication Publication Date Title
US11429276B2 (en) Method for displaying graphical user interface and mobile terminal
US9594538B2 (en) Location based data path selection
CN110462556B (zh) 显示控制方法及装置
CN105518605B (zh) 一种终端的触摸操作方法及装置
US10073493B2 (en) Device and method for controlling a display panel
US20150331573A1 (en) Handheld mobile terminal device and method for controlling windows of same
CN103403647A (zh) 填充多屏幕设备或者横越其多个屏幕的键盘
CN110502162B (zh) 文件夹的创建方法及终端设备
EP3550419A2 (en) Mobile terminal device and method for controlling display of mobile terminal device
WO2019137155A1 (zh) 屏幕显示模式的切换方法、装置、存储介质及电子装置
WO2019019440A1 (zh) 一种触摸屏边缘处理方法及装置
US20130130739A1 (en) Portable electronic device and control method
US9432936B2 (en) Portable electronic device
CN108885491A (zh) 一种双屏电子设备的屏幕切换方法及双屏电子设备
CN109144386B (zh) 触摸屏控制方法、装置、存储介质、移动终端及终端配件
US9436294B2 (en) Adjusting method for button functions in electronic device and related apparatus
EP3816779A1 (en) Split screen display method and apparatus used for terminal
CN109634478A (zh) 人机交互的方法和电子设备
US20150277689A1 (en) Display input apparatus and computer-readable non-transitory recording medium with display input control program recorded thereon
CN117931015A (zh) 应用程序显示方法、装置、电子设备及可读存储介质
CN110703970A (zh) 一种信息处理方法及电子设备
CN109343762A (zh) 移动终端以及任务栏调用方法
CN117478773A (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: 17919286

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020502610

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17919286

Country of ref document: EP

Kind code of ref document: A1