CN107092392B - Pressure touch method and terminal - Google Patents

Pressure touch method and terminal Download PDF

Info

Publication number
CN107092392B
CN107092392B CN201710261026.5A CN201710261026A CN107092392B CN 107092392 B CN107092392 B CN 107092392B CN 201710261026 A CN201710261026 A CN 201710261026A CN 107092392 B CN107092392 B CN 107092392B
Authority
CN
China
Prior art keywords
terminal
air pressure
pressure change
touch operation
reference range
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.)
Active
Application number
CN201710261026.5A
Other languages
Chinese (zh)
Other versions
CN107092392A (en
Inventor
雷乃策
邓康锴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710261026.5A priority Critical patent/CN107092392B/en
Publication of CN107092392A publication Critical patent/CN107092392A/en
Application granted granted Critical
Publication of CN107092392B publication Critical patent/CN107092392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a pressure touch method and a terminal. The method comprises the following steps: when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal; judging whether the air pressure change parameter accords with a preset reference range or not; and if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation. According to the invention, whether the touch operation is identified as the pressure touch operation is determined according to the air pressure change parameter in the terminal cavity, so that the pressure touch can be accurately identified.

Description

Pressure touch method and terminal
Technical Field
The invention relates to the field of computers and communication, in particular to a pressure touch method and a terminal.
Background
In recent years, touch technology has been widely applied to various electronic terminals, and the existing mobile terminals basically and completely adopt the function of screen touch. And (3) a pressure touch technology is generated on the basis of the basic touch function. At present, most terminals have a pressure touch function, that is, the pressure sensor is used for detecting different pressing force on the screen to perform corresponding human-computer interaction.
In the prior art, the pressure detection module embedded in the screen is used for identifying pressure touch, so that the pressure touch cannot be accurately identified.
Disclosure of Invention
The invention provides a pressure touch method and a terminal, which are used for solving the problem that the pressure touch cannot be accurately identified in the prior art.
In a first aspect, a pressure touch method is provided, which is applied to a terminal and includes:
when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
judging whether the air pressure change parameter accords with a preset reference range or not;
and if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation.
In a second aspect, the present invention provides a terminal, comprising:
the parameter detection module of atmospheric pressure change: the terminal cavity is used for acquiring air pressure change parameters in the terminal cavity when touch operation on the terminal is detected;
atmospheric pressure changes the judgement module: the air pressure change parameter is used for judging whether the air pressure change parameter accords with a preset reference range or not;
a pressure touch operation judgment module: the touch control device is used for determining that the touch control operation is a pressure touch control operation if the air pressure change parameter accords with the reference range;
the pressure touch operation feedback module: the touch control device is used for executing feedback operation corresponding to the pressure touch control operation.
Therefore, the invention determines whether the touch operation is identified as the pressure touch operation according to the air pressure change parameter in the terminal cavity, and can accurately identify the pressure touch.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a pressure touch method according to a first embodiment of the invention;
FIG. 2 is a schematic view of a terminal cavity according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a pressure touch method according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of a pressure touch method according to a third embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal structure according to a fourth embodiment of the present invention;
fig. 6 is a schematic block diagram of a terminal structure according to a fifth embodiment of the present invention;
fig. 7 is a schematic block diagram of a terminal structure according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to a seventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an eighth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First embodiment
As shown in fig. 1, the pressure touch method according to the first embodiment of the present invention is applied to a terminal, and includes:
step 101: when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
step 102: judging whether the air pressure change parameter accords with a preset reference range or not;
step 103: and if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation.
In a specific operation, when a user applies a pressure touch operation to a terminal, instantaneous air pressure fluctuation is generated in a cavity of the terminal, as shown in fig. 2, when the pressure touch operation is applied to the terminal in a certain mobile terminal, an air pressure curve shakes and is different from an air pressure curve when a general touch operation is applied to the terminal, and whether the pressure touch operation occurs or not can be detected by detecting abnormal change of air pressure in the cavity.
According to the embodiment of the invention, whether the touch operation is identified as the pressure touch operation is determined according to the air pressure change parameter in the terminal cavity, so that the pressure touch can be accurately identified.
And the touch operation is generated by a user touching the terminal display screen or the touch screen.
Optionally, the cavity is a relatively closed space defined by the interior of the terminal housing and the interior components of the terminal, or the cavity is a relatively closed space which is separately arranged on the lower layer of the terminal display screen and is used for accommodating the air pressure detection mechanism.
In an embodiment of the present invention, the cavity is a relatively closed space inside the terminal housing and surrounded by the housing and the internal components of the terminal. The cavity is provided with an internal and external gas balance channel which can be a gap at the opening and a through hole on the terminal shell, and can also realize gas balance by using the waterproof breathable film as the internal and external gas balance channel.
In an embodiment of the present invention, the feedback operation corresponding to the pressure touch operation is executed according to an environment in which the terminal operates when the pressure touch operation is applied. For example, if the pressure touch operation is applied to an area where a picture displayed by the terminal is located, a video corresponding to the picture is played. For another example, if the pressure touch operation is applied to a file stored in the terminal, a list of operation options executable on the file is popped up.
In some embodiments of the invention, the parameter of the change in barometric pressure comprises at least one of a period of fluctuation in barometric pressure, a magnitude of change in barometric pressure, and a rate of change in barometric pressure.
Referring to fig. 2, the air pressure fluctuation period is a time interval during which the air pressure is increased from a set value and then decreased to the set value, as shown in fig. 2 by a corresponding time length. In an embodiment, the air pressure variation amplitude is a difference between a maximum value and a minimum value of the air pressure within a set time length, such as an air pressure value variation amount corresponding to section b shown in fig. 2, and the air pressure variation rate is an air pressure increase rate.
Second embodiment
As shown in fig. 3, the pressure touch method according to the second embodiment of the present invention is applied to a terminal, and includes the following steps:
step 301: when pressure touch operation is applied to the terminal, acquiring air pressure change data in a cavity of the terminal;
step 302: setting a reference range according to the air pressure change data;
step 303: when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
step 304: judging whether the air pressure change parameter accords with a preset reference range or not;
step 305: and if the parameter of the air pressure change accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation.
According to the embodiment of the invention, the condition for identifying the touch operation as the pressure touch operation is set by setting the parameter of the air pressure change, so that the pressure touch operation can be accurately judged. Because the air pressure change may exist in the terminal using environment, the generation of the pressure touch operation cannot be judged when the air pressure changes every time; the air pressure change in the environment and the air pressure change of the cavity caused by the pressure touch operation have larger difference in air pressure change parameters, and the air pressure change in the environment and the air pressure change caused by the pressure touch operation can be distinguished by setting an air pressure change reference range, so that the pressure touch operation accuracy is ensured.
In addition, due to the fact that the terminal is diversified in appearance, the air pressure change in the terminal cavity can be affected by the shape of the terminal cavity and the size and the position of the terminal air channel, and parameters of the air pressure change generated when the terminal cavity with different shapes and structures is touched by pressure are different. Therefore, the reference range of the air pressure change in the cavity under the condition of pressure touch control of the terminals of different models needs to be separately detected, so that the accuracy of pressure touch control judgment is improved.
Optionally, the steps 301-303 in the above embodiments may be executed on a terminal model or a terminal equivalent, in order to obtain the reference range of the air pressure variation and record the reference range of the air pressure variation into the terminal product. In some embodiments, after the terminal is powered on, the reference range of the pressure variation of the pressure touch operation can be set according to the individual pressure degree of the user, so that the judgment target of the pressure touch operation is different for different user individuals.
Third embodiment
Fig. 4 is a schematic view of a pressure touch method according to a third embodiment of the present invention, and based on fig. 1, the pressure touch method according to the third embodiment of the present invention includes:
step 401: when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
step 402: judging whether the air pressure change parameter accords with a preset reference range or not;
step 403: if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation;
step 404: and if the air pressure change parameter does not accord with the reference range, determining that the touch operation is a common touch operation, and executing feedback operation corresponding to the common touch operation.
Optionally, when the touch operation on the terminal is detected, obtaining an air pressure change parameter in a cavity of the terminal includes:
when the touch operation on the terminal is detected and the duration time of the touch operation exceeds a set duration, acquiring an air pressure change parameter in a cavity of the terminal;
or when the touch operation on the terminal is detected and the air pressure in the terminal cavity is changed, acquiring the air pressure change parameter in the terminal cavity.
In one embodiment, when a touch operation on the terminal is detected, the air pressure detection mechanism is started to detect an air pressure change parameter in the cavity of the terminal caused by the touch operation, and when the touch operation is not detected, the air pressure change parameter is not detected, so that the working time of the air pressure detection mechanism can be reduced, and the electric energy loss can be saved.
In an embodiment, when the touch operation on the terminal is detected and the duration of the touch operation exceeds the set duration, the air pressure detection mechanism is started to acquire the air pressure change parameter in the cavity of the terminal, and when the touch operation on the terminal is not detected or the duration of the touch operation on the terminal is less than the set duration, the air pressure change parameter is not acquired.
In one embodiment, when a change in the air pressure in the terminal cavity is detected, the air pressure detection mechanism is activated to detect a parameter of the change in the air pressure in the terminal cavity caused by the touch operation. In this embodiment, the air pressure detection mechanism may be required to be in a real-time detection state, but the execution effects of real-time detection and rapid response can be achieved.
Optionally, the method further includes: the reference range is updated. Specifically, the reference range is optimized by using a scene test, so that the final trigger effect meets the normal use requirement.
In addition, because the air pressure conditions in the terminal cavity are different at different temperatures, before the step of determining whether the air pressure variation parameter meets the preset reference range, the method further comprises the following steps: and detecting the current temperature of the terminal, and acquiring a reference range corresponding to the current temperature. Correspondingly, the judging whether the air pressure variation parameter meets a preset reference range includes: and judging whether the air pressure change parameter accords with a reference range corresponding to the current temperature.
In a specific embodiment, the different temperature ranges are set corresponding to different reference ranges of air pressure; after the current temperature is obtained, the reference range of the air pressure corresponding to the current temperature is called according to the range of the current temperature, so that whether the touch operation is the pressure touch operation or not can be judged according to the updated reference range in the subsequent process, and the accuracy of pressure touch identification is further improved.
It should be noted that, in order to reduce power consumption of the terminal, the current temperature of the terminal may be detected according to a set time interval, and a reference range corresponding to the current temperature is obtained; since the ambient air pressure is not greatly changed due to a small amount of temperature change, the set time interval may be determined according to seasonal changes.
Fourth embodiment
Fig. 5 is a block diagram of a terminal structure according to an embodiment of the present invention, where the terminal 500 includes:
the parameter detection module 501 for air pressure change: the terminal cavity is used for acquiring air pressure change parameters in the terminal cavity when touch operation on the terminal is detected;
the air pressure change judging module 502: the air pressure change parameter is used for judging whether the air pressure change parameter accords with a preset reference range or not;
the pressure touch operation determination module 503: the touch control device is used for determining that the touch control operation is a pressure touch control operation if the air pressure change parameter accords with the reference range;
the pressure touch operation feedback module 504: the touch control device is used for executing feedback operation corresponding to the pressure touch control operation.
The terminal provided by the embodiment of the invention can judge whether the touch operation applied to the terminal is the pressure touch operation according to the air pressure change condition in the cavity of the terminal, can detect the pressure touch operation in a new and effective mode, and can judge the pressure touch operation more accurately. When the terminal is a mobile terminal, the air pressure detection mechanism can directly use an air pressure meter arranged in the mobile terminal without increasing the structural complexity of the terminal.
Optionally, the parameter of the air pressure change includes at least one of an air pressure fluctuation period, an air pressure change amplitude and an air pressure change rate.
Fifth embodiment
As shown in fig. 6, a terminal 600 according to another embodiment of the present invention includes:
the pressure touch operation receiving module 601: the terminal cavity is used for acquiring air pressure change data in the terminal cavity when pressure touch operation is applied to the terminal;
the air pressure variation reference range calculation module 602: the reference range is set according to the air pressure change data;
the parameter detection module for air pressure change 603: the terminal cavity is used for acquiring air pressure change parameters in the terminal cavity when touch operation on the terminal is detected;
the air pressure change determining module 604: the air pressure change parameter is used for judging whether the air pressure change parameter accords with a preset reference range or not;
the pressure touch operation determination module 605: the touch control device is used for determining that the touch control operation is a pressure touch control operation if the air pressure change parameter accords with the reference range;
the pressure touch operation feedback module 606: the touch control device is used for executing feedback operation corresponding to the pressure touch control operation.
Sixth embodiment
As shown in fig. 7, a terminal 700 according to another embodiment of the present invention includes:
the parameter detection module 701 of the air pressure change: the terminal cavity is used for acquiring air pressure change parameters in the terminal cavity when touch operation on the terminal is detected;
the air pressure change judging module 702: the air pressure change parameter is used for judging whether the air pressure change parameter accords with a preset reference range or not;
the pressure touch operation determination module 703: the touch control device is used for determining that the touch control operation is a pressure touch control operation if the air pressure change parameter accords with the reference range;
the pressure touch operation feedback module 704: the touch control device is used for executing feedback operation corresponding to the pressure touch control operation;
the general touch operation determination module 705: determining the touch operation as a general touch operation if the parameter of the air pressure change does not conform to the reference range;
the general touch operation feedback module 706: for performing a feedback operation corresponding to a general touch operation.
Alternatively to this, the first and second parts may,
the parameter detection module for air pressure change specifically comprises:
a first detection unit: the terminal cavity air pressure change parameter acquisition unit is used for acquiring an air pressure change parameter in the terminal cavity when the touch operation on the terminal is detected and the duration time of the touch operation exceeds a preset duration;
or, the second detection unit: and the terminal cavity is used for acquiring the air pressure change parameter in the terminal cavity when the touch operation on the terminal is detected and the air pressure in the terminal cavity is changed.
In a specific embodiment, the terminal may be provided with the first detection unit and the second detection unit at the same time to improve detection accuracy.
Optionally, the terminal further includes:
a range update module: for updating the reference range.
In different temperature environments, because the air pressure conditions in the cavity of the terminal are different, when the terminal has hardware and software conditions for detecting environmental changes, the reference range is updated according to the environmental changes, so that the reference range adopted under different environmental conditions has higher accuracy.
Optionally, the terminal further includes:
a temperature detection module: the terminal is used for detecting the current temperature of the terminal;
a reference range acquisition module: the reference range corresponding to the current temperature is obtained;
the atmospheric pressure changes the judgement module and includes:
a reference temperature air pressure change correspondence determination unit: and the air pressure change parameter is used for judging whether the air pressure change parameter accords with a reference range corresponding to the current temperature. In a specific embodiment, the different temperature ranges are set corresponding to different reference ranges of air pressure; after the current temperature is obtained, the reference range of the air pressure corresponding to the current temperature is called according to the range of the current temperature, so that whether the touch operation is the pressure touch operation or not can be judged according to the updated reference range in the subsequent process.
Seventh embodiment
Fig. 8 is a block diagram of a terminal according to another embodiment of the present invention. The terminal 800 shown in fig. 8 includes: at least one processor 801, a memory 802, a bus system 803, at least one communication interface 804, a user interface 805. The various components in terminal 800 are coupled together by a bus system 803. It is understood that the bus system 803 is used to enable communications among the components. The bus system 803 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 803 in figure 8.
The user interface 807 may include, among other things, a display, a keyboard or pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that while the memory 802 in embodiments of the invention includes data storage, the memory 802 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a programmable Read-Only Memory (PROM), an Erasable programmable Read-Only Memory (EPROM), an Electrically Erasable programmable Read-Only Memory (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM) which functions as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 802 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 8021 and application programs 8022.
The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 8022 includes various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the present invention may be included in application program 8022.
In the embodiment of the present invention, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application program 8022, the processor 801 is configured to:
when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
judging whether the air pressure change parameter accords with a preset reference range or not;
and if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation.
The method disclosed in the above embodiments of the present invention may be correspondingly applied to the processor 801, or correspondingly implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines the hardware to complete the steps of the method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 801 is further configured to:
when pressure touch operation is applied to the terminal, acquiring air pressure change data in a cavity of the terminal;
and setting the reference range according to the air pressure change data.
Optionally, the processor 801 is further configured to:
when the touch operation on the terminal is detected and the duration time of the touch operation exceeds a set duration, acquiring an air pressure change parameter in a cavity of the terminal;
or when the touch operation on the terminal is detected and the air pressure in the terminal cavity is changed, acquiring the air pressure change parameter in the terminal cavity.
Optionally, the processor 801 is further configured to:
updating the reference range.
Optionally, the processor 810 is further configured to:
detecting the current temperature of the terminal, and acquiring a reference range corresponding to the current temperature;
and judging whether the air pressure change parameter accords with a reference range corresponding to the current temperature.
The terminal 800 can implement each process implemented by the terminal in the foregoing embodiments, and details are not described here to avoid repetition. The terminal 800 provided by the invention can judge whether the touch operation applied to the terminal is the pressure touch operation by detecting the air pressure change parameter in the terminal cavity, so that the terminal does not need to be provided with a pressure sensor, the terminal can detect the pressure touch operation in another mode, and when the terminal is a mobile terminal, the terminal can detect by utilizing an already arranged barometer in the mobile terminal, and the structural complexity of the mobile terminal does not need to be increased.
Eighth embodiment
Fig. 9 is a schematic structural diagram of a terminal according to another embodiment of the present invention. Specifically, the mobile terminal in fig. 9 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal in fig. 9 includes a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a processor 960, an audio circuit 970, a wifi (wireless fidelity) module 980, and a power supply 990.
The input unit 930 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931. The touch panel 931, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (for example, a user may operate the touch panel 931 by using a finger, a stylus pen, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 931 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 960, where the touch controller can receive and execute commands sent by the processor 960. In addition, the touch panel 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 931, the input unit 930 may include other input devices 932, and the other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 940 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 900. The display unit 940 may include a display panel 941, and the display panel 941 may be optionally configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 931 may overlay the display panel 941 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen transmits the touch operation to the processor 960 to determine the type of the touch event, and then the processor 960 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 960 is a control center of the mobile terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the first memory 921 and calling data stored in the second memory 922, thereby performing overall monitoring of the mobile terminal. Optionally, processor 960 may include one or more processing units.
In one embodiment of the invention, processor 960 is configured to retrieve data from memory 920
When touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
judging whether the air pressure change parameter accords with a preset reference range or not;
and if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation.
Optionally, the processor 960 is configured to:
when pressure touch operation is applied to the terminal, acquiring air pressure change data in a cavity of the terminal;
and setting the reference range according to the air pressure change data.
Optionally, the processor 960 is configured to determine that the touch operation is a general touch operation when the parameter of the air pressure change does not conform to the reference range of the air pressure change, and perform a feedback operation corresponding to the general touch operation.
Optionally, the processor 960 is configured to:
when the touch operation on the terminal is detected and the duration time of the touch operation exceeds a set duration, acquiring an air pressure change parameter in a cavity of the terminal;
or when the touch operation on the terminal is detected and the air pressure in the terminal cavity is changed, acquiring the air pressure change parameter in the terminal cavity.
Optionally, the processor 960 is configured to:
updating the reference range.
Optionally, the processor 960 is configured to:
detecting the current temperature of the terminal, and acquiring a reference range corresponding to the current temperature;
and judging whether the air pressure change parameter accords with a reference range corresponding to the current temperature.
Therefore, the terminal provided by the invention can judge whether the touch operation applied to the terminal is the pressure touch operation without a pressure sensor, and provides another mode for detecting and judging the pressure touch operation. In addition, when the terminal is a mobile terminal such as a mobile phone, the barometer originally arranged in the mobile terminal can be used for detecting the air pressure change parameter.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A pressure touch method is applied to a terminal and comprises the following steps:
when touch operation on the terminal is detected, acquiring an air pressure change parameter in a cavity of the terminal;
judging whether the air pressure change parameter accords with a preset reference range or not;
if the air pressure change parameter accords with the reference range, determining that the touch operation is a pressure touch operation, and executing a feedback operation corresponding to the pressure touch operation;
before the step of judging whether the air pressure variation parameter meets a preset reference range, the method further comprises the following steps:
detecting the current temperature of the terminal according to a set time interval, and acquiring a reference range corresponding to the current temperature;
the judging whether the air pressure change parameter accords with a preset reference range comprises the following steps:
and judging whether the air pressure change parameter accords with a reference range corresponding to the current temperature.
2. The method of claim 1, wherein the air pressure change parameter comprises at least one of a period of air pressure fluctuation, an amplitude of air pressure change, and a rate of air pressure change.
3. The method according to claim 1 or 2, wherein the step of determining whether the air pressure variation parameter meets a preset reference range further comprises:
when pressure touch operation is applied to the terminal, acquiring air pressure change data in a cavity of the terminal;
and setting the reference range according to the air pressure change data.
4. The method according to claim 1 or 2, wherein when the touch operation on the terminal is detected, acquiring an air pressure change parameter in a terminal cavity comprises:
when the touch operation on the terminal is detected and the duration time of the touch operation exceeds a set duration, acquiring an air pressure change parameter in a cavity of the terminal;
or when the touch operation on the terminal is detected and the air pressure in the terminal cavity is changed, acquiring the air pressure change parameter in the terminal cavity.
5. The method of claim 1 or 2, further comprising:
updating the reference range.
6. A terminal, comprising:
the parameter detection module of atmospheric pressure change: the terminal cavity is used for acquiring air pressure change parameters in the terminal cavity when touch operation on the terminal is detected;
atmospheric pressure changes the judgement module: the air pressure change parameter is used for judging whether the air pressure change parameter accords with a preset reference range or not;
a pressure touch operation judgment module: the touch control device is used for determining that the touch control operation is a pressure touch control operation if the air pressure change parameter accords with the reference range;
the pressure touch operation feedback module: the touch control device is used for executing feedback operation corresponding to the pressure touch control operation;
the terminal further comprises:
a temperature detection module: the terminal is used for detecting the current temperature of the terminal;
a reference range acquisition module: the reference range corresponding to the current temperature is obtained according to a set time interval;
the atmospheric pressure changes the judgement module and includes:
a reference temperature air pressure change correspondence determination unit: and the air pressure change parameter is used for judging whether the air pressure change parameter accords with a reference range corresponding to the current temperature.
7. A terminal according to claim 6, wherein the parameters of the pressure variation include at least one of a period of pressure fluctuation, a magnitude of pressure variation, and a rate of pressure variation.
8. The terminal according to claim 6 or 7, characterized in that the terminal further comprises:
the pressure touch operation receiving module: the terminal cavity is used for acquiring air pressure change data in the terminal cavity when pressure touch operation is applied to the terminal;
the air pressure change reference range calculation module: for setting said reference range in dependence of air pressure variation data.
9. The terminal according to claim 6 or 7, wherein the module for detecting the parameter of the air pressure change specifically comprises:
a first detection unit: the terminal cavity air pressure change parameter acquisition unit is used for acquiring an air pressure change parameter in the terminal cavity when the touch operation on the terminal is detected and the duration time of the touch operation exceeds a preset duration;
or, the second detection unit: and the terminal cavity is used for acquiring the air pressure change parameter in the terminal cavity when the touch operation on the terminal is detected and the air pressure in the terminal cavity is changed.
10. The terminal of claim 6 or 7, further comprising:
a range update module: for updating the reference range.
CN201710261026.5A 2017-04-20 2017-04-20 Pressure touch method and terminal Active CN107092392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710261026.5A CN107092392B (en) 2017-04-20 2017-04-20 Pressure touch method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710261026.5A CN107092392B (en) 2017-04-20 2017-04-20 Pressure touch method and terminal

Publications (2)

Publication Number Publication Date
CN107092392A CN107092392A (en) 2017-08-25
CN107092392B true CN107092392B (en) 2020-07-03

Family

ID=59637349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710261026.5A Active CN107092392B (en) 2017-04-20 2017-04-20 Pressure touch method and terminal

Country Status (1)

Country Link
CN (1) CN107092392B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134279B (en) * 2019-05-16 2022-05-13 Oppo广东移动通信有限公司 Control method and related product
CN111949160A (en) * 2020-08-13 2020-11-17 深圳技术大学 Touch pressure detection method, terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216597A (en) * 2014-08-18 2014-12-17 深圳市易联技术有限公司 Touch detection method and system of resistive touch screen
CN104303135A (en) * 2012-03-27 2015-01-21 诺基亚公司 Method and apparatus for force sensing
JP2015138434A (en) * 2014-01-23 2015-07-30 株式会社ニコン Electronic device
CN105389002A (en) * 2015-09-07 2016-03-09 上海鸿臣互动传媒有限公司 Space air pressure sensing interaction apparatus and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104303135A (en) * 2012-03-27 2015-01-21 诺基亚公司 Method and apparatus for force sensing
JP2015138434A (en) * 2014-01-23 2015-07-30 株式会社ニコン Electronic device
CN104216597A (en) * 2014-08-18 2014-12-17 深圳市易联技术有限公司 Touch detection method and system of resistive touch screen
CN105389002A (en) * 2015-09-07 2016-03-09 上海鸿臣互动传媒有限公司 Space air pressure sensing interaction apparatus and method thereof

Also Published As

Publication number Publication date
CN107092392A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN109564498B (en) Electronic device and method of recognizing touch in electronic device
US10949012B2 (en) Electronic device comprising force sensor
US9904409B2 (en) Touch input processing method that adjusts touch sensitivity based on the state of a touch object and electronic device for supporting the same
US9519419B2 (en) Skinnable touch device grip patterns
CN106485124B (en) Operation control method of mobile terminal and mobile terminal
EP2456179B1 (en) Apparatus and method for controlling operation of mobile terminal
CN107219988B (en) Interface operation guiding method and mobile terminal
CN108334272B (en) Control method and mobile terminal
EP2846135A2 (en) Portable Electronic Device with Environmental Sensor
CN107395871B (en) Method and device for opening application, storage medium and terminal
EP3000016B1 (en) User input using hovering input
US9329661B2 (en) Information processing method and electronic device
CN108366169B (en) Notification message processing method and mobile terminal
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
WO2018177157A1 (en) Character input method of mobile terminal and mobile terminal
CN107580134B (en) Display method of mobile terminal and mobile terminal
CN106873891B (en) Touch operation method and mobile terminal
CN106791086B (en) Control method of mobile terminal and mobile terminal
KR20180135727A (en) Electronic apparatus and method for controlling operations the electronic apparatus based on pressure inputs
CN111338524A (en) Application program control method and electronic equipment
CN107092392B (en) Pressure touch method and terminal
US20120068958A1 (en) Portable electronic device and control method thereof
CN107257411B (en) Message reminding method and mobile terminal
CN110825306B (en) Braille input method, device, terminal and readable storage medium
WO2018039914A1 (en) Method for copying data, and user terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant