WO2020119493A1 - 一种触摸屏的响应方法及电子设备 - Google Patents
一种触摸屏的响应方法及电子设备 Download PDFInfo
- Publication number
- WO2020119493A1 WO2020119493A1 PCT/CN2019/122250 CN2019122250W WO2020119493A1 WO 2020119493 A1 WO2020119493 A1 WO 2020119493A1 CN 2019122250 W CN2019122250 W CN 2019122250W WO 2020119493 A1 WO2020119493 A1 WO 2020119493A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- mobile phone
- screen
- touch
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1694—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
- H04M1/0268—Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2200/00—Indexing scheme relating to G06F1/04 - G06F1/32
- G06F2200/16—Indexing scheme relating to G06F1/16 - G06F1/18
- G06F2200/161—Indexing scheme relating to constructional details of the monitor
- G06F2200/1614—Image rotation following screen orientation, e.g. switching from landscape to portrait mode
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2200/00—Indexing scheme relating to G06F1/04 - G06F1/32
- G06F2200/16—Indexing scheme relating to G06F1/16 - G06F1/18
- G06F2200/163—Indexing scheme relating to constructional details of the computer
- G06F2200/1637—Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/033—Indexing scheme relating to G06F3/033
- G06F2203/0339—Touch strips, e.g. orthogonal touch strips to control cursor movement or scrolling; single touch strip to adjust parameter or to implement a row of soft keys
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04105—Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position
Definitions
- the present application relates to the technical field of terminals, in particular to a response method of a touch screen and an electronic device.
- Touch screens are widely used in mobile phones, e-books, digital cameras and other electronic products to facilitate user operations.
- Existing touch screens include capacitive touch screens and resistive touch screens.
- capacitive touch screen For the more commonly used capacitive touch screen, it uses the current sensing of the human body to work.
- the capacitive touch screen is a four-layer composite glass screen.
- the inner surface and interlayer of the glass screen are each coated with a layer of ITO (coated conductive glass), and the outermost layer is a thin layer of silica glass protective layer.
- the ITO coating is used as On the working surface, four electrodes are drawn on the four corners, and the inner layer of ITO is a shielding layer to ensure a good working environment; when the user's finger touches on the capacitive touch screen, the user's finger and the surface of the capacitive touch screen are formed due to the human body electric field With a coupling capacitor (for high-frequency current, the capacitor can be regarded as a conductor); the user's finger draws a very small current from the touch points on the surface of the capacitive touch screen, and this current is respectively from the electrodes on the four corners of the capacitive touch screen Outflow. Since the current flowing through the four electrodes is proportional to the distance from the finger to the four corners, the controller can accurately calculate the ratio of the four currents to obtain the position of the touch point and respond accordingly.
- a coupling capacitor for high-frequency current, the capacitor can be regarded as a conductor
- the present application provides a touch screen response method and an electronic device, which are used to filter the user's misoperation and reduce the probability of misoperation of the curved screen in the side area.
- an embodiment of the present application provides a touch screen response method, which is applied to an electronic device having a curved screen.
- the method includes: first determining the state of the first device when the electronic device is held by the user at the first moment, and Determining that the touch parameter of the first side area of the curved screen of the electronic device is the first response threshold according to the state of the first device; wherein, the first side area of the curved screen of the electronic device is provided with a pressure sensor; and Receiving the user's first operation on the first side area of the curved screen; when it is determined that the first operation satisfies the first response threshold, then responding to the first operation; and then determining to electronically at the second moment
- the second device state when the device is held by the user, and adjusts the touch parameters of the first side area of the curved screen of the electronic device from the first response threshold to the second response threshold according to the second device state; Wherein, the size of the first response threshold and the second response threshold are different; then receive the second operation of the user on the first
- the electronic device can filter the user's misoperation through the above method, thereby reducing the probability of the misoperation of the curved screen in the side area.
- the touch parameter is pressure
- the first operation and the second operation are pressing operations
- the first response threshold is the first pressure
- the second response threshold is the second pressure. That is, when the electronic device receives the user's first pressing operation, and determines whether the pressing operation is greater than the first pressure, it responds to the first pressing operation when the electronic device changes from the first device state to the second Device status, the touch parameter of the first side area of the curved screen of the electronic device is adjusted from the first pressure to the second pressure, and then when the electronic device determines that the pressure threshold of the second operation is greater than the second pressure, the The second press operation responds.
- the first operation and the second operation are pressing and sliding operations
- the first response threshold is the first pressure and the first sliding distance
- the second response threshold It is the second pressure and the second sliding distance. That is to say, when the electronic device receives the user's first pressing and sliding operation, and determines whether the pressing operation is greater than the first pressure and the sliding distance is greater than the first sliding distance, it responds to the first pressing operation.
- the device changes from the first device state to the second device state, the touch parameter of the first side area of the curved screen of the electronic device is adjusted from the first pressure to the second pressure, and then when the electronic device determines that the pressure threshold for the second operation is greater than When the second pressure is greater than the second sliding distance, it responds to the second pressing operation.
- the touch parameters are pressure and interface response time
- the first response threshold is the first pressure and first response time
- the first The second response threshold is a second pressure and a second response time
- the first response time is less than the second response time
- the first operation and the second operation are pressing operations.
- the electronic device when the electronic device is in a stationary state, when the electronic device receives the user's first pressing operation, and determines whether the pressing operation is greater than the first pressure, it immediately responds to the first pressing operation, when the electronic device Changing from a static state to a moving state, the touch parameter of the first side area of the curved screen of the electronic device is adjusted from the first pressure to the second pressure, and then when the electronic device determines that the pressure threshold of the second operation is greater than the second pressure, Delaying the set time to respond to the second pressing operation.
- the reason why the screen response time is increased is to prevent the user from making too much motion range during the movement and misoperation.
- the electronic device may adjust the response threshold of the entire side from the first response threshold to the second response threshold, or may adjust the area where the virtual key in the side is located from the first response threshold to the second response Threshold.
- an embodiment of the present application provides a method for responding to a touch screen.
- the method includes that the electronic device determines, based on the state data collected by the gyro sensor and the gravity sensor when the electronic device is held by the user at the first moment, At the moment, the electronic device is in the portrait-screen state, and it is determined that the volume virtual key of the electronic device is located in the first touch operation area according to the portrait-screen state; when the electronic device determines that the first operation received by the curved screen acts on the screen When the first touch operation area is mentioned, a response is made when the first operation satisfies the set condition.
- the electronic device determines that the electronic device is in the landscape state at the second moment, and according to the landscape state
- the volume virtual key of the electronic device is adjusted from the first touch operation area to a second touch operation area, and the position of the second touch operation area is different from that of the first touch operation area;
- the received second operation acts on the second touch operation area, it responds when the second operation satisfies the set condition.
- the electronic device can automatically adjust the position of the volume virtual key according to the horizontal and vertical screen state of the device to avoid user misoperation.
- an embodiment of the present application provides an electronic device, including a processor and a memory.
- the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the electronic device can implement any possible design method of any one of the above aspects.
- an embodiment of the present application further provides an apparatus, which includes a module/unit that executes any one of the above-mentioned possible design methods of any aspect.
- These modules/units can be implemented by hardware, and can also be implemented by hardware executing corresponding software.
- an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device performs any of the above aspects Any possible design method.
- an embodiment of the present application further provides a method including a computer program product, which when the computer program product runs on a terminal, causes the electronic device to perform any one of the possible designs of any of the above aspects.
- FIG. 1 is a schematic diagram of an interconnection scenario provided by an embodiment of this application.
- FIG. 2 is a schematic structural diagram of a mobile phone provided by an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of an Android operating system provided by an embodiment of this application.
- 4a to 4e are schematic structural diagrams of a mobile phone provided by embodiments of the present application.
- FIG. 5 is a schematic diagram of a geodetic coordinate system and a mobile phone coordinate system provided by an embodiment of the present application;
- FIG. 6 is a schematic diagram of a user holding manner provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a horizontal screen of a mobile phone in an earth coordinate system provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a user holding manner provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of another user holding manner provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of another user holding manner provided by an embodiment of the present application.
- FIG. 11 is a schematic diagram of another user holding manner provided by an embodiment of the present application.
- FIG. 12 is a schematic diagram of another mobile phone near-light blocked by an embodiment of the present application.
- FIG. 13 is a schematic flowchart of a method for responding to a touch screen provided by an embodiment of the present application.
- FIG. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- 15 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
- the curved screen is a display screen using flexible plastics. Compared with a straight screen, the curved screen has better elasticity and is not easily broken.
- the curved screen uses non-rigid glass as the base, which has better elasticity and is not easily broken. Therefore, the chance of screen wear is reduced, especially for mobile phone screens with a high touch rate.
- Capacitive touch screen technology uses the current induction of the human body to work.
- the finger touches the metal layer, due to the electric field of the human body, a coupling capacitor is formed between the user and the touch screen surface.
- the capacitor is a direct conductor, so the finger draws a small current from the contact point.
- This current flows out from the electrodes on the four corners of the touch screen, and the current flowing through these four electrodes is proportional to the distance from the finger to the four corners.
- the processor can accurately calculate the ratio of the four currents to get the touch point. position.
- the response method of the touch screen may be applied to a scenario where multiple electronic devices 100 shown in FIG. 1 are interconnected based on a communication network.
- the communication network may be a local area network or a wide area network transferred through a relay device.
- the communication network may be a wifi hotspot network, a wifi P2P network, a Bluetooth network, a zigbee network, or a near field communication (NFC) network and other short-distance communication networks.
- NFC near field communication
- the communication network may be a third generation mobile communication technology (3rd-generation wireless telephone technology, 3G) network, a fourth generation mobile communication technology (the 4th generation mobile communication technology, 4G ) Network, 5th-generation mobile communication technology (5G) network, future public land mobile network (PLMN) or Internet etc.
- 3G third generation mobile communication technology
- 4G fourth generation mobile communication technology
- 5G 5th-generation mobile communication technology
- PLMN public land mobile network
- different electronic devices can exchange data through a communication network, such as interactive pictures, text, and video, or the result of the interactive electronic device processing objects such as pictures, text, or video.
- the electronic device 100 shown in FIG. 1 may be a portable electronic device that also includes other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, and a wireless communication function capable device. Wearable devices (such as smart watches), etc. Exemplary embodiments of portable electronic devices include, but are not limited to Or portable electronic devices of other operating systems.
- the above portable electronic device may also be other portable electronic devices, such as a laptop with a touch-sensitive surface (for example, a touch panel) or the like. It should also be understood that, in some other embodiments of the present application, the electronic device 100 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (such as a touch panel).
- the following uses the electronic device 100 as an example to specifically describe the embodiment.
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, and a wireless communication module 160 , Audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card interface 195.
- a processor 110 an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, and a wireless communication module 160 , Audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card interface 195.
- the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
- the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown, or combine some components, or split some components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), and an image signal processor (image)signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural network processor (Neural-network Processing Unit, NPU) Wait.
- application processor application processor
- AP application processor
- modem processor graphics processor
- graphics processor graphics processor
- ISP image signal processor
- controller memory
- video codec video codec
- DSP digital signal processor
- baseband processor baseband processor
- NPU neural network Processing Unit
- different processing units may be independent devices, or may be integrated in one or more processors.
- the controller may be the nerve center and command center of the electronic device 100.
- the controller can generate operation control signals according to the instruction operation codes and timing signals to complete the control of instruction fetching and execution.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory may store instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Avoid repeated access, reduce the waiting time of the processor 110, thus improving the efficiency of the system.
- the processor 110 may include one or more interfaces.
- Interfaces can include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit, sound, I2S) interface, pulse code modulation (pulse code modulation (PCM) interface, universal asynchronous transceiver (universal) asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and And/or universal serial bus (USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
- the processor 110 may include multiple sets of I2C buses.
- the processor 110 may respectively couple the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces.
- the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100.
- the I2S interface can be used for audio communication.
- the processor 110 may include multiple sets of I2S buses.
- the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, to realize the function of answering the phone call through the Bluetooth headset.
- the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
- the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
- the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to realize the function of answering the phone call through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193.
- MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI) and so on.
- the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
- the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device 100.
- the GPIO interface can be configured via software.
- the GPIO interface can be configured as a control signal or a data signal.
- the GPIO interface may be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
- GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface that conforms to the USB standard, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
- the USB interface can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through the headphones.
- the interface can also be used to connect other electronic devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiments of the present invention is only a schematic description, and does not constitute a limitation on the structure of the electronic device 100.
- the electronic device 100 may also use different interface connection methods in the foregoing embodiments, or a combination of multiple interface connection methods.
- the charging management module 140 is used to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 may receive the charging input of the wired charger through the USB interface.
- the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, wireless communication module 160, and the like.
- the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
- the power management module 141 may also be disposed in the processor 110.
- the power management module 141 and the charging management module 140 may also be set in the same device.
- the wireless communication function of the electronic device 100 can be realized by the antenna module 1, the antenna module 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
- Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- the cellular antenna can be multiplexed as a wireless LAN diversity antenna. In other embodiments, the antenna may be used in conjunction with a tuning switch.
- the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (Low Noise Amplifier, LNA), and the like.
- the mobile communication module 150 can receive electromagnetic waves from the antenna 1 and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor and convert it to electromagnetic wave radiation through the antenna 1.
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be transmitted into a high-frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
- the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
- the modem processor may be an independent device.
- the modem processor may be independent of the processor 110, and may be set in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide wireless local area network (wireless local area networks, WLAN), Bluetooth (bluetooth, BT), global navigation satellite system (GNSS), frequency modulation (frequency modulation), which are applied to the electronic device 100. FM), Near Field Communication (NFC), Infrared (IR) and other wireless communication solutions.
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency-modulates and filters electromagnetic wave signals, and transmits the processed signals to the processor 110.
- the wireless communication module 160 may also receive the signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and convert it to electromagnetic wave radiation through the antenna 2.
- the antenna 1 of the electronic device 100 and the mobile communication module 150 are coupled, and the antenna 2 and the wireless communication module 160 are coupled so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include a global mobile communication system (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division division multiple access, TD-SCDMA), long-term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- GSM global system for mobile communications
- GPRS general packet radio service
- code division multiple access code division multiple access
- CDMA broadband Code division multiple access
- WCDMA wideband code division multiple access
- TD-SCDMA time division code division multiple access
- long-term evolution long term evolution
- LTE long
- the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation system (BDS), and a quasi-zenith satellite system (quasi -zenith satellite system (QZSS)) and/or satellite-based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS beidou navigation system
- QZSS quasi-zenith satellite system
- SBAS satellite-based augmentation systems
- the electronic device 100 realizes a display function through a GPU, a display screen 194, and an application processor.
- the GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations, and is used for graphics rendering.
- the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos and the like.
- the display screen 194 includes a display panel.
- the display panel can use LCD (liquid crystal), OLED (organic light-emitting diode), active matrix organic light-emitting diode or active matrix organic light-emitting diode (active-matrix organic light) emitting diode, AMOLED), flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
- the electronic device 100 may include 1 or N display screens, where N is a positive integer greater than 1.
- the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
- the ISP processes the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, and the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, which is converted into an image visible to the naked eye.
- ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be set in the camera 193.
- the camera 193 is used to capture still images or video.
- the object generates an optical image through the lens and projects it onto the photosensitive element.
- the photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CCD charge coupled device
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other image signals.
- the electronic device 100 may include 1 or N cameras, where N is a positive integer greater than 1.
- the digital signal processor is used to process digital signals. In addition to digital image signals, it can also process other digital signals. For example, when the electronic device 100 is selected at a frequency point, the digital signal processor is used to perform Fourier transform on the energy at the frequency point.
- Video codec is used to compress or decompress digital video.
- the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example: MPEG1, MPEG2, MPEG3, MPEG4, and so on.
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- the NPU can realize applications such as intelligent recognition of the electronic device 100, such as image recognition, face recognition, voice recognition, and text understanding.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
- the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
- the processor 110 executes instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device 100.
- the memory 121 may include a storage program area and a storage data area.
- the storage program area may store an operating system, at least one function required application programs (such as sound playback function, image playback function, etc.).
- the storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100 and the like.
- the memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and so on.
- a non-volatile memory such as at least one disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and so on.
- the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, and an application processor. For example, music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal.
- the audio module 170 can also be used to encode and decode audio signals.
- the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
- the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
- the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also known as "handset" is used to convert audio electrical signals into sound signals.
- the voice can be received by bringing the receiver 170B close to the ear.
- the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 170C through a person's mouth, and input a sound signal to the microphone 170C.
- the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones. In addition to collecting sound signals, it may also achieve a noise reduction function. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
- the headset interface 170D is used to connect wired headsets.
- the headphone jack can be a USB jack, or a 3.5mm open mobile electronic device (open mobile terminal) platform, OMTP standard interface, and the American Telecommunications Industry Association (cellular telecommunications industry association of the United States, CTIA) standard interface.
- the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A may be provided on the display screen 194.
- the capacitive pressure sensor may be at least two parallel plates with conductive materials. When force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
- the electronic device 100 determines the strength of the pressure according to the change in capacitance.
- the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
- touch operations that act on the same touch position but have different touch operation intensities may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
- the gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
- the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the jitter angle of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the jitter of the electronic device 100 through reverse movement to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude using the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
- the magnetic sensor 180D includes a Hall sensor.
- the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
- the electronic device 100 may detect the opening and closing of the clamshell according to the magnetic sensor 180D.
- features such as automatic unlocking of the flip cover are set.
- the acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to recognize the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching and pedometers.
- the distance sensor 180F is used to measure the distance.
- the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting scenes, the electronic device 100 may use the distance sensor 180F to measure distance to achieve fast focusing.
- the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
- the light emitting diode may be an infrared light emitting diode.
- the electronic device 100 emits infrared light outward through the light emitting diode.
- the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100.
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity light sensor 180G can also be used in leather case mode, pocket mode automatically unlocks and locks the screen.
- the ambient light sensor 180L is used to sense the brightness of ambient light.
- the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touch.
- the fingerprint sensor 180H is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access to application locks, fingerprint photographing, and fingerprint answering calls.
- the temperature sensor 180J is used to detect the temperature.
- the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs performance reduction of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the abnormal shutdown of the electronic device 100 due to the low temperature. In some other embodiments, when the temperature is below another threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
- Touch sensor 180K also known as "touch panel”. Can be set on the display 194. Used to detect touch operations on or near it. The detected touch operation may be passed to the application processor to determine the type of touch event and provide corresponding visual output through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the location where the display screen 194 is located. In the embodiment of the present application, the touch panel is used to receive touch operations such as a first operation, a confirmation operation of a language setting control, a close operation, and an exit operation.
- touch operations such as a first operation, a confirmation operation of a language setting control, a close operation, and an exit operation.
- the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive a blood pressure beating signal. In some embodiments, the bone conduction sensor 180M may also be provided in the earphone.
- the audio module 170 may parse out the voice signal based on the vibration signal of the vibrating bone block of the voice part acquired by the bone conduction sensor 180M to realize the voice function.
- the application processor may analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M to implement the heart rate detection function.
- the key 190 includes a power-on key, a volume key, and the like.
- the keys can be mechanical keys. It can also be a touch button.
- the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100.
- the motor 191 may generate a vibration prompt.
- the motor 191 can be used for vibration notification of incoming calls and can also be used for touch vibration feedback.
- touch operations applied to different applications may correspond to different vibration feedback effects.
- the motor 191 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminder, receiving information, alarm clock, game, etc.
- Touch vibration feedback effect can also support customization.
- the indicator 192 may be an indicator light, which may be used to indicate a charging state, a power change, and may also be used to indicate a message, a missed call, a notification, and the like.
- the SIM card interface 195 is used to connect a subscriber identity module (SIM).
- SIM subscriber identity module
- the SIM card can be inserted into or removed from the SIM card interface to achieve contact and separation with the electronic device 100.
- the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted in the same SIM card interface. The types of the multiple cards may be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 can also be compatible with external memory cards.
- the electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
- the electronic device 100 uses eSIM, that is, an embedded SIM card.
- eSIM that is, an embedded SIM card.
- the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
- the software system of the electronic device 100 may adopt a layered architecture, event-driven architecture, micro-core architecture, micro-service architecture, or cloud architecture.
- the embodiment of the present invention takes an Android system with a layered architecture as an example to exemplarily explain the software structure of the electronic device 100.
- FIG. 3 is a software block diagram of the electronic device 100 according to an embodiment of the present invention.
- the layered architecture divides the software into several layers, each of which has a clear role and division of labor.
- the layers communicate with each other through a software interface.
- the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime and the system library, and the kernel layer.
- the application layer may include a series of application packages.
- the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
- the application framework layer provides an application programming interface (application programming interface) and programming framework for applications at the application layer.
- the application framework layer includes some predefined functions.
- the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
- the window manager is used to manage window programs.
- the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, intercept the screen, etc.
- Content providers are used to store and retrieve data, and make these data accessible to applications.
- the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
- the view system includes visual controls, such as controls for displaying text and controls for displaying pictures.
- the view system can be used to build applications.
- the display interface can be composed of one or more views.
- a display interface that includes an SMS notification icon may include a view that displays text and a view that displays pictures.
- the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call state (including connection, hang up, etc.).
- the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
- the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear after a short stay without user interaction.
- the notification manager is used to notify the completion of downloading, message reminders, etc.
- the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
- the text message is displayed in the status bar, a sound is emitted, the electronic device vibrates, and the indicator light flashes.
- Android Runtime includes core library and virtual machine. Android runtime is responsible for the scheduling and management of the Android system.
- the core library contains two parts: one part is the function function that Java language needs to call, and the other part is the core library of Android.
- the application layer and the application framework layer run in the virtual machine.
- the virtual machine executes the java files of the application layer and the application framework layer into binary files.
- the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library may include multiple functional modules. For example: surface manager (surface manager), media library (Media library), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
- surface manager surface manager
- media library Media library
- 3D graphics processing library for example: OpenGL ES
- 2D graphics engine for example: SGL
- the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
- the media library supports a variety of commonly used audio, video format playback and recording, and still image files.
- the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
- the 2D graphics engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
- FIG. 4a is a perspective view of a mobile phone to which an embodiment of the present application is applicable
- FIG. 4b is a bottom view of the mobile phone with a charging socket and a card insertion socket at the bottom.
- the screen of the mobile phone in FIGS. 4a and 4b is a curved display screen 21 with a convex arc structure.
- the side area of the curved display screen of the mobile phone is provided with a pressure sensor 22 for detecting the magnitude of the user's force on the curved screen, so as to realize the functions corresponding to the virtual power button and the volume virtual button.
- a pressure sensor 22 is provided below the capacitive touch screen in the side area.
- a pressure sensing bar is provided under the capacitive touch screen at the first position in the side area of the mobile phone, and the pressure sensing bar is used to implement the function of a virtual power button, and the second position at the side area of the mobile phone
- a pressure sensing bar under the capacitive touch screen which is used to realize the function of a virtual button for increasing the volume
- a pressure sensing bar under the third position of the mobile phone side area is provided with a pressure sensing bar, which is used to realize the volume Reduce the function of virtual keys.
- the screen of the mobile phone is lit.
- the mobile phone is playing music, if the user's thumb touches the second position on the side, and the user's force in the first position is greater than the set threshold, the volume is turned up by one level. If the user's thumb touches the third position on the side, and the user's force at the third position is greater than the set threshold, the volume is turned down by one level.
- a pressure sensing bar is provided under the capacitive touch screen at the first position in the side area of the mobile phone, and the pressure sensing bar is used to realize the function of a virtual power button, assuming the side of the curved screen of the mobile phone
- the second position of the area is provided with a volume virtual key.
- the power virtual button and the volume virtual button can also be set on different side areas of the curved display screen, respectively.
- a volume virtual button is provided on the side area of the curved display screen touched by the user’s finger
- a power virtual button is provided on the opposite side area of the curved display screen.
- the magnitude of the force applied to the curved screen on the side area of the mobile phone is also different.
- the preset threshold value of the side touch parameter is a fixed value, misoperation may occur. For example, when the user is lying on the bed with both hands holding the mobile phone to watch a movie, in order to overcome the gravity of the mobile phone, the user's fingers will use greater force to hold the mobile phone than the user's posture of looking up at the mobile phone.
- the preset pressure for example, the preset pressure value is still 0.5 N
- the user may not intend to increase the volume, resulting in misoperation and inconvenience to the user.
- the embodiments of the present application provide a response method of a touch screen, which is suitable for an electronic device having a curved screen.
- the method includes: when the electronic device detects the user's touch operation on the curved screen in the side area, the electronic device first recognizes the device state, such as a vertical portrait state, a vertical landscape state, a vertical screen with a certain tilt angle, or Horizontal screen status, black screen status, bright screen status, in motion status, etc.
- the electronic device According to the determined device state, the electronic device correspondingly adjusts the preset threshold of the touch parameter of the curved screen of each side area of the mobile phone according to the preset rule, and then the electronic device determines whether the user's touch operation on the curved screen of the side area
- the preset threshold value of the touch parameter after adjustment is satisfied, and if it is satisfied, it responds to the touch operation, otherwise no response is made.
- This method can filter the user's misoperation and reduce the probability of user's misoperation.
- the data collected by the mobile phone's built-in sensor needs to be converted from the mobile phone coordinate system to the geodetic reference coordinate system.
- various sensors built into the smartphone such as acceleration sensors, gyroscopes, magnetometers, and direction sensors, can sense different movements, directions, and external environments, these data are based on the mobile phone coordinate system.
- the data collected when the location or direction of the camera changes will change accordingly.
- due to the personalized usage habits of mobile phone users such as whether the mobile phone is placed in a different position, whether it is held in the hand or placed in a trouser pocket or handbag, it will directly affect the recognition result of the device status.
- the converted sensor data has a clearer physical meaning, which helps to accurately identify the device status of the electronic device.
- one way to define the geodetic reference coordinate system is as follows: the tangent direction of the x-axis is tangent to the ground at the current location of the mobile phone, pointing directly to the east; the tangent direction of the y-axis is also tangent to the ground, and the x-axis and z
- the plane where the axis is located is the horizontal plane; the positive direction of the z-axis is perpendicular to the horizontal plane and points to the sky.
- the determination of the mobile phone coordinate system is related to the mobile phone screen.
- a definition of the mobile phone coordinate system is as follows: the positive direction of the X axis is the direction of the center of the mobile phone screen plane to the right, and the negative direction of the X axis is the opposite ;
- the positive direction of the Y axis is the upward direction of the center of the mobile phone screen plane, perpendicular to the X axis, and the negative direction of the Y axis; and the positive direction of the Z axis is perpendicular to the mobile phone screen plane from the center of the screen plane to the top
- the direction refers to the negative direction of the Z axis.
- An embodiment of the present application provides a conversion formula for converting a mobile phone coordinate system to a geodetic reference coordinate system, as shown in Formula 1.
- X/Y/Z is the sensor data of the mobile phone coordinate system
- R represents the rotation matrix
- x, y, z are the sensor data of the earth reference coordinate system.
- R is composed of three basic rotation matrices, and R is shown in Equation 2.
- the variables a, p, r represent azimuth, pitch and roll, azimuth represents the angle between the magnetic north pole and the Y axis of the mobile phone coordinate system; pitch represents the angle between the X axis of the mobile phone coordinate system and the horizontal plane, and roll represents the Y axis of the mobile phone coordinate system Angle to the horizontal.
- the mobile phone can determine the state of the mobile phone in the geodetic coordinate system based on the converted sensor data, such as the vertical and horizontal screen state, the vertical and horizontal screen state, or a certain tilt angle. Portrait or landscape.
- the embodiments of the present application determine the location state of the mobile phone in the geodetic coordinate system through the converted data of the gyro sensor and the gravity sensor, and characterize the device state of the mobile phone by the location state.
- the mobile phone directly obtains whether the mobile phone is in the vertical screen state or the horizontal screen state through the system parameters, and determines whether it is in a motion state or a static state through an acceleration sensor.
- the mobile phone is currently in the vertical screen state, and the curved screen of the mobile phone is parallel to the horizontal plane, that is, the mobile phone is in the state shown in FIG. 5a, and the angle between the curved screen of the mobile phone and the horizontal plane is 0 degrees;
- the state shown is along the bottom edge of the phone as the central axis, rotated 90 degrees in a clockwise direction (viewed from the positive direction of the Z axis), when the top of the phone falls on the plane where the X axis and Z axis are located, the curved screen of the phone and the horizontal plane
- the included angle is 90 degrees; when the mobile phone rotates 180 degrees in the clockwise direction (as viewed from the positive direction of the Z axis) along the bottom edge of the mobile phone from the state shown in Figure 5a, when the top of the mobile phone falls on a horizontal plane, the mobile phone
- the angle between the curved screen and the horizontal plane is 180 degrees.
- the following embodiments describe different angles between the curved screen of the mobile phone and the horizontal
- the user sits on a sofa and holds the mobile phone in his left hand.
- the angle between the curved screen of the mobile phone and the horizontal plane is approximately 60 degrees, and the mobile phone is in a vertical screen, as shown in FIG. 6a.
- the weight of the mobile phone basically falls on the palm of the user's left hand, and the thumb finger pad and the tiger's mouth, as well as the remaining four finger pads, only need to apply a slight force to the curved screen in the side area to prevent the phone from sliding down from both sides.
- the mobile phone determines the response threshold value of the touch parameter of the curved screen in the side area of the mobile phone according to the angle between the current curved screen of the mobile phone and the horizontal plane, and the mobile phone is in the vertical screen state.
- the mobile phone will respond. For example, when the pressure value of the user pressing the virtual power button on the side is greater than 1 N, the screen of the mobile phone goes out.
- the sliding distance of the user's thumb on the curved screen in the side area is greater than 1 cm and the pressure value is greater than 0.5 N, the sound volume is increased by one level.
- the user holds the mobile phone in his left hand, and the user looks at the mobile phone screen head-on.
- the inclination angle of the curved screen of the mobile phone and the plane on which the X axis and the Z axis are located is approximately 90 degrees, and the current mobile phone is in the vertical screen, as shown in FIG. 6b.
- the user In order to overcome the gravity effect of the mobile phone itself, the user mainly exerts a force on the curved screen of the side area through the thumb finger pad and the tiger's mouth, as well as the remaining four fingers' finger pads, so the left hand may touch the curved screen of the side area.
- the mobile phone determines the response threshold of the touch parameters of the curved screen in the side area of the mobile phone as the reference value and the first threshold according to the angle between the current curved screen of the mobile phone and the horizontal plane, and the mobile phone is in the vertical screen state Sum. For example, when the user's pressing operation on the curved screen touching the side area meets the sum of the reference value and the first threshold, the mobile phone responds.
- the first threshold is an empirical value, which can be obtained through trial and error.
- the first threshold is generally related to the force exerted by the user on the curved screen in the side area to overcome the gravity of the mobile phone itself.
- the user holds the mobile phone in his left hand, and the user looks at the mobile phone screen while lying on the bed.
- the inclination angle of the curved screen of the mobile phone and the plane on which the X axis and the Z axis are located is approximately 120 degrees, and the current mobile phone is vertically screened, as shown in FIG. .
- the user mainly clamps the side of the mobile phone with the user's five fingers.
- the mobile phone determines the response threshold of the touch parameters of the curved screen in the side area of the mobile phone as the reference value and the second threshold according to the angle between the current curved screen of the mobile phone and the horizontal plane, and the mobile phone is in the vertical screen state Sum.
- the mobile phone will only respond when the user's pressing operation on the curved screen touching the side area meets the sum of the reference value and the second threshold.
- the second threshold is greater than the first threshold, and the second threshold is also an empirical value, which is related to the force exerted by the user on the curved screen in the side area to overcome the gravity of the mobile phone itself.
- the user holds the mobile phone in his left hand, the user lies on the bed and looks up at the mobile phone, the inclination angle of the curved screen of the mobile phone and the horizontal plane is approximately 180 degrees, and the current mobile phone is in the vertical screen, as shown in FIG.
- the user mainly clamps the side of the mobile phone with the user's five fingers.
- the response threshold for determining the touch parameters of the curved screen on the side area of the mobile phone is the sum of the reference value and the maximum threshold. For example, the mobile phone will only respond when the user's pressing operation on the curved screen touching the side area meets the sum of the reference value and the maximum threshold.
- the mobile phone obtains the landscape state of the mobile phone through the system parameters.
- the mobile phone in the geodetic coordinate system, when the mobile phone is in the vertical screen as shown in FIG. 7a, the mobile phone rotates clockwise (as viewed from the positive direction of the X axis) along the side of the mobile phone as the central axis, When the bottom of the phone is perpendicular to the X axis, the current phone is in landscape mode.
- the mobile phone is in a horizontal screen and the curved screen of the mobile phone is parallel to the horizontal plane, that is, the mobile phone is in the state shown in FIG.
- the angle between the curved screen of the mobile phone and the horizontal plane is 0 degrees;
- the state shown is along the long side of the bottom of the phone as the central axis, and rotate 90 in a clockwise direction (viewed from the positive direction of the Z axis), when the other side of the phone falls on the plane where the X axis and Z axis are located, the phone's The angle between the curved screen and the horizontal plane is 90 degrees; when the phone is in the state shown in Figure 7b along the long side of the bottom of the phone as the central axis, it rotates 180 degrees in a clockwise direction (as viewed from the positive direction of the Z axis) When the other side of the phone falls on a horizontal surface, the angle between the curved screen of the phone and the horizontal plane is 180 degrees.
- the following embodiments describe different angles between the curved screen of the mobile phone and the horizontal plane when the mobile phone is in a horizontal screen.
- the user sits on the sofa and holds the mobile phone in his left hand.
- the angle between the curved screen of the mobile phone and the horizontal plane is approximately 60 degrees, and the mobile phone is horizontal, as shown in FIG. 8a.
- the weight of the mobile phone basically falls on the palm of the user's left hand and the four fingers.
- the thumb, fingertips and tiger's mouth only need to apply a little force to the curved screen in the side area to avoid the phone from falling over.
- the preset threshold of the touch parameter of the curved screen on the side area of the mobile phone above the center of gravity is the reference value
- the preset threshold of the touch parameter of the curved screen on the side area of the mobile phone below the center of gravity is the reference value plus the third threshold.
- the screen of the mobile phone goes out.
- the sliding distance of the user's thumb on the curved screen in the lower side area in FIG. 8a is greater than the sum of the reference value of the sliding distance parameter and the third threshold, and the pressure value on the volume virtual key is greater than the pressure threshold
- the third threshold is also an empirical value, which is related to the force exerted by the user on the curved screen in the side area to overcome the gravity of the mobile phone itself.
- the user holds the mobile phone in his left hand, and the user looks at the mobile phone screen head-on.
- the inclination angle of the curved screen of the mobile phone and the horizontal plane is approximately 90 degrees, and the current mobile phone is horizontal, as shown in FIG. 8b.
- the user mainly exerts a force on the curved screen of the side area through the thumb finger pad and the tiger's mouth, as well as the remaining four fingers' finger pads, so the left hand may touch the curved screen of the side area.
- the mobile phone determines the preset threshold of the touch parameter of the curved screen of the side area of the mobile phone above the center of gravity based on the angle between the current curved screen of the mobile phone and the horizontal plane, and the mobile phone is in the horizontal screen state.
- the sum of the fourth threshold, and the preset threshold of the touch parameter of the curved screen of the side area of the mobile phone below the center of gravity is the reference value plus the fifth threshold.
- the fifth threshold is greater than the fourth threshold.
- the mobile phone when the user touches the curved screen of the side area of the mobile phone above the center of gravity to meet the sum of the reference value and the fourth threshold, the mobile phone will respond; when the user touches the side area of the mobile phone below the center of gravity The mobile phone responds only when the pressing operation of the curved screen of the screen meets the sum of the reference value and the fifth threshold.
- the user holds the mobile phone in his left hand, and the user looks at the mobile phone screen while lying down.
- the inclination angle of the curved screen of the mobile phone and the horizontal plane is about 150 degrees, and the current mobile phone is horizontal, as shown in FIG. 8c.
- the user mainly clamps the side of the mobile phone with the user's five fingers.
- the mobile phone determines the preset threshold of the touch parameter of the curved screen of the side area of the mobile phone above the center of gravity based on the angle between the current curved screen of the mobile phone and the horizontal plane, and the mobile phone is in the horizontal screen state.
- the fifth threshold is greater than the third threshold
- the sixth threshold is greater than the fourth threshold.
- Case one exemplarily, as shown in FIG. 9a, the user holds the mobile phone in his left hand, the user looks at the screen of the mobile phone while lying on the side, and the angle between the bottom side of the mobile phone and the horizontal plane is about 45 degrees.
- the user mainly uses the user's five fingers and the thumb to firmly tighten the side of the mobile phone, so the touch area of the curved screen with the left hand on the side area may exist as shown in the shaded surface in Figure 9a Four areas.
- the mobile phone determines the preset threshold of the touch parameter of the curved screen on the side area of the mobile phone above the center of gravity as the reference value, while the mobile phone determines the preset touch parameter of the curved screen of the mobile phone side area below the center of gravity
- the threshold is the reference value plus the seventh threshold.
- the mobile phone responds only when the user’s touch operation on the curved screen on the side area of the mobile phone above the center of gravity meets the reference value; when the user’s touch operation on the curved screen on the side area of the mobile phone above the center of gravity is satisfied When the sum of the reference value and the seventh threshold is reached, the mobile phone will respond.
- Case two exemplarily, as shown in FIG. 9b, the user holds the mobile phone in the right hand, and the user looks at the screen of the mobile phone while lying on the side.
- the angle between the bottom side of the mobile phone and the horizontal plane is about 45 degrees.
- the user mainly tightens the side of the mobile phone through the user's five fingers and the thumb's belly, so the touch area of the curved screen with the left hand on the side area may exist as shown in the shaded surface in Figure 9b Four areas.
- the mobile phone determines the preset threshold of the touch parameter of the curved screen on the side area of the mobile phone above the center of gravity as the reference value, while the mobile phone determines the preset touch parameter of the curved screen of the mobile phone side area below the center of gravity
- the threshold is the reference value plus the eighth threshold.
- the mobile phone responds only when the user's touch operation on the curved screen of the side area of the mobile phone above the center of gravity meets the reference value; when the user's touch operation of the curved screen of the side area of the mobile phone below the center of gravity is satisfied When the sum of the reference value and the eighth threshold is reached, the mobile phone will respond.
- the embodiment of the present application may further combine the curved screen area of the side area of the mobile phone touched by the user when holding the mobile phone to determine the side
- the method for adjusting the preset threshold value of the touch parameter of the curved screen of the side area If the mobile phone detects that the user only touches one of the sides of the phone, it can only adjust the preset threshold value of the touch parameter of the side, or if the mobile phone detects that the user only touches one of the sides of the phone For the virtual power button, only the preset threshold of the touch parameter of the movie virtual button can be adjusted.
- the mobile phone can only adjust the threshold value of the curved screen in the side area below the reference value plus the set threshold value.
- the mobile phone can adjust the power of the curved screen in the lower side area only according to the detection result.
- the threshold value of the virtual button is the reference value plus the set threshold value.
- the embodiment of the present application may also use the adjustment of the position of the virtual key of the curved screen of the side area instead of adjusting the preset threshold of the touch parameter.
- the volume virtual key of the mobile phone is located in the upper area of one side of the mobile phone in the portrait state.
- the volume virtual key can be adjusted to the middle area of the side.
- FIG. 10b when the user holds the mobile phone in both hands while playing a game, and the user's left and right hands are only stuck under the curved screen of the lower side area, the mobile phone detects that it is currently in the horizontal screen state, and can automatically press the volume of the virtual button.
- the position is adjusted to the middle of the curved screen in the side area.
- the position of the volume virtual key is restored to the upper area on the side of the mobile phone.
- the touch operation area can be simultaneously displayed on the curved screen to display the prompt information indicating the position of the volume virtual key.
- the middle position of the lower side of the curved screen displays volume increase and decrease control information.
- Method 1 According to the pressure data detected by the pressure sensor (P-Sensor) on the curved screen of the side area of the mobile phone, the mobile phone can analyze the user's force points on the curved screen of the side area, and then determine the force points The curved screen area of the side area of the phone that the user touches when holding the phone.
- P-Sensor pressure sensor
- Method 2 When the human body touches the capacitive touch screen, part of the current flows out through the human body, which will cause changes in capacitance. Therefore, the mobile phone can recognize the user’s grip based on the detected capacitance change of the curved screen in the front and rear side areas of the user’s touch.
- the embodiments of the present application may further combine data collected by the acceleration sensor to determine the motion state of the mobile phone. For example, when a user walks with a mobile phone in one hand, the mobile phone will swing back and forth with the arm.
- the mobile phone needs to adjust the preset threshold value of the touch parameters of the curved screen in the side area according to the method shown in the above scenario 1, on the other hand, if it is determined that the mobile phone is in motion, the mobile phone will Increase the screen response time, which means that when the mobile phone is in motion and the user's touch operation on the curved screen in the side area meets the preset threshold, the mobile phone will delay responding.
- the user holds the mobile phone in his right hand and swings back and forth during walking.
- the user picks up the mobile phone to light up the screen, even if the mobile phone detects that the user’s pressure operation on the power virtual key meets the setting
- the threshold is set
- the screen will also be delayed. For example, a delay of 2 seconds will turn on the screen. If the acceleration of the mobile phone is detected to exceed the set value within 2 seconds (for example, the mobile phone will swing back and forth with the right hand), the mobile phone will no longer light. screen.
- the reason for increasing the response time of the screen is to prevent the user from making too much movement and misoperation during exercise.
- the embodiments of the present application may further determine whether the proximity light of the mobile phone is blocked according to the data collected by the mobile phone light sensor. When the proximity light of the mobile phone is blocked, the mobile phone automatically increases the preset threshold of the touch parameter to the set threshold to reduce the probability of misoperation.
- the mobile phone when the mobile phone is placed in a handbag (or in a trouser pocket), the proximity light is blocked, and the mobile phone is in a black screen state. At this time, in order to cause a misoperation, the mobile phone can automatically turn the curved screen in the side area The touch parameter is adjusted to the maximum value.
- the phone currently displays the call interface it means that the user is making a call. At this time, the user's finger is likely to exert a force on the curved screen in the side area. At this time, the near light is also blocked by the face, so the phone automatically Adjust the response threshold of the touch parameter to the maximum value.
- FIG. 13 an exemplary process flow of a method for responding to a touch screen provided by an embodiment of the present application is shown. The method is executed by an electronic device.
- Step 301 The sensor of the electronic device collects state data of the electronic device, and the electronic device determines the first device state when the electronic device is held by the user at the first moment.
- Step 302 The electronic device determines that the touch parameter of the first side area of the curved screen of the electronic device is the first response threshold according to the first device state.
- a pressure sensor is provided on the first side area of the curved screen of the electronic device.
- Step 303 The electronic device receives the first operation of the user on the first side area of the curved screen.
- the first operation may be a pressing operation or a pressing and sliding operation.
- Step 304 When the electronic device determines that the first operation meets the first response threshold, it responds to the first operation.
- the electronic device detects that the pressing operation is greater than the first pressure, it responds to the first operation.
- the first operation is a press and slide operation
- the electronic device detects that the press operation is greater than the first pressure and the slide distance is greater than the first slide distance, and then responds to the first operation.
- Step 305 The electronic device determines the second device state when the electronic device is held by the user at the second moment, and according to the second device state, changes the touch parameter of the first side area of the curved screen of the electronic device from the first response threshold Adjust to the second response threshold.
- the first pressure threshold and the second pressure threshold are different in size.
- the second device state is different from the first device state.
- Step 306 The electronic device receives the second operation of the user on the first side area of the curved screen.
- the second operation may be a pressing operation or a pressing and sliding operation.
- Step 307 when the electronic device determines that the second response threshold is satisfied, it responds to the second operation.
- the electronic device when the first operation is a pressing operation and the electronic device detects that the pressing operation is greater than the second pressure, it responds to the pressing operation.
- the first operation when the first operation is a press and slide operation, the electronic device detects that the press operation is greater than the second pressure and the slide distance is greater than the second slide distance, and then responds to the second operation.
- the touch parameter is pressure, combined with scenario 1 and scenario 2 in scene 1, for example, at the first moment, the gravity sensor and gyroscope of the mobile phone collect the status data of the electronic device, the electronic The device determines that the angle between the curved screen of the mobile phone and the horizontal plane is about 60 degrees. At this time, the mobile phone determines the curved screen of the side area of the mobile phone according to the angle between the curved screen of the current mobile phone and the horizontal plane, and the mobile phone is in the vertical screen state.
- the response threshold of the pressure parameter is the reference value. When the user's touch operation on the curved screen touching the side area meets the reference value, the mobile phone will respond.
- the gravity sensor and gyroscope of the mobile phone collect the status data of the electronic device, and the electronic device determines that the angle between the curved screen of the mobile phone and the horizontal plane is approximately 90 degrees, so according to the clamp between the curved screen of the current mobile phone and the horizontal plane Angle, and the mobile phone is in the vertical screen state, the response threshold of determining the pressure parameter of the curved screen on the side area of the mobile phone is the sum of the reference value and the first threshold, when the user’s touch operation on the curved screen in the side area meets the reference value Only when the sum with the first threshold, the mobile phone will respond.
- the gravity sensor and gyroscope of the mobile phone collect the state of the electronic device According to the data, the electronic device determines that the angle between the curved screen of the mobile phone and the horizontal plane is about 60 degrees. At this time, the mobile phone determines the side area of the mobile phone according to the angle between the curved screen of the current mobile phone and the horizontal plane, and the mobile phone is in the vertical screen state.
- the response threshold value of the sliding distance parameter of the curved screen is the first reference value
- the response threshold value of the pressure parameter is the second reference value.
- the sound volume is increased by one level.
- the gravity sensor and gyroscope of the mobile phone collect the status data of the electronic device, and the electronic device determines that the angle between the curved screen of the mobile phone and the horizontal plane is approximately 90 degrees, so according to the clamp between the curved screen of the current mobile phone and the horizontal plane Angle, and the mobile phone is in the vertical screen state, the preset threshold for determining the sliding distance parameter of the curved screen on the side area of the mobile phone is the sum of the first reference value and the first threshold, and the response threshold value of the pressure parameter is the second reference value and the first The sum of the thresholds is only when the sliding distance of the user’s thumb on the curved screen in the side area is greater than the sum of the reference value and the first threshold, and the pressing pressure is greater than the sum of the second reference value and the first threshold, the mobile phone Will respond.
- the touch parameters include pressure and interface response time
- the first response threshold includes the first pressure and the first response time
- the second response threshold includes the second pressure and the second response time
- the first The touch operation and the second touch operation are pressing operations.
- scenario 1 and scenario 5 of scenario 1 for example, in scenario 1, the mobile phone is in a stationary state, and the electronic device determines that the angle between the curved screen of the mobile phone and the horizontal plane is about 60 degrees. The angle between the curved screen and the horizontal plane, and the mobile phone is in the vertical screen state, the response threshold value for determining the pressure parameter of the curved screen on the side area of the mobile phone is the reference value.
- the mobile phone When the mobile phone detects that the user's pressure operation on the virtual power button is greater than the reference value, the mobile phone immediately lights the screen immediately.
- scenario 5 when the mobile phone is in motion, when the acceleration of the mobile phone is less than the set value, even when the mobile phone detects that the user's pressure operation on the power virtual key is greater than the reference value, the mobile phone will delay 2s to light the screen. Within 2s, it is detected that the acceleration of the mobile phone exceeds the set value (for example, the mobile phone is held back and forth with the right hand), then the mobile phone no longer lights the screen.
- the first response threshold includes the first pressure, the first sliding distance, and the first response time
- the second response threshold includes the second pressure
- a second sliding distance and a second response time the first touch operation and the second touch operation are pressing and sliding operations.
- scenario 1 and scenario 5 of scenario 1 for example, in scenario 1, the mobile phone is in a stationary state, and the electronic device determines that the angle between the curved screen of the mobile phone and the horizontal plane is about 60 degrees. The angle between the curved screen and the horizontal plane, and the mobile phone is in the vertical screen state, the response threshold value for determining the pressure parameter of the curved screen on the side area of the mobile phone is the reference value.
- the mobile phone When the mobile phone detects that the user's pressure operation on the volume virtual key is greater than the reference value, and the sliding distance is greater than the first sliding distance, the mobile phone immediately lights the screen immediately.
- scenario 5 when the mobile phone is in motion, when the acceleration of the mobile phone is less than the set value, even when the mobile phone detects that the user's pressure operation on the volume virtual key is greater than the reference value, and the sliding distance is greater than the second sliding distance, the mobile phone It also delays lighting the screen for 2s. If the acceleration of the mobile phone is detected to exceed the set value within 2s (for example, the mobile phone is held back and forth in the right hand), the mobile phone no longer lights the screen.
- the embodiments of the present application disclose an electronic device.
- the electronic device is used to implement the method described in each of the above method embodiments, which includes: a receiving unit 1001, processing Unit 1002, display unit 1003.
- the receiving unit 1001 is used to support the electronic device to perform the operation of receiving the user in the above method
- the processing unit 1002 is used to support the electronic device to adjust the response threshold value of the touch parameter according to the device state, and determine whether the user's operation meets the adjusted touch Response threshold for control operations.
- the display unit 1002 is used to display the corresponding interactive interface after the user's operation meets the response threshold value of the touch operation after the adjustment, wherein all relevant content related to the above method embodiments can be referred to the function description of the corresponding unit module, which is not described here Repeat again.
- the embodiments of the present application disclose an electronic device.
- the electronic device may include a curved screen 1101, wherein the curved screen 1101 includes a touch panel 1107 and Display screen 1108; one or more processors 1102; memory 1103; one or more application programs (not shown); and one or more computer programs 1104, sensors 1105, the above devices can pass one or more communication buses 1106 connection.
- the one or more computer programs 1104 are stored in the above-mentioned memory 1103 and configured to be executed by the one or more processors 1102.
- the one or more computer programs 1104 include instructions, which can be used to execute Steps 4a to 13 in the corresponding embodiments.
- An embodiment of the present application also provides a computer storage medium that stores computer instructions, and when the computer instructions run on an electronic device, the electronic device executes the above-mentioned related method steps to realize the response of the touch screen in the above embodiment method.
- An embodiment of the present application also provides a computer program product, which, when the computer program product runs on a computer, causes the computer to perform the above-mentioned related steps to implement the touch screen response method in the above embodiment.
- the embodiments of the present application also provide an apparatus.
- the apparatus may specifically be a chip, a component, or a module.
- the apparatus may include a connected processor and a memory; wherein the memory is used to store computer-executed instructions.
- the processor may execute computer execution instructions stored in the memory to cause the chip to execute the response method of the touch screen in each of the foregoing method embodiments.
- the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of the present application are all used to perform the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, refer to the correspondence provided above The beneficial effects of the method will not be repeated here.
- the disclosed device and method may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of modules or units is only a division of logical functions.
- there may be other divisions for example, multiple units or components may be combined or Can be integrated into another device, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solutions of the embodiments of the present application may be essentially or part of the contribution to the existing technology or all or part of the technical solutions may be embodied in the form of software products, which are stored in a storage medium
- several instructions are included to enable a device (which may be a single-chip microcomputer, chip, etc.) or processor to execute all or part of the steps of the methods of the embodiments of the present application.
- the foregoing storage media include various media that can store program codes, such as U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
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)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种触摸屏的响应方法及电子设备,应用于具有曲面屏幕的电子设备,该方法包括:首先确定在第一时刻电子设备被用户握持时的第一设备状态(301),并根据第一设备状态确定电子设备的曲面屏幕的第一侧边区域的触控参数为第一响应阈值(302);其中,电子设备的曲面屏幕的第一侧边区域设有压力传感器;然后接收第一操作(303);当第一操作满足第一响应阈值时,则对第一操作作出响应(304);接着确定在第二时刻电子设备被用户握持时的第二设备状态,并根据第二设备状态将触控参数从第一响应阈值调整为第二响应阈值(305),再接收用户在曲面屏幕的第一侧边区域的第二操作(306);当确定第二操作的压力阈值满足第二响应阈值时,则对第二操作作出响应(307)。
Description
本申请要求在2018年12月11日提交中国国家知识产权局、申请号为201811513765.X、发明名称为“一种触摸屏的响应方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及终端技术领域,尤其涉及一种触摸屏的响应方法及电子设备。
触摸屏广泛应用于手机、电子书、数码相机等电子产品上,以便于用户操作。现有的触摸屏包括电容式触摸屏和电阻式触摸屏。针对于较为常用的电容式触摸屏来说,它利用人体的电流感应进行工作。通常情况下,电容式触摸屏是一块四层复合玻璃屏,玻璃屏的内表面和夹层各涂有一层ITO(镀膜导电玻璃),最外层是一薄层矽土玻璃保护层,ITO涂层作为工作面,四个角上引出四个电极,内层ITO为屏蔽层以保证良好的工作环境;当用户的手指触摸在电容式触摸屏上时,由于人体电场,用户的手指和电容式触摸屏表面形成以一个耦合电容(对于高频电流来说,电容可以视为导体);用户的手指从电容式触摸屏表面的触摸点吸走一个很小的电流,这个电流分别从电容式触摸屏的四角上的电极中流出。由于流经这四个电极的电流与手指到四角的距离成正比,因此,控制器通过对这四个电流比例的精确计算,可以得出触摸点的位置并进行相应的响应。
伴随着电子产品的更新升级,一些电子产品上的触摸屏的屏幕尺寸越来越大,从而导致操作过程中误操作的概率也随之加大。在手持操作的状态下,用户用手指触摸触摸屏时,经常出现误操作。随着屏幕可弯曲和侧边传感器技术的发展,手机侧面可以进行更多的触控操作。除了传统的电源键和音量键操作区域,可能会有更多的其它操作区域出现,新操作区域会带来新的特性功能。虽然这给用户会带来更多的便利,但侧边是用户本身手掌持握的位置,该区域如果新增触控操作,用户持握手机过程中误操作风险会大大的增加,一旦频繁出现误操作对体验会有很大的影响,所以如何做好侧边交互的防误操作变得很重要。
发明内容
本申请提供一种触摸屏的响应方法及电子设备,用以对用户的误操作进行过滤,降低侧边区域的曲面屏幕误操作的机率。
第一方面,本申请实施例提供了一种触摸屏的响应方法,应用于具有曲面屏幕的电子设备,该方法包括:首先确定在第一时刻电子设备被用户握持时的第一设备状态,并根据所述第一设备状态确定所述电子设备的曲面屏幕的第一侧边区域的触控参数为第一响应阈值;其中,电子设备的曲面屏幕的第一侧边区域设有压力传感器;然后接收用户在所述曲面屏幕的第一侧边区域的第一操作;确定所述第一操作满足所述第一响应阈值时,则对所述第一操作作出响应;接着确定在第二时刻电子设备被用户握持时的第二设备状态,并根据所述第二设备状态将所述电子设备的曲面屏幕的第一侧边区域的触控参数从第一响应阈值调整为第二响应阈值;其中,所述第一响应阈值与所述第二响应阈值的大小不同;再接收所述用户在所述 曲面屏幕的第一侧边区域的第二操作;当确定所述第二操作的压力阈值满足所述第二响应阈值时,则对所述第二操作作出响应。
本申请实施例中,电子设备通过上述方法可以对用户的误操作进行过滤,降低侧边区域的曲面屏幕误操作的机率。
在一种可能的设计中,当触控参数为压力时,第一操作和第二操作为按压操作,所述第一响应阈值为第一压力,所述第二响应阈值为第二压力。也就是说,当电子设备接收到用户的第一按压操作时,判断该按压操作是否大于第一压力,则对所述第一按压操作作出响应,当电子设备从第一设备状态变更为第二设备状态,电子设备的曲面屏幕的第一侧边区域的触控参数从第一压力调整为第二压力,然后当电子设备确定第二操作的压力阈值大于第二压力时,则对所述第二按压操作作出响应。
在一种可能的设计中,当触控参数为压力和滑动距离时,第一操作和第二操作为按压并滑动操作;第一响应阈值为第一压力和第一滑动距离,第二响应阈值为第二压力和第二滑动距离。也就是说,当电子设备接收到用户的第一按压和滑动操作时,判断该按压操作是否大于第一压力且滑动距离大于第一滑动距离,则对所述第一按压操作作出响应,当电子设备从第一设备状态变更为第二设备状态,电子设备的曲面屏幕的第一侧边区域的触控参数从第一压力调整为第二压力,然后当电子设备确定第二操作的压力阈值大于第二压力,且滑动距离大于第二滑动距离时,则对所述第二按压操作作出响应。
在一种可能的设计中,若第一设备状态为静止状态,第二设备状态为运动状态,触控参数为压力和界面响应时间,第一响应阈值为第一压力和第一响应时间,第二响应阈值为第二压力和第二响应时间,所述第一响应时间小于所述第二响应时间,所述第一操作和所述第二操作为按压操作。也就是说,当电子设备处于静止状态时,电子设备接收到用户的第一按压操作时,判断该按压操作是否大于第一压力时,则立即对所述第一按压操作作出响应,当电子设备从静止状态变更为运动状态,电子设备的曲面屏幕的第一侧边区域的触控参数从第一压力调整为第二压力,然后当电子设备确定第二操作的压力阈值大于第二压力时,延迟设定时间对所述第二按压操作作出响应。
本申请实施例中,之所以增大屏幕响应时间,是为了避免用户在运动过程中动作幅度太大,发生误操作。
在一种可能的设计,电子设备可以将整个侧边的响应阈值均从第一响应阈值调整至第二响应阈值,也可以将侧边中虚拟按键所在区域从第一响应阈值调整至第二响应阈值。
第二方面,本申请实施例提供一种触摸屏的响应方法,该方法包括,电子设备根据陀螺仪传感器和重力传感器采集的电子设备在第一时刻被用户握持时的状态数据,确定在第一时刻所述电子设备为竖屏状态,并根据所述竖屏状态确定所述电子设备的音量虚拟按键位于第一触摸操作区域;当电子设备确定所述曲面屏幕所接收的第一操作作用在所述第一触摸操作区域时,则在所述第一操作满足设定条件时作出响应。
另外,电子设备根据陀螺仪传感器和重力传感器采集的电子设备在第二时刻被用户握持时的状态数据,确定在第二时刻所述电子设备为横屏状态,并根据所述横屏状态将所述电子设备的音量虚拟按键从所述第一触摸操作区域调整为第二触摸操作区域,所述第二触摸操作区域与所述第一触摸操作区域的位置不同;当确定所述曲面屏幕所接收的第二操作作用在所述第二触摸操作区域时,则在所述第二操作满足设定条件时作出响应。
本申请实施例中,电子设备可以根据设备的横竖屏状态自动地对音量虚拟按键的位置进行调整,以避免用户发生误操作。
第三方面,本申请实施例提供一种电子设备,包括处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得该电子设备能够实现上述任一方面的任意一种可能的设计的方法。
第四方面,本申请实施例还提供一种装置,该装置包括执行上述任一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。
第五方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行上述任一方面的任意一种可能的设计的方法。
第六方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在终端上运行时,使得所述电子设备执行上述任一方面的任意一种可能的设计的方法。
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
图1为本申请实施例提供的一种互联场景示意图;
图2为本申请实施例提供的一种手机的结构示意图;
图3为本申请实施例提供的安卓操作系统结构示意图;
图4a至图4e为本申请实施例提供的一种手机的结构示意图;
图5为本申请实施例提供的一种大地坐标系和手机坐标系的示意图;
图6为本申请实施例提供的一种用户握持方式示意图;
图7为本申请实施例提供的一种大地坐标系下手机横屏的示意图;
图8为本申请实施例提供的一种用户握持方式示意图;
图9为本申请实施例提供的另一种用户握持方式示意图;
图10为本申请实施例提供的另一种用户握持方式示意图;
图11为本申请实施例提供的另一种用户握持方式示意图;
图12为本申请实施例提供的另一种手机接近光被遮挡的示意图;
图13为本申请实施例提供的一种触摸屏的响应方法流程示意图;
图14为本申请实施例提供的一种电子设备的结构示意图;
图15为本申请实施例提供的另一种电子设备的结构示意图。
为了便于理解,示例的给出了部分与本申请实施例相关概念的说明以供参考。如下所示:
曲面屏幕,是一种采用柔性塑料的显示屏,相比直面屏幕,曲面屏幕弹性更好,不易破碎。曲面屏幕以非刚性玻璃作为基底,弹性更好,不易破碎。因此降低了屏幕的磨损几率,尤其是被触碰率较高的手机屏幕。
电容式触摸屏技术,是利用人体的电流感应进行工作的。当手指触摸在金属层上时,由于人体电场,用户和触摸屏表面形成以一个耦合电容,对于高频电流来说,电容是直接导体,于是手指从接触点吸走一个很小的电流。这个电流分别从触摸屏的四角上的电极中流出,并且流经这四个电极的电流与手指到四角的距离成正比,处理器可以通过对这四个电流比例的精确计算,得出触摸点的位置。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在 本申请实施例的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。
本申请实施例提供的触摸屏的响应方法可以应用于如图1所示的多个电子设备100基于通信网络互联的场景。其中,该通信网络可以是局域网,也可以是通过中继(relay)设备转接的广域网。当该通信网络为局域网时,示例性的,该通信网络可以是wifi热点网络、wifi P2P网络、蓝牙网络、zigbee网络或近场通信(near field communication,NFC)网络等近距离通信网络。当该通信网络为广域网时,示例性的,该通信网络可以是第三代移动通信技术(3rd-generation wireless telephone technology,3G)网络、第四代移动通信技术(the 4th generation mobile communication technology,4G)网络、第五代移动通信技术(5th-generation mobile communication technology,5G)网络、未来演进的公共陆地移动网络(public land mobile network,PLMN)或因特网等。在图1所示的场景中,不同电子设备之间可以通过通信网络交互数据,例如交互图片、文本、视频,或者交互电子设备对图片、文本或视频等对象处理后的结果。
在本申请一些实施例中,图1所示的电子设备100可以是还包含其他功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
或者其他操作系统的便携式电子设备。上述便携式电子设备也可以是其他便携式电子设备,诸如具有触敏表面(例如触控面板)的膝上型计算机(laptop)等。还应当理解的是,在本申请其他一些实施例中,上述电子设备100也可以不是便携式电子设备,而是具有触敏表面(例如触控面板)的台式计算机。
示例性地,如图2所示,下面以电子设备100为例对实施例进行具体说明。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,USB接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码 和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还 可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线模块1,天线模块2移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将蜂窝网天线复用为无线局域网分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(Low Noise Amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS))和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用LCD(liquid crystal display,液晶显示屏),OLED(organic light-emitting diode,有机发光二极管),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:MPEG1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口可以是USB接口,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感 器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。可设置于显示屏194。用于检测作用于其上或附近的触摸操作。可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型,并通过显示屏194提供相应的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。本申请实施例中,触控面板用于接收第一操作、语言设置控件的确认操作、关闭操作、退出操作等触摸操作。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。 应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接用户标识模块(subscriber identity module,SIM)。SIM卡可以通过插入SIM卡接口,或从SIM卡接口拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图3是本发明实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图3所示,应用程序包可以包括电话、相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
图4a为本申请实施例所适用的手机的立体图,图4b为手机的底部视图,底部设有充电插口及插卡口。图4a和图4b中手机的屏幕为外凸型弧形结构的曲面显示屏21。手机的曲面显示屏的侧边区域设有压力传感器22,用于检测用户在曲面屏幕上的作用力的大小,以实现电源虚拟按键和音量虚拟按键对应的功能。如图4c所示的手机的剖视图,其中,在侧边区域的电容触摸屏下方设置有压力传感器22。
示例性地,如图4d所示,假设手机侧边区域的第一位置的电容触摸屏下方设置有压力感应条,该压力感应条用于实现电源虚拟按键的功能,手机侧边区域的第二位置的电容触摸屏下方设置有压力感应条,该压力感应条用于实现音量增加虚拟按键的功能,手机侧边区域的第三位置的电容触摸屏下方设置有压力感应条,该压力感应条用于实现音量减小虚拟按键的功能。当手机处于黑屏状态时,若用户的食指触摸到侧边的第一位置,且用户在第一位置的作用力大于设定阈值时,手机的屏幕被点亮。当手机正在播放音乐,若用户的拇指触摸到侧边的第二位置,且用户在第一位置的作用力大于设定阈值时,则音量被调大一级。若用户的拇指触摸到侧边的第三位置,且用户在第三位置的作用力大于设定阈值时,则音量被调小一级。
再比如说,如图4e所示,假设手机侧边区域的第一位置的电容触摸屏下方设置有压力感应条,该压力感应条用于实现电源虚拟按键的功能,假设手机的曲面屏的侧边区域的第二位置设置有音量虚拟按键。当手机正在播放音乐,若用户的拇指在侧边的第二位置向上滑动的距离和压力均满足设定阈值,则音量被调大一级;若用户的拇指在侧边的第二位置向下滑动的距离和作用力均满足设定阈值,则音量被调小一级。
除了图4d和图4e所示的实现方式,在其它可能的设计中,电源虚拟按键和音量虚拟按键也可以分别设置在曲面显示屏不同的侧边区域。比如说图4e中用户手指触摸到的曲面显示屏的侧边区域设置有音量虚拟按键,曲面显示屏的对侧的侧边区域设置有电源虚拟按键。
考虑到用户握持手机的姿势不同,对手机侧边区域的曲面屏幕施加的作用力的大小也不相同,若侧边的触摸参数的预设阈值为固定值,则有可能会发生误操作。例如说,用户平躺在床上双手举着手机看电影时,为了克服手机自身的重力,相对用户坐着平视手机的姿势,用户的手指会使用更大的力度握持手机,这时就有可能发生用户的中指按压图4d侧边区域的第二位置的作用力大于预设压力(比如预设压力值依然为0.5牛),导致声音音量被错误的调大一级。但这时用户可能并没有意愿要增大音量,导致造成误操作,给用户带来不便。
为此,本申请实施例提供一种触摸屏的响应方法,该方法适用于具有曲面屏的电子设备。该方法包括:当电子设备检测到用户对侧边区域的曲面屏幕的触摸操作时,电子设备首先识别设备状态,例如竖直竖屏状态、竖直横屏状态、存在一定倾斜角的竖屏或者横屏状态、黑屏状态、亮屏状态、处于运动状态等。电子设备根据确定出来的设备状态,按照预设规则对应地调整手机各个侧边区域的曲面屏幕的触控参数的预设阈值,之后电子设备再判断用户对侧边区域的曲面屏幕的触摸操作是否满足调整之后的触控参数的预设阈值,若满足,则响应该触摸操作,否则不作出响应。该方法可以过滤用户的误操作,降低用户误操作的机率。以下将结合附图和应用场景,以电子设备为手机为例,对本申请实施例提供的触控响应方法进行详细介绍。
需要说明的是,在电子设备识别设备状态之前,需要先将手机内置传感器采集的数据从手机坐标系转换到大地参考坐标系。原因是:虽然智能手机内置的多种传感器如加速度传感器、陀螺仪、磁力计、方向传感器等可以对不同的运动、方向和外部环境进行感知,但这些数据都是基于手机坐标系,当手机放置的位置或者方向发生改变时所采集到的数据会随之改变。现实中由于手机用户使用习惯的个性化,如手机放置位不同,是握持在手中,还是放在裤兜或手提包里,都将会直接影响到设备状态的识别结果。也就是说在实际应用中鉴于用户使用习惯的多样性和手机的摆放位置是任意的,因此需要将手机内置传感器采集的数据从手机坐标系转换到统一的参考坐标系(例如大地坐标系)中,这样转换后的传感器的数据有更清晰的物理含义,有助于准确识别电子设备的设备状态。
如图5a所示,大地参考坐标系的一种定义方式如下:x轴正方向正切手机当前所在位置的地面,直指东方;y轴正方向同样正切于该地面指向磁北极,x轴和z轴所在平面为水平面;z轴正方向则垂直于水平面指向天空。
如图5b所示,手机坐标系的确定与手机屏幕相关,手机坐标系的一种定义方式如下:X轴的正方向为手机屏幕平面中心向右所指的方向,反之为X轴的负方向;Y轴的正方向为手机屏幕平面中心向上所指的方向,垂直于X轴,反之为Y轴的负方向;而Z轴的正方向为垂直于手机屏幕平面从屏幕平面中心向正上所指的方向,反之为Z轴的负方向。
本申请实施例提供了一种将手机坐标系转换到大地参考坐标系转换公式,如公式1所示。
其中,X/Y/Z为手机坐标系的传感器数据,R表示旋转矩阵,x、y、z为大地参考坐标系的传感器数据。
其中,R由三个基本旋转矩阵复合而成,R如公式2所示。
其中,变量a、p、r分别表示azimuth、pitch和roll,azimuth表示磁北极和手机坐标系Y轴的夹角;pitch表示手机坐标系X轴和水平面的夹角,roll表示手机坐标系Y轴和水平面的夹角。
也就是说基于上述坐标系转换方法,手机可以根据转换后的传感器的数据,确定手机在大地坐标系中的状态,例如是竖直竖屏状态、竖直横屏状态,或者存在一定倾斜角的竖屏或者横屏状态。具体地,本申请实施例通过转换后的陀螺仪传感器和重力传感器生成的数据,确定手机在大地坐标系中所处的位置状态,通过位置状态来表征手机的设备状态。另外,手机通过系统参数直接获取手机是竖屏状态还是横屏状态,通过加速度传感器确定是运动状态还是静止状态。
场景一
假设确定手机当前是竖屏状态,且手机的曲面屏幕与水平面平行时,即手机处于图5a所示的状态,手机的曲面屏幕与水平面之间的夹角为0度;当手机从图5a所示的状态沿着手机底边为中轴线,按照顺时针方向(从Z轴的正方向看)旋转90度,手机顶端落在X轴和Z轴所在平面上时,手机的曲面屏幕与水平面的夹角为90度;当手机从图5a所示的状态沿着手机底边为中轴线,按照顺时针方向(从Z轴的正方向看)旋转180度,手机顶端落在水平面上时,手机的曲面屏幕与水平面的夹角为180度。如下实施例针对手机竖屏时,手机的曲面屏幕与水平面之间的不同角度,分别进行说明。
情况一:手机的曲面屏幕与水平面之间的角度落在(0度,60度]范围内
示例性地,用户坐在沙发上,左手握持手机,手机的曲面屏幕与水平面之间的角度大约呈60度,且手机竖屏,如图6a所示。这时手机的重量基本落在用户左手手心上,拇指指腹和虎口,以及其余四指的指腹只需对侧边区域的曲面屏幕稍微施加作用力,以避免手机从两侧滑落。所以,在这种情况下,手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的触控参数的响应阈值为基准值。当用户触控侧边区域的曲面屏幕的触摸操作满足该基准值时,手机才会做出响应。例如,当用户按压侧边的电源虚拟按键的压力值大于1牛时,手机屏幕熄屏。再比如,当用户的拇指在侧边区域的曲面屏幕上的滑动距离大于1cm,且压力值大于0.5牛时,声音音量调大一级。
情况二:手机的曲面屏幕与水平面之间的角度落在(60度,90度]范围内
示例性地,用户左手握持手机,用户平视看着手机屏幕,手机的曲面屏幕与X轴和Z轴所在平面的倾斜角大约呈90度,且当前手机竖屏,如图6b所示。为了克服手机自身的重力作用,用户主要通过拇指指腹和虎口,以及其余四指的指腹都会对侧边区域的曲面屏幕施加作用力,所以左手对侧边区域的曲面屏幕的触摸区域可能存在图6b中阴影面所示的四个区域。在这种情况下,手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的触控参数的响应阈值为基准值与第一阈值之和。例如,当用户触控侧边区域的曲面屏幕的按压操作满足该基准值与第一阈值的和值时,手机才会做出响应。其中,第一阈值是经验值,可通过反复试验获得,第一阈值一般与用户为克服手机自身 的重力所施加在侧边区域的曲面屏幕上的作用力相关。
情况三:手机的曲面屏幕与水平面之间的角度落在(90度,180)度范围内
示例性地,用户左手握持手机,用户躺在床上看着手机屏幕,手机的曲面屏幕与X轴和Z轴所在平面的倾斜角大约呈120度,且当前手机竖屏,如图6c所示。为了克服手机自身的重力作用,用户主要通过用户的五个手指用力卡紧手机侧边。在这种情况下,手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的触控参数的响应阈值为基准值与第二阈值之和。例如,当用户触控侧边区域的曲面屏幕的按压操作满足该基准值与第二阈值的和值时,手机才会做出响应。其中,第二阈值大于第一阈值,第二阈值也为经验值,与用户为克服手机自身的重力所施加在侧边区域的曲面屏幕上的作用力相关。
情况四:手机的曲面屏幕与水平面之间的角度为180度
示例性地,用户左手握持手机,用户躺在床上眼睛平视手机,手机的曲面屏幕与水平面的倾斜角大约呈180度,且当前手机竖屏,如图6d所示。为了克服手机自身的重力作用,用户主要通过用户的五个手指用力卡紧手机侧边。在这种情况下,确定手机侧边区域的曲面屏幕的触控参数的响应阈值为基准值与最大阈值之和。例如,当用户触控侧边区域的曲面屏幕的按压操作满足该基准值与最大阈值的和值时,手机才会做出响应。
场景二
假设手机通过系统参数获取手机当前是横屏状态。如图7所示,在大地坐标系中,当手机处于如图7a所示的竖屏时,手机沿着手机的侧边为中轴线按照顺时针方向(从X轴的正方向看)旋转,手机底边与X轴垂直时,当前手机为横屏状态。假设,当手机处于横屏时,且手机的曲面屏幕与水平面平行时,即手机处于图7b所示的状态,手机的曲面屏幕与水平面之间的夹角为0度;当手机从处于图7b所示的状态沿着手机底部长侧边为中轴线,按照顺时针方向(从Z轴的正方向看)旋转90,手机另一侧边落在X轴和Z轴所在平面上时,手机的曲面屏幕与水平面之间的夹角为90度;当手机从处于图7b所示的状态沿着手机底部长侧边为中轴线,按照顺时针方向(从Z轴的正方向看)旋转180度,手机另一侧边落在水平面上时,手机的曲面屏幕与水平面之间的夹角为180度。如下实施例针对手机横屏时,手机的曲面屏幕与水平面之间的不同角度,分别进行说明。
情况一:手机的曲面屏幕与水平面之间的角度落在(0度,60度]范围内
示例性地,用户坐在沙发上,左手握持手机,手机的曲面屏幕与水平面之间的角度大约呈60度,且手机横屏,如图8a所示。这时手机的重量基本落在用户左手手心和四指上,拇指指腹和虎口只需对侧边区域的曲面屏幕稍微施加作用力,以避免手机倾倒。在这种情况下,手机据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于横屏状态,确定重心上面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值,而重心下面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值加上第三阈值。当用户触控重心上面的手机侧边区域的曲面屏幕的触摸操作满足该基准值时,手机才会做出响应;当用户触控重心下面的手机侧边区域的曲面屏幕的触摸操作满足该基准值与第三阈值的和值时,手机才会做出响应。例如,当图8a中用户拇指按压上侧边的电源虚拟按键的压力值大于基准值时,手机屏幕熄屏。再比如,当图8a中用户的小拇指在下侧边区域的曲面屏幕上的滑动距离大于滑动距离参数的基准值与与第三阈值的和值时,且在音量虚拟按键上的压力值大于压力阈值参数的基准值与第三阈值的和值时,声音音量被调大一级。其中,第三阈值也为经验值,与用户为克服手机自身的重力所施加在侧边区域的曲面屏幕上的作用力相关。
情况二:手机的曲面屏幕与水平面之间的角度落在(60度,90度]范围内
示例性地,用户左手握持手机,用户平视看着手机屏幕,手机的曲面屏幕与水平面的倾斜角大约呈90度,且当前手机横屏,如图8b所示。为了克服手机自身的重力作用,用户主要通过拇指指腹和虎口,以及其余四指的指腹都会对侧边区域的曲面屏幕施加作用力,所以左手对侧边区域的曲面屏幕的触摸区域可能存在图8b中阴影面所示的四个区域。在这种情况下,手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于横屏状态,确定重心上面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值与第四阈值之和,而重心下面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值加上第五阈值。其中第五阈值大于第四阈值。例如,当用户触控重心上面的手机侧边区域的曲面屏幕的按压操作满足该基准值与第四阈值的和值时,手机才会做出响应;当用户触控重心下面的手机侧边区域的曲面屏幕幕的按压操作满足该基准值与第五阈值的和值时,手机才会做出响应。
情况三:手机的曲面屏幕与水平面之间的角度落在(90度,180度]范围内
示例性地,用户左手握持手机,用户躺着看手机屏幕,手机的曲面屏幕与水平面的倾斜角大约呈150度,且当前手机横屏,如图8c所示。为了克服手机自身的重力作用,用户主要通过用户的五个手指用力卡紧手机侧边。在这种情况下,手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于横屏状态,确定重心上面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值与第五阈值之和,而重心下面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值加上第六阈值。其中第五阈值大于第三阈值,第六阈值大于第四阈值,例如,当用户触控重心上面的手机侧边区域的曲面屏幕的按压操作满足该基准值与第五阈值的和值时,手机才会做出响应;当用户触控重心下面的手机侧边区域的曲面屏幕的按压操作满足该基准值与第六阈值的和值时,手机才会做出响应。
场景三
情况一,示例性地,如图9a所示,用户左手握持手机,用户侧躺着看手机屏幕,手机底部侧边与水平面之间的夹角大约45度。为了克服手机自身的重力作用,用户主要通过用户的五个手指,以及拇指指腹用力卡紧手机侧边,所以左手对侧边区域的曲面屏幕的触摸区域可能存在图9a中阴影面所示的四个区域。在这种情况下,手机确定重心上面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值,而手机确定重心下面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值加上第七阈值。例如,当用户触控重心上面的手机侧边区域的曲面屏幕的按压操作满足该基准值时,手机才会做出响应;当用户触控重心上面的手机侧边区域的曲面屏幕的按压操作满足该基准值与第七阈值的和值时,手机才会做出响应。
情况二,示例性地,如图9b所示,用户右手握持手机,用户侧躺着看手机屏幕,手机底部侧边与水平面之间的夹角大约45度。为了克服手机自身的重力作用,用户主要通过用户的五个手指,以及拇指指腹用力卡紧手机侧边,所以左手对侧边区域的曲面屏幕的触摸区域可能存在图9b中阴影面所示的四个区域。在这种情况下,手机确定重心上面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值,而手机确定重心下面的手机侧边区域的曲面屏幕的触控参数的预设阈值为基准值加上第八阈值。例如,当用户触控重心上面的手机侧边区域的曲面屏幕的按压操作满足该基准值时,手机才会做出响应;当用户触控重心下面的手机侧边区域的曲面屏幕的按压操作满足该基准值与第八阈值的和值时,手机才会做出响应。
场景四
在一种可能的设计中,除了考虑手机的屏幕在大地坐标系中的位置状态,本申请实施例还可以进一步结合用户握持手机时所触摸到的手机侧边区域的曲面屏幕区域,确定侧边区域 的曲面屏幕的触控参数的预设阈值的调整方式。如果手机检测到用户只触摸到手机的其中一个侧边,可以仅调整该侧边的触控参数的预设阈值的大小,或者是,如果手机检测到用户只触摸到手机的其中一个侧边的电源虚拟按键,可以仅调整该电影虚拟按键的触控参数的预设阈值的大小。
示例性地,用户双手握持手机在打游戏,用户仅左右手的小拇指卡在下面的侧边区域的曲面屏幕上,上面的侧边区域的曲面屏幕并没有被用户碰触到,如图10所示。在这种情况下,手机可以根据检测结果,仅调整下面的侧边区域的曲面屏幕的阈值为基准值加上设定阈值。假设图10a中用户仅用左手的小拇指卡在下面的侧边区域的曲面屏幕的电源虚拟按键上,则在这种情况下,手机可以根据检测结果,仅调整下面的侧边区域的曲面屏幕电源虚拟按键的阈值为基准值加上设定阈值。
在另一种可能的设计中,针对图10a所示的场景,本申请实施例还可以利用调整侧边区域的曲面屏幕的虚拟按键的位置替代调整触摸参数的预设阈值。例如,手机的音量虚拟按键在竖屏状态时位于手机的一个侧边的上方区域,当手机检测到手机处于横屏状态,则可以将音量虚拟按键调整至侧边的中间区域。例如,如图10b所示,用户双手握持手机在打游戏,用户仅左右手的小拇指卡在下侧边区域的曲面屏幕的下面时,手机检测到当前处于横屏状态,可以自动将音量虚拟按键的位置调整至侧边区域的曲面屏幕的中间位置。当手机检测到手机又变更为竖屏状态时,则还原音量虚拟按键的位置至手机侧边的上方区域。
在一种可能的设计中,当音量虚拟按键的位置发生变动时,曲面屏幕上可以同时显示触摸操作区域显示设有音量虚拟按键位置的提示信息。如图10d所示,曲面屏幕下方侧边的中间位置显示有音量增加和音量减小的控件信息。
需要说明的是,手机识别用户握持手机的受力区域可以有多种实现方法,本申请实施例示例性地列举如下两种方式。
方式一:手机可以根据手机侧边区域的曲面屏幕上的压力传感器(P-Sensor)所检测到的压力数据,分析用户在侧边区域的曲面屏幕上的受力点,进而根据受力点确定用户握持手机时所触摸到的手机侧边区域的曲面屏幕区域。
方式二:当人体接触到电容式触摸屏时,由于部分电流经人体流出,就会造成电容的变化,因此手机可以根据检测到的用户触摸前后侧边区域的曲面屏幕的电容变化情况,识别用户握持手机时所触摸到的手机侧边区域的曲面屏幕区域。
场景五
在一种可能的设计中,除了考虑手机的屏幕在大地坐标系中的位置状态,本申请实施例还可以进一步结合加速度传感器所采集的数据,确定手机的运动状态。例如,当用户单手拿着手机走路时,手机会随着手臂来回摆动。在这种情况下,一方面,手机需要按照上述场景一所示的方法对侧边区域的曲面屏幕的触控参数的预设阈值进行调整,另一方面,如果确定手机处于运动状态,手机会增大屏幕响应时间,也就是说当手机处于运动状态,用户对侧边区域的曲面屏幕的触摸操作满足预设阈值时,手机会延迟作出响应。
示例性地,如图11所示,用户在行走过程中,右手握持手机来回摆动,当用户将手机拿起准备点亮屏幕时,即使手机检测到用户在电源虚拟按键上的压力操作满足设定阈值,也会延迟点亮屏幕,例如延迟2秒点亮屏幕,如果在2s时间内检测到手机的加速度又超过设定值(例如右手又握持手机来回摆动),则手机不再点亮屏幕。之所以增大屏幕响应时间,是为了避免用户在运动过程中动作幅度太大,发生误操作。
场景六
在一种可能的设计中,本申请实施例还可以进一步根据手机光线传感器所采集的数据,确定手机的接近光是否被遮挡。当手机的接近光被遮挡时,则手机自动将触控参数的预设阈值增大设定阈值,以降低误操作的机率。
示例性地,如图12所示,当手机放在提包中(或者裤兜中)时,接近光被遮挡,手机处于黑屏状态,这时为了发生误操作,手机可以自动将侧边区域的曲面屏幕的触控参数调到最大值。再比如,当手机当前显示通话界面,则说明用户正在打电话,这时用户的手指很可能会对侧边区域的曲面屏幕施加作用力,因这时接近光也被脸部遮挡,因此手机自动将触控参数的响应阈值调整至最大值。
参见图13,示例性的示出了本申请实施例提供的一种触摸屏的响应方法的流程,该方法由电子设备执行。
步骤301,电子设备的传感器采集电子设备的状态数据,并且电子设备确定在第一时刻所述电子设备被用户握持时的第一设备状态。
步骤302,电子设备根据所述第一设备状态确定所述电子设备的曲面屏幕的第一侧边区域的触控参数为第一响应阈值。
其中,电子设备的曲面屏幕的第一侧边区域设有压力传感器。
步骤303,电子设备接收用户在所述曲面屏幕的第一侧边区域的第一操作。
其中,该第一操作可以是按压操作,也可以是按压并滑动操作。
步骤304,电子设备确定第一操作满足第一响应阈值时,则对第一操作作出响应。
例如,当第一操作是按压操作时,电子设备检测到按压操作大于第一压力时,则对第一操作作出响应。再比如,当第一操作是按压并滑动操作时,电子设备检测到按压操作大于第一压力,且滑动距离大于第一滑动距离时,则对第一操作作出响应。
步骤305,电子设备确定在第二时刻电子设备被用户握持时的第二设备状态,并根据第二设备状态将电子设备的曲面屏幕的第一侧边区域的触控参数从第一响应阈值调整为第二响应阈值。
其中,第一压力阈值与第二压力阈值的大小不同。第二设备状态与第一设备状态不同。
步骤306,电子设备接收所述用户在所述曲面屏幕的第一侧边区域的第二操作。
其中,该第二操作可以是按压操作,也可以是按压并滑动操作。
步骤307,电子设备确定满足第二响应阈值时,则对第二操作作出响应。
例如,当第一操作是按压操作时,电子设备检测到按压操作大于第二压力时,则对按压操作作出响应。再比如,当第一操作是按压并滑动操作时,电子设备检测到按压操作大于第二压力,且滑动距离大于第二滑动距离时,则对第二操作作出响应。
在一种可能的设计中,当触控参数为压力时,结合场景一中的情况一和情况二举例来说,在第一时刻,手机的重力传感器和陀螺仪采集电子设备的状态数据,电子设备确定手机的曲面屏幕与水平面之间的角度大约呈60度,这时手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的压力参数的响应阈值为基准值。当用户触控侧边区域的曲面屏幕的触摸操作满足该基准值时,手机才会做出响应。在第二时刻,手机的重力传感器和陀螺仪采集电子设备的状态数据,电子设备确定手机的曲面屏幕与水平面之间的角度大约呈90度,因此根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的压力参数的响应阈值为基准值与第一阈值之和,当用户触控侧边区域的曲面屏幕的触摸操作满足该基准值与第一阈值的和值时,手机才会做出响应。
在一种可能的设计中,当触控参数为压力和滑动距离时,结合场景一中的情况一和情况二举例来说,在第一时刻,手机的重力传感器和陀螺仪采集电子设备的状态数据,电子设备确定手机的曲面屏幕与水平面之间的角度大约呈60度,这时手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的滑动距离参数的响应阈值为第一基准值,压力参数的响应阈值为第二基准值。当用户的拇指在侧边区域的曲面屏幕上的滑动距离大于第一基准值,且按压压力大一第二基准值时,声音音量调大一级。在第二时刻,手机的重力传感器和陀螺仪采集电子设备的状态数据,电子设备确定手机的曲面屏幕与水平面之间的角度大约呈90度,因此根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的滑动距离参数的预设阈值为第一基准值与第一阈值之和,压力参数的响应阈值为第二基准值与第一阈值之和,当用户的拇指在侧边区域的曲面屏幕上的滑动距离大于该基准值与第一阈值的和值,且按压压力大一第二基准值与第一阈值之和时,手机才会做出响应。
在一种可能的设计中,当触控参数包括压力和界面响应时间,则第一响应阈值包括第一压力和第一响应时间,第二响应阈值包括第二压力和第二响应时间,第一触摸操作和所述第二触摸操作为按压操作。结合场景一的情况一和场景5举例来说,在场景一的情况一下,手机为静止状态,电子设备确定手机的曲面屏幕与水平面之间的角度大约呈60度,这时手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的压力参数的响应阈值为基准值。当手机检测到用户在电源虚拟按键上的压力操作大于基准值时,手机立即会立即点亮屏幕。在场景5中,手机为运动状态时,当手机的加速度小于设定值时,即使当手机检测到用户在电源虚拟按键上的压力操作大于基准值,手机也会延迟2s点亮屏幕,如果在2s时间内检测到手机的加速度又超过设定值(例如右手又握持手机来回摆动),则手机不再点亮屏幕。
在一种可能的设计中,当触控参数包括压力、滑动距离和界面响应时间,则第一响应阈值包括第一压力、第一滑动距离和第一响应时间,第二响应阈值包括第二压力、第二滑动距离和第二响应时间,第一触摸操作和所述第二触摸操作为按压并滑动操作。结合场景一的情况一和场景5举例来说,在场景一的情况一下,手机为静止状态,电子设备确定手机的曲面屏幕与水平面之间的角度大约呈60度,这时手机根据当前手机的曲面屏幕与水平面之间的夹角,以及手机处于竖屏状态,确定手机侧边区域的曲面屏幕的压力参数的响应阈值为基准值。当手机检测到用户在音量虚拟按键上的压力操作大于基准值,且滑动距离大于第一滑动距离时,手机立即会立即点亮屏幕。在场景5中,手机为运动状态时,当手机的加速度小于设定值时,即使当手机检测到用户在音量虚拟按键上的压力操作大于基准值,且滑动距离大于第二滑动距离时,手机也会延迟2s点亮屏幕,如果在2s时间内检测到手机的加速度又超过设定值(例如右手又握持手机来回摆动),则手机不再点亮屏幕。
在本申请的一些实施例中,本申请实施例公开了一种电子设备,如图14所示,该电子设备用于实现以上各个方法实施例中记载的方法,其包括:接收单元1001、处理单元1002、显示单元1003。其中,接收单元1001用于支持电子设备执行上述方法中的接收用户的操作;处理单元1002用于支持电子设备根据设备状态调整触控参数的响应阈值,并判断用户的操作是否满足调整之后的触控操作的响应阈值。显示单元1002用于在用户的操作满足调整之后的触控操作的响应阈值,显示相应的交互界面,其中,上述方法实施例涉及所有相关内容均可以援引到对应单元模块的功能描述,在此不再赘述。
在本申请的另一些实施例中,本申请实施例公开了一种电子设备,如图15所示,该电子设备可以包括:曲面屏幕1101,其中,所述曲面屏幕1101包括触控面板1107和显示屏1108;一个或多个处理器1102;存储器1103;一个或多个应用程序(未示出);以及一个或多个计算机程序1104,传感器1105、上述各器件可以通过一个或多个通信总线1106连接。其中该一个或多个计算机程序1104被存储在上述存储器1103中并被配置为被该一个或多个处理器1102执行,该一个或多个计算机程序1104包括指令,上述指令可以用于执行如图4a至图13相应实施例中的各个步骤。
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的触摸屏的响应方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的触摸屏的响应方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的响应方法。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。
Claims (14)
- 一种触摸屏的响应方法,应用于具有曲面屏幕的电子设备,其特征在于,所述方法包括:确定在第一时刻所述电子设备被用户握持时的第一设备状态,并根据所述第一设备状态确定所述电子设备的曲面屏幕的第一侧边区域的触控参数为第一响应阈值,所述电子设备的曲面屏幕的第一侧边区域设有压力传感器;接收用户在所述曲面屏幕的第一侧边区域的第一操作;确定所述第一操作满足所述第一响应阈值时,则对所述第一操作作出响应;确定在第二时刻所述电子设备被用户握持时的第二设备状态,并根据所述第二设备状态将所述电子设备的曲面屏幕的第一侧边区域的触控参数从第一响应阈值调整为第二响应阈值;其中,所述第一响应阈值与所述第二响应阈值的大小不同;接收所述用户在所述曲面屏幕的第一侧边区域的第二操作;确定所述第二操作满足所述第二响应阈值时,则对所述第二操作作出响应。
- 根据权利要求1所述的方法,其特征在于,所述触控参数为压力,第一操作和所述第二操作为按压操作,所述第一响应阈值为第一压力,所述第二响应阈值为第二压力。
- 根据权利要求1所述的方法,其特征在于,所述触控参数为压力和滑动距离,所述第一操作和所述第二操作为按压并滑动操作;所述第一响应阈值为第一压力和第一滑动距离,所述第二响应阈值为第二压力和第二滑动距离。
- 根据权利要求1所述的方法,其特征在于,所述第一设备状态为静止状态,所述第二设备状态为运动状态,所述触控参数为压力和界面响应时间,所述第一响应阈值为第一压力和第一响应时间,所述第二响应阈值为第二压力和第二响应时间,所述第一响应时间小于所述第二响应时间,所述第一操作和所述第二操作为按压操作。
- 根据权利要求1所述的方法,其特征在于,所述第一侧边区域为所述曲面屏幕的整个侧边,或者为部分侧边。
- 一种电子设备,其特征在于,包括处理器、存储器、曲面屏幕、陀螺仪传感器、重力传感器、压力传感器;所述陀螺仪传感器和重力传感器,用于采集电子设备被用户握持时的状态数据;所述曲面屏幕的第一侧边区域设有压力传感器,所述曲面屏幕用于接收所述用户的操作;所述存储器用于存储一个或多个计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行:根据陀螺仪传感器和重力传感器采集的电子设备在第一时刻被用户握持时的状态数据,确定在第一时刻所述电子设备被用户握持时的第一设备状态,并根据所述第一设备状态确定所述电子设备的曲面屏幕的第一侧边区域的触控参数为第一响应阈值;确定所述曲面屏幕所接收的第一操作满足所述第一响应阈值时,则对所述第一操作作出响应;根据陀螺仪传感器和重力传感器采集的电子设备在第二时刻被用户握持时的状态数据,确定在第二时刻所述电子设备被用户握持时的第二设备状态,并根据所述第二设备状态将所述电子设备的曲面屏幕的第一侧边区域的触控参数从第一响应阈值调整为第二响应阈值;其中,所述第一响应阈值与所述第二响应阈值的大小不同;确定所述曲面屏幕所接收的第二操作满足所述第二响应阈值时,则对所述第二操作作出 响应。
- 根据权利要求6所述的电子设备,其特征在于,所述触控参数为压力,第一操作和所述第二操作为按压操作,所述第一响应阈值为第一压力,所述第二响应阈值为第二压力。
- 根据权利要求6所述的电子设备,其特征在于,所述触控参数为压力和滑动距离,所述第一操作和所述第二操作为按压并滑动操作;所述第一响应阈值为第一压力和第一滑动距离,所述第二响应阈值为第二压力和第二滑动距离。
- 根据权利要求6所述的电子设备,其特征在于,所述第一设备状态为静止状态,所述第二设备状态为运动状态,所述触控参数为压力和界面响应时间,所述第一响应阈值为第一压力和第一响应时间,所述第二响应阈值为第二压力和第二响应时间,所述第一响应时间小于所述第二响应时间,所述第一操作和所述第二操作为按压操作。
- 根据权利要求6所述的电子设备,其特征在于,所述第一侧边区域为所述曲面屏幕的整个侧边,或者为部分侧边。
- 一种电子设备,其特征在于,包括处理器、存储器、曲面屏幕、陀螺仪传感器、重力传感器、压力传感器;所述陀螺仪传感器和重力传感器,用于采集电子设备被用户握持时的状态数据;所述曲面屏幕的第一侧边区域设有压力传感器,所述曲面屏幕用于接收所述用户的操作;所述存储器用于存储一个或多个计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行:根据陀螺仪传感器和重力传感器采集的电子设备在第一时刻被用户握持时的状态数据,确定在第一时刻所述电子设备为竖屏状态,并根据所述竖屏状态确定所述电子设备的音量虚拟按键位于第一触摸操作区域;确定所述曲面屏幕所接收的第一操作作用在所述第一触摸操作区域时,则在所述第一操作满足设定条件时作出响应;根据陀螺仪传感器和重力传感器采集的电子设备在第二时刻被用户握持时的状态数据,确定在第二时刻所述电子设备为横屏状态,并根据所述横屏状态将所述电子设备的音量虚拟按键从所述第一触摸操作区域调整为第二触摸操作区域,所述第二触摸操作区域与所述第一触摸操作区域的位置不同;确定所述曲面屏幕所接收的第二操作作用在所述第二触摸操作区域时,则在所述第二操作满足设定条件时作出响应。
- 根据权利要求11所述的电子设备,其特征在于,所述曲面屏幕,还用于在所述第二触摸操作区域显示设有音量虚拟按键位置的提示信息。
- 根据权利要求11或12所述的电子设备,其特征在于,所述处理器还用于:根据陀螺仪传感器和重力传感器采集的电子设备在第三时刻被用户握持时的状态数据,确定在第三时刻所述电子设备为竖屏状态,并根据所述竖屏状态将所述电子设备的音量虚拟按键从所述第二触摸操作区域调整为所述第一触摸操作区域。
- 一种计算机存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至5任一项所述的触摸屏的响应方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP19895664.1A EP3869307B1 (en) | 2018-12-11 | 2019-11-30 | Response method for touch screen and electronic device |
| US17/312,791 US11553078B2 (en) | 2018-12-11 | 2019-11-30 | Touchscreen response method and electronic device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811513765.X | 2018-12-11 | ||
| CN201811513765.XA CN109782944A (zh) | 2018-12-11 | 2018-12-11 | 一种触摸屏的响应方法及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020119493A1 true WO2020119493A1 (zh) | 2020-06-18 |
Family
ID=66496710
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/122250 Ceased WO2020119493A1 (zh) | 2018-12-11 | 2019-11-30 | 一种触摸屏的响应方法及电子设备 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US11553078B2 (zh) |
| EP (1) | EP3869307B1 (zh) |
| CN (1) | CN109782944A (zh) |
| WO (1) | WO2020119493A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112799532A (zh) * | 2021-01-12 | 2021-05-14 | 武汉华星光电半导体显示技术有限公司 | 一种显示面板及显示装置 |
| CN115005626A (zh) * | 2022-06-13 | 2022-09-06 | 南通思凯林家居有限公司 | 多功能沙发智能控制板 |
| CN118210392A (zh) * | 2022-12-15 | 2024-06-18 | 荣耀终端有限公司 | 触摸检测方法及相关设备 |
| CN119469851A (zh) * | 2024-11-12 | 2025-02-18 | 无锡威达智能电子股份有限公司 | 一种康养遥控器的测试方法、装置及电子设备 |
Families Citing this family (43)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109782944A (zh) | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | 一种触摸屏的响应方法及电子设备 |
| CN110087001B (zh) * | 2019-05-30 | 2021-07-13 | 维沃移动通信有限公司 | 一种拍摄处理方法、装置及移动终端 |
| CN110351424A (zh) * | 2019-05-30 | 2019-10-18 | 华为技术有限公司 | 手势交互方法和终端 |
| US11797113B2 (en) | 2019-06-01 | 2023-10-24 | Apple Inc. | Devices, methods, and graphical user interfaces for interaction with a control |
| CN110308858A (zh) * | 2019-06-28 | 2019-10-08 | Oppo广东移动通信有限公司 | 一种电子设备及触控组件的控制方法 |
| CN110297583A (zh) * | 2019-06-28 | 2019-10-01 | Oppo广东移动通信有限公司 | 电子设备及电子设备的控制方法 |
| CN110456938B (zh) | 2019-06-28 | 2021-01-29 | 华为技术有限公司 | 一种曲面屏的防误触方法及电子设备 |
| CN110324497B (zh) * | 2019-07-09 | 2022-02-01 | 维沃移动通信有限公司 | 一种操作控制方法、终端及计算机可读存储介质 |
| CN110488921A (zh) * | 2019-08-20 | 2019-11-22 | Oppo广东移动通信有限公司 | 电子设备及其控制方法 |
| CN110609650B (zh) * | 2019-08-30 | 2023-06-02 | 华为技术有限公司 | 一种应用状态切换方法及终端设备 |
| CN112445385B (zh) * | 2019-08-30 | 2023-07-04 | Oppo广东移动通信有限公司 | 电子设备、虚拟按键的触发方法、装置以及存储介质 |
| CN110658975B (zh) * | 2019-09-17 | 2023-12-01 | 华为技术有限公司 | 一种移动终端操控方法及装置 |
| CN115407923A (zh) * | 2019-09-17 | 2022-11-29 | 华为技术有限公司 | 一种参数的调整方法及电子设备 |
| CN112600961A (zh) * | 2019-09-19 | 2021-04-02 | 华为技术有限公司 | 一种音量调节方法及电子设备 |
| CN112540714B (zh) * | 2019-09-20 | 2023-10-10 | 北京小米移动软件有限公司 | 触摸显示的方法、装置及系统 |
| CN110650248A (zh) * | 2019-09-27 | 2020-01-03 | Oppo(重庆)智能科技有限公司 | 一种按键的防误触碰控制方法、装置及存储介质 |
| CN110740497B (zh) * | 2019-09-30 | 2021-10-22 | 联想(北京)有限公司 | 一种控制方法及电子设备 |
| CN110798568B (zh) | 2019-09-30 | 2022-01-14 | 华为技术有限公司 | 具有折叠屏的电子设备的显示控制方法及电子设备 |
| CN112738332A (zh) * | 2019-10-10 | 2021-04-30 | 华为技术有限公司 | 一种电子设备的交互方法及电子设备 |
| CN112650405B (zh) * | 2019-10-10 | 2023-11-03 | 华为技术有限公司 | 一种电子设备的交互方法及电子设备 |
| CN110764675A (zh) * | 2019-10-11 | 2020-02-07 | 维沃移动通信有限公司 | 一种控制方法及电子设备 |
| CN110806832A (zh) * | 2019-10-24 | 2020-02-18 | 维沃移动通信有限公司 | 一种参数调节方法和电子设备 |
| CN110989896A (zh) * | 2019-10-28 | 2020-04-10 | 维沃移动通信有限公司 | 一种控制方法及电子设备 |
| EP4050465B1 (en) | 2019-12-09 | 2024-08-21 | Huawei Technologies Co., Ltd. | Method and apparatus for adjusting touch control region |
| CN113031802B (zh) * | 2019-12-09 | 2024-07-19 | 华为终端有限公司 | 一种触控区域调整方法及装置 |
| CN111131954A (zh) * | 2019-12-27 | 2020-05-08 | 歌尔科技有限公司 | 无线耳机充电盒及耳机出入盒检测方法、系统、存储介质 |
| CN113377222B (zh) * | 2020-02-25 | 2024-09-20 | 北京小米移动软件有限公司 | 触控上报方法及装置 |
| CN111352566B (zh) * | 2020-02-27 | 2022-02-22 | 维沃移动通信有限公司 | 一种参数调节方法及电子设备 |
| CN111443859B (zh) * | 2020-03-24 | 2022-09-20 | 维沃移动通信有限公司 | 一种触控交互方法及电子设备 |
| CN111447761B (zh) | 2020-03-27 | 2021-09-14 | 维沃移动通信有限公司 | 电子设备 |
| CN113552994A (zh) * | 2020-04-23 | 2021-10-26 | 华为技术有限公司 | 一种触控操作方法及设备 |
| CN111766972A (zh) * | 2020-06-09 | 2020-10-13 | Oppo广东移动通信有限公司 | 显示屏组件以及电子装置 |
| WO2022133792A1 (zh) | 2020-12-23 | 2022-06-30 | 京东方科技集团股份有限公司 | 显示面板及其制造方法、显示装置 |
| CN113377237A (zh) * | 2021-06-30 | 2021-09-10 | 歌尔科技有限公司 | 一种防误触方法、可穿戴设备及存储介质 |
| CN115617117A (zh) * | 2021-07-16 | 2023-01-17 | 华为技术有限公司 | 一种电子设备的按键控制方法及电子设备 |
| CN113542478B (zh) * | 2021-07-16 | 2022-10-14 | 南昌黑鲨科技有限公司 | 一种压敏控制的保护系统、方法及计算机可读存储介质 |
| CN113674671A (zh) * | 2021-08-18 | 2021-11-19 | 惠科股份有限公司 | 控制方法、外设控制器以及显示设备 |
| CN116089320B (zh) * | 2022-08-31 | 2023-10-20 | 荣耀终端有限公司 | 垃圾回收方法和相关装置 |
| CN116737001B (zh) * | 2022-09-30 | 2024-05-14 | 荣耀终端有限公司 | 一种压感触控的方法、装置及电子设备 |
| CN115586849B (zh) * | 2022-10-14 | 2026-02-06 | 维沃移动通信有限公司 | 触屏响应距离调整方法、装置和电子设备 |
| US12327014B2 (en) | 2023-03-03 | 2025-06-10 | Apple Inc. | Devices, methods, and user interfaces for edge and corner interactions |
| WO2024186519A1 (en) * | 2023-03-03 | 2024-09-12 | Apple Inc. | Devices, methods, and user interfaces for edge and corner interactions |
| CN119902733B (zh) * | 2023-10-20 | 2026-01-06 | 荣耀终端股份有限公司 | 一种滑动检测方法、装置及电子设备 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013137697A (ja) * | 2011-12-28 | 2013-07-11 | Sharp Corp | 電子機器、表示制御方法、およびプログラム |
| CN103218163A (zh) * | 2013-03-28 | 2013-07-24 | 广东欧珀移动通信有限公司 | 一种调节音量的方法、装置及移动设备 |
| CN106293199A (zh) * | 2016-07-26 | 2017-01-04 | 广东小天才科技有限公司 | 一种控制触摸屏的方法及装置 |
| CN207037545U (zh) * | 2017-07-28 | 2018-02-23 | 维沃移动通信有限公司 | 一种侧按键装配结构及电子设备 |
| CN108111689A (zh) * | 2017-12-26 | 2018-06-01 | 深圳市万普拉斯科技有限公司 | 压力触控的动态调节方法、装置及移动终端 |
| CN108471471A (zh) * | 2018-03-26 | 2018-08-31 | 广东小天才科技有限公司 | 一种防止误触控操作的方法、装置及终端设备 |
| CN109782944A (zh) * | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | 一种触摸屏的响应方法及电子设备 |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101030398B1 (ko) | 2008-12-15 | 2011-04-20 | 삼성전자주식회사 | 단말의 사용자 인터페이스 모드에 따른 감도 가변 터치 센서 및 그 제공 방법 |
| TWI451297B (zh) * | 2012-01-31 | 2014-09-01 | Quanta Comp Inc | 可攜式電子裝置與調整其螢幕畫面顯示方式的方法 |
| US9046958B2 (en) | 2012-03-15 | 2015-06-02 | Nokia Technologies Oy | Method, apparatus and computer program product for user input interpretation and input error mitigation |
| CN104636003B (zh) | 2013-11-13 | 2019-01-04 | 中兴通讯股份有限公司 | 一种动态切换终端区域灵敏度的方法及装置 |
| JP2017537416A (ja) * | 2014-10-30 | 2017-12-14 | ティモシー ジン イン スートゥー | タッチを感知し、圧力を感知し、表示可能である側面を備えた電子デバイス |
| CN105468153B (zh) | 2015-11-25 | 2019-03-19 | 努比亚技术有限公司 | 一种移动终端及其实现控制的方法 |
| KR102563619B1 (ko) * | 2016-12-01 | 2023-08-04 | 삼성전자 주식회사 | 병용(combined) 버튼을 가지는 전자 장치 및 전자 장치의 병용 버튼 제어방법 |
| DE112018003675T5 (de) * | 2017-07-20 | 2020-05-14 | Sony Corporation | Informationsverarbeitungseinrichtung, informationsverarbeitungsverfahren und programm |
| CN107562324B (zh) * | 2017-09-08 | 2023-01-17 | Oppo广东移动通信有限公司 | 数据显示控制的方法和终端 |
| CN108062180B (zh) | 2017-12-27 | 2021-06-29 | Oppo广东移动通信有限公司 | 触摸屏灵敏度控制方法、装置及存储介质和移动终端 |
| CN108595089A (zh) * | 2018-04-13 | 2018-09-28 | 维沃移动通信有限公司 | 一种虚拟按键控制方法及移动终端 |
| CN108287611B (zh) | 2018-04-24 | 2022-07-22 | 深圳市德威普斯科技有限公司 | 屏幕触控响应方法、终端和计算机存储介质 |
-
2018
- 2018-12-11 CN CN201811513765.XA patent/CN109782944A/zh active Pending
-
2019
- 2019-11-30 US US17/312,791 patent/US11553078B2/en active Active
- 2019-11-30 EP EP19895664.1A patent/EP3869307B1/en active Active
- 2019-11-30 WO PCT/CN2019/122250 patent/WO2020119493A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013137697A (ja) * | 2011-12-28 | 2013-07-11 | Sharp Corp | 電子機器、表示制御方法、およびプログラム |
| CN103218163A (zh) * | 2013-03-28 | 2013-07-24 | 广东欧珀移动通信有限公司 | 一种调节音量的方法、装置及移动设备 |
| CN106293199A (zh) * | 2016-07-26 | 2017-01-04 | 广东小天才科技有限公司 | 一种控制触摸屏的方法及装置 |
| CN207037545U (zh) * | 2017-07-28 | 2018-02-23 | 维沃移动通信有限公司 | 一种侧按键装配结构及电子设备 |
| CN108111689A (zh) * | 2017-12-26 | 2018-06-01 | 深圳市万普拉斯科技有限公司 | 压力触控的动态调节方法、装置及移动终端 |
| CN108471471A (zh) * | 2018-03-26 | 2018-08-31 | 广东小天才科技有限公司 | 一种防止误触控操作的方法、装置及终端设备 |
| CN109782944A (zh) * | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | 一种触摸屏的响应方法及电子设备 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3869307A4 |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112799532A (zh) * | 2021-01-12 | 2021-05-14 | 武汉华星光电半导体显示技术有限公司 | 一种显示面板及显示装置 |
| CN112799532B (zh) * | 2021-01-12 | 2022-04-26 | 武汉华星光电半导体显示技术有限公司 | 一种显示面板及显示装置 |
| CN115005626A (zh) * | 2022-06-13 | 2022-09-06 | 南通思凯林家居有限公司 | 多功能沙发智能控制板 |
| CN115005626B (zh) * | 2022-06-13 | 2023-12-05 | 南通思凯林家居有限公司 | 多功能沙发智能控制板 |
| CN118210392A (zh) * | 2022-12-15 | 2024-06-18 | 荣耀终端有限公司 | 触摸检测方法及相关设备 |
| CN119469851A (zh) * | 2024-11-12 | 2025-02-18 | 无锡威达智能电子股份有限公司 | 一种康养遥控器的测试方法、装置及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3869307A1 (en) | 2021-08-25 |
| US11553078B2 (en) | 2023-01-10 |
| CN109782944A (zh) | 2019-05-21 |
| EP3869307B1 (en) | 2024-08-21 |
| EP3869307A4 (en) | 2021-12-29 |
| US20220053080A1 (en) | 2022-02-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11553078B2 (en) | Touchscreen response method and electronic device | |
| CN113645351B (zh) | 应用界面交互方法、电子设备和计算机可读存储介质 | |
| CN113905179B (zh) | 一种终端切换摄像头的方法及终端 | |
| CN110536004B (zh) | 多传感器应用于具有柔性屏幕的电子设备的方法及电子设备 | |
| CN110798568B (zh) | 具有折叠屏的电子设备的显示控制方法及电子设备 | |
| WO2021052290A1 (zh) | 一种音量调节方法及电子设备 | |
| WO2020134869A1 (zh) | 电子设备的操作方法和电子设备 | |
| WO2020259452A1 (zh) | 一种移动终端的全屏显示方法及设备 | |
| WO2020156269A1 (zh) | 一种具有柔性屏幕的电子设备的显示方法及电子设备 | |
| CN111669459A (zh) | 键盘显示方法、电子设备和计算机可读存储介质 | |
| CN109976626A (zh) | 一种应用图标的切换方法及电子设备 | |
| WO2021082564A1 (zh) | 一种操作提示的方法和电子设备 | |
| WO2021218540A1 (zh) | 天线功率调节方法、终端设备及存储介质 | |
| WO2021036770A1 (zh) | 一种分屏处理方法及终端设备 | |
| CN114887323B (zh) | 一种电子设备操控方法及电子设备 | |
| WO2021008589A1 (zh) | 一种应用的运行方法及电子设备 | |
| WO2021042878A1 (zh) | 一种拍摄方法及电子设备 | |
| WO2020056778A1 (zh) | 一种屏蔽触摸事件的方法及电子设备 | |
| CN110401768A (zh) | 调节电子设备的工作状态的方法和装置 | |
| WO2020134868A1 (zh) | 一种连接建立方法及终端设备 | |
| CN112584037B (zh) | 保存图像的方法及电子设备 | |
| WO2022143180A1 (zh) | 协同显示方法、终端设备及计算机可读存储介质 | |
| CN114095599A (zh) | 消息显示方法和电子设备 | |
| US12204741B2 (en) | Screenshot method and related device | |
| CN110058729A (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: 19895664 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2019895664 Country of ref document: EP Effective date: 20210521 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |

