WO2020038089A1 - 终端、在终端上执行操作的方法、装置及存储介质 - Google Patents
终端、在终端上执行操作的方法、装置及存储介质 Download PDFInfo
- Publication number
- WO2020038089A1 WO2020038089A1 PCT/CN2019/091834 CN2019091834W WO2020038089A1 WO 2020038089 A1 WO2020038089 A1 WO 2020038089A1 CN 2019091834 W CN2019091834 W CN 2019091834W WO 2020038089 A1 WO2020038089 A1 WO 2020038089A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- sensor
- touch
- area
- detection result
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
Definitions
- This application relates to, but is not limited to, the field of communications, and in particular, to a terminal, a method, a device, a storage medium, and an electronic device for performing operations on the terminal.
- the screen of the terminal can be divided into special-shaped screens and non-shaped screens.
- the non-profiled screen is a complete screen with a regular shape.
- the profiled screen is a part that is cut on the basis of the non-profiled screen to form a gap to place components such as a camera and a handset.
- a device provided with a special-shaped screen will not detect a touch operation at a notch position.
- the touch operation outside the screen is It will not be detected, therefore, it will cause discontinuities in the operation through the non-touch screen area and affect the user experience.
- the embodiments of the present application are expected to provide a terminal, a method, a device, a storage medium, and an electronic device for performing operations on the terminal, so as to at least solve the discontinuity of the operation in the related technology through the non-touch screen area and affect the user experience The problem.
- An embodiment of the present application provides a terminal including a touch screen, a sensor, and a processor, wherein the sensor is located in a predetermined area on the terminal, the predetermined area is an area that does not respond to a touch action, and the predetermined The area is adjacent to the area where the touch screen is located, wherein the sensor is configured to detect a position where the predetermined area is covered and report a detection result to the processor; and the processor is configured to be based on the detection The result and the touch action acting on the touch screen determine a target operation, and execute the target operation on the terminal.
- An embodiment of the present application further provides a method for performing an operation on a terminal, including: determining a touch action acting on a touch screen of the terminal and a detection result obtained by a detection operation performed by a sensor, where the detection operation includes Detecting a position where a predetermined area on the terminal is covered, the sensor is located in the predetermined area, the predetermined area is an area that does not respond to a touch action, and the predetermined area is adjacent to an area where the touch screen is located; Determining a target operation according to the touch action and the detection result; and performing the target operation on the terminal.
- An embodiment of the present application provides a device for performing an operation on a terminal, including: a first determining module configured to determine a touch action acting on a touch screen of the terminal and a detection result obtained by a sensor performing a detection operation, The detection operation includes detecting a position where a predetermined area on the terminal is covered, the sensor is located in the predetermined area, the predetermined area is an area that does not respond to a touch action, and the predetermined area and the The area where the touch screen is located is adjacent; a second determination module is configured to determine a target operation according to the touch action and the detection result; and an execution module is configured to perform the target operation on the terminal.
- An embodiment of the present application further provides a storage medium that stores a computer program therein, wherein the computer program is configured to execute a method for performing an operation on a terminal provided in the embodiment of the present application when the computer program is run.
- An embodiment of the present application further provides an electronic device including a memory and a processor.
- the memory stores a computer program
- the processor is configured to run the computer program to execute the on-terminal provided in the embodiment of the application. Method to perform operations on.
- the corresponding operation is performed in combination with the touch condition of the non-touch screen area and the touch condition on the touch screen, that is, the touch action on the non-touch screen area It will also trigger the operation, thereby solving the problem of discontinuities in the operation of the non-touch screen area in the related technology and affecting the user experience, thereby ensuring the continuity of operations in the non-touch screen area and the touch screen area and improving the user experience.
- FIG. 1 is a schematic diagram of a terminal provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of a connection relationship between a touch screen, a CPU, a sensor, and other components according to an embodiment of the present application;
- FIG. 3 is a flowchart of a method for performing an operation on a terminal according to an embodiment of the present application
- FIG. 4 is a flowchart in a sliding touch mode according to an embodiment of the present application.
- FIG. 5 is a sliding schematic diagram provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of sliding provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of sliding provided by an embodiment of the present application.
- FIG. 9 is a flowchart in a key mode provided by an embodiment of the present application.
- FIG. 10 is a structural block diagram of an apparatus for performing an operation on a terminal according to an embodiment of the present application.
- the current terminal does not have a touch sensor in the camera and sensor parts. Whether it is capacitive or other methods, the lack of a touch sensor will cause inconsistent touch operations. If you want to set the part area as a touch screen, then for that area, The accuracy of the original sensor's data acquisition will have a great impact. To solve the problems in the related technology, this application provides a solution. The following describes the application with reference to the embodiments:
- a terminal including: a touch screen, a sensor, and a processor, wherein the sensor is located in a predetermined area on the terminal, the predetermined area is an area that does not respond to a touch action, and the predetermined area Adjacent to the area where the touch screen is located, the sensor is configured to detect the position where a predetermined area is covered and report the detection result to a processor; the processor is configured to determine a target based on the detection result and a touch action acting on the touch screen Operation, and execute the target operation on the terminal.
- the original sensor in the predetermined area is used to determine whether the touched body has touched the predetermined area, that is, when the detection result is that an object is detected to be covered, it is determined that a touched body has touched the predetermined area.
- the detection result is that no object coverage is detected, it is determined that no touch action has occurred in the predetermined area.
- the above-mentioned sensor can report the detected sensing data, so that the processor determines whether the predetermined area is covered and the location where it is covered according to the sensing data.
- the corresponding operation is performed in combination with the touch condition of the non-touch screen area and the touch condition on the touch screen, that is, the touch action on the non-touch screen area It will also trigger the operation, thereby solving the problem of discontinuities in the operation of the non-touch screen area in the related technology and affecting the user experience, thereby ensuring the continuity of operations in the non-touch screen area and the touch screen area and improving the user experience.
- the adjacent area of the predetermined area and the touch screen includes one of the following: when the touch screen is a non-shaped screen, the predetermined area is adjacent to at least one side of the area where the non-shaped screen is located; when the touch screen is abnormal Screen, the predetermined area is a notched area where the special-shaped screen is located.
- the following uses the special-shaped screen as an example:
- the embodiment of the present application provides a device with a special-shaped screen, that is, the shape of the screen in the display part is not a regular rectangle, but there are gaps, and there are several sensors and other components at the gaps. See FIG. 1.
- the touch area of the special-shaped screen can be divided into several areas (it should be noted that these areas are actually a whole, but the whole is divided for the convenience of explaining the solution in this application), as shown in FIG. 1,
- the terminal is a terminal of a special-shaped screen, in which a plurality of sensors and components are provided at a gap of the special-shaped screen, and the screen of the terminal is divided into three areas, including an overall touch area (also referred to as an overall area) and Two local touch areas (also referred to as local areas for short), where the entire area is a complete rectangular area, and the touch area of the special-shaped portion is divided into several local touch areas.
- the data of the sensor is used to determine whether the area where the sensor is located is covered, and then the touch action of the gap area is obtained, which is further combined with the touch event of the local touch area to form a complete touch event.
- the processor may be a central processing unit (CPU) in the terminal.
- the special-shaped screen may be connected to the CPU through a bus or other connecting parts, and the special-shaped screen may be touched.
- the triggered data can be transmitted to the CPU for processing.
- Sensors and other devices are arranged in the gaps of the special-shaped screen, and connected to the CPU through the system bus or other connectors. The data detected by these sensors and other devices can also be transmitted to The CPU performs processing.
- the connection relationship between the touch screen that is, the above-mentioned special-shaped screen
- the CPU the sensor
- other components can be seen in FIG. 2.
- the terminal further includes a motor, wherein the motor is configured to perform vibration when the target operation is performed on the terminal when the target operation is a predetermined operation.
- the predetermined operation is set according to an actual situation.
- the predetermined operation includes: an operation performed by pressing a predetermined physical button on the terminal. That is, in this embodiment, when the predetermined operation is an operation performed by pressing a predetermined physical key (e.g., home key, return key, volume adjustment key) on the terminal, the motor vibration is triggered. That is, when it is determined that the currently simulated operation is an operation performed by pressing a physical key according to the detection result and a touch action acting on the touch screen, a motor vibration is triggered.
- This mode can be called a key mode. In this mode, the terminal can be in an inverted state (that is, a state after being flipped upside down). When multiple sensors are covered simultaneously, the system reports a key event. At the same time, the system controls the motor module to vibrate and simulate the effect of pressing a key.
- a predetermined physical key e.g., home key, return key, volume adjustment key
- the above sensor may be configured to report the detected sensing data, and when the sensing data reported by the sensor meets a predetermined threshold, it is determined that an area corresponding to the sensor in the predetermined area is covered. When the sensing data reported by the sensor does not satisfy the predetermined threshold, it is determined that an area corresponding to the sensor in the predetermined area is not covered.
- the processor may determine the target operation in the following manner: determining the touch action and the indication indicated by the detection result at a touch time according to the touch action and a detection time at which the detection result is obtained.
- the terminal can also be in a sliding touch mode.
- the device can be in a horizontal screen state, and the local touch area and the area where the touch sensor is located can be combined into a continuous sliding event.
- a touch operation is detected to enter a gap from a local touch area, it can be regarded as a continuous sliding event.
- it is determined whether the sliding time is continuous.
- each sensor has a coordinate information and a corresponding threshold value of the sensor data, and determines whether it is covered by whether the detected data meets the threshold value of the sensor data. When it is determined that the sensor is covered, the sensor is covered. The coordinates of the sensor are reported as a touch coordinate (where the corresponding layer of the sensor can be stored in the bottom layer of the processor. The sensor will report the sensing data to the bottom layer of the processor.
- the coordinates of the sensor A in FIG. 1 may be (A1, A2), the data measured by the sensor A may be Ma, the coordinates of the sensor B may be (B1, B2), and the data measured by the sensor B may be Mb,
- the coordinates of the sensor D can be (D1, D2), and the data obtained by the sensor D can be Mc.
- the system reports the touch coordinates as (A1, A2), and when Mb meets the condition Tb, the system reports the touch coordinates as (B1, B2), and when Mc meets the condition At Tc, the system reports the touch coordinates as (D1, D2).
- the types of the sensors include one of the following: an image sensor, a proximity sensor (also referred to as a distance sensor), a structured light sensor, an infrared sensor, a sound sensor, a temperature sensor, and a pressure sensor. It should be noted that the types of the above sensors are just a few examples, and other non-touch sensors may also be included.
- the number of the sensors is one or more
- the predetermined area includes one or more sub-areas
- the plurality of sensors The distribution is set in multiple sub-regions, where the number of sensors is greater than or equal to the number of sub-regions.
- the sub-regions may also be arranged on the terminal in a distributed manner, that is, the sub-regions may not be continuous, and a touch screen may be provided between the sub-regions and the sub-regions.
- FIG. 3 is a flowchart of a method for performing operations on the terminal according to an embodiment of the present application, as shown in FIG. 3, The process includes the following steps:
- Step S302 determining a touch action on a touch screen of the terminal and a detection result obtained by a sensor performing a detection operation, wherein the detection operation includes detecting a position where a predetermined area on the terminal is covered, and the sensor is located in the predetermined area.
- the predetermined area is an area that does not respond to touch actions, and the predetermined area is adjacent to the area where the touch screen is located;
- Step S304 Determine a target operation according to the touch action and the detection result.
- Step S306 Perform the target operation on the terminal.
- the above operation may be performed by the above mobile terminal, and in practical applications, it may be a processor in the above terminal. It should be noted that there is no necessary sequence for determining the touch action and determining the detection result in the above step S302.
- the touch action may be determined first, and then the detection result may be determined.
- the detection result may be determined after the touch action, or may be determined simultaneously. Detection results and touch actions.
- the corresponding operation is performed in combination with the touch condition of the non-touch screen area and the touch condition on the touch screen, that is, the touch action on the non-touch screen area It will also trigger the operation, thereby solving the problem of discontinuities in the operation of the non-touch screen area in the related technology and affecting the user experience, thereby ensuring the continuity of operations in the non-touch screen area and the touch screen area and improving the user experience.
- the above S302 may determine the detection result obtained by the sensor performing an inspection operation in at least one of the following ways: when it is determined that the sensing data detected by the sensor meets a predetermined threshold, determining that the detection result is a predetermined area The area corresponding to the sensor is covered; when it is determined that the sensing data detected by the sensor does not meet the predetermined threshold, it is determined that the detection result is that the area corresponding to the sensor in the predetermined area is not covered.
- the above-mentioned predetermined threshold may be flexibly adjusted, and the predetermined threshold is related to the type of the sensor.
- the above S304 may determine the target operation according to the touch action and the detection result by the following steps: determining the touch action and the touch action indicated by the detection result according to the touch time of the touch action and the detection time of obtaining the detection result; In the case of a consecutive sliding action, determine the sliding information of the consecutive sliding action; determine the operation corresponding to the consecutive sliding action according to the preset relationship between the sliding information and the operation, and determine the target operation as the corresponding operating.
- the current placement state of the terminal may not be considered, that is, the above operations may be performed no matter what the placement state of the terminal is.
- the above sliding information includes at least one of the following: a sliding track, and a pressing force during sliding. It can be known that before executing S304, the corresponding relationship between the sliding trajectory, the pressing force, and the operation can be set in advance. When executing S304, the corresponding operation can be directly called according to the corresponding relationship. It should be noted that the correspondence relationship can be adjusted according to the user's preference, or automatically adjusted according to a predetermined rule.
- determining the target operation according to the touch action and the detection result includes: determining a placement state of the terminal; determining the target operation according to the terminal state, the touch action, and the detection result.
- the placement state of the terminal needs to be considered, that is, in different placement states, the same touch action and detection result will correspond to different target operations.
- the placement state of the terminal may include an inverted state and a non-inverted state.
- the non-inverted state includes multiple types, such as a horizontal screen state, a vertical screen state, and a tilted screen state.
- determining the target operation according to the above-mentioned terminal placement state, touch action, and detection result includes:
- the terminal's placed state is the first state (for example, the aforementioned inverted state)
- the method further includes controlling a motor vibration in the terminal.
- the vibration operation is triggered together, so that the user can make it clear that the current operation is an operation of the simulated physical key.
- FIG 4 shows the flowchart in the sliding touch mode. As shown in Figure 4, it includes the following steps:
- S402 The internal system of the terminal analyzes the data of the gravity sensor. When it is determined that the terminal is in landscape mode, the system enters the touch compensation mode. The resolution of the terminal is P * Q. You can set the local touch area 1 (refer to Figure 1). The coordinate range is (0,0)-(M, N1), and the coordinate range of the local touch area 2 is (N2,0)-(P, N1).
- S404 Sensor A, Sensor B, and Sensor D collect the currently sensed data. You can set the coordinates of Sensor A to (A1, A2), the detected data to Ma, and the coordinates of Sensor B to (B1, B2). The data is Mb, the coordinates of sensor D are (D1, D2), and the detected data is Mc.
- Mc meets the condition Tc, then from (X1, Y1)-> (X2, Y2)-> (A1, A2)-> (B1, B2)-> (D1, D2) is For a coherent event, the system reports a complete sliding event, the coordinates of the down event are (X1, Y1), and the coordinates of the up event are (D1, D2), as shown in Figure 7.
- the system records the touch event after the trigger of sensor D.
- the coordinates of the down event are (X3, Y3)
- the coordinates of the up event are (X4, Y4).
- (X3, Y3) (X4, Y4) is satisfied, they are all in local touch.
- X3, and X3 N2
- (X1, Y1)-> (X2, Y2)-> (A1, A2)-> (B1, B2)-> (D1, D2 )-> (X3, Y3)-> (X4, Y4) is a complete sliding event
- the coordinates of the down event are (X1, Y1)
- the coordinates of the up event are (X4, Y4) as shown in Figure 8.
- FIG 9 shows the flowchart in the key mode. As shown in Figure 9, it includes the following steps:
- S902 The system of the terminal analyzes the data of the gravity sensor. When it is determined that the terminal is in an inverted mode, the system enters a button mode.
- S904 Sensor A (refer to Figure 1) Sensor B and Sensor D collect the currently sensed data. You can set the coordinates of Sensor A to (A1, A2), the detected data to Ma, and the coordinates of Sensor B to (B1, B2), the detected data is Mb, the coordinates of the sensor D are (D1, D2), and the detected data is Mc.
- the terminal may be provided with a function module for a user to customize the aforementioned correspondence relationship or enable the aforementioned function of performing operations.
- a device for performing operations on a terminal is also provided.
- the device is configured to implement the foregoing embodiments and preferred implementation manners, and the descriptions will not be repeated.
- the term "module” may implement a combination of software and / or hardware for a predetermined function.
- the devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
- FIG. 10 is a structural block diagram of an apparatus for performing an operation on a terminal according to an embodiment of the present application. As shown in FIG. 10, the apparatus includes:
- the first determining module 1002 is configured to determine a touch action acting on a touch screen of a terminal and a detection result obtained by a sensor performing a detection operation, wherein the detection operation includes detecting a position where a predetermined area on the terminal is covered, and the sensor is located in the predetermined area.
- the predetermined area is an area that does not respond to the touch action, and the predetermined area is adjacent to the area where the touch screen is located;
- the second determination module 1004 is connected to the first determination module 1002 and is configured to determine the target operation according to the touch action and the detection result;
- the execution module 1006 is connected to the second determining module 1004 and is configured to execute the target operation on the terminal.
- the above-mentioned first determining module 1002 is configured to determine a detection result obtained by a sensor performing an inspection operation in at least one of the following ways: when it is determined that the sensing data detected by the sensor meets a predetermined threshold, determine the detection result The area corresponding to the sensor in the predetermined area is covered; when it is determined that the sensing data detected by the sensor does not meet the predetermined threshold, it is determined that the detection area is that the area corresponding to the sensor in the predetermined area is not covered.
- the above-mentioned second determining module 1004 may determine the target operation by: determining the touch action and the touch action indicated by the detection result to form a continuous slide according to the touch time of the touch action and the detection time of the detection result. In the case of motion, determine the sliding information of the continuous sliding motion; determine the operation corresponding to the continuous sliding motion according to the preset relationship between the sliding information and the operation, and determine the target operation as the corresponding operation.
- the above sliding information includes at least one of the following: a sliding track, and a pressing force during sliding.
- the above-mentioned second determining module 1004 may determine the target operation by: determining a placement state of the terminal; and determining the target operation according to the placement state of the terminal, a touch action, and a detection result.
- the above-mentioned second determining module 1004 may determine the target operation according to the terminal's placement state, touch action, and detection result in the following manner: when the terminal's placement state is the first state, determine both the touch action and the detection result The corresponding operation performed by pressing a predetermined physical button on the terminal, and determining that the target operation is an operation performed by pressing a predetermined physical button on the terminal; when the terminal's placement state is a different state from the first state, A touch operation corresponding to both the touch action and the detection result is determined, and the target operation is determined as the touch operation.
- the above device is further configured to control a motor vibration in the terminal when the target operation is performed by pressing a predetermined physical button on the terminal when the target operation is performed on the terminal.
- the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to the above: the above modules are located in the same processor; or the above modules are combined in any combination The forms are located in different processors.
- An embodiment of the present application further provides a storage medium that stores a computer program therein.
- the computer program is configured to execute a method for performing an operation on a terminal provided by the embodiment of the present application when the computer program is run.
- the above storage medium may include, but is not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, etc.
- ROM Read-Only Memory
- RAM Random Access Memory
- mobile hard disk a magnetic disk
- optical disk a media that can store computer programs.
- An embodiment of the present application further provides an electronic device including a memory and a processor.
- the memory stores a computer program
- the processor is configured to run the computer program to perform operations performed on the terminal provided in the embodiment of the present application. method.
- the electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the processor, and the input-output device is connected to the processor.
- modules or steps of the present application may be implemented by a general-purpose computing device, and they may be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
- they may be implemented with program code executable by a computing device, so that they may be stored in a storage device and executed by the computing device, and in some cases, may be different from here
- the steps shown or described are performed sequentially, or they are separately made into individual integrated circuit modules, or multiple modules or steps in them are made into a single integrated circuit module to implement.
- this application is not limited to any particular combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种终端、在终端上执行操作的方法、装置、存储介质及电子装置,其中,该方法包括:确定作用于终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,该检测操作包括检测终端上的预定区域被覆盖的位置,该传感器位于预定区域中,该预定区域为不对触摸动作进行响应的区域,且该预定区域与触摸屏所在的区域邻接;根据触摸动作以及检测结果确定目标操作;在上述终端上执行所述目标操作。
Description
相关申请的交叉引用
本申请基于申请号为201810949712.6、申请日为2018年08月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本申请涉及但不限于通信领域,尤其涉及一种终端、在终端上执行操作的方法、装置、存储介质及电子装置。
全面屏产品设计中,终端的屏幕可以分为异形屏和非异形屏。其中,非异形屏幕是一个规则形状的完整屏幕,异形屏是在非异形屏的基础上切断部分,形成一个缺口以安放摄像头、听筒等零部件。在相关技术中,设置有异形屏幕的设备在缺口位置上是不会检测到触摸操作的,此外,无论是具备异形屏幕的终端还是具备非异形屏幕的终端,在屏幕之外的触摸操作都是不会被检测到的,因此,会导致经过非触摸屏区域的操作的不连续性,影响用户体验。
发明内容
有鉴于此,本申请实施例期望提供一种终端、在终端上执行操作的方法、装置、存储介质及电子装置,以至少解决相关技术中经过非触摸屏区域的操作的不连续性,影响用户体验的问题。
本申请实施例提供了一种终端,包括:触摸屏,传感器和处理器,其中,所述传感器位于所述终端上的预定区域,所述预定区域为不对触摸动 作进行响应的区域,且所述预定区域与所述触摸屏所在的区域邻接,其中,所述传感器,配置为检测所述预定区域被覆盖的位置,并将检测结果上报给所述处理器;所述处理器,配置为根据所述检测结果以及作用于所述触摸屏上的触摸动作确定目标操作,并在所述终端上执行所述目标操作。
本申请实施例还提供了一种在终端上执行操作的方法,包括:确定作用于所述终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,所述检测操作包括检测所述终端上的预定区域被覆盖的位置,所述传感器位于所述预定区域中,所述预定区域为不对触摸动作进行响应的区域,且所述预定区域与所述触摸屏所在的区域邻接;根据所述触摸动作以及所述检测结果确定目标操作;在所述终端上执行所述目标操作。
本申请实施例,提供了一种在终端上执行操作的装置,包括:第一确定模块,配置为确定作用于所述终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,所述检测操作包括检测所述终端上的预定区域被覆盖的位置,所述传感器位于所述预定区域中,所述预定区域为不对触摸动作进行响应的区域,且所述预定区域与所述触摸屏所在的区域邻接;第二确定模块,配置为根据所述触摸动作以及所述检测结果确定目标操作;执行模块,配置为在所述终端上执行所述目标操作。
本申请实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行本申请实施例提供的在终端上执行操作的方法。
本申请实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行本申请实施例提供的在终端上执行操作的方法。
应用本申请实施例,由于是根据传感器来检测非触摸屏区域的触摸情况,进而结合非触摸屏区域的触摸情况和触摸屏上的触摸情况来执行对应 的操作,也就是说,非触摸屏区域上的触摸动作也是会导致操作的触发的,从而解决相关技术中经过非触摸屏区域的操作的不连续性,影响用户体验的问题,进而达到保证非触摸屏区域与触摸屏区域的操作的连续性,提高用户体验。
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是本申请实施例提供的终端示意图;
图2是本申请实施例提供的触摸屏、CPU、传感器以及其他部件的连接关系示意图;
图3是本申请实施例提供的在终端上执行操作的方法的流程图;
图4是本申请实施例提供的滑动触摸模式下的流程图;
图5是本申请实施例提供的滑动示意图;
图6是本申请实施例提供的滑动示意图;
图7是本申请实施例提供的滑动示意图;
图8是本申请实施例提供的滑动示意图;
图9是本申请实施例提供的按键模式下的流程图;
图10是本申请实施例提供的在终端上执行操作的装置的结构框图。
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先 后次序。
目前的终端在摄像头以及传感器的部分是没有触摸传感器,无论是电容的或者是其他方式的,触摸传感器的缺失会导致触摸操作的不连贯,如果要将该部分区域设置成触摸屏,那么对于该区域原有的传感器的数据采集的准确性会产生很大的影响。针对相关技术中存在的问题,本申请提供了解决方案,下面结合实施例对本申请进行说明:
根据本申请的一个实施例,提供了一种终端,包括:触摸屏,传感器和处理器,其中,该传感器位于终端上的预定区域,该预定区域为不对触摸动作进行响应的区域,且该预定区域与触摸屏所在的区域邻接,其中,该传感器,配置为检测预定区域被覆盖的位置,并将检测结果上报给处理器;该处理器,配置为根据检测结果以及作用于触摸屏上的触摸动作确定目标操作,并在终端上执行该目标操作。
在上述实施例中,是利用预定区域中的原有的传感器来确定触摸体是否触摸了预定区域,即,当检测结果为检测到有物体覆盖时,确定有触摸体触摸了该预定区域,当检测结果为没有检测到有物体覆盖时,确定在该预定区域中没有发生触摸动作。在一些实施例中,上述传感器是可以上报检测到的传感数据的,进而使得处理器根据传感数据来确定预定区域是否被覆盖,以及被覆盖的位置。
在上述实施例中,由于是根据传感器来检测非触摸屏区域的触摸情况,进而结合非触摸屏区域的触摸情况和触摸屏上的触摸情况来执行对应的操作,也就是说,非触摸屏区域上的触摸动作也是会导致操作的触发的,从而解决相关技术中经过非触摸屏区域的操作的不连续性,影响用户体验的问题,进而达到保证非触摸屏区域与触摸屏区域的操作的连续性,提高用户体验。
在一些实施例中,上述预定区域与触摸屏所在的区域邻接包括以下之一:当上述触摸屏为非异形屏幕时,该预定区域与非异形屏幕所在的区域 的至少一边相邻;当上述触摸屏为异形屏幕,该预定区域为异形屏幕所在区域的缺口区域。下面以异形屏幕为例进行说明:
本申请实施例提供了一种具备异形屏幕的设备,即在显示部分屏幕的形状不是常规的矩形,而是存在缺口,在缺口处有若干传感器和其他部件,可参见图1。
其中,异形屏幕的触摸区域可以分为若干区域(需要说明的是,这些区域实际上是一个整体,只是为了方便说明本申请中的方案而对该整体进行了划分),如图1所示,该终端为异形屏幕的终端,其中,在异形屏幕的缺口处设置有多个传感器和部件,并且该终端的屏幕被划分为三个区域,包括一个整体触摸区域(也可以简称为整体区域)和两个局部触摸区域(也可以简称为局部区域),其中,整体区域为完整的矩形区域,异形部分的触摸区域分为若干局部触摸区域。在本实施中是用传感器的数据来判断传感器所在区域是否被覆盖,进而得到缺口区域的触摸动作,进而与局部触摸区域的触摸事件相结合,组合为完整的触摸事件。
其中,上述的处理器可以是终端内的中央处理器(Central Processing Unit,CPU),在图1所示的终端中,该异形屏幕可以通过总线或者其他连接件与CPU连接,通过触摸该异形屏幕所触发的数据可以传输到CPU进行处理,在异形屏幕的缺口处,布置有传感器和其他器件,通过系统总线或者其他连接件与CPU相连,这些传感器和其他器件所检测到的数据也可以传输到CPU进行处理。其中,触摸屏(即上述的异形屏幕)、CPU、传感器以及其他部件的连接关系可以参见图2。
在一些实施例中,上述终端还包括马达,其中,该马达用于在目标操作为预定操作的情况下,在对终端执行该预定操作时进行震动。在本实施例中,该预定操作根据实际情况进行设置。
在一些实施例中,上述预定操作包括:通过按压终端上的预定物理按键所执行的操作。也就是说,在本实施例中,当预定操作为按压终端上的 预定物理按键(例如,home键、返回键、音量调整键)所执行的操作时,会触发马达震动。即,当根据检测结果以及作用于触摸屏上的触摸动作确定当前模拟的操作为按压物理按键所执行的操作时,触发马达震动。该模式可以称为按键模式,在该模式下,终端可以处于倒置状态(即,上下翻转之后的状态),当多个传感器被同时覆盖时,系统上报一个按键事件。同时系统控制马达模块震动,模拟按键按下的效果。
在一些实施例中,上述传感器可以配置为上报检测到的传感数据,其中,当所述传感器上报的传感数据满足预定阈值时,确定所述预定区域中与所述传感器对应的区域被覆盖,当所述传感器上报的传感数据不满足所述预定阈值时,确定所述预定区域中与所述传感器对应的区域未被覆盖。在一些实施例中,上述处理器可以通过如下方式确定所述目标操作:在依据所述触摸动作的触摸时间和得到所述检测结果的检测时间确定所述触摸动作和所述检测结果所指示的触摸动作构成一个连贯的滑动动作的情况下,确定所述连贯的滑动作的滑动信息;依据预先设置的滑动信息与操作之间的对应关系确定与所述连贯的滑动动作对应的操作,并将所述目标操作确定为所述对应的操作。在一些实施例中,终端除了可以处于按键模式外,还可以处于滑动触摸模式,在该模式下,设备可以处于横屏状态,触摸局部触摸区域与触摸传感器所在区域可以组合成连续的滑动事件,当检测到触摸操作从一个局部触摸区域划入缺口部分,可以认定为连续的滑动事件,当然,判断滑动时间是否为连续的,处理上述判断方式外,还可以有其他的判断方式,例如,当检测到触摸操作从缺口部分划入局部触摸区域,或者检测到触摸操作从整体区域划入缺口部分,或者检测到触摸操作从缺口部分划入整体区域等。在一些实施例中,每个传感器都有一个坐标信息以及自己对应的传感器数据的阈值,通过检测到的数据是否满足传感器数据的阈值来判断自身是否被覆盖,当断定自身被覆盖时,将传感器的坐标上报为一个触摸坐标(其中,在处理器的底层中可以存储有与传感器对应的 坐标,传感器会将传感数据上报给处理器的底层,处理器底层在确定传感器被覆盖后,会将与该传感器对应的坐标上报给处理器的上层应用,后述的系统上报坐标实际上就是终端中的处理器的底层上报坐标到上层应用,后述不再赘述),并且将该触摸坐标与其他触摸事件相结合以组合为新的触摸事件。
其中,图1中的传感器A的坐标可以为(A1,A2),传感器A测得的数据可以为Ma,传感器B的坐标可以为(B1,B2),传感器B测得的数据可以为Mb,传感器D的坐标可以为(D1,D2),传感器D侧得的数据可以为Mc。
当Ma满足条件Ta(即,满足预定阈值,下同)时,系统上报触摸坐标为(A1,A2),当Mb满足条件Tb时,系统上报触摸坐标为(B1,B2),当Mc满足条件Tc时,系统上报触摸坐标为(D1,D2)。
在一些实施例中,上述传感器的类型包括以下之一:影像传感器、接近传感器(也可以称为距离传感器)、结构光传感器、红外传感器、声音传感器、温度传感器、压力传感器。需要说明的是,上述传感器的类型仅是几个示例,还可以包括其他的非触摸传感器。
在一些实施例中,上述传感器的数量为一个或多个,且上述预定区域包括一个或多个子区域,其中,当传感器的数量为多个,且预定区域包括多个子区域时,该多个传感器分布设置在多个子区域中,其中,传感器的数量大于或等于子区域的数量。在本实施例中,子区域也可以分布设置在终端上,即,子区域也可以不连续,且子区域和子区域之间可以设置有触摸屏。
在一些实施例中,还提供了一种运行于上述移动终端在终端上执行操作的方法,图3是根据本申请实施例的在终端上执行操作的方法的流程图,如图3所示,该流程包括如下步骤:
步骤S302,确定作用于终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,该检测操作包括检测终端上的预定区域被覆盖的位置,该传感器位于预定区域中,该预定区域为不对触摸动作进行响应的区域,且该预定区域与触摸屏所在的区域邻接;
步骤S304,根据触摸动作以及检测结果确定目标操作;
步骤S306,在上述终端上执行所述目标操作。
其中,执行上述操作的可以是上述移动终端,在实际应用中,可以是上述终端中的处理器。需要说明的是,上述步骤S302中的确定触摸动作和确定检测结果的操作没有必然的先后顺序,可以先确定触摸动作再确定检测结果,也可以先确定检测结果后确定触摸动作,也可以同时确定检测结果和触摸动作。
在上述实施例中,由于是根据传感器来检测非触摸屏区域的触摸情况,进而结合非触摸屏区域的触摸情况和触摸屏上的触摸情况来执行对应的操作,也就是说,非触摸屏区域上的触摸动作也是会导致操作的触发的,从而解决相关技术中经过非触摸屏区域的操作的不连续性,影响用户体验的问题,进而达到保证非触摸屏区域与触摸屏区域的操作的连续性,提高用户体验。
在一些实施例中,上述S302可以通过如下方式至少之一确定由所述传感器执行检查操作所得到的检测结果:在确定传感器检测到的传感数据满足预定阈值时,确定该检测结果为预定区域中与传感器对应的区域被覆盖;在确定传感器检测到的传感数据不满足预定阈值时,确定检测结果为预定区域中与传感器对应的区域未被覆盖。在一些实施例中,上述预定阈值可以灵活调整,并且该预定阈值是与传感器的类型相关的。
在一些实施例中,上述S304可以通过如下步骤根据触摸动作以及检测结果确定目标操作:在依据触摸动作的触摸时间和得到该检测结果的检测时间确定触摸动作和检测结果所指示的触摸动作构成一个连贯的滑动动作 的情况下,确定该连贯的滑动作的滑动信息;依据预先设置的滑动信息与操作之间的对应关系确定与连贯的滑动动作对应的操作,并将该目标操作确定为对应的操作。本实施例可以不考虑终端当前的放置状态,也就是说,无论终端处于什么样的放置状态,都可以执行上述操作。
在一些实施例中,上述滑动信息包括以下至少之一:滑动轨迹、滑动时的按压力度。由此可知,在执行S304之前,可以预先设置好滑动轨迹、按压力度与操作之间的对应关系,该执行S304时,可以直接依据该对应关系来调用对应的操作。需要说明的是,该对应关系可以根据用户的喜好进行调整,或者按照预定的规则自动调整。
在一些实施例中,根据所述触摸动作以及所述检测结果确定目标操作包括:确定终端的放置状态;根据该终端的放置状态、触摸动作以及检测结果确定目标操作。在本实施例中,需要考虑终端的放置状态,也就是说,在不同的放置状态下,相同的触摸动作以及检测结果会对应不同的目标操作。其中,终端的放置状态可以包括倒置状态以及非倒置状态,该非倒置状态包括多种,例如,横屏状态、竖屏状态,倾斜屏状态等。
在一些实施例中,根据上述终端的放置状态、触摸动作以及检测结果确定目标操作包括:
当终端的放置状态为第一状态(例如,前述的倒置状态)时,确定触摸动作以及检测结果二者所对应的通过按压所述终端上的预定物理按键所执行的操作,并确定该目标操作为通过按压所述终端上的预定物理按键所执行的操作;也就是说,该操作为模拟物理按键的操作。
当终端的放置状态为不同于上述第一状态的其他状态时,确定触摸动作以及检测结果二者所对应的触摸操作,并确定该目标操作为所述触摸操作,也就是说该操作为触摸屏幕所触发的操作。
在一些实施例中,在确定上述目标操作为通过按压终端上的预定物理按键所执行的操作的情况下,在上述终端上执行目标操作时,该方法还包 括:控制终端中的马达震动。在本实施例中,在模拟物理按键的功能时,一并触发震动操作,以使使用者明确当前的操作为模拟物理按键的操作。
下面以在倒置状态下执行的模拟物理按键的操作的模式为按键模式,其他模式为滑动触摸模式为例对本申请中的方法流程进行说明:
图4所示为滑动触摸模式下的流程图,如图4所示,包括如下步骤:
S402:终端内部系统分析重力传感器数据,当判断终端为横屏模式的时候,系统进入触摸补偿模式,其中,终端的分辨率为P*Q,可以设置局部触摸区域1(可参考图1)的坐标范围为(0,0)——(M,N1),局部触摸区域2的坐标范围为(N2,0)——(P,N1)。
S404:传感器A传感器B和传感器D采集当前感应到的数据,可以设置传感器A的坐标为(A1,A2),检测到的数据为Ma,传感器B的坐标为(B1,B2),检测到的数据为Mb,传感器D的坐标为(D1,D2),检测到的数据为Mc。
S406:当Ma满足条件Ta(即,满足预定阈值)时,如传感器为接近传感器,可以设Ma=0(或其他数值,例如,1mm,0.5mm)时,满足传感器A的触发条件,则系统上报坐标(A1,A2);当Mb满足条件Tb时,如传感器为光线传感器,可以设Mb=0时(同样的,也可以是其他小数值),满足传感器B的触发条件,则系统上报坐标(B1,B2);当Md满足条件Td时,如传感器为摄像头,取Mc为摄像头采集图像YUV(一种颜色编码方法)的Y(明亮度),可以设Md=0时(同样的,也可以是其他小数值),满足传感器D的触发条件,则系统上报坐标(D1,D2);当传感器A,B,D以某种顺序依次满足触发条件时,则依次上报各自对应的坐标。
S408-S410:系统记录传感器A的触发之前的触摸事件,如down事件(即,触摸事件的开始)的坐标为(X1,Y1),up事件(即,触摸事件的结束)的坐标为(X2,Y2),当满足(X1,Y1)(X2,Y2)均处于局部触摸区域 一,且X2>X1,且X2=M,即认定传感器A触发之前的触摸事件是从左向右滑动进入缺口区域,那么即认定从(X1,Y1)-->(X2,Y2)-->(A1,A2)为一个连贯事件,系统上报一个完整的滑动事件,down事件的坐标为(X1,Y1),up事件的坐标为(A1,A2)如图5所示。
如果当Mb满足条件Tb时,那么即认定从(X1,Y1)-->(X2,Y2)-->(A1,A2)-->(B1,B2)为一个连贯事件,系统上报一个完整的滑动事件,down事件的坐标为(X1,Y1),up事件的坐标为(B1,B2)如图6所示。
如果当Mc满足条件Tc时,那么即认定从(X1,Y1)-->(X2,Y2)-->(A1,A2)-->(B1,B2)-->(D1,D2)为一个连贯事件,系统上报一个完整的滑动事件,down事件的坐标为(X1,Y1),up事件的坐标为(D1,D2)如图7所示。
系统记录传感器D的触发之后的触摸事件,如down事件的坐标为(X3,Y3),up事件的坐标为(X4,Y4),当满足(X3,Y3)(X4,Y4)均处于局部触摸区域二,且X4>X3,且X3=N2时,(X1,Y1)-->(X2,Y2)-->(A1,A2)-->(B1,B2)-->(D1,D2)->(X3,Y3)->(X4,Y4)为一个完整的滑动事件,down事件的坐标为(X1,Y1),up事件的坐标为(X4,Y4)如图8所示。
图9所示为按键模式下的流程图,如图9所示,包括如下步骤:
S902:终端的系统分析重力传感器数据,当判断终端为倒置模式的时候,系统进入按键模式。
S904:传感器A(可参考图1)传感器B和传感器D采集当前感应到的数据,可以设置传感器A的坐标为(A1,A2),检测到的数据为Ma,传感器B的坐标为(B1,B2),检测到的数据为Mb,传感器D的坐标为(D1,D2),检测到的数据为Mc。
S906:当Ma满足条件Ta时(即,符合预定阈值),如传感器为接近传感器,可以设Ma=0(或其他数值,例如,1mm,0.5mm)时,满足传感器 A的触发条件,则系统上报坐标(A1,A2);当Mb满足条件Tb时,如传感器为光线传感器,可以设Mb=0时(同样的,也可以是其他小数值),满足传感器B的触发条件,则系统上报坐标(B1,B2);当Md满足条件Td时,如传感器为摄像头,取Mc为摄像头采集图像YUV的Y,则Md=0时(同样的,也可以是其他小数值),满足传感器D的触发条件,则系统上报坐标(D1,D2)。
S908:当Ma=0同时Mb=0时,可以认为传感器A和传感器B同时按下,此时系统上报按键1,如home键的键值,同时设备震动。当Md=0时,认为传感器D被按下,此时系统上报按键2,如back的键值。同时设备震动。
在一些实施例中,终端可以设置有功能模块,以供使用者自定义前述的对应关系,或者开启前述的执行操作的功能。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read-Only Memory,ROM)/随机存取存储器(Random Access Memory,RAM)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
在本实施例中还提供了一种在终端上执行操作的装置,该装置配置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件 的组合的实现也是可能并被构想的。
图10是根据本申请实施例的在终端上执行操作的装置的结构框图,如图10所示,该装置包括:
第一确定模块1002,配置为确定作用于终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,检测操作包括检测终端上的预定区域被覆盖的位置,传感器位于预定区域中,预定区域为不对触摸动作进行响应的区域,且预定区域与触摸屏所在的区域邻接;第二确定模块1004,连接至上述第一确定模块1002,配置为根据触摸动作以及检测结果确定目标操作;执行模块1006,连接至上述第二确定模块1004,配置为在终端上执行上述目标操作。
在一些实施例中,上述第一确定模块1002,配置为通过如下方式至少之一确定由传感器执行检查操作所得到的检测结果:在确定传感器检测到的传感数据满足预定阈值时,确定检测结果为预定区域中与传感器对应的区域被覆盖;在确定传感器检测到的传感数据不满足预定阈值时,确定检测结果为预定区域中与传感器对应的区域未被覆盖。
在一些实施例中,上述第二确定模块1004可以通过如下方式确定目标操作:在依据触摸动作的触摸时间和得到检测结果的检测时间确定触摸动作和检测结果所指示的触摸动作构成一个连贯的滑动动作的情况下,确定连贯的滑动作的滑动信息;依据预先设置的滑动信息与操作之间的对应关系确定与连贯的滑动动作对应的操作,并将目标操作确定为对应的操作。
在一些实施例中,上述滑动信息包括以下至少之一:滑动轨迹、滑动时的按压力度。
在一些实施例中,上述第二确定模块1004可以通过如下方式确定目标操作:确定终端的放置状态;根据终端的放置状态、触摸动作以及检测结果确定目标操作。
在一些实施例中,上述第二确定模块1004可以通过如下方式根据终端 的放置状态、触摸动作以及检测结果确定目标操作:当终端的放置状态为第一状态时,确定触摸动作以及检测结果二者所对应的通过按压终端上的预定物理按键所执行的操作,并确定目标操作为通过按压终端上的预定物理按键所执行的操作;当终端的放置状态为不同于第一状态的其他状态时,确定触摸动作以及检测结果二者所对应的触摸操作,并确定目标操作为触摸操作。
在一些实施例中,上述装置还配置为在确定目标操作为通过按压终端上的预定物理按键所执行的操作的情况下,在终端上执行目标操作时,控制终端中的马达震动。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
本申请的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行本申请实施例提供的在终端上执行操作的方法。
在一些实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行本申请实施例提供的在终端上执行操作的方法。
在一些实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤 可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,在一些实施例中,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (19)
- 一种终端,包括:触摸屏,传感器和处理器,其中,所述传感器位于所述终端上的预定区域,所述预定区域为不对触摸动作进行响应的区域,且所述预定区域与所述触摸屏所在的区域邻接,其中,所述传感器,配置为检测所述预定区域被覆盖的位置,并将检测结果上报给所述处理器;所述处理器,配置为根据所述检测结果以及作用于所述触摸屏上的触摸动作确定目标操作,并在所述终端上执行所述目标操作。
- 根据权利要求1所述的终端,其中,所述预定区域与所述触摸屏所在的区域邻接包括以下之一:当所述触摸屏为非异形屏幕时,所述预定区域与所述非异形屏幕所在的区域的至少一边相邻;当所述触摸屏为异形屏幕,所述预定区域为所述异形屏幕所在区域的缺口区域。
- 根据权利要求1所述的终端,其中,所述终端还包括马达,其中,所述马达,配置为在所述目标操作为预定操作的情况下,在对所述终端执行所述预定操作时进行震动。
- 根据权利要求3所述的终端,其中,所述预定操作包括:通过按压所述终端上的预定物理按键所执行的操作。
- 根据权利要求1所述的终端,其中,所述传感器,配置为上报检测到的传感数据,其中,当所述传感器上报的传感数据满足预定阈值时,确定所述预定区域中与所述传感器对应的区域被覆盖,当所述传感器上报的传感数据不满足所述预定阈值时,确定所述预定区域中与所述传感器对应的区域未被覆盖。
- 根据权利要求5所述的终端,其中,所述处理器,配置为通过如下 方式确定所述目标操作:在依据所述触摸动作的触摸时间和得到所述检测结果的检测时间确定所述触摸动作和所述检测结果所指示的触摸动作构成一个连贯的滑动动作的情况下,确定所述连贯的滑动作的滑动信息;依据预先设置的滑动信息与操作之间的对应关系确定与所述连贯的滑动动作对应的操作,并将所述目标操作确定为所述对应的操作。
- 根据权利要求1所述的终端,其中,所述传感器的类型包括以下之一:影像传感器、接近传感器、结构光传感器、红外传感器、声音传感器、温度传感器、压力传感器。
- 根据权利要求1至7任一项所述的终端,其中,所述传感器的数量为一个或多个,且所述预定区域包括一个或多个子区域,其中,当所述传感器的数量为多个,且所述预定区域包括多个子区域时,所述多个传感器分布设置在所述多个子区域中,其中,所述传感器的数量大于或等于所述子区域的数量。
- 一种在终端上执行操作的方法,包括:确定作用于所述终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,所述检测操作包括检测所述终端上的预定区域被覆盖的位置,所述传感器位于所述预定区域中,所述预定区域为不对触摸动作进行响应的区域,且所述预定区域与所述触摸屏所在的区域邻接;根据所述触摸动作以及所述检测结果确定目标操作;在所述终端上执行所述目标操作。
- 根据权利要求9所述的方法,其中,确定由所述传感器执行检查操作所得到的检测结果包括以下至少之一:在确定所述传感器检测到的传感数据满足预定阈值时,确定所述检测结果为所述预定区域中与所述传感器对应的区域被覆盖;在确定所述传感器检测到的传感数据不满足预定阈值时,确定所述检测结果为所述预定区域中与所述传感器对应的区域未被覆盖。
- 根据权利要求10所述的方法,其中,根据所述触摸动作以及所述检测结果确定目标操作包括:在依据所述触摸动作的触摸时间和得到所述检测结果的检测时间确定所述触摸动作和所述检测结果所指示的触摸动作构成一个连贯的滑动动作的情况下,确定所述连贯的滑动作的滑动信息;依据预先设置的滑动信息与操作之间的对应关系确定与所述连贯的滑动动作对应的操作,并将所述目标操作确定为所述对应的操作。
- 根据权利要求11所述的方法,其中,所述滑动信息包括以下至少之一:滑动轨迹、滑动时的按压力度。
- 根据权利要求9所述的方法,其中,根据所述触摸动作以及所述检测结果确定目标操作包括:确定所述终端的放置状态;根据所述终端的放置状态、所述触摸动作以及所述检测结果确定所述目标操作。
- 根据权利要求13所述的方法,其中,根据所述终端的放置状态、所述触摸动作以及所述检测结果确定所述目标操作包括:当所述终端的放置状态为第一状态时,确定所述触摸动作以及所述检测结果二者所对应的通过按压所述终端上的预定物理按键所执行的操作,并确定所述目标操作为所述通过按压所述终端上的预定物理按键所执行的操作;当所述终端的放置状态为不同于所述第一状态的其他状态时,确定所述触摸动作以及所述检测结果二者所对应的触摸操作,并确定所述目标操作为所述触摸操作。
- 根据权利要求14所述的方法,其中,在确定所述目标操作为所述通过按压所述终端上的预定物理按键所执行的操作的情况下,在所述终端上执行所述目标操作时,所述方法还包括:控制所述终端中的马达震动。
- 一种在终端上执行操作的装置,包括:第一确定模块,配置为确定作用于所述终端的触摸屏上的触摸动作以及由传感器执行检测操作所得到的检测结果,其中,所述检测操作包括检测所述终端上的预定区域被覆盖的位置,所述传感器位于所述预定区域中,所述预定区域为不对触摸动作进行响应的区域,且所述预定区域与所述触摸屏所在的区域邻接;第二确定模块,配置为根据所述触摸动作以及所述检测结果确定目标操作;执行模块,配置为在所述终端上执行所述目标操作。
- 根据权利要求16所述的装置,其中,所述第一确定模块,配置为通过如下方式至少之一确定由所述传感器执行检查操作所得到的检测结果:在确定所述传感器检测到的传感数据满足预定阈值时,确定所述检测结果为所述预定区域中与所述传感器对应的区域被覆盖;在确定所述传感器检测到的传感数据不满足预定阈值时,确定所述检测结果为所述预定区域中与所述传感器对应的区域未被覆盖。
- 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时,执行所述权利要求9至15中任一项所述的在终端上执行操作的方法。
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序,以执行所述权利要求9至15中任一项所述的在终端上执行操作的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810949712.6 | 2018-08-20 | ||
CN201810949712.6A CN109358765A (zh) | 2018-08-20 | 2018-08-20 | 终端、在终端上执行操作的方法、装置及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020038089A1 true WO2020038089A1 (zh) | 2020-02-27 |
Family
ID=65350153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/091834 WO2020038089A1 (zh) | 2018-08-20 | 2019-06-19 | 终端、在终端上执行操作的方法、装置及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109358765A (zh) |
WO (1) | WO2020038089A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109358765A (zh) * | 2018-08-20 | 2019-02-19 | 中兴通讯股份有限公司 | 终端、在终端上执行操作的方法、装置及存储介质 |
CN110187796B (zh) * | 2019-05-31 | 2021-07-16 | 联想(北京)有限公司 | 一种电子设备及数据处理方法 |
CN110308821B (zh) * | 2019-06-28 | 2021-05-18 | 联想(北京)有限公司 | 触控响应方法及电子设备 |
CN113587792B (zh) * | 2021-07-26 | 2024-01-19 | 绿能慧充数字技术有限公司 | 一种充电控制器lcd屏幕校准触发方法、系统、设备及介质 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105278753A (zh) * | 2015-11-17 | 2016-01-27 | 小米科技有限责任公司 | 触控响应方法及装置 |
CN105373333A (zh) * | 2015-11-17 | 2016-03-02 | 小米科技有限责任公司 | 触控响应方法及装置 |
US20160062545A1 (en) * | 2014-08-28 | 2016-03-03 | Winbond Electronics Corp. | Portable electronic apparatus and touch detecting method thereof |
CN105468194A (zh) * | 2015-11-17 | 2016-04-06 | 小米科技有限责任公司 | 触控响应方法及装置 |
CN106406743A (zh) * | 2016-10-31 | 2017-02-15 | 努比亚技术有限公司 | 一种终端组合触控操作装置、终端及方法 |
CN106775331A (zh) * | 2017-01-05 | 2017-05-31 | 努比亚技术有限公司 | 一种组合触控操作装置、终端及方法 |
CN107577415A (zh) * | 2017-09-11 | 2018-01-12 | 广东欧珀移动通信有限公司 | 触摸操作响应方法及装置 |
CN108390961A (zh) * | 2018-01-25 | 2018-08-10 | 奇酷互联网络科技(深圳)有限公司 | 触摸响应方法、装置、可读存储介质及移动终端 |
CN109358765A (zh) * | 2018-08-20 | 2019-02-19 | 中兴通讯股份有限公司 | 终端、在终端上执行操作的方法、装置及存储介质 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487805B (zh) * | 2015-12-01 | 2020-06-02 | 小米科技有限责任公司 | 对象操作方法及装置 |
-
2018
- 2018-08-20 CN CN201810949712.6A patent/CN109358765A/zh not_active Withdrawn
-
2019
- 2019-06-19 WO PCT/CN2019/091834 patent/WO2020038089A1/zh active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160062545A1 (en) * | 2014-08-28 | 2016-03-03 | Winbond Electronics Corp. | Portable electronic apparatus and touch detecting method thereof |
CN105278753A (zh) * | 2015-11-17 | 2016-01-27 | 小米科技有限责任公司 | 触控响应方法及装置 |
CN105373333A (zh) * | 2015-11-17 | 2016-03-02 | 小米科技有限责任公司 | 触控响应方法及装置 |
CN105468194A (zh) * | 2015-11-17 | 2016-04-06 | 小米科技有限责任公司 | 触控响应方法及装置 |
CN106406743A (zh) * | 2016-10-31 | 2017-02-15 | 努比亚技术有限公司 | 一种终端组合触控操作装置、终端及方法 |
CN106775331A (zh) * | 2017-01-05 | 2017-05-31 | 努比亚技术有限公司 | 一种组合触控操作装置、终端及方法 |
CN107577415A (zh) * | 2017-09-11 | 2018-01-12 | 广东欧珀移动通信有限公司 | 触摸操作响应方法及装置 |
CN108390961A (zh) * | 2018-01-25 | 2018-08-10 | 奇酷互联网络科技(深圳)有限公司 | 触摸响应方法、装置、可读存储介质及移动终端 |
CN109358765A (zh) * | 2018-08-20 | 2019-02-19 | 中兴通讯股份有限公司 | 终端、在终端上执行操作的方法、装置及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN109358765A (zh) | 2019-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020038089A1 (zh) | 终端、在终端上执行操作的方法、装置及存储介质 | |
US8878821B2 (en) | System and method for providing object location information and physical contact information | |
US20120249461A1 (en) | Dedicated user interface controller for feedback responses | |
US20140380156A1 (en) | Infrastructural haptics on wall scale interactive displays | |
US20140118268A1 (en) | Touch screen operation using additional inputs | |
US20140168105A1 (en) | Electronic device and method for providing tactile stimulation | |
CN103576976A (zh) | 信息处理装置及其控制方法 | |
CN109101172B (zh) | 多屏联动系统及其互动显示方法 | |
US9459729B2 (en) | Sensing baseline management | |
KR20120085392A (ko) | 터치 스크린을 구비한 단말기 및 그 단말기에서 터치 이벤트 확인 방법 | |
CN106060389A (zh) | 一种防偷拍方法及终端 | |
WO2012059022A1 (zh) | 一种模拟硬按键的操作方法及触摸屏终端 | |
CN114341784A (zh) | 触摸事件的处理方法、装置、移动终端及存储介质 | |
TWM509928U (zh) | 具有指紋感測功能的電子裝置 | |
TW201604705A (zh) | 具有指紋感測功能的電子裝置以及其應用程式的調用方法 | |
CN107479126A (zh) | 显示屏、显示控制方法、移动终端及计算机可读存储介质 | |
CN108845747A (zh) | 一种防误触控方法、装置和终端设备 | |
CN109254908A (zh) | 可视化回归测试方法、装置、终端设备及可读存储介质 | |
US9519360B2 (en) | Palm rejection visualization for passive stylus | |
KR101393733B1 (ko) | 베젤을 이용한 터치스크린 제어방법 | |
TWI569183B (zh) | 觸控感測方法及應用其之觸控裝置與觸控鍵盤 | |
CN105528153A (zh) | 截屏方法、截屏装置及电子装置 | |
CN110322289A (zh) | 一种反作弊检测方法、装置、服务器、终端和存储介质 | |
CN107272971A (zh) | 抓握管理 | |
US10296143B2 (en) | Touch sensing device and sensing method of touch point |
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: 19852991 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 14/04/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19852991 Country of ref document: EP Kind code of ref document: A1 |