CN111443859B - Touch interaction method and electronic equipment - Google Patents

Touch interaction method and electronic equipment Download PDF

Info

Publication number
CN111443859B
CN111443859B CN202010214336.3A CN202010214336A CN111443859B CN 111443859 B CN111443859 B CN 111443859B CN 202010214336 A CN202010214336 A CN 202010214336A CN 111443859 B CN111443859 B CN 111443859B
Authority
CN
China
Prior art keywords
target
touch
virtual key
user
touch screen
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
CN202010214336.3A
Other languages
Chinese (zh)
Other versions
CN111443859A (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 CN202010214336.3A priority Critical patent/CN111443859B/en
Publication of CN111443859A publication Critical patent/CN111443859A/en
Application granted granted Critical
Publication of CN111443859B publication Critical patent/CN111443859B/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

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

The embodiment of the invention discloses a touch interaction method and electronic equipment. The method comprises the following steps: receiving target input of a user to a target position in a touch screen of the electronic equipment; in response to the target input, determining a target touch sensation parameter corresponding to the target position; the tactile sensation parameter at the target position is adjusted to the target tactile sensation parameter. The embodiment of the invention can solve the problem of lower accuracy of touch screen operation.

Description

Touch interaction method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of touch control, in particular to a touch control interaction method and electronic equipment.
Background
At present, when a user uses an electronic device with a touch screen, the touch screen is usually made of a uniform and smooth material, and the user cannot intuitively feel the position of an area which is being operated by the user when performing touch screen operation, so that the touch screen operation of the user easily slides out of the area which is being operated by the user under the condition that the user cannot clearly see the touch screen and the like, and the conditions of misoperation or operation failure and the like are caused, the use feeling of the user is poor, and the touch screen operation accuracy is low.
Disclosure of Invention
The embodiment of the invention provides a touch interaction method and electronic equipment, and aims to solve the problem of low accuracy of touch screen operation.
In a first aspect, an embodiment of the present invention provides a touch interaction method applied to an electronic device, including:
receiving target input of a user to a target position in a touch screen of the electronic equipment;
in response to the target input, determining a target touch sensation parameter corresponding to the target position;
and adjusting the touch sensing parameter at the target position to be the target touch sensing parameter.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the receiving module is used for receiving target input of a user to a target position in a touch screen of the electronic equipment;
the parameter determining module is used for responding to the target input and determining a target touch parameter corresponding to the target position;
the first adjusting module is used for adjusting the touch parameter at the target position to be the target touch parameter.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the touch interaction method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the touch interaction method according to the first aspect.
In the embodiment of the invention, after target input of a user at a target position in a touch screen is received, a target touch parameter corresponding to the target position is determined, and the touch parameter at the target position is adjusted to be the target touch parameter, so that target touch related to the target position is simulated at the target position. In this way, as long as different touch parameters are associated with different touch screen positions, the user can clearly perceive the operating area when performing touch screen operation, and even in an environment with poor sight line or when the user does not look over the touch screen, the occurrence of misoperation can be avoided as much as possible, so that the accuracy of the touch screen operation of the user is improved.
Drawings
The present invention may be better understood from the following description of specific embodiments of the invention taken in conjunction with the accompanying drawings, in which like or similar reference numerals identify like or similar features.
Fig. 1 is a schematic flowchart of a touch interaction method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another touch interaction method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a virtual key position according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another virtual key position according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an 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 obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
At present, when a user uses an electronic device with a touch screen, the user can perform touch screen interaction with the touch screen, and because the user may not intuitively feel the position of an area being operated when performing touch screen operation, the touch screen operation of the user easily slides out of the area being operated, which causes misoperation or operation failure and other situations, the touch screen operation accuracy is low, and the user experience is poor.
For example, when playing a game through an electronic device, some areas are mainly divided on a touch screen as a plurality of virtual keys, and then operations of a user on the game are completed by recording the operations of clicking, sliding, long pressing and the like of the user on the virtual keys. However, the touch feeling of the user to each virtual key is the same, so that misoperation is easily performed on the virtual keys, and no effective physical feedback exists when the user interacts with the virtual keys, so that the experience is poor.
In order to solve the problem, an embodiment of the present invention provides a touch interaction method, and referring to fig. 1, fig. 1 shows a flowchart of the touch interaction method provided by the embodiment of the present invention; the method is applied to the electronic equipment and comprises the following steps:
s101, receiving target input of a user to a target position in a touch screen of the electronic equipment;
s102, responding to target input, and determining target touch parameters corresponding to a target position;
due to the purpose of the present invention, it is to generate different touch senses at different positions on the touch screen so as to make the user distinguish the current touch area, for example, the touch sense may be the touch sense of a simulated rubber button. Therefore, different touch screen positions should correspond to own independent touch senses, and in order to generate the independent touch senses, the touch sense needs to be realized by setting touch sense parameters, target input of a user to a target position in a touch screen of the electronic device is received, the touch sense parameters of the target position are acquired, and different touch sense parameters can enable the user to generate different touch senses.
And S103, adjusting the touch parameter at the target position to be the target touch parameter.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the invention, after target input of a user at a target position in a touch screen of the electronic device is received, a target touch parameter corresponding to the target position is determined, and the touch parameter at the target position is adjusted to the target touch parameter, so that target touch related to the target position is simulated at the target position. In this way, as long as different touch parameters are associated with different touch screen positions, the user can clearly perceive the operating area when performing touch screen operation, and even in an environment with poor sight line or when the user does not look over the touch screen, the occurrence of misoperation can be avoided as much as possible, so that the accuracy of the touch screen operation of the user is improved.
In some embodiments of the present invention, the target tactile parameters may include: current or ultrasound.
The principle that the current of the touch screen influences the touch feeling of a user is as follows: based on different touch screen currents, different electromagnetic pulses can be generated on the touch screen, the electromagnetic pulses can influence the electrostatic attraction between the touch screen and the part of a user contacting the touch screen, so that the user can feel friction forces with different sizes, and the user can feel different touch feelings due to different friction forces.
The principle that the ultrasonic waves generated by the touch screen influence the touch feeling of the user is as follows: the ultrasonic wave can produce the effect of vibrations to user's finger, and ultrasonic wave intensity is different, and then the vibration sense that user's finger was experienced also can be different, can make the position that user and touch screen contacted feel on each region of touch screen receives different sense of touch promptly to different positions have the effect of different sense of touch in the simulation reality material.
Of course, the above are only two specific examples, and the target tactile sensation parameter may also be other parameters capable of influencing the tactile sensation of the user, which is not limited by the present invention.
In some embodiments of the present invention, referring to fig. 2, fig. 2 is a flowchart illustrating another touch interaction method provided in an embodiment of the present invention. The method can comprise the following steps:
s201, receiving target input of a user to a target position in a display interface of a target application;
in different applications, the areas where the user performs touch input are different, and the tactile sensations that the user wants to feel are also different, so after receiving the target input, it is necessary to determine which target application corresponds to the currently received target input, thereby facilitating the subsequent determination of the corresponding tactile parameter adjustment mode.
S202, responding to target input, and determining a target virtual key corresponding to a target position according to a first preset corresponding relation between virtual keys in target application and the position of a touch screen;
the electronic device may pre-store application package names of each target application, each application package name is associated with a first preset corresponding relationship between a group of virtual keys and a touch screen position, and after receiving target input, the electronic device may search for the first preset corresponding relationship corresponding to the target application according to the application package names of the target applications.
S203, determining a target touch parameter corresponding to the target virtual key according to a second preset corresponding relation between the virtual key and the touch parameter.
In addition, a second preset corresponding relationship between a group of virtual keys associated with each application package name and the touch parameters may be pre-stored in the electronic device, so that after the target virtual key is determined, the corresponding target touch parameter can be searched according to the determined target virtual key. In addition, in order to facilitate the user to distinguish different virtual keys, the touch parameters corresponding to different virtual keys are different in the second preset corresponding relationship.
And S204, adjusting the touch parameter at the target position to be the target touch parameter.
In this embodiment, the target position is defined as the position of a virtual key in the target application, the first preset corresponding relationship between the virtual key and the position of the touch screen can be used to determine the position of each virtual key in the touch screen, and the second preset corresponding relationship between each virtual key and the touch parameter is further set in this embodiment, that is, the touch corresponding to each virtual key is defined.
Optionally, the tactile sensation parameters in the second preset corresponding relationship may be used to simulate the tactile sensation of a preset model of gamepad.
Since the game is an application requiring frequent operations on a plurality of virtual keys, and the positions of the virtual keys need to be operated more accurately in the game, but the user often does not see the operation areas of the virtual keys in the process of playing the game, the game is very easy to cause misoperation. Based on this, when the target application is a game application, the embodiment can simulate the touch of a preset model of the gamepad, so that when a user uses the electronic device to play a game, the user can have a touch effect when operating through the gamepad, and therefore the user can accurately find a desired virtual key position in the process of not checking the virtual key area, and the experience of the user when the user uses the electronic device to play the game is improved.
In addition, since the user may want to change the touch feeling of the virtual key, in some other embodiments of the present invention, the user may select the desired position of the virtual key and the corresponding touch feeling. Optionally, before S201, the method may further include:
receiving selection input of a target preset corresponding relation in the preset corresponding relation between at least one group of virtual keys related to the application package name of the target application and the position of the touch screen by a user;
and responding to the selection input, and taking the target preset corresponding relation corresponding to the selection input as a first preset corresponding relation.
In an embodiment, each application package name is associated with a plurality of groups of first predetermined corresponding relationships, each group of first predetermined corresponding relationships is associated with a group of second predetermined corresponding relationships, and since the first predetermined corresponding relationships are associated with the second predetermined corresponding relationships, after a user selects the first predetermined corresponding relationships, the associated second predetermined corresponding relationships can be determined. This is because, for applications such as games, the key positions and key touch senses on gamepads of different models are usually different, and therefore, if one wants to simulate the actual touch sense of a gamepad, different key positions correspond to gamepads of different models and also correspond to different key touch senses.
In addition, in other embodiments, since there are some cases where the types of game pads are different but the positions of the keys are the same, each app package name may be associated with only one set of first preset correspondence, and the first preset correspondence is associated with a plurality of sets of second preset correspondences, and the user may select the second preset correspondence, for example, a combination of touch sensations of game pads of various types, such as an Xbox pad, may be simulated in advance. The two modes improve the autonomy of the user, so that the user can replace the existing touch combination when the user does not like the existing touch combination.
In other embodiments of the present invention, the S202 may include:
taking the virtual key corresponding to the target position in the first preset corresponding relation as a target virtual key under the condition that the first preset corresponding relation comprises the target position;
and under the condition that the target position is not included in the first preset corresponding relation, taking the virtual key corresponding to the position of the touch screen closest to the target position in the first preset corresponding relation as the target virtual key.
In this case, because the user usually does not deviate too far under the condition of operation deviation, the virtual key closest to the target position is used as the target virtual key that the user wants to trigger according to the distance between the target position and the touch screen position of each virtual key, that is, the touch effect that the user wants can be given more accurately. For example, referring to fig. 3, fig. 3 shows a schematic diagram of virtual key positions provided by an embodiment of the present invention, where 4 virtual keys a-D are provided on the right side of a touch screen, and when a user operation position is not within a virtual key area but at a position X, a distance between X and the virtual keys a-D is calculated, and a virtual key closest to the user operation position is taken as a target virtual key of the user, which is a virtual key in fig. 3.
In still other embodiments of the present invention, in the case that the first predetermined corresponding relationship includes at least two touch screen positions closest to the target position,
the taking the virtual key corresponding to the touch screen position closest to the target position in the first preset corresponding relationship as the target virtual key may specifically include:
and taking the virtual key corresponding to the touch screen position with the highest frequency, which is received by the user within a preset time length, of at least two touch screen positions closest to the target position as the target virtual key.
In the case where the user operation exceeds the range of the virtual key, if the virtual key closest to the target position of the user operation includes a plurality of virtual keys, the present embodiment takes the virtual key with the highest frequency of the user operation as the target virtual key. Since the user is likely to have misoperation during the high-frequency operation, the probability that the virtual key that the user actually wants to operate currently is the virtual key with the highest input frequency among the keys closest to the target position is the greatest, and therefore, the method of the embodiment can improve the accuracy of feedback of the target touch feeling as much as possible. For example, in fig. 3, if the distances between X and the plurality of virtual keys are the same, the virtual key with the highest user operation frequency is selected as the target virtual key of the user.
And after the target virtual key is determined, generating the same target touch feeling as the target virtual key at the target position operated by the user to indicate the virtual key currently and actually operated by the user. For example, in fig. 3, when the user operates at position X and determines that the target virtual key of the user is a, the same tactile sensation as that of the virtual key a is generated at position X to indicate that the virtual key currently operated by the user is a.
In further embodiments of the present invention, when the first preset corresponding relationship does not include the target position, after S203 and before S204, the method may further include:
determining a target adjustment proportion corresponding to the target distance according to a third preset corresponding relation between the distance and the adjustment proportion; the target distance is the distance between the position of the touch screen corresponding to the target virtual key and the target position;
and adjusting the value of the target touch parameter according to the target adjustment proportion.
In this embodiment, different touch senses are provided for the user to facilitate the user to find a correct operation position, so that when the user operation exceeds the area range of the virtual key, the user can conveniently find the accurate position of the target virtual key, in this embodiment, according to the distance between the target position of the user operation and the target virtual key, on the basis of the target touch sense parameter determined in S203, the numerical value of the target touch sense parameter is adjusted, so that when the distance between the target virtual key and the target position is different, the final output numerical value of the target touch sense parameter is also different, and thus, the user is given touch sense feedback of different strengths, where the farther the distance is, the weaker the closer the distance is, and the stronger the feedback is. For example, referring to fig. 4, fig. 4 shows another schematic diagram of virtual key positions provided by the embodiment of the present invention, where the user operates the feedback more strongly at position X than at position Y, i.e. the feedback is stronger closer to the virtual key a.
Based on the touch interaction method embodiment provided by the above embodiment, correspondingly, the embodiment of the invention further provides an electronic device, and referring to fig. 5, fig. 5 shows a schematic structural diagram of the electronic device provided by the embodiment of the invention. The electronic device includes:
the receiving module 301 is configured to receive a target input of a user to a target position in a touch screen of the electronic device;
a parameter determining module 302, configured to determine a target touch parameter corresponding to a target position in response to a target input;
a first adjusting module 303, configured to adjust the touch parameter at the target location to a target touch parameter.
In the embodiment of the invention, after target input of a user at a target position in a touch screen of the electronic device is received, a target touch parameter corresponding to the target position is determined, and the touch parameter at the target position is adjusted to the target touch parameter, so that target touch related to the target position is simulated at the target position. In this way, as long as different touch parameters are associated with different touch screen positions, the user can clearly perceive the operating area when performing touch screen operation, and even in an environment with poor sight line or when the user does not look over the touch screen, the occurrence of misoperation can be avoided as much as possible, so that the accuracy of the touch screen operation of the user is improved.
In some embodiments of the present invention, the target tactile parameters include: current or ultrasound.
In some embodiments of the present invention, the receiving module 301 may specifically be configured to: receiving target input of a user to a target position in a display interface of a target application;
the parameter determination module 302 may include:
the first determining unit is used for determining a target virtual key corresponding to a target position according to a first preset corresponding relation between the virtual key in the target application and the position of the touch screen;
and the second determining unit is used for determining the target touch parameter corresponding to the target virtual key according to the second preset corresponding relation between the virtual key and the touch parameter.
According to the embodiment, when the user uses the target application, different target touch feelings can be generated by each virtual key, so that the user can intuitively determine the position of the currently clicked virtual key, the use effect of the user is improved, and the possibility of misoperation is reduced.
Optionally, the target touch parameter in the second preset corresponding relationship may be used to simulate the touch of a preset model of gamepad.
When the target application is a game application, the touch sense of the preset type gamepad can be simulated, so that the user can have the touch sense effect when operating through the gamepad when using the electronic equipment to play games, the user can also accurately find the desired virtual key position when not looking over the virtual key position, and the experience of the user when using the electronic equipment to play games is improved.
In some other embodiments of the present invention, the electronic device may further include:
the touch selection module is used for receiving selection input of a target preset corresponding relation in the preset corresponding relation between at least one group of virtual keys related to the application package name of the target application and the position of the touch screen by a user; and responding to the selection input, and taking the target preset corresponding relation corresponding to the selection input as a first preset corresponding relation.
In an embodiment, each application package name is associated with a plurality of groups of first predetermined corresponding relationships, each group of first predetermined corresponding relationships is associated with a group of second predetermined corresponding relationships, and since the first predetermined corresponding relationships are associated with the second predetermined corresponding relationships, after a user selects the first predetermined corresponding relationships, the associated second predetermined corresponding relationships can be determined. This is because, for applications such as games, the key positions and key touch senses on gamepads of different models are usually different, and therefore, if one wants to simulate the actual touch sense of a gamepad, different key positions correspond to gamepads of different models and also correspond to different key touch senses.
In addition, in other embodiments, since there are some cases where the types of game pads are different but the positions of the keys are the same, each app package name may be associated with only one set of first preset correspondence, and the first preset correspondence is associated with a plurality of sets of second preset correspondences, and the user may select the second preset correspondence, for example, a combination of touch sensations of game pads of various types, such as an Xbox pad, may be simulated in advance. The two modes improve the autonomy of the user, so that the user can replace the existing touch combination when the user does not like the existing touch combination.
In other embodiments of the present invention, the first determining unit may specifically include:
the first key determining unit is used for taking a virtual key corresponding to the target position in the first preset corresponding relation as a target virtual key under the condition that the first preset corresponding relation comprises the target position;
and the second key determining unit is used for taking the virtual key corresponding to the position of the touch screen closest to the target position in the first preset corresponding relation as the target virtual key under the condition that the target position is not included in the first preset corresponding relation.
In this case, because the user usually does not deviate too far under the condition of operation deviation, the virtual key closest to the target position is used as the target virtual key that the user wants to trigger according to the distance between the target position and the touch screen position of each virtual key, that is, the touch effect that the user wants can be given more accurately.
In still other embodiments of the present invention, the first key determination unit may be configured to:
and under the condition that the first preset corresponding relation comprises at least two touch screen positions closest to the target position, taking a virtual key corresponding to the touch screen position with the highest frequency, which is received by the user within a preset time length, of the at least two touch screen positions closest to the target position as a target virtual key.
In the case where the user operation exceeds the range of the virtual key, if the virtual key closest to the target position of the user operation includes a plurality of virtual keys, the present embodiment takes the virtual key with the highest frequency of the user operation as the target virtual key. Since the user is likely to have misoperation during the high-frequency operation, the probability that the virtual key that the user actually wants to operate currently is the virtual key with the highest input frequency among the keys closest to the target position is the greatest, and therefore, the method of the embodiment can improve the accuracy of feedback of the target touch feeling as much as possible.
In still other embodiments of the present invention, the electronic device may further include:
the second adjusting module is used for determining a target touch parameter corresponding to the target virtual key under the condition that the first preset corresponding relation does not include a target position, and then determining a target adjusting proportion corresponding to the target distance according to a third preset corresponding relation between the distance and the adjusting proportion; the target distance is the distance between the position of the touch screen corresponding to the target virtual key and the target position; and adjusting the value of the target touch parameter according to the target adjustment proportion.
In this embodiment, different tactile sensations are provided for the user to facilitate the user to find the correct operation position, so that when the user operation exceeds the area range of the virtual key, the user can find the accurate position of the target virtual key conveniently.
The electronic device provided in the embodiment of the present invention can implement each method step implemented in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
Fig. 6 shows a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to receive a target input of a user to a target position in a touch screen of the electronic device; in response to the target input, determining a target touch sensation parameter corresponding to the target position; the tactile sensation parameter at the target position is adjusted to the target tactile sensation parameter.
In the embodiment of the invention, after target input of a user at a target position in a touch screen is received, a target touch parameter corresponding to the target position is determined, and the touch parameter at the target position is adjusted to be the target touch parameter, so that target touch related to the target position is simulated at the target position. In this way, as long as different touch parameters are associated with different touch screen positions, the user can clearly perceive the operating area when performing touch screen operation, and even in an environment with poor sight line or when the user does not look over the touch screen, the occurrence of misoperation can be avoided as much as possible, so that the accuracy of the touch screen operation of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 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 the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 6, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when the computer program is executed by the processor 410, the processes of the embodiment of the touch interaction method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described herein again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the touch interaction method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A touch interaction method is applied to electronic equipment and is characterized by comprising the following steps:
receiving target input of a user to a target position in a touch screen of the electronic equipment;
in response to the target input, determining a target touch sensation parameter corresponding to the target position;
adjusting the touch sensing parameter at the target position to the target touch sensing parameter;
the receiving of the target input of the user to the target position in the touch screen of the electronic device includes:
receiving the target input of a user to the target position in a display interface of a target application;
the determining of the target touch parameter corresponding to the target position includes:
determining a first preset corresponding relation corresponding to the target application according to the application package name of the target application, and determining a target virtual key corresponding to the target position according to the first preset corresponding relation, wherein the first preset corresponding relation is the first preset corresponding relation between the virtual key in the target application and the position of the touch screen;
and determining a target touch parameter corresponding to the target virtual key according to a second preset corresponding relation between the virtual key and the touch parameter.
2. The method of claim 1, wherein the determining the target virtual key corresponding to the target location comprises:
taking the virtual key corresponding to the target position in the first preset corresponding relation as the target virtual key under the condition that the first preset corresponding relation comprises the target position;
and under the condition that the target position is not included in the first preset corresponding relation, taking the virtual key corresponding to the touch screen position closest to the target position in the first preset corresponding relation as the target virtual key.
3. The method according to claim 2, wherein when the first predetermined correspondence includes at least two touch screen positions closest to the target position, the taking the virtual key corresponding to the touch screen position closest to the target position in the first predetermined correspondence as the target virtual key includes:
and taking the virtual key corresponding to the touch screen position with the highest frequency, which is received by the user within a preset time length and input by the user, in at least two touch screen positions closest to the target position as the target virtual key.
4. The method according to claim 2, wherein in a case that the target position is not included in the first preset correspondence, after determining the target touch sensing parameter corresponding to the target virtual key, before adjusting the touch sensing parameter at the target position to the target touch sensing parameter, further comprising:
determining a target adjustment proportion corresponding to the target distance according to a third preset corresponding relation between the distance and the adjustment proportion; the target distance is the distance between the position of the touch screen corresponding to the target virtual key and the target position;
and adjusting the numerical value of the target touch parameter according to the target adjustment proportion.
5. An electronic device, comprising:
the receiving module is used for receiving target input of a user to a target position in a touch screen of the electronic equipment;
the parameter determining module is used for responding to the target input and determining a target touch parameter corresponding to the target position;
a first adjusting module, configured to adjust the touch parameter at the target position to the target touch parameter;
the receiving module is specifically configured to: receiving the target input of a user to the target position in a display interface of a target application;
the parameter determination module comprises:
the first determining unit is used for determining a first preset corresponding relation corresponding to the target application according to the application package name of the target application, and determining a target virtual key corresponding to the target position according to the first preset corresponding relation, wherein the first preset corresponding relation is a first preset corresponding relation between the virtual key in the target application and the position of the touch screen;
and the second determining unit is used for determining the target touch parameter corresponding to the target virtual key according to the second preset corresponding relation between the virtual key and the touch parameter.
6. The electronic device according to claim 5, wherein the first determining unit specifically includes:
a first key determining unit, configured to, when the first preset correspondence includes the target position, use a virtual key corresponding to the target position in the first preset correspondence as the target virtual key;
and the second key determining unit is used for taking the virtual key corresponding to the position of the touch screen closest to the target position in the first preset corresponding relation as the target virtual key under the condition that the target position is not included in the first preset corresponding relation.
7. The electronic device according to claim 6, wherein the first key determination unit is configured to:
and under the condition that the first preset corresponding relation comprises at least two touch screen positions closest to the target position, taking a virtual key corresponding to the touch screen position with the highest frequency, which is received by the user within a preset time length and is input by the user, of the at least two touch screen positions closest to the target position as the target virtual key.
8. The electronic device of claim 6, further comprising:
the second adjusting module is used for determining a target touch parameter corresponding to the target virtual key under the condition that the first preset corresponding relation does not comprise the target position, and then determining a target adjusting proportion corresponding to the target distance according to a third preset corresponding relation between the distance and the adjusting proportion; the target distance is the distance between the position of the touch screen corresponding to the target virtual key and the target position; and adjusting the numerical value of the target touch parameter according to the target adjustment proportion.
CN202010214336.3A 2020-03-24 2020-03-24 Touch interaction method and electronic equipment Active CN111443859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010214336.3A CN111443859B (en) 2020-03-24 2020-03-24 Touch interaction method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010214336.3A CN111443859B (en) 2020-03-24 2020-03-24 Touch interaction method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111443859A CN111443859A (en) 2020-07-24
CN111443859B true CN111443859B (en) 2022-09-20

Family

ID=71629460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010214336.3A Active CN111443859B (en) 2020-03-24 2020-03-24 Touch interaction method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111443859B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114953311A (en) * 2022-05-31 2022-08-30 宁波弘讯科技股份有限公司 Rubber machine control method, system, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582174A (en) * 2018-11-12 2019-04-05 维沃移动通信有限公司 A kind of touch-control input response method and terminal device
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN110515487A (en) * 2019-08-01 2019-11-29 联想(北京)有限公司 Information processing method and electronic equipment based on touch control keyboard

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751172A (en) * 2008-12-08 2010-06-23 上海天马微电子有限公司 Touch position detection method and touch screen
US20130100042A1 (en) * 2011-10-21 2013-04-25 Robert H. Kincaid Touch screen implemented control panel
CN104169848B (en) * 2011-11-18 2017-10-20 森顿斯公司 Detect touch input force
CN103869935B (en) * 2012-12-13 2018-04-24 富泰华工业(深圳)有限公司 Tactile feedback system and its method that tactile feedback is provided
US10346020B2 (en) * 2016-10-20 2019-07-09 Adobe Inc. Relatively changing a parametric value using a pressure sensitive user interface element
CN108319361A (en) * 2017-01-17 2018-07-24 中兴通讯股份有限公司 A kind of feedback method and device
CN107015639B (en) * 2017-01-24 2020-02-04 瑞声科技(新加坡)有限公司 Dynamic range control method for tactile feedback, tactile feedback system and electronic terminal
CN109213302B (en) * 2017-06-29 2022-03-08 云谷(固安)科技有限公司 Tactile feedback device and flexible display
CN110362200A (en) * 2019-06-24 2019-10-22 瑞声科技(新加坡)有限公司 The generation method and device of touch feedback

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582174A (en) * 2018-11-12 2019-04-05 维沃移动通信有限公司 A kind of touch-control input response method and terminal device
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN110515487A (en) * 2019-08-01 2019-11-29 联想(北京)有限公司 Information processing method and electronic equipment based on touch control keyboard

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
将多点触控和触感响应结合起来;STEVE KINGSLEY-JONES等;《今日电子》;20101215(第12期);43-44 *

Also Published As

Publication number Publication date
CN111443859A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN107734175B (en) Notification message prompting method and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
CN109032468B (en) Method and terminal for adjusting equipment parameters
CN109710349B (en) Screen capturing method and mobile terminal
CN109407832B (en) Terminal device control method and terminal device
CN110825295B (en) Application program control method and electronic equipment
CN108958593B (en) Method for determining communication object and mobile terminal
CN111610904B (en) Icon arrangement method, electronic device and storage medium
CN107741814B (en) Display control method and mobile terminal
CN110764675A (en) Control method and electronic equipment
CN111443815A (en) Vibration reminding method and electronic equipment
CN110898424A (en) Display control method and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN110933505A (en) Progress adjusting method and electronic equipment
CN111338489A (en) Parameter adjusting method and electronic equipment
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN111443824B (en) Touch screen control method and electronic equipment
CN111443859B (en) Touch interaction method and electronic equipment
CN111130995B (en) Image control method, electronic device, and storage medium
CN111328132A (en) Method for adjusting transmitting power and electronic equipment
CN108418961B (en) Audio playing method and mobile terminal
CN111443968A (en) Screenshot method and electronic equipment
CN108512929B (en) Proxy server setting method and mobile terminal
CN108563376B (en) Application program starting method and mobile 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