WO2017147961A1 - Method and device for feeding back pressing intensity of touchscreen, and terminal - Google Patents

Method and device for feeding back pressing intensity of touchscreen, and terminal Download PDF

Info

Publication number
WO2017147961A1
WO2017147961A1 PCT/CN2016/078163 CN2016078163W WO2017147961A1 WO 2017147961 A1 WO2017147961 A1 WO 2017147961A1 CN 2016078163 W CN2016078163 W CN 2016078163W WO 2017147961 A1 WO2017147961 A1 WO 2017147961A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressing
pressing force
level
module
dimensional
Prior art date
Application number
PCT/CN2016/078163
Other languages
French (fr)
Chinese (zh)
Inventor
朱洪达
徐超
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017147961A1 publication Critical patent/WO2017147961A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • 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
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/048023D-info-object: information is displayed on the internal or external surface of a three dimensional manipulable object, e.g. on the faces of a cube that can be rotated by the user

Definitions

  • the present invention relates to the field of software technologies, and in particular, to a method, an apparatus, and a terminal for feeding back a touch screen pressing force.
  • the 3D touch touch screen currently applied to the mobile phone can realize that the user presses an icon on the screen to pop up a semi-transparent menu, which contains some shortcut operations under the application, or directly triggers the shortcut operation of the application, for example, Press hard on the mailing list to quickly open the window to view the mail.
  • Press hard on the mailing list to quickly open the window to view the mail.
  • press a message in the mailing list to display the complete mail content.
  • the current 3D touch cannot feedback the pressing force to the user, that is, the user cannot know the magnitude of the pressing force of the pressing operation.
  • the present invention provides a method, a device, and a terminal for feeding back the pressing force of the touch screen, so as to solve the problem that the 3D in the prior art can only recognize one pressing force and cannot feedback the pressing force of the user on the touch screen.
  • the present invention provides a method for feeding back a touch screen pressing force, which is applied to a terminal having a touch screen, and the method includes:
  • the constructing the three-dimensional space model by using the pressing force data and the two-dimensional coordinates of the pressing position comprises:
  • a three-dimensional space model is constructed using the three-dimensional coordinates and the two-dimensional images acquired in advance.
  • the constructing the three-dimensional space model by using the pressing force data and the two-dimensional coordinates of the pressing position comprises:
  • the initial three-dimensional space model is beautified according to a preset beautification effect, and the three-dimensional space model is obtained.
  • the method further includes:
  • the construction operation of the three-dimensional space model is performed.
  • the determining, by the pressing operation, whether the pressing operation is a valid pressing operation comprises:
  • the method further includes:
  • the indication information for indicating the pressing force level of the pressing operation is displayed on the current display screen of the display screen.
  • the pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application;
  • the method further includes:
  • the pressing force level of the pressing operation is the second level
  • the second operation of the application is triggered.
  • the pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponds to a first application, and the second level corresponds to a first level Two applications;
  • the method further includes:
  • the pressing force level of the pressing operation is the second level
  • the second operation of the second application is triggered.
  • the pressing force level includes three high, medium, and low pressing force levels, and the pressing force threshold includes a first threshold and a second threshold;
  • the method further includes:
  • the present invention further provides a device for feeding back the pressing force of the touch screen, which is applied to a terminal having a touch screen, the device comprising: a pressing data acquiring module, a three-dimensional model building module and a projection display module;
  • the pressing data acquiring module is configured to acquire, when the pressing operation on the touch screen is performed, the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation;
  • the three-dimensional model building module is configured to construct a three-dimensional space model by using the pressing force data acquired by the pressing data acquiring module and the two-dimensional coordinates of the pressing position;
  • the projection display module is configured to project the three-dimensional space model constructed by the three-dimensional model building module into a two-dimensional image displayed on a display screen of the terminal, and when the pressing force corresponding to the pressing operation changes, pass The two-dimensional image displayed on the display screen dynamically feeds back the current pressing force data.
  • the three-dimensional model building module includes: a coordinate conversion sub-module and a three-dimensional model construction sub-module;
  • the coordinate conversion sub-module is configured to convert the pressing force data acquired by the pressing data acquiring module and the pressing position two-dimensional coordinates into three-dimensional coordinates;
  • the three-dimensional model construction sub-module is configured to construct a three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module and a two-dimensional image acquired in advance.
  • the three-dimensional model building module includes: a coordinate conversion sub-module, a three-dimensional model construction sub-module, and a beautification processing sub-module;
  • the coordinate conversion sub-module is configured to convert the pressing force data acquired by the pressing data acquiring module and the pressing position two-dimensional coordinates into three-dimensional coordinates;
  • the three-dimensional model construction sub-module is configured to construct an initial three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module and a two-dimensional image acquired in advance;
  • the beautification processing sub-module is configured to beautify the initial three-dimensional space model constructed by the three-dimensional model construction sub-module according to a preset beautification effect, to obtain the three-dimensional space model.
  • the device further includes: a first determining module
  • the first determining module is configured to determine whether the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, executing the three-dimensional model building module.
  • the first determining module includes: an obtaining submodule and a determining submodule;
  • the acquiring submodule is configured to acquire current state information of the terminal
  • the determining sub-module is configured to determine whether the current state information of the terminal is consistent with the preset state information, and determine that the pressing operation is invalid when the current state information of the terminal is consistent with the preset state information.
  • the pressing operation determines that the pressing operation is a valid pressing operation when the current state information of the terminal does not coincide with the state information set in advance.
  • the device further includes: a level determining module and a level prompting module;
  • the level determining module is configured to determine a pressing force level of the pressing operation by using the pressing force data and a preset pressing force threshold, where the pressing strength level is previously divided by the pressing force threshold;
  • the level prompting module is configured to display indication information for indicating a pressing force level of the pressing operation on a current display screen of the display screen.
  • the pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application;
  • the device further includes: a first trigger operation module
  • the first triggering operation module is configured to trigger a first operation of the application when a pressing force level of the pressing operation is a first level, and trigger when a pressing force level of the pressing operation is a second level The second operation of the application.
  • the pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponds to a first application, and the second level corresponds to a first level Two applications;
  • the device further includes: the second trigger operation module;
  • the second triggering operation module is configured to trigger a first operation of the first application when a pressing force level of the pressing operation is a first level, and when a pressing force level of the pressing operation is a second level And triggering a second operation of the second application.
  • the pressing force level includes three high, medium, and low pressing force levels, and the pressing force threshold includes a first threshold and a second threshold;
  • the level determining module is configured to determine, when the pressing force data is less than or equal to the first threshold, a pressing force level of the pressing operation is low; when the pressing force data is greater than the first threshold When the second threshold is less than or equal to the second threshold, the pressing force level of the pressing operation is determined to be medium; and when the pressing force data is greater than the second threshold, determining that the pressing force level of the pressing operation is high.
  • the device further includes: a second judging module and a pressure over-prompting module;
  • the second determining module is configured to determine whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold, and obtain a determination result;
  • the excessive pressure prompting module is configured to: when the pressing force data of the pressing operation is greater than or equal to the preset maximum pressure threshold, feedback the prompting information that the pressing force is too large.
  • the present invention also provides a terminal comprising the device for feeding back the pressing force of the touch screen as described in any of the above technical solutions.
  • the method, device and terminal for feeding back the pressing force of the touch screen provided by the invention firstly obtain the pressing force data and the two-dimensional coordinate acquisition of the pressing position when detecting the pressing operation on the touch screen, and then the obtained pressing force data and the pressing position are two-dimensionally obtained. Coordinates create a three-dimensional space model, and finally project the three-dimensional space model into a two-dimensional image display on the display screen of the terminal, which makes the current pressing of the two-dimensional image displayed on the display screen dynamically feedback when the pressing force of the pressing operation changes. Velocity data.
  • the method and apparatus provided by the embodiments of the present invention convert the pressing force of the pressing operation into a deformation of the space and project it onto the display screen of the terminal, so that the three-dimensional animation effect is displayed on the display screen of the terminal, so that the user can pass through the terminal display screen.
  • the displayed 3D animation knows the change in the size of the pressing force when pressing the touch screen, and the user experience is better.
  • FIG. 1 is a schematic flowchart of a method for feeding back a touch screen pressing force according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an implementation manner of constructing a three-dimensional space model by using pressing force data and pressing position two-dimensional coordinates in a method for feeding back pressure on a touch screen according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another implementation manner of constructing a three-dimensional space model by using pressing force data and pressing position two-dimensional coordinates in a method for feeding back pressure on a touch screen according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for feeding back a pressing force of a touch screen according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a three-dimensional model building module in a device for feeding back pressure on a touch screen according to an embodiment of the present invention
  • FIG. 6 is another schematic structural diagram of a three-dimensional model building module in a device for feeding back pressure on a touch screen according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • a method for the feedback of the pressure of the touch screen is applied to the terminal with the touch screen.
  • the terminal may be a mobile phone, a pad, or the like.
  • FIG. 1 a schematic flowchart of the method may be included, which may include:
  • Step S101 When the pressing operation on the touch screen is detected, the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation are acquired.
  • the pressing force data for obtaining the pressing operation is specifically acquired by the pressure detecting device or the pressure collecting device.
  • the pressure detecting device or the pressure collecting device may be a pressure sensor, that is, when the user's finger is on the touch screen. When pressed, the pressure sensor acquires the pressing force data in real time.
  • Step S102 Constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates.
  • the construction of the three-dimensional space model can be implemented by opengIES, which is a 3D rendering engine that can directly control the image processor GPU interface.
  • Step S103 Projecting the three-dimensional space model into a two-dimensional image is displayed on the display screen of the terminal.
  • the current pressing force data is dynamically fed back through the two-dimensional image displayed on the display screen.
  • the two-dimensional image displayed on the display screen is deformed.
  • the two-dimensional image is deformed inwardly perpendicular to the terminal screen, and the pressing force is greater toward the terminal screen. The larger the internal deformation, the size of the pressing force can be known by the user through the deformation of the two-dimensional image.
  • the method for feeding back the pressing force of the touch screen provided by the embodiment of the present invention, when detecting the pressing operation on the touch screen, creates a three-dimensional space model by using the acquired pressing force data and the two-dimensional coordinates of the pressing position, and projects the three-dimensional space model into a two-dimensional image. Displayed on the display screen of the terminal, this causes the two-dimensional image displayed on the display screen to form an animation to feedback the change in the pressing force to the user when the pressing force of the pressing operation changes.
  • the method provided by the embodiment of the present invention converts the pressing force of the pressing operation into a deformation of the space and projects it onto the display screen of the terminal, so that the three-dimensional animation effect is displayed on the display screen of the terminal, so that the user can display through the display on the terminal.
  • the animation knows the change in the size of the pressing force when pressing the touch screen, and the user experience is better.
  • an implementation process of constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates may include:
  • Step S201 Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates.
  • Step S202 Constructing a three-dimensional space model by using three-dimensional coordinates and a two-dimensional image acquired in advance.
  • the two-dimensional image acquired in advance may be a two-dimensional image of the current screen, and the two-dimensional image of the current screen may be obtained in various manners.
  • the two-dimensional image of the current screen may be acquired from the system.
  • the two-dimensional image of the current screen can be obtained by screen capture.
  • the pre-acquired two-dimensional image may be other two-dimensional images acquired by other means in addition to the two-dimensional image of the current screen, for example, an image downloaded from the Internet through a terminal, an image taken by a camera on the terminal, or the like. Wait.
  • an implementation process of constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates may include:
  • Step S301 Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates.
  • Step S302 Construct an initial three-dimensional space model by using three-dimensional coordinates and a two-dimensional image acquired in advance.
  • Step S303 Beautifying the initial three-dimensional space model according to the preset beautification effect to obtain a three-dimensional space model.
  • the implementation method further increases the step of beautifying the initial three-dimensional space model, and enriches the display color, the display shape, and the like of the display screen, and the step makes the display screen on the display screen more Beautify, with better visual effects, can further enhance the user experience.
  • the beautification processing of the initial three-dimensional space model mainly includes scaling, stretching, interpolation calculation, rasterization, and the like on the initial three-dimensional space model.
  • the method for the feedback touch screen pressing force provided by the above embodiment may further include:
  • the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, the construction operation of the subsequent three-dimensional space model is performed, and otherwise, no operation is performed.
  • the process of determining whether the pressing operation is effective is specifically:
  • a pressing operation that is determined to be invalid if a pressing operation is detected in a terminal talking state is set in advance: first, the current state of the terminal is detected, and if it is detected that the terminal is currently in the In the call state, it is determined that the detected pressing operation is an invalid pressing operation.
  • the user in addition to knowing the change in the strength of pressing the touch screen, the user also wants to know the level of the pressing force. For example, whether the user's front pressing is a light press, a medium press, or a hard press.
  • the pressing force level and the pressing force threshold for determining the pressing force level may be preset, and the pressing force level is previously divided by the pressing force threshold, and then the feedback touch screen provided by the above embodiment is provided.
  • the method of pressing the strength may further include:
  • the indication information for indicating the pressing force level of the pressing operation is displayed on the current display screen of the terminal display screen.
  • the pressing force level can be set according to the user's needs.
  • the pressing force level can be designed to be two levels, or can be set to three levels, and can even be set to four levels, five levels, etc., which is not limited in this embodiment.
  • the pressing force can be set to three pressing force levels of low, medium and high, and two pressing force thresholds are set for three pressing force levels, respectively being the first threshold and the second threshold.
  • determining, by using the pressing force data and the pressing force threshold, a pressing force level of the pressing operation specifically: determining a magnitude relationship between the pressing force data and the first threshold and the second threshold, and determining the pressing operation when the pressing strength data is less than or equal to the first threshold.
  • the pressing force level is low; when the pressing force data is greater than the first threshold and less than or equal to the second threshold, determining that the pressing force level of the pressing operation is medium; and when the pressing force data is greater than the second threshold, determining the pressing force level of the pressing operation High.
  • the indication information for indicating the pressing force level of the pressing operation may be displayed on the current display screen of the terminal display screen by a preset prompting rule.
  • the pressing force level determined by the text display on the current display screen for example, determining that the current pressing force level is high, displaying “high” on the current display screen, that is, the display screen While displaying the image deformation, the pressing force level "high” is displayed on the image.
  • the user can not only know the current pressing force level, but also know that when the pressing force level is "high", the corresponding on the screen The degree of deformation.
  • the determined pressing force level is indicated by the color of the current display screen.
  • three low, medium, and high pressing force levels are respectively set to correspond to three colors of yellow, green, and blue, if determined. If the current pressing force level is high, the current display screen is displayed in blue, or three gradually deepening colors are set in advance, such as light gray, dark gray, and black corresponding to three pressing force levels of low, medium, and high, respectively. The darker the color displayed, the higher the pressing force level.
  • the method for feeding back the touch screen pressing force may further include: feeding back the level transition prompt information when the pressing force is transitioned from one level to another.
  • the feedback level transition prompt information may be: when the pressing force transitions from one level to another, the current display screen preset time is maintained, for example, the current display screen is maintained for 3 seconds. In another possible implementation, when the level transitions, the shape of the center of the display screen is changed.
  • the pressing operation may be associated with an application on the terminal to implement a quick trigger of the application.
  • different pressure levels in the pressing force level may be corresponding to different operations of the same application on the terminal, and in another possible implementation manner, different pressure levels in the pressing force level may be Corresponds to the operation of different applications.
  • the pressing force level of the pressing operation includes at least a first level and a second level, and when the different pressure levels in the pressing force level correspond to the same application (the first application), the method for feeding back the touch screen pressing force provided by the above embodiment It can also include:
  • the pressing force level of the pressing operation is the first level
  • the first operation of the first application is triggered; when the pressing force level of the pressing operation is the second level, the second operation of the first application is triggered.
  • the second operation and the first operation are different operations for the first application.
  • the pressing operation is a pressing operation for the short message application, when the pressing force level of the pressing operation is the first level, the unread text message list is displayed, and when the pressing force level of the pressing operation is the second level, the unread text message is displayed. Content.
  • the method provided by the foregoing embodiment may further include:
  • the pressing force level of the pressing operation is the first level
  • the first operation of the first application is triggered;
  • the pressing force level of the pressing operation is the second level
  • the second operation of the second application is triggered.
  • the pressing operation is a pressing operation for the short message application, and when the pressing force level of the pressing operation is the first level, the content of the unread text message of the short message application is displayed, and when the pressing force level of the pressing operation is the second level, Open the camera on the terminal.
  • the method for feeding back the pressing force of the touch screen may further include:
  • the maximum pressure threshold may be the maximum pressure value that the touch screen can withstand, or may be a pressure threshold preset by the user.
  • the prompt sound is played, and the user is prompted to press the excessive force by the prompt sound.
  • the user may press the deformation of the current display screen to indicate that the user presses the excessive force.
  • the image displayed on the screen is deformed inwardly perpendicular to the terminal screen.
  • the greater the pressing force the larger the deformation to the inside of the terminal screen.
  • the current pressing force data of the pressing operation is greater than or equal to the preset maximum pressure threshold, the inward deformation of the two-dimensional image displayed on the display screen is instantaneously popped outward. .
  • the embodiment of the present invention further provides a device for feeding back the pressing force of the touch screen, which is applied to a terminal having a touch screen, and the terminal may be a mobile phone, a pad, etc.
  • a device for feeding back the pressing force of the touch screen which is applied to a terminal having a touch screen
  • the terminal may be a mobile phone, a pad, etc.
  • the device may include a press data acquisition module 401, a three-dimensional model construction module 402, and a projection display module 403.
  • the pressing data acquisition module 401 is configured to acquire the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation when detecting the pressing operation on the touch screen.
  • the three-dimensional model building module 402 is configured to construct a three-dimensional space model by using the pressing force data acquired by the pressing data acquiring module 401 and the pressing position two-dimensional coordinates.
  • the projection display module 403 is configured to project the three-dimensional space model of the three-dimensional model building block construction 402 into a two-dimensional image displayed on the display screen of the terminal, and display the display on the display screen when the pressing force corresponding to the pressing operation changes.
  • the 2D image dynamically feeds back the current compression velocity data.
  • the device for feeding back the pressing force of the touch screen provided by the embodiment of the present invention, when detecting the pressing operation on the touch screen, creates a three-dimensional space model by using the acquired pressing force data and the two-dimensional coordinates of the pressing position, and projects the three-dimensional space model into a two-dimensional image. Displayed on the display screen of the terminal, this causes the two-dimensional image displayed on the display screen to form an animation to feedback the change in the pressing force to the user when the pressing force of the pressing operation changes.
  • the device provided by the embodiment of the present invention converts the pressing force of the pressing operation into a deformation of the space and projects it onto the display screen of the terminal, so that the three-dimensional animation effect is displayed on the display screen of the terminal, so that the user can display through the display on the terminal.
  • the animation knows the change in the size of the pressing force when pressing the touch screen, and the user experience is better.
  • FIG. 5 a schematic structural diagram of the three-dimensional model construction module 402 is illustrated, which may include: a coordinate conversion sub-module 501 and a three-dimensional model construction sub-module 502. among them:
  • the coordinate conversion sub-module 501 is configured to convert the pressing force data and the pressing position two-dimensional coordinates acquired by the pressing data acquiring module 401 into three-dimensional coordinates.
  • the three-dimensional model construction sub-module 502 is configured to construct a three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module 501 and the two-dimensional image acquired in advance.
  • FIG. 6 a schematic structural diagram of the three-dimensional model construction module 402 is illustrated, which may include: a coordinate conversion sub-module 601 , a three-dimensional model construction sub-module 602 , and a beautification processing sub-module 603 . among them:
  • the coordinate conversion sub-module 601 is configured to convert the pressing force data acquired by the pressing data acquiring module 401 and the pressed position two-dimensional coordinates into three-dimensional coordinates.
  • the three-dimensional model construction sub-module 602 is configured to construct an initial three-dimensional space model by using the three-dimensional coordinates converted by the coordinate transformation sub-module 601 and the two-dimensional image acquired in advance.
  • the beautification processing sub-module 603 is configured to beautify the initial three-dimensional space model constructed by the three-dimensional model construction sub-module 602 according to a preset beautification effect, and obtain a three-dimensional space model.
  • the device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a first determining module.
  • the first determining module is configured to determine whether the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, executing the three-dimensional model building module.
  • the first determining module may include: an obtaining submodule and a determining submodule;
  • the submodule is obtained to obtain current status information of the terminal.
  • the determining sub-module is configured to determine whether the current state information of the terminal is consistent with the preset state information, and when the current state information of the terminal is consistent with the preset state information, determine that the pressing operation is an invalid pressing operation, and the current state of the terminal When the information does not coincide with the preset status information, it is determined that the pressing operation is a valid pressing operation.
  • the pressing force level and the pressing force threshold for determining the pressing force level are set in advance, and the pressing force level is previously divided by the pressing force threshold.
  • the device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a level determining module and a level prompting module. among them:
  • the level determining module is configured to determine a pressing force level of the pressing operation by using the pressing force data and the pressing force threshold.
  • the level prompting module is configured to display indication information for indicating a pressing force level of the pressing operation on the current display screen of the display screen.
  • the pressing force level in the above embodiment includes at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application.
  • the device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a first trigger operation module.
  • a first triggering operation module configured to trigger a first operation of the application when a pressing force level of the pressing operation is a first level, and trigger a second operation of the application when a pressing force level of the pressing operation is a second level operating.
  • the pressing force level in the above embodiment includes at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponds to a first application, and the second level corresponds to Second application.
  • the device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a second triggering operation module.
  • a second triggering operation module configured to trigger a first operation of the first application when the pressing force level of the pressing operation is the first level, and trigger a second application of the second application when the pressing force level of the pressing operation is the second level operating.
  • the pressing force level provided by the above embodiment includes three high, medium and low pressing force levels, and the pressing force threshold includes a first threshold and a second threshold.
  • a level determining module configured to determine that the pressing force level of the pressing operation is low when the pressing force data is less than or equal to the first threshold; and when the pressing strength data is greater than the first threshold and less than or equal to In the second threshold, determining that the pressing force level of the pressing operation is medium; and when the pressing strength data is greater than the second threshold, determining that the pressing force level of the pressing operation is high.
  • the device for feeding back the pressing force of the touch screen may further include: a second judging module and a pressure over-prompting module. among them:
  • the second determining module is configured to determine whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold.
  • the over-stressing prompting module is configured to: when the second determining module determines that the current pressing data of the pressing operation is greater than or equal to the preset maximum pressure threshold, and feedback feedback information that the pressing force is too large.
  • a terminal is shown.
  • the present invention also provides a terminal 700 comprising the device for feeding back the pressing force of the touch screen as described in any of the above technical solutions.
  • the disclosed methods, apparatus, and devices may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • Another point that is shown or discussed between each other The coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some communication interface, device or unit, and may be in an electrical, mechanical or other form.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

A method and device for feeding back the pressing intensity of a touchscreen, and a terminal (700). The method comprises: when a pressing operation on a touchscreen is detected, first, obtaining pressing intensity data corresponding to the pressing operation and pressing position two-dimensional coordinates of the pressing operation (S101); then, creating a three-dimensional space model by using the obtained pressing intensity data and the obtained pressing position two-dimensional coordinates (S102); and finally projecting the three-dimensional space model to be a two-dimensional image to be displayed onto a display screen of a terminal (700), so that when the pressing intensity corresponding to the pressing operation changes, current pressing intensity data is dynamically fed back by means of the two-dimensional image displayed on the display screen (S103). That is, by means of the method and device for feeding back the pressing intensity of a touchscreen and the terminal (700), the pressing intensity is converted into space deformation to be projected to the display screen of the terminal (700), a three-dimensional animation effect is presented on the display screen of the terminal (700), a user can obtain the changes of the pressing intensity of himself by means of the three-dimensional animation displayed on the display screen of the terminal (700) when pressing the touchscreen, and user experience is good.

Description

一种反馈触摸屏按压力度的方法、装置和终端Method, device and terminal for feedback touch screen pressing force 技术领域Technical field
本发明涉及软件技术领域,尤其涉及一种反馈触摸屏按压力度的方法、装置和终端。The present invention relates to the field of software technologies, and in particular, to a method, an apparatus, and a terminal for feeding back a touch screen pressing force.
背景技术Background technique
目前应用于手机上的3D touch触摸屏幕可实现:用户用力按屏幕上的一个图标会弹出一层半透明菜单,里面包含了该应用下的一些快捷操作,或者直接触发应用的快捷操作,例如,在邮件列表上用力按可以快速弹开窗口查看邮件,在邮件列表当中,用力按邮件列表里的一条邮件就会显示完整邮件内容。The 3D touch touch screen currently applied to the mobile phone can realize that the user presses an icon on the screen to pop up a semi-transparent menu, which contains some shortcut operations under the application, or directly triggers the shortcut operation of the application, for example, Press hard on the mailing list to quickly open the window to view the mail. In the mailing list, press a message in the mailing list to display the complete mail content.
然而,目前的3D touch无法向用户反馈按压力度情况,即用户无法得知自己按压操作的按压力度的大小情况。However, the current 3D touch cannot feedback the pressing force to the user, that is, the user cannot know the magnitude of the pressing force of the pressing operation.
发明内容Summary of the invention
有鉴于此,本发明提供了一种反馈触摸屏按压力度的方法、装置和终端,用以解决现有技术中的3D只能识别一种按压力度,无法反馈用户对于触摸屏的按压力度情况的问题。In view of the above, the present invention provides a method, a device, and a terminal for feeding back the pressing force of the touch screen, so as to solve the problem that the 3D in the prior art can only recognize one pressing force and cannot feedback the pressing force of the user on the touch screen.
为解决上述问题,其技术方案如下:In order to solve the above problems, the technical solutions are as follows:
本发明提供一种反馈触摸屏按压力度的方法,应用于具有触摸屏的终端,所述方法包括:The present invention provides a method for feeding back a touch screen pressing force, which is applied to a terminal having a touch screen, and the method includes:
当检测所述触摸屏上的按压操作时,获取所述按压操作对应的按压力度数据和所述按压操作的按压位置二维坐标;When detecting a pressing operation on the touch screen, acquiring pressing force data corresponding to the pressing operation and a pressing position two-dimensional coordinate of the pressing operation;
利用所述按压力度数据和所述按压位置二维坐标构建三维空间模型;Constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates;
将所述三维空间模型投影成二维图像显示在所述终端的显示屏上,当所述按压操作对应的按压力度变化时,通过所述显示屏上显示的二维图像动态反馈当前的按压力度数据。 Projecting the three-dimensional space model into a two-dimensional image on the display screen of the terminal, and dynamically feeding back the current pressing force through the two-dimensional image displayed on the display screen when the pressing force corresponding to the pressing operation changes data.
其中,所述利用所述按压力度数据和所述按压位置二维坐标构建三维空间模型,包括:Wherein, the constructing the three-dimensional space model by using the pressing force data and the two-dimensional coordinates of the pressing position comprises:
将所述按压力度数据和所述按压位置二维坐标转换为三维坐标;Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates;
利用所述三维坐标和预先获取的二维图像构建三维空间模型。A three-dimensional space model is constructed using the three-dimensional coordinates and the two-dimensional images acquired in advance.
其中,所述利用所述按压力度数据和所述按压位置二维坐标构建三维空间模型,包括:Wherein, the constructing the three-dimensional space model by using the pressing force data and the two-dimensional coordinates of the pressing position comprises:
将所述按压力度数据和所述按压位置二维坐标转换为三维坐标;Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates;
利用所述三维坐标和预先获取的二维图像构建初始三维空间模型;Constructing an initial three-dimensional space model using the three-dimensional coordinates and the two-dimensional images acquired in advance;
将所述初始三维空间模型依据预设的美化效果进行美化处理,获得所述三维空间模型。The initial three-dimensional space model is beautified according to a preset beautification effect, and the three-dimensional space model is obtained.
优选地,所述方法还包括:Preferably, the method further includes:
判断所述按压操作是否为有效的按压操作;Determining whether the pressing operation is a valid pressing operation;
当所述按压操作为有效的按压操作时,执行所述三维空间模型的构建操作。When the pressing operation is a valid pressing operation, the construction operation of the three-dimensional space model is performed.
其中,所述判断所述按压操作是否为有效的按压操作,包括:The determining, by the pressing operation, whether the pressing operation is a valid pressing operation comprises:
获取所述终端的当前状态信息;Obtaining current status information of the terminal;
判断所述终端的当前状态信息与预先设置的状态信息是否一致;Determining whether the current state information of the terminal is consistent with the preset state information;
当所述终端的当前状态信息与预先设置的状态信息一致时,判定所述按压操作为无效的按压操作,当所述终端的当前状态信息与预先设置的状态信息不一致时,判定所述按压操作为有效的按压操作。When the current state information of the terminal is consistent with the preset state information, it is determined that the pressing operation is an invalid pressing operation, and when the current state information of the terminal does not coincide with the preset state information, determining the pressing operation For effective pressing operations.
优选地,所述方法还包括:Preferably, the method further includes:
利用所述按压力度数据和预先设置的按压力度阈值确定所述按压操作的按压力度等级,所述按压力度等级预先利用所述按压力度阈值进行划分;Determining, by using the pressing force data and a preset pressing force threshold, a pressing force level of the pressing operation, where the pressing force level is previously divided by the pressing force threshold;
在所述显示屏的当前显示画面上显示用于指示所述按压操作的按压力度等级的指示信息。The indication information for indicating the pressing force level of the pressing operation is displayed on the current display screen of the display screen.
其中,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应于同一应用的不同操作;Wherein the pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application;
则所述方法还包括:Then the method further includes:
当所述按压操作的按压力度等级为第一等级时,触发所述应用的第一操作; When the pressing force level of the pressing operation is the first level, triggering the first operation of the application;
当所述按压操作的按压力度等级为第二等级时,触发所述应用的第二操作。When the pressing force level of the pressing operation is the second level, the second operation of the application is triggered.
其中,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应不同应用,所述第一等级对应于第一应用,所述第二等级对应于第二应用;The pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponds to a first application, and the second level corresponds to a first level Two applications;
则所述方法还包括:Then the method further includes:
当所述按压操作的按压力度等级为第一等级时,触发所述第一应用的第一操作;When the pressing force level of the pressing operation is the first level, triggering the first operation of the first application;
当所述按压操作的按压力度等级为第二等级时,触发所述第二应用的第二操作。When the pressing force level of the pressing operation is the second level, the second operation of the second application is triggered.
其中,所述按压力度等级包括高、中、低三个按压力度等级,所述按压力度阈值包括第一阈值和第二阈值;The pressing force level includes three high, medium, and low pressing force levels, and the pressing force threshold includes a first threshold and a second threshold;
则利用所述按压力度数据和所述按压力度阈值确定所述按压操作的按压力度等级,具体为:And determining, by using the pressing force data and the pressing force threshold, a pressing force level of the pressing operation, specifically:
当所述按压力度数据小于等于所述第一阈值时,确定所述按压操作的按压力度等级为低;Determining that the pressing force level of the pressing operation is low when the pressing force data is less than or equal to the first threshold;
当所述按压力度数据大于所述第一阈值且小于等于所述第二阈值时,确定所述按压操作的按压力度等级为中;Determining that the pressing force level of the pressing operation is medium when the pressing force data is greater than the first threshold and less than or equal to the second threshold;
当所述按压力度数据大于所述第二阈值时,确定所述按压操作的按压力度等级为高。When the pressing force data is greater than the second threshold, it is determined that the pressing force level of the pressing operation is high.
优选地,所述方法还包括:Preferably, the method further includes:
判断所述按压操作的按压力度数据是否大于等于预先设定的最大压力阈值;Determining whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold;
当所述按压操作的当前按压数据大于等于预先设定的最大压力阈值时,反馈按压力度过大的提示信息。When the current pressing data of the pressing operation is greater than or equal to a preset maximum pressure threshold, the prompting information that the pressing force is excessive is fed back.
本发明还提供一种反馈触摸屏按压力度的装置,应用于具有触摸屏的终端,所述装置包括:按压数据获取模块、三维模型构建模块和投影显示模块;The present invention further provides a device for feeding back the pressing force of the touch screen, which is applied to a terminal having a touch screen, the device comprising: a pressing data acquiring module, a three-dimensional model building module and a projection display module;
所述按压数据获取模块,用于当检测到所述触摸屏上的按压操作时,获取所述按压操作对应的按压力度数据和所述按压操作的按压位置二维坐标; The pressing data acquiring module is configured to acquire, when the pressing operation on the touch screen is performed, the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation;
所述三维模型构建模块,用于利用所述按压数据获取模块获取的所述按压力度数据和所述按压位置二维坐标构建三维空间模型;The three-dimensional model building module is configured to construct a three-dimensional space model by using the pressing force data acquired by the pressing data acquiring module and the two-dimensional coordinates of the pressing position;
所述投影显示模块,用于将所述三维模型构建模块构建的所述三维空间模型投影成二维图像显示在所述终端的显示屏上,当所述按压操作对应的按压力度变化时,通过所述显示屏上显示的二维图像动态反馈当前的按压力度数据。The projection display module is configured to project the three-dimensional space model constructed by the three-dimensional model building module into a two-dimensional image displayed on a display screen of the terminal, and when the pressing force corresponding to the pressing operation changes, pass The two-dimensional image displayed on the display screen dynamically feeds back the current pressing force data.
其中,所述三维模型构建模块包括:坐标转换子模块和三维模型构建子模块;The three-dimensional model building module includes: a coordinate conversion sub-module and a three-dimensional model construction sub-module;
所述坐标转换子模块,用于将所述按压数据获取模块获取的所述按压力度数据和所述按压位置二维坐标转换为三维坐标;The coordinate conversion sub-module is configured to convert the pressing force data acquired by the pressing data acquiring module and the pressing position two-dimensional coordinates into three-dimensional coordinates;
所述三维模型构建子模块,用于利用所述坐标转换子模块转换的所述三维坐标和预先获取的二维图像构建三维空间模型。The three-dimensional model construction sub-module is configured to construct a three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module and a two-dimensional image acquired in advance.
其中,所述三维模型构建模块包括:坐标转换子模块、三维模型构建子模块和美化处理子模块;The three-dimensional model building module includes: a coordinate conversion sub-module, a three-dimensional model construction sub-module, and a beautification processing sub-module;
所述坐标转换子模块,用于将所述按压数据获取模块获取的所述按压力度数据和所述按压位置二维坐标转换为三维坐标;The coordinate conversion sub-module is configured to convert the pressing force data acquired by the pressing data acquiring module and the pressing position two-dimensional coordinates into three-dimensional coordinates;
所述三维模型构建子模块,用于利用所述坐标转换子模块转换的所述三维坐标和预先获取的二维图像构建初始三维空间模型;The three-dimensional model construction sub-module is configured to construct an initial three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module and a two-dimensional image acquired in advance;
所述美化处理子模块,用于将所述三维模型构建子模块构建的所述初始三维空间模型依据预设的美化效果进行美化处理,获得所述三维空间模型。The beautification processing sub-module is configured to beautify the initial three-dimensional space model constructed by the three-dimensional model construction sub-module according to a preset beautification effect, to obtain the three-dimensional space model.
优选地,所述装置还包括:第一判断模块;Preferably, the device further includes: a first determining module;
所述第一判断模块,用于判断所述按压操作是否为有效的按压操作,当所述按压操作为有效的按压操作时,执行所述三维模型构建模块。The first determining module is configured to determine whether the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, executing the three-dimensional model building module.
其中,所述第一判断模块包括:获取子模块和判断子模块;The first determining module includes: an obtaining submodule and a determining submodule;
所述获取子模块,用于获取所述终端的当前状态信息;The acquiring submodule is configured to acquire current state information of the terminal;
所述判断子模块,用于判断所述终端的当前状态信息与预先设置的状态信息是否一致,当所述终端的当前状态信息与预先设置的状态信息一致时,判定所述按压操作为无效的按压操作,当所述终端的当前状态信息与预先设置的状态信息不一致时,判定所述按压操作为有效的按压操作。The determining sub-module is configured to determine whether the current state information of the terminal is consistent with the preset state information, and determine that the pressing operation is invalid when the current state information of the terminal is consistent with the preset state information. The pressing operation determines that the pressing operation is a valid pressing operation when the current state information of the terminal does not coincide with the state information set in advance.
优选地,所述装置还包括:等级确定模块和等级提示模块; Preferably, the device further includes: a level determining module and a level prompting module;
所述等级确定模块,用于利用所述按压力度数据和预先设置的按压力度阈值确定所述按压操作的按压力度等级,所述按压力度等级预先利用所述按压力度阈值进行划分;The level determining module is configured to determine a pressing force level of the pressing operation by using the pressing force data and a preset pressing force threshold, where the pressing strength level is previously divided by the pressing force threshold;
所述等级提示模块,用于在所示显示屏的当前显示画面上显示用于指示所述按压操作的按压力度等级的指示信息。The level prompting module is configured to display indication information for indicating a pressing force level of the pressing operation on a current display screen of the display screen.
其中,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应于同一应用的不同操作;Wherein the pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application;
则所述装置还包括:第一触发操作模块;The device further includes: a first trigger operation module;
所述第一触发操作模块,用于当所述按压操作的按压力度等级为第一等级时,触发所述应用的第一操作,当所述按压操作的按压力度等级为第二等级时,触发所述应用的第二操作。The first triggering operation module is configured to trigger a first operation of the application when a pressing force level of the pressing operation is a first level, and trigger when a pressing force level of the pressing operation is a second level The second operation of the application.
其中,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应不同应用,所述第一等级对应于第一应用,所述第二等级对应于第二应用;The pressing force level includes at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponds to a first application, and the second level corresponds to a first level Two applications;
则所述装置还包括:所述第二触发操作模块;The device further includes: the second trigger operation module;
所述第二触发操作模块,用于当所述按压操作的按压力度等级为第一等级时,触发所述第一应用的第一操作,当所述按压操作的按压力度等级为第二等级时,触发所述第二应用的第二操作。The second triggering operation module is configured to trigger a first operation of the first application when a pressing force level of the pressing operation is a first level, and when a pressing force level of the pressing operation is a second level And triggering a second operation of the second application.
其中,所述按压力度等级包括高、中、低三个按压力度等级,所述按压力度阈值包括第一阈值和第二阈值;The pressing force level includes three high, medium, and low pressing force levels, and the pressing force threshold includes a first threshold and a second threshold;
则所述等级确定模块,具体用于当所述按压力度数据小于等于所述第一阈值时,确定所述按压操作的按压力度等级为低;当所述按压力度数据大于所述第一阈值且小于等于所述第二阈值时,确定所述按压操作的按压力度等级为中;当所述按压力度数据大于所述第二阈值时,确定所述按压操作的按压力度等级为高。The level determining module is configured to determine, when the pressing force data is less than or equal to the first threshold, a pressing force level of the pressing operation is low; when the pressing force data is greater than the first threshold When the second threshold is less than or equal to the second threshold, the pressing force level of the pressing operation is determined to be medium; and when the pressing force data is greater than the second threshold, determining that the pressing force level of the pressing operation is high.
优选地,所述装置还包括:第二判断模块和压力过大提示模块;Preferably, the device further includes: a second judging module and a pressure over-prompting module;
所述第二判断模块,用于判断所述按压操作的按压力度数据是否大于等于预先设定的最大压力阈值,得到判断结果;The second determining module is configured to determine whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold, and obtain a determination result;
所述压力过大提示模块,用于当所述按压操作的按压力度数据大于等于所述预先设定的最大压力阈值时,反馈按压力度过大的提示信息。 The excessive pressure prompting module is configured to: when the pressing force data of the pressing operation is greater than or equal to the preset maximum pressure threshold, feedback the prompting information that the pressing force is too large.
本发明还提供了一种终端,包括如上述任一技术方案所述的反馈触摸屏按压力度的装置。The present invention also provides a terminal comprising the device for feeding back the pressing force of the touch screen as described in any of the above technical solutions.
上述技术方案具有如下有益效果:The above technical solution has the following beneficial effects:
本发明提供的反馈触摸屏按压力度的方法、装置和终端,在检测到触摸屏上的按压操作时,首先获取按压力度数据和按压位置二维坐标获取,然后将获取的按压力度数据和按压位置二维坐标创建三维空间模型,最后将三维空间模型投影成二维图像显示到终端的显示屏上,这使得,当按压操作的按压力度变化时,通过显示屏上显示的二维图像动态反馈当前的按压力度数据。即,本发明实施例提供的方法及装置将按压操作的按压力度转换为空间的形变投影到终端的显示屏上,使终端的显示屏上呈现三维动画效果,这样用户便可以通过终端显示屏上显示的三维动画获知自己按压触摸屏时按压力度的大小变化,用户体验较好。The method, device and terminal for feeding back the pressing force of the touch screen provided by the invention firstly obtain the pressing force data and the two-dimensional coordinate acquisition of the pressing position when detecting the pressing operation on the touch screen, and then the obtained pressing force data and the pressing position are two-dimensionally obtained. Coordinates create a three-dimensional space model, and finally project the three-dimensional space model into a two-dimensional image display on the display screen of the terminal, which makes the current pressing of the two-dimensional image displayed on the display screen dynamically feedback when the pressing force of the pressing operation changes. Velocity data. That is, the method and apparatus provided by the embodiments of the present invention convert the pressing force of the pressing operation into a deformation of the space and project it onto the display screen of the terminal, so that the three-dimensional animation effect is displayed on the display screen of the terminal, so that the user can pass through the terminal display screen. The displayed 3D animation knows the change in the size of the pressing force when pressing the touch screen, and the user experience is better.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图1为本发明实施例提供的反馈触摸屏按压力度的方法的一种流程示意图;1 is a schematic flowchart of a method for feeding back a touch screen pressing force according to an embodiment of the present invention;
图2为本发明实施例提供的反馈触摸屏按压力度的方法中,利用按压力度数据和按压位置二维坐标构建三维空间模型的一种实现方式的流程示意图;FIG. 2 is a schematic flowchart of an implementation manner of constructing a three-dimensional space model by using pressing force data and pressing position two-dimensional coordinates in a method for feeding back pressure on a touch screen according to an embodiment of the present invention; FIG.
图3为本发明实施例提供的反馈触摸屏按压力度的方法中,利用按压力度数据和按压位置二维坐标构建三维空间模型的另一种实现方式的流程示意图;FIG. 3 is a schematic flowchart of another implementation manner of constructing a three-dimensional space model by using pressing force data and pressing position two-dimensional coordinates in a method for feeding back pressure on a touch screen according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的反馈触摸屏按压力度的装置的一种结构示意图; 4 is a schematic structural diagram of an apparatus for feeding back a pressing force of a touch screen according to an embodiment of the present invention;
图5为本发明实施例提供的反馈触摸屏按压力度的装置中三维模型构建模块的一种结构示意图;FIG. 5 is a schematic structural diagram of a three-dimensional model building module in a device for feeding back pressure on a touch screen according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的反馈触摸屏按压力度的装置中三维模型构建模块的另一种结构示意图;6 is another schematic structural diagram of a three-dimensional model building module in a device for feeding back pressure on a touch screen according to an embodiment of the present invention;
图7为本发明实施例提供的终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的一种反馈触摸屏按压力度的方法,应用于具有触摸屏的终端,该终端可以为手机、pad等,请参阅图1,示出了该方法的流程示意图,可以包括:A method for the feedback of the pressure of the touch screen is applied to the terminal with the touch screen. The terminal may be a mobile phone, a pad, or the like. Referring to FIG. 1 , a schematic flowchart of the method may be included, which may include:
步骤S101:当检测到触摸屏上的按压操作时,获取按压操作对应的按压力度数据和按压操作的按压位置二维坐标。Step S101: When the pressing operation on the touch screen is detected, the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation are acquired.
其中,获取按压操作的按压力度数据具体为通过压力检测装置或者压力采集装置获取,在一种可能的实现方式中压力检测装置或者压力采集装置可以为压力传感器,即,当用户的手指在触摸屏上按压时,压力传感器实时获取按压力度数据。Wherein, the pressing force data for obtaining the pressing operation is specifically acquired by the pressure detecting device or the pressure collecting device. In a possible implementation manner, the pressure detecting device or the pressure collecting device may be a pressure sensor, that is, when the user's finger is on the touch screen. When pressed, the pressure sensor acquires the pressing force data in real time.
步骤S102:利用按压力度数据和按压位置二维坐标构建三维空间模型。Step S102: Constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates.
在本实施例中,三维空间模型的构建可通过opengIES实现,opengIES为可以直接控制图像处理器GPU接口的3D渲染引擎。In this embodiment, the construction of the three-dimensional space model can be implemented by opengIES, which is a 3D rendering engine that can directly control the image processor GPU interface.
步骤S103:将三维空间模型投影成二维图像显示在终端的显示屏上,当按压操作的按压力度变化时,通过显示屏上显示的二维图像动态反馈当前的按压力度数据。Step S103: Projecting the three-dimensional space model into a two-dimensional image is displayed on the display screen of the terminal. When the pressing force of the pressing operation changes, the current pressing force data is dynamically fed back through the two-dimensional image displayed on the display screen.
当按压操作的按压力度数据发生变化时,显示屏上显示的二维图像发生形变,在一种优选的实现方式中,二维图像垂直于终端屏幕向内形变,按压力度越大,向终端屏幕内部的形变越大,用户通过二维图像的形变大小可得知按压力度的大小。 When the pressing force data of the pressing operation changes, the two-dimensional image displayed on the display screen is deformed. In a preferred implementation manner, the two-dimensional image is deformed inwardly perpendicular to the terminal screen, and the pressing force is greater toward the terminal screen. The larger the internal deformation, the size of the pressing force can be known by the user through the deformation of the two-dimensional image.
本发明实施例提供的反馈触摸屏按压力度的方法,在检测到触摸屏上的按压操作时,利用获取的按压力度数据和按压位置二维坐标创建三维空间模型,并将三维空间模型投影成二维图像显示到终端的显示屏上,这使得,当按压操作的按压力度变化时,显示屏上显示的二维图像形成动画向用户反馈按压力度的变化。即,本发明实施例提供的方法将按压操作的按压力度转换为空间的形变投影到终端的显示屏上,使终端的显示屏上呈现三维动画效果,这样用户便可以通过终端显示屏上显示的动画获知自己按压触摸屏时按压力度的大小变化,用户体验较好。The method for feeding back the pressing force of the touch screen provided by the embodiment of the present invention, when detecting the pressing operation on the touch screen, creates a three-dimensional space model by using the acquired pressing force data and the two-dimensional coordinates of the pressing position, and projects the three-dimensional space model into a two-dimensional image. Displayed on the display screen of the terminal, this causes the two-dimensional image displayed on the display screen to form an animation to feedback the change in the pressing force to the user when the pressing force of the pressing operation changes. That is, the method provided by the embodiment of the present invention converts the pressing force of the pressing operation into a deformation of the space and projects it onto the display screen of the terminal, so that the three-dimensional animation effect is displayed on the display screen of the terminal, so that the user can display through the display on the terminal. The animation knows the change in the size of the pressing force when pressing the touch screen, and the user experience is better.
在上述实施例提供的反馈触摸屏按压力度的方法中,利用按压力度数据和按压位置二维坐标构建三维空间模型的实现方式有多种。In the method for feeding back the pressing force of the touch screen provided by the above embodiment, there are various implementations for constructing the three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates.
在一种可能的实现方式中,请参阅图2,示出了利用按压力度数据和按压位置二维坐标构建三维空间模型的实现过程,可以包括:In a possible implementation manner, referring to FIG. 2, an implementation process of constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates may include:
步骤S201:将按压力度数据和按压位置二维坐标转换为三维坐标。Step S201: Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates.
步骤S202:利用三维坐标和预先获取的二维图像构建三维空间模型。Step S202: Constructing a three-dimensional space model by using three-dimensional coordinates and a two-dimensional image acquired in advance.
其中,预先获取的二维图像可以为当前屏幕的二维图像,当前屏幕的二维图像的获取方式有多种,在一种可能的实现方式中,可以从系统获取当前屏幕的二维图像,在另一种可能的实现方式中,可以通过截屏的方式获取当前屏幕的二维图像。The two-dimensional image acquired in advance may be a two-dimensional image of the current screen, and the two-dimensional image of the current screen may be obtained in various manners. In a possible implementation manner, the two-dimensional image of the current screen may be acquired from the system. In another possible implementation, the two-dimensional image of the current screen can be obtained by screen capture.
预先获取的二维图像除了可以为当前屏幕的二维图像外,还可以为通过其它的途径获取的其它的二维图像,例如,如通过终端从互联网下载的图像、终端上相机拍摄的图像等等。The pre-acquired two-dimensional image may be other two-dimensional images acquired by other means in addition to the two-dimensional image of the current screen, for example, an image downloaded from the Internet through a terminal, an image taken by a camera on the terminal, or the like. Wait.
在另一种可能的实现方式中,请参阅图3,示出了利用按压力度数据和按压位置二维坐标构建三维空间模型的实现过程,可以包括:In another possible implementation manner, referring to FIG. 3, an implementation process of constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates may include:
步骤S301:将按压力度数据和按压位置二维坐标转换为三维坐标。Step S301: Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates.
步骤S302:利用三维坐标和预先获取的二维图像构建初始三维空间模型。Step S302: Construct an initial three-dimensional space model by using three-dimensional coordinates and a two-dimensional image acquired in advance.
步骤S303:将初始三维空间模型依据预设的美化效果进行美化处理,获得三维空间模型。 Step S303: Beautifying the initial three-dimensional space model according to the preset beautification effect to obtain a three-dimensional space model.
与上一实现方式相比较,本实现方式进一步增加了对初始三维空间模型进行美化处理的步骤,通过美化可丰富显示画面的显示颜色、显示形状等,该步骤使得显示屏上的显示画面更加的美化,具有较好的视觉效果,能够进一步提升用户的体验。Compared with the previous implementation manner, the implementation method further increases the step of beautifying the initial three-dimensional space model, and enriches the display color, the display shape, and the like of the display screen, and the step makes the display screen on the display screen more Beautify, with better visual effects, can further enhance the user experience.
具体的,对初始三维空间模型进行的美化处理主要包括对初始三维空间模型进行放缩、拉伸、插值计算、光栅化等。Specifically, the beautification processing of the initial three-dimensional space model mainly includes scaling, stretching, interpolation calculation, rasterization, and the like on the initial three-dimensional space model.
在某些应用场景下,可能会存在一些无效的按压操作,例如,当用户接听电话时,用户的耳朵接触到手机触摸屏,此时,用户耳朵对触摸屏的按压事实上是无效的操作,为了不影响用户的使用,上述实施例提供的反馈触摸屏按压力度的方法还可以包括:In some application scenarios, there may be some invalid pressing operations. For example, when the user answers the phone, the user's ear touches the touch screen of the mobile phone. At this time, the user's ear pressing on the touch screen is actually an invalid operation, in order not to The method for the feedback touch screen pressing force provided by the above embodiment may further include:
判断按压操作是否为有效的按压操作,当按压操作为有效的按压操作时,执行后续三维空间模型的构建操作,否则,不执行任何操作。It is judged whether or not the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, the construction operation of the subsequent three-dimensional space model is performed, and otherwise, no operation is performed.
具体的,判断按压操作是否为有效的按压操作过程具体为:Specifically, the process of determining whether the pressing operation is effective is specifically:
获取终端的当前状态信息;判断终端的当前状态信息与预先设置的状态信息是否一致;当终端的当前状态信息与预先设置的状态信息一致时,判定按压操作为无效的按压操作,当终端的当前状态信息与预先设置的状态信息不一致时,判定按压操作为有效的按压操作。Obtaining the current state information of the terminal; determining whether the current state information of the terminal is consistent with the preset state information; when the current state information of the terminal is consistent with the preset state information, determining that the pressing operation is an invalid pressing operation, when the terminal is current When the status information does not match the preset status information, it is determined that the pressing operation is a valid pressing operation.
同样以上述提到的用户接听电话为例,假设预先设定了在终端通话状态下,如果检测到按压操作则判定为无效的按压操作:首先检测终端的当前状态,如果检测到终端当前正处于通话状态,那么判定检测到的按压操作为无效的按压操作。Similarly, taking the above-mentioned user answering telephone as an example, it is assumed that a pressing operation that is determined to be invalid if a pressing operation is detected in a terminal talking state is set in advance: first, the current state of the terminal is detected, and if it is detected that the terminal is currently in the In the call state, it is determined that the detected pressing operation is an invalid pressing operation.
在某些时候,用户除了想获知按压触摸屏力度的变化外,还想获知按压力度的等级,例如,用户前的按压是轻轻按压、中等按压还是使劲按压。为了使用户能够获知自己的按压力度等级,可预先设定按压力度等级和用于确定按压力度等级的按压力度阈值,并且按压力度等级预先利用按压力度阈值进行划分,则上述实施例提供的反馈触摸屏按压力度的方法还可以包括:At some point, in addition to knowing the change in the strength of pressing the touch screen, the user also wants to know the level of the pressing force. For example, whether the user's front pressing is a light press, a medium press, or a hard press. In order to enable the user to know the level of the pressing force, the pressing force level and the pressing force threshold for determining the pressing force level may be preset, and the pressing force level is previously divided by the pressing force threshold, and then the feedback touch screen provided by the above embodiment is provided. The method of pressing the strength may further include:
利用按压力度数据和按压力度阈值确定按压操作的按压力度等级; Determining a pressing force level of the pressing operation by using the pressing force data and the pressing force threshold;
在终端显示屏的当前显示画面上显示用于指示按压操作的按压力度等级的指示信息。The indication information for indicating the pressing force level of the pressing operation is displayed on the current display screen of the terminal display screen.
需要说明的是,按压力度等级可根据用户的需求来设定。可将按压力度等级设计为两级,也可设置成三级,甚至可设置成四级、五级等,本实施例对此不作限定。It should be noted that the pressing force level can be set according to the user's needs. The pressing force level can be designed to be two levels, or can be set to three levels, and can even be set to four levels, five levels, etc., which is not limited in this embodiment.
示例性的,可将按压力度设置成低、中、高三个按压力度等级,针对三个按压力度等级设置两个按压力度阈值,分别为第一阈值和第二阈值。Exemplarily, the pressing force can be set to three pressing force levels of low, medium and high, and two pressing force thresholds are set for three pressing force levels, respectively being the first threshold and the second threshold.
则利用按压力度数据和按压力度阈值确定按压操作的按压力度等级,具体为:判断按压力度数据与第一阈值和第二阈值的大小关系,当按压力度数据小于等于第一阈值时,确定按压操作的按压力度等级为低;当按压力度数据大于第一阈值且小于等于第二阈值时,确定按压操作的按压力度等级为中;当按压力度数据大于第二阈值时,确定按压操作的按压力度等级为高。And determining, by using the pressing force data and the pressing force threshold, a pressing force level of the pressing operation, specifically: determining a magnitude relationship between the pressing force data and the first threshold and the second threshold, and determining the pressing operation when the pressing strength data is less than or equal to the first threshold. The pressing force level is low; when the pressing force data is greater than the first threshold and less than or equal to the second threshold, determining that the pressing force level of the pressing operation is medium; and when the pressing force data is greater than the second threshold, determining the pressing force level of the pressing operation High.
在确定出按压力度等级之后,可通过预先设定的提示规则在终端显示屏的当前显示画面上显示用于指示按压操作的按压力度等级的指示信息。After the pressing force level is determined, the indication information for indicating the pressing force level of the pressing operation may be displayed on the current display screen of the terminal display screen by a preset prompting rule.
显示按压力度等级的提示信息的实现方式有多种。There are various ways to display the prompt information of the pressing force level.
在一种可能的实现方式中,可在当前显示画面上通过文字显示确定出的按压力度等级,例如,确定出当前按压力度等级为高,则在当前显示画面上显示“高”,即显示屏上在显示图像形变的同时,在图像上显示按压力度等级“高”,这种方式使用户不但可以得知当前的按压力度等级,还能了解在按压力度等级为“高”时,屏幕上对应形变的程度。In a possible implementation manner, the pressing force level determined by the text display on the current display screen, for example, determining that the current pressing force level is high, displaying “high” on the current display screen, that is, the display screen While displaying the image deformation, the pressing force level "high" is displayed on the image. This way, the user can not only know the current pressing force level, but also know that when the pressing force level is "high", the corresponding on the screen The degree of deformation.
在另一种可能的实现方式中,通过当前显示画面的颜色指示确定出的按压力度等级,例如预先设定低、中、高三个按压力度等级分别对应黄、绿、蓝三个颜色,如果确定出当前按压力度等级为高,则将当前显示画面显示为蓝色,或者预先设置三个逐渐加深的颜色,如浅灰、深灰和黑色分别对应低、中、高三个按压力度等级,显示屏上显示的颜色越深,按压力度等级越高。In another possible implementation manner, the determined pressing force level is indicated by the color of the current display screen. For example, three low, medium, and high pressing force levels are respectively set to correspond to three colors of yellow, green, and blue, if determined. If the current pressing force level is high, the current display screen is displayed in blue, or three gradually deepening colors are set in advance, such as light gray, dark gray, and black corresponding to three pressing force levels of low, medium, and high, respectively. The darker the color displayed, the higher the pressing force level.
除了上述两种方式外,还有多种其它可提示按压力度等级的方式,在此不一一列举,只要是在当前显示画面上显示用于指示按压操作的按压力度等级的指示信息都属于本发明保护的范围。 In addition to the above two methods, there are a plurality of other ways of prompting the pressing force level, which are not enumerated here, as long as the indication information indicating the pressing force level for instructing the pressing operation on the current display screen belongs to the present. The scope of the invention is protected.
另外,上述实施例提供的反馈触摸屏按压力度的方法还可以包括:当按压力度由一个等级过渡到另一个等级时,反馈等级过渡提示信息。在一种可能的实现方式中,反馈等级过渡提示信息可以为:当按压力度由一个等级过渡到另一个等级时,保持当前显示画面预设时间,例如,使当前显示画面保持3秒钟。在另一种可能的实现方式中,当等级过渡时,改变显示画面中心的形状。In addition, the method for feeding back the touch screen pressing force provided by the above embodiment may further include: feeding back the level transition prompt information when the pressing force is transitioned from one level to another. In a possible implementation manner, the feedback level transition prompt information may be: when the pressing force transitions from one level to another, the current display screen preset time is maintained, for example, the current display screen is maintained for 3 seconds. In another possible implementation, when the level transitions, the shape of the center of the display screen is changed.
上述实施例提供的方法中,按压操作可与终端上的应用关联,实现应用的快捷触发。In the method provided by the foregoing embodiment, the pressing operation may be associated with an application on the terminal to implement a quick trigger of the application.
在一种可能的实现方式中,可使按压力度等级中的不同压力等级对应于终端上的同一应用的不同操作,在另一种可能的实现方式中,可使按压力度等级中的不同压力等级对应于不同应用的操作。In a possible implementation manner, different pressure levels in the pressing force level may be corresponding to different operations of the same application on the terminal, and in another possible implementation manner, different pressure levels in the pressing force level may be Corresponds to the operation of different applications.
具体的,按压操作的按压力度等级至少包括第一等级和第二等级,当按压力度等级中的不同压力等级对应于同一应用(第一应用)时,上述实施例提供的反馈触摸屏按压力度的方法还可以包括:Specifically, the pressing force level of the pressing operation includes at least a first level and a second level, and when the different pressure levels in the pressing force level correspond to the same application (the first application), the method for feeding back the touch screen pressing force provided by the above embodiment It can also include:
当按压操作的按压力度等级为第一等级时,触发第一应用的第一操作;当按压操作的按压力度等级为第二等级时,触发第一应用的第二操作。When the pressing force level of the pressing operation is the first level, the first operation of the first application is triggered; when the pressing force level of the pressing operation is the second level, the second operation of the first application is triggered.
其中,第二操作与第一操作为针对第一应用的不同操作。The second operation and the first operation are different operations for the first application.
示例性的,按压操作为针对短信应用的按压操作,当按压操作的按压力度等级为第一等级时,显示未读短信列表,当按压操作的按压力度等级为第二等级时,显示未读短信的内容。Exemplarily, the pressing operation is a pressing operation for the short message application, when the pressing force level of the pressing operation is the first level, the unread text message list is displayed, and when the pressing force level of the pressing operation is the second level, the unread text message is displayed. Content.
具体的,当按压力度等级中的不同压力等级对应不同应用(假设第一等级对应于第一应用,第二等级对应于第二应用)时,上述实施例提供的方法还可以包括:Specifically, when the different pressure levels in the pressing force level correspond to different applications (assuming that the first level corresponds to the first application and the second level corresponds to the second application), the method provided by the foregoing embodiment may further include:
当按压操作的按压力度等级为第一等级时,触发第一应用的第一操作;当按压操作的按压力度等级为第二等级时,触发第二应用的第二操作。When the pressing force level of the pressing operation is the first level, the first operation of the first application is triggered; when the pressing force level of the pressing operation is the second level, the second operation of the second application is triggered.
示例性的,按压操作为针对短信应用的按压操作,当按压操作的按压力度等级为第一等级时,显示短信应用的未读短信的内容,当按压操作的按压力度等级为第二等级时,打开终端上的相机。 Exemplarily, the pressing operation is a pressing operation for the short message application, and when the pressing force level of the pressing operation is the first level, the content of the unread text message of the short message application is displayed, and when the pressing force level of the pressing operation is the second level, Open the camera on the terminal.
优选的,为了防止用户在按压操作过程中按压触摸屏的力度过大从而破坏手机,上述实施例提供的反馈触摸屏按压力度的方法还可以包括:Preferably, in order to prevent the user from pressing the touch screen too much to damage the mobile phone during the pressing operation, the method for feeding back the pressing force of the touch screen provided by the above embodiment may further include:
判断按压操作的当前按压力度数据是否大于等于预先设定的最大压力阈值,得到判断结果;当判断结果表明按压操作的当前按压力度数据大于等于预先设定的最大压力阈值时,反馈按压力度过大的提示信息。Determining whether the current pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold value, and obtaining a determination result; when the determination result indicates that the current pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold value, the feedback pressing force is excessive Tip message.
在本实施例中,最大压力阈值可以为触摸屏所能承受的最大压力值,也可为用户预先设定的一压力阈值。In this embodiment, the maximum pressure threshold may be the maximum pressure value that the touch screen can withstand, or may be a pressure threshold preset by the user.
另外,反馈按压力度过大的提示信息的方式有多种。In addition, there are various ways to feed back the prompt information with excessive pressing force.
在一种可能的实现方式中,当按压操作的当前按压力度数据大于等于预先设定的最大压力阈值时,播放提示音,通过提示音提示用户按压力度过大。In a possible implementation manner, when the current pressing strength data of the pressing operation is greater than or equal to the preset maximum pressure threshold, the prompt sound is played, and the user is prompted to press the excessive force by the prompt sound.
在另一种可能的实现方式中,当按压操作的当前按压力度数据大于等于预先设定的最大压力阈值时,使当前显示屏上显示的图像的形变保持在当前显示状态不再变化。In another possible implementation manner, when the current pressing force data of the pressing operation is greater than or equal to the preset maximum pressure threshold, the deformation of the image displayed on the current display screen is kept unchanged in the current display state.
在再一种可能的实现方式中,可通过当前显示画面的形变提示用户按压力度过大,例如,正常情况下,当按压力度逐渐变大时,屏幕上显示的图像垂直于终端屏幕向内形变,按压力度越大,向终端屏幕内部的形变越大,当按压操作的当前按压力度数据大于等于预先设定的最大压力阈值时,显示屏上显示的二维图像的向内形变瞬间向外弹出。In a further possible implementation manner, the user may press the deformation of the current display screen to indicate that the user presses the excessive force. For example, under normal circumstances, when the pressing force is gradually increased, the image displayed on the screen is deformed inwardly perpendicular to the terminal screen. The greater the pressing force, the larger the deformation to the inside of the terminal screen. When the current pressing force data of the pressing operation is greater than or equal to the preset maximum pressure threshold, the inward deformation of the two-dimensional image displayed on the display screen is instantaneously popped outward. .
与上述方法相对应,本发明实施例还提供了一种反馈触摸屏按压力度的装置,应用于具有触摸屏的终端,该终端可以为手机、pad等,请参阅图4,示出了该装置的结构示意图,该装置可以包括:按压数据获取模块401、三维模型构建模块402和投影显示模块403。Corresponding to the above method, the embodiment of the present invention further provides a device for feeding back the pressing force of the touch screen, which is applied to a terminal having a touch screen, and the terminal may be a mobile phone, a pad, etc. Referring to FIG. 4, the structure of the device is shown. The device may include a press data acquisition module 401, a three-dimensional model construction module 402, and a projection display module 403.
按压数据获取模块401,用于当检测到触摸屏上的按压操作时,获取按压操作对应的按压力度数据和所述按压操作的按压位置二维坐标。The pressing data acquisition module 401 is configured to acquire the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation when detecting the pressing operation on the touch screen.
三维模型构建模块402,用于利用按压数据获取模块401获取的按压力度数据和按压位置二维坐标构建三维空间模型。The three-dimensional model building module 402 is configured to construct a three-dimensional space model by using the pressing force data acquired by the pressing data acquiring module 401 and the pressing position two-dimensional coordinates.
投影显示模块403,用于将三维模型构建模块构建402的三维空间模型投影成二维图像显示在终端的显示屏上,当所述按压操作对应的按压力度变化时,通过所述显示屏上显示的二维图像动态反馈当前的按压力度数据。 The projection display module 403 is configured to project the three-dimensional space model of the three-dimensional model building block construction 402 into a two-dimensional image displayed on the display screen of the terminal, and display the display on the display screen when the pressing force corresponding to the pressing operation changes. The 2D image dynamically feeds back the current compression velocity data.
本发明实施例提供的反馈触摸屏按压力度的装置,在检测到触摸屏上的按压操作时,利用获取的按压力度数据和按压位置二维坐标创建三维空间模型,并将三维空间模型投影成二维图像显示到终端的显示屏上,这使得,当按压操作的按压力度变化时,显示屏上显示的二维图像形成动画向用户反馈按压力度的变化。即,本发明实施例提供的装置将按压操作的按压力度转换为空间的形变投影到终端的显示屏上,使终端的显示屏上呈现三维动画效果,这样用户便可以通过终端显示屏上显示的动画获知自己按压触摸屏时按压力度的大小变化,用户体验较好。The device for feeding back the pressing force of the touch screen provided by the embodiment of the present invention, when detecting the pressing operation on the touch screen, creates a three-dimensional space model by using the acquired pressing force data and the two-dimensional coordinates of the pressing position, and projects the three-dimensional space model into a two-dimensional image. Displayed on the display screen of the terminal, this causes the two-dimensional image displayed on the display screen to form an animation to feedback the change in the pressing force to the user when the pressing force of the pressing operation changes. That is, the device provided by the embodiment of the present invention converts the pressing force of the pressing operation into a deformation of the space and projects it onto the display screen of the terminal, so that the three-dimensional animation effect is displayed on the display screen of the terminal, so that the user can display through the display on the terminal. The animation knows the change in the size of the pressing force when pressing the touch screen, and the user experience is better.
上述实施例中三维模型构建模块402的实现方式有多种。There are various implementations of the three-dimensional model building block 402 in the above embodiments.
在一种可能的实现方式中,请参阅图5,示出了三维模型构建模块402的结构示意图,可以包括:坐标转换子模块501和三维模型构建子模块502。其中:In a possible implementation manner, referring to FIG. 5, a schematic structural diagram of the three-dimensional model construction module 402 is illustrated, which may include: a coordinate conversion sub-module 501 and a three-dimensional model construction sub-module 502. among them:
坐标转换子模块501,用于将按压数据获取模块401获取的按压力度数据和按压位置二维坐标转换为三维坐标。The coordinate conversion sub-module 501 is configured to convert the pressing force data and the pressing position two-dimensional coordinates acquired by the pressing data acquiring module 401 into three-dimensional coordinates.
三维模型构建子模块502,用于利用坐标转换子模块501转换的三维坐标和预先获取的二维图像构建三维空间模型。The three-dimensional model construction sub-module 502 is configured to construct a three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module 501 and the two-dimensional image acquired in advance.
在另一种可能的实现方式中,请参阅图6,示出了三维模型构建模块402的结构示意图,可以包括:坐标转换子模块601、三维模型构建子模块602和美化处理子模块603。其中:In another possible implementation manner, referring to FIG. 6 , a schematic structural diagram of the three-dimensional model construction module 402 is illustrated, which may include: a coordinate conversion sub-module 601 , a three-dimensional model construction sub-module 602 , and a beautification processing sub-module 603 . among them:
坐标转换子模块601,用于将按压数据获取模块401获取的按压力度数据和所述按压位置二维坐标转换为三维坐标。The coordinate conversion sub-module 601 is configured to convert the pressing force data acquired by the pressing data acquiring module 401 and the pressed position two-dimensional coordinates into three-dimensional coordinates.
三维模型构建子模块602,用于利用坐标转换子模块601转换的三维坐标和预先获取的二维图像构建初始三维空间模型。The three-dimensional model construction sub-module 602 is configured to construct an initial three-dimensional space model by using the three-dimensional coordinates converted by the coordinate transformation sub-module 601 and the two-dimensional image acquired in advance.
美化处理子模块603,用于将三维模型构建子模块602构建的初始三维空间模型依据预设的美化效果进行美化处理,获得三维空间模型。The beautification processing sub-module 603 is configured to beautify the initial three-dimensional space model constructed by the three-dimensional model construction sub-module 602 according to a preset beautification effect, and obtain a three-dimensional space model.
优选的,上述实施例提供的反馈触摸屏按压力度的装置还可以包括:第一判断模块。 Preferably, the device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a first determining module.
第一判断模块,用于判断所述按压操作是否为有效的按压操作,当按压操作为有效的按压操作时,执行三维模型构建模块。The first determining module is configured to determine whether the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, executing the three-dimensional model building module.
进一步的,第一判断模块可以包括:获取子模块和判断子模块;Further, the first determining module may include: an obtaining submodule and a determining submodule;
获取子模块,用于获取终端的当前状态信息。The submodule is obtained to obtain current status information of the terminal.
判断子模块,用于判断终端的当前状态信息与预先设置的状态信息是否一致,当终端的当前状态信息与预先设置的状态信息一致时,判定按压操作为无效的按压操作,当终端的当前状态信息与预先设置的状态信息不一致时,判定按压操作为有效的按压操作。The determining sub-module is configured to determine whether the current state information of the terminal is consistent with the preset state information, and when the current state information of the terminal is consistent with the preset state information, determine that the pressing operation is an invalid pressing operation, and the current state of the terminal When the information does not coincide with the preset status information, it is determined that the pressing operation is a valid pressing operation.
预先设定按压力度等级和用于确定按压力度等级的按压力度阈值,并且按压力度等级预先利用按压力度阈值进行划分。则上述实施例提供的反馈触摸屏按压力度的装置还可以包括:等级确定模块和等级提示模块。其中:The pressing force level and the pressing force threshold for determining the pressing force level are set in advance, and the pressing force level is previously divided by the pressing force threshold. The device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a level determining module and a level prompting module. among them:
等级确定模块,用于利用按压力度数据和按压力度阈值确定按压操作的按压力度等级。The level determining module is configured to determine a pressing force level of the pressing operation by using the pressing force data and the pressing force threshold.
等级提示模块,用于在显示屏的当前显示画面上显示用于指示按压操作的按压力度等级的指示信息。The level prompting module is configured to display indication information for indicating a pressing force level of the pressing operation on the current display screen of the display screen.
上述实施例中的按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应于同一应用的不同操作。The pressing force level in the above embodiment includes at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application.
则上述实施例提供的反馈触摸屏按压力度的装置还可以包括:第一触发操作模块。The device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a first trigger operation module.
第一触发操作模块,用于当按压操作的按压力度等级为第一等级时,触发所述应用的第一操作,当按压操作的按压力度等级为第二等级时,触发所述应用的第二操作。a first triggering operation module, configured to trigger a first operation of the application when a pressing force level of the pressing operation is a first level, and trigger a second operation of the application when a pressing force level of the pressing operation is a second level operating.
上述实施例中的按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应不同应用,所述第一等级对应于第一应用,所述第二等级对应于第二应用。The pressing force level in the above embodiment includes at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponds to a first application, and the second level corresponds to Second application.
则上述实施例提供的反馈触摸屏按压力度的装置还可以包括:第二触发操作模块。 The device for feeding back the touch screen pressing force provided by the foregoing embodiment may further include: a second triggering operation module.
第二触发操作模块,用于当按压操作的按压力度等级为第一等级时,触发第一应用的第一操作,当按压操作的按压力度等级为第二等级时,触发第二应用的第二操作。a second triggering operation module, configured to trigger a first operation of the first application when the pressing force level of the pressing operation is the first level, and trigger a second application of the second application when the pressing force level of the pressing operation is the second level operating.
上述实施例提供的按压力度等级包括高、中、低三个按压力度等级,所述按压力度阈值包括第一阈值和第二阈值。The pressing force level provided by the above embodiment includes three high, medium and low pressing force levels, and the pressing force threshold includes a first threshold and a second threshold.
则等级确定模块,具体用于当所述按压力度数据小于等于所述第一阈值时,确定所述按压操作的按压力度等级为低;当所述按压力度数据大于所述第一阈值且小于等于所述第二阈值时,确定所述按压操作的按压力度等级为中;当所述按压力度数据大于所述第二阈值时,确定所述按压操作的按压力度等级为高。a level determining module, configured to determine that the pressing force level of the pressing operation is low when the pressing force data is less than or equal to the first threshold; and when the pressing strength data is greater than the first threshold and less than or equal to In the second threshold, determining that the pressing force level of the pressing operation is medium; and when the pressing strength data is greater than the second threshold, determining that the pressing force level of the pressing operation is high.
上述实施例提供的反馈触摸屏按压力度的装置还可以包括:第二判断模块和压力过大提示模块。其中:The device for feeding back the pressing force of the touch screen provided by the above embodiment may further include: a second judging module and a pressure over-prompting module. among them:
第二判断模块,用于判断所述按压操作的按压力度数据是否大于等于预先设定的最大压力阈值。The second determining module is configured to determine whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold.
压力过大提示模块,用于当第二判断模块判断出所述按压操作的当前按压数据大于等于所述预先设定的最大压力阈值时,反馈按压力度过大的提示信息。The over-stressing prompting module is configured to: when the second determining module determines that the current pressing data of the pressing operation is greater than or equal to the preset maximum pressure threshold, and feedback feedback information that the pressing force is too large.
在一种可能的实现方式中,请参阅图7,示出了一种终端。本发明还提供了一种终端700,包括如上述任一技术方案所述的反馈触摸屏按压力度的装置。In one possible implementation, referring to Figure 7, a terminal is shown. The present invention also provides a terminal 700 comprising the device for feeding back the pressing force of the touch screen as described in any of the above technical solutions.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和设备,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed methods, apparatus, and devices may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. Another point that is shown or discussed between each other The coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some communication interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but the scope of the invention is to be accorded

Claims (21)

  1. 一种反馈触摸屏按压力度的方法,其特征在于,应用于具有触摸屏的终端,所述方法包括:A method for feeding back a touch screen pressing force, which is applied to a terminal having a touch screen, the method comprising:
    当检测所述触摸屏上的按压操作时,获取所述按压操作对应的按压力度数据和所述按压操作的按压位置二维坐标;When detecting a pressing operation on the touch screen, acquiring pressing force data corresponding to the pressing operation and a pressing position two-dimensional coordinate of the pressing operation;
    利用所述按压力度数据和所述按压位置二维坐标构建三维空间模型;Constructing a three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates;
    将所述三维空间模型投影成二维图像显示在所述终端的显示屏上,当所述按压操作对应的按压力度变化时,通过所述显示屏上显示的二维图像动态反馈当前的按压力度数据。Projecting the three-dimensional space model into a two-dimensional image on the display screen of the terminal, and dynamically feeding back the current pressing force through the two-dimensional image displayed on the display screen when the pressing force corresponding to the pressing operation changes data.
  2. 根据权利要求1所述的方法,其特征在于,所述利用所述按压力度数据和所述按压位置二维坐标构建三维空间模型,包括:The method according to claim 1, wherein the constructing the three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates comprises:
    将所述按压力度数据和所述按压位置二维坐标转换为三维坐标;Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates;
    利用所述三维坐标和预先获取的二维图像构建三维空间模型。A three-dimensional space model is constructed using the three-dimensional coordinates and the two-dimensional images acquired in advance.
  3. 根据权利要求1所述的方法,其特征在于,所述利用所述按压力度数据和所述按压位置二维坐标构建三维空间模型,包括:The method according to claim 1, wherein the constructing the three-dimensional space model by using the pressing force data and the pressing position two-dimensional coordinates comprises:
    将所述按压力度数据和所述按压位置二维坐标转换为三维坐标;Converting the pressing force data and the pressing position two-dimensional coordinates into three-dimensional coordinates;
    利用所述三维坐标和预先获取的二维图像构建初始三维空间模型;Constructing an initial three-dimensional space model using the three-dimensional coordinates and the two-dimensional images acquired in advance;
    将所述初始三维空间模型依据预设的美化效果进行美化处理,获得所述三维空间模型。The initial three-dimensional space model is beautified according to a preset beautification effect, and the three-dimensional space model is obtained.
  4. 根据权利要求1至3中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:
    判断所述按压操作是否为有效的按压操作;Determining whether the pressing operation is a valid pressing operation;
    当所述按压操作为有效的按压操作时,执行所述三维空间模型的构建操作。When the pressing operation is a valid pressing operation, the construction operation of the three-dimensional space model is performed.
  5. 根据权利要求4所述的方法,其特征在于,所述判断所述按压操作是否为有效的按压操作,包括:The method according to claim 4, wherein the determining whether the pressing operation is a valid pressing operation comprises:
    获取所述终端的当前状态信息;Obtaining current status information of the terminal;
    判断所述终端的当前状态信息与预先设置的状态信息是否一致; Determining whether the current state information of the terminal is consistent with the preset state information;
    当所述终端的当前状态信息与预先设置的状态信息一致时,判定所述按压操作为无效的按压操作,当所述终端的当前状态信息与预先设置的状态信息不一致时,判定所述按压操作为有效的按压操作。When the current state information of the terminal is consistent with the preset state information, it is determined that the pressing operation is an invalid pressing operation, and when the current state information of the terminal does not coincide with the preset state information, determining the pressing operation For effective pressing operations.
  6. 根据权利要求1至3中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, further comprising:
    利用所述按压力度数据和预先设置的按压力度阈值确定所述按压操作的按压力度等级,所述按压力度等级预先利用所述按压力度阈值进行划分;Determining, by using the pressing force data and a preset pressing force threshold, a pressing force level of the pressing operation, where the pressing force level is previously divided by the pressing force threshold;
    在所述显示屏的当前显示画面上显示用于指示所述按压操作的按压力度等级的指示信息。The indication information for indicating the pressing force level of the pressing operation is displayed on the current display screen of the display screen.
  7. 根据权利要求6所述的方法,其特征在于,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应于同一应用的不同操作;The method according to claim 6, wherein the pressing force level comprises at least a first level and a second level, and different ones of the pressing force levels correspond to different operations of the same application;
    则所述方法还包括:Then the method further includes:
    当所述按压操作的按压力度等级为第一等级时,触发所述应用的第一操作;When the pressing force level of the pressing operation is the first level, triggering the first operation of the application;
    当所述按压操作的按压力度等级为第二等级时,触发所述应用的第二操作。When the pressing force level of the pressing operation is the second level, the second operation of the application is triggered.
  8. 根据权利要求6所述的方法,其特征在于,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应不同应用,所述第一等级对应于第一应用,所述第二等级对应于第二应用;The method according to claim 6, wherein the pressing force level comprises at least a first level and a second level, and different ones of the pressing force levels correspond to different applications, the first level corresponding to the first An application, the second level corresponding to the second application;
    则所述方法还包括:Then the method further includes:
    当所述按压操作的按压力度等级为第一等级时,触发所述第一应用的第一操作;When the pressing force level of the pressing operation is the first level, triggering the first operation of the first application;
    当所述按压操作的按压力度等级为第二等级时,触发所述第二应用的第二操作。When the pressing force level of the pressing operation is the second level, the second operation of the second application is triggered.
  9. 根据权利要求6所述的方法,其特征在于,所述按压力度等级包括高、中、低三个按压力度等级,所述按压力度阈值包括第一阈值和第二阈值;The method according to claim 6, wherein the pressing force level comprises three high, medium and low pressing force levels, and the pressing force threshold comprises a first threshold and a second threshold;
    则利用所述按压力度数据和所述按压力度阈值确定所述按压操作的按压力度等级,具体为: And determining, by using the pressing force data and the pressing force threshold, a pressing force level of the pressing operation, specifically:
    当所述按压力度数据小于等于所述第一阈值时,确定所述按压操作的按压力度等级为低;Determining that the pressing force level of the pressing operation is low when the pressing force data is less than or equal to the first threshold;
    当所述按压力度数据大于所述第一阈值且小于等于所述第二阈值时,确定所述按压操作的按压力度等级为中;Determining that the pressing force level of the pressing operation is medium when the pressing force data is greater than the first threshold and less than or equal to the second threshold;
    当所述按压力度数据大于所述第二阈值时,确定所述按压操作的按压力度等级为高。When the pressing force data is greater than the second threshold, it is determined that the pressing force level of the pressing operation is high.
  10. 根据要求1至3中任意一项所述的方法,其特征在于,所述方法还包括:The method of any one of claims 1 to 3, wherein the method further comprises:
    判断所述按压操作的按压力度数据是否大于等于预先设定的最大压力阈值;Determining whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold;
    当所述按压操作的当前按压数据大于等于预先设定的最大压力阈值时,反馈按压力度过大的提示信息。When the current pressing data of the pressing operation is greater than or equal to a preset maximum pressure threshold, the prompting information that the pressing force is excessive is fed back.
  11. 一种反馈触摸屏按压力度的装置,其特征在于,应用于具有触摸屏的终端,所述装置包括:按压数据获取模块、三维模型构建模块和投影显示模块;A device for feeding back a pressing force of a touch screen, which is applied to a terminal having a touch screen, the device comprising: a pressing data acquiring module, a three-dimensional model building module, and a projection display module;
    所述按压数据获取模块,用于当检测到所述触摸屏上的按压操作时,获取所述按压操作对应的按压力度数据和所述按压操作的按压位置二维坐标;The pressing data acquiring module is configured to acquire, when the pressing operation on the touch screen is performed, the pressing force data corresponding to the pressing operation and the pressing position two-dimensional coordinates of the pressing operation;
    所述三维模型构建模块,用于利用所述按压数据获取模块获取的所述按压力度数据和所述按压位置二维坐标构建三维空间模型;The three-dimensional model building module is configured to construct a three-dimensional space model by using the pressing force data acquired by the pressing data acquiring module and the two-dimensional coordinates of the pressing position;
    所述投影显示模块,用于将所述三维模型构建模块构建的所述三维空间模型投影成二维图像显示在所述终端的显示屏上,当所述按压操作对应的按压力度变化时,通过所述显示屏上显示的二维图像动态反馈当前的按压力度数据。The projection display module is configured to project the three-dimensional space model constructed by the three-dimensional model building module into a two-dimensional image displayed on a display screen of the terminal, and when the pressing force corresponding to the pressing operation changes, pass The two-dimensional image displayed on the display screen dynamically feeds back the current pressing force data.
  12. 根据权利要求11所述的装置,其特征在于,所述三维模型构建模块包括:坐标转换子模块和三维模型构建子模块;The apparatus according to claim 11, wherein the three-dimensional model building module comprises: a coordinate conversion sub-module and a three-dimensional model construction sub-module;
    所述坐标转换子模块,用于将所述按压数据获取模块获取的所述按压力度数据和所述按压位置二维坐标转换为三维坐标;The coordinate conversion sub-module is configured to convert the pressing force data acquired by the pressing data acquiring module and the pressing position two-dimensional coordinates into three-dimensional coordinates;
    所述三维模型构建子模块,用于利用所述坐标转换子模块转换的所述三维坐标和预先获取的二维图像构建三维空间模型。 The three-dimensional model construction sub-module is configured to construct a three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module and a two-dimensional image acquired in advance.
  13. 根据权利要求11所述的装置,其特征在于,所述三维模型构建模块包括:坐标转换子模块、三维模型构建子模块和美化处理子模块;The apparatus according to claim 11, wherein the three-dimensional model building module comprises: a coordinate conversion sub-module, a three-dimensional model construction sub-module, and a beautification processing sub-module;
    所述坐标转换子模块,用于将所述按压数据获取模块获取的所述按压力度数据和所述按压位置二维坐标转换为三维坐标;The coordinate conversion sub-module is configured to convert the pressing force data acquired by the pressing data acquiring module and the pressing position two-dimensional coordinates into three-dimensional coordinates;
    所述三维模型构建子模块,用于利用所述坐标转换子模块转换的所述三维坐标和预先获取的二维图像构建初始三维空间模型;The three-dimensional model construction sub-module is configured to construct an initial three-dimensional space model by using the three-dimensional coordinates converted by the coordinate conversion sub-module and a two-dimensional image acquired in advance;
    所述美化处理子模块,用于将所述三维模型构建子模块构建的所述初始三维空间模型依据预设的美化效果进行美化处理,获得所述三维空间模型。The beautification processing sub-module is configured to beautify the initial three-dimensional space model constructed by the three-dimensional model construction sub-module according to a preset beautification effect, to obtain the three-dimensional space model.
  14. 根据权利要求11至13中任意一项所述的装置,其特征在于,所述装置还包括:第一判断模块;The device according to any one of claims 11 to 13, wherein the device further comprises: a first determining module;
    所述第一判断模块,用于判断所述按压操作是否为有效的按压操作,当所述按压操作为有效的按压操作时,执行所述三维模型构建模块。The first determining module is configured to determine whether the pressing operation is a valid pressing operation, and when the pressing operation is a valid pressing operation, executing the three-dimensional model building module.
  15. 根据权利要求14所述的装置,其特征在于,所述第一判断模块包括:获取子模块和判断子模块;The apparatus according to claim 14, wherein the first determining module comprises: an obtaining submodule and a determining submodule;
    所述获取子模块,用于获取所述终端的当前状态信息;The acquiring submodule is configured to acquire current state information of the terminal;
    所述判断子模块,用于判断所述终端的当前状态信息与预先设置的状态信息是否一致,当所述终端的当前状态信息与预先设置的状态信息一致时,判定所述按压操作为无效的按压操作,当所述终端的当前状态信息与预先设置的状态信息不一致时,判定所述按压操作为有效的按压操作。The determining sub-module is configured to determine whether the current state information of the terminal is consistent with the preset state information, and determine that the pressing operation is invalid when the current state information of the terminal is consistent with the preset state information. The pressing operation determines that the pressing operation is a valid pressing operation when the current state information of the terminal does not coincide with the state information set in advance.
  16. 根据权利要求11至13中任意一项所述的装置,其特征在于,所述装置还包括:等级确定模块和等级提示模块;The device according to any one of claims 11 to 13, characterized in that the device further comprises: a level determining module and a level prompting module;
    所述等级确定模块,用于利用所述按压力度数据和预先设置的按压力度阈值确定所述按压操作的按压力度等级,所述按压力度等级预先利用所述按压力度阈值进行划分;The level determining module is configured to determine a pressing force level of the pressing operation by using the pressing force data and a preset pressing force threshold, where the pressing strength level is previously divided by the pressing force threshold;
    所述等级提示模块,用于在所示显示屏的当前显示画面上显示用于指示所述按压操作的按压力度等级的指示信息。The level prompting module is configured to display indication information for indicating a pressing force level of the pressing operation on a current display screen of the display screen.
  17. 根据权利要求16所述的装置,其特征在于,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应于同一应用的不同操作; The apparatus according to claim 16, wherein said pressing force level comprises at least a first level and a second level, and different ones of said pressing force levels correspond to different operations of the same application;
    则所述装置还包括:第一触发操作模块;The device further includes: a first trigger operation module;
    所述第一触发操作模块,用于当所述按压操作的按压力度等级为第一等级时,触发所述应用的第一操作,当所述按压操作的按压力度等级为第二等级时,触发所述应用的第二操作。The first triggering operation module is configured to trigger a first operation of the application when a pressing force level of the pressing operation is a first level, and trigger when a pressing force level of the pressing operation is a second level The second operation of the application.
  18. 根据权利要求16所述的装置,其特征在于,所述按压力度等级至少包括第一等级和第二等级,所述按压力度等级中的不同压力等级对应不同应用,所述第一等级对应于第一应用,所述第二等级对应于第二应用;The apparatus according to claim 16, wherein said pressing force level comprises at least a first level and a second level, and different ones of said pressing force levels correspond to different applications, said first level corresponding to said An application, the second level corresponding to the second application;
    则所述装置还包括:所述第二触发操作模块;The device further includes: the second trigger operation module;
    所述第二触发操作模块,用于当所述按压操作的按压力度等级为第一等级时,触发所述第一应用的第一操作,当所述按压操作的按压力度等级为第二等级时,触发所述第二应用的第二操作。The second triggering operation module is configured to trigger a first operation of the first application when a pressing force level of the pressing operation is a first level, and when a pressing force level of the pressing operation is a second level And triggering a second operation of the second application.
  19. 根据权利要求16所述的装置,其特征在于,所述按压力度等级包括高、中、低三个按压力度等级,所述按压力度阈值包括第一阈值和第二阈值;The device according to claim 16, wherein the pressing force level comprises three high, medium and low pressing force levels, and the pressing force threshold comprises a first threshold and a second threshold;
    则所述等级确定模块,具体用于当所述按压力度数据小于等于所述第一阈值时,确定所述按压操作的按压力度等级为低;当所述按压力度数据大于所述第一阈值且小于等于所述第二阈值时,确定所述按压操作的按压力度等级为中;当所述按压力度数据大于所述第二阈值时,确定所述按压操作的按压力度等级为高。The level determining module is configured to determine, when the pressing force data is less than or equal to the first threshold, a pressing force level of the pressing operation is low; when the pressing force data is greater than the first threshold When the second threshold is less than or equal to the second threshold, the pressing force level of the pressing operation is determined to be medium; and when the pressing force data is greater than the second threshold, determining that the pressing force level of the pressing operation is high.
  20. 根据要求11至13中任意一项所述的装置,其特征在于,所述装置还包括:第二判断模块和压力过大提示模块;The device according to any one of claims 11 to 13, characterized in that the device further comprises: a second judging module and a pressure over-prompting module;
    所述第二判断模块,用于判断所述按压操作的按压力度数据是否大于等于预先设定的最大压力阈值,得到判断结果;The second determining module is configured to determine whether the pressing force data of the pressing operation is greater than or equal to a preset maximum pressure threshold, and obtain a determination result;
    所述压力过大提示模块,用于当所述按压操作的按压力度数据大于等于所述预先设定的最大压力阈值时,反馈按压力度过大的提示信息。The excessive pressure prompting module is configured to: when the pressing force data of the pressing operation is greater than or equal to the preset maximum pressure threshold, feedback the prompting information that the pressing force is too large.
  21. 一种终端,其特征在于,包括如权利要求11至20中任一项所述的反馈触摸屏按压力度的装置。 A terminal characterized by comprising the device for feeding back pressure of a touch screen according to any one of claims 11 to 20.
PCT/CN2016/078163 2016-03-01 2016-03-31 Method and device for feeding back pressing intensity of touchscreen, and terminal WO2017147961A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610118828.6 2016-03-01
CN201610118828.6A CN105653099B (en) 2016-03-01 2016-03-01 A kind of method and device for feeding back touch screen pressing dynamics

Publications (1)

Publication Number Publication Date
WO2017147961A1 true WO2017147961A1 (en) 2017-09-08

Family

ID=56492094

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078163 WO2017147961A1 (en) 2016-03-01 2016-03-31 Method and device for feeding back pressing intensity of touchscreen, and terminal

Country Status (2)

Country Link
CN (1) CN105653099B (en)
WO (1) WO2017147961A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107490370B (en) * 2016-06-13 2020-01-10 原相科技股份有限公司 Measuring device and operation method thereof, track sensing system and track sensing method thereof
CN106095276A (en) * 2016-06-20 2016-11-09 联想(北京)有限公司 A kind of electronic equipment and control method thereof
CN106484290A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 A kind of multistage pressing system based on proximity transducer and mobile terminal
CN106484294A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 A kind of two-stage pressing system based on proximity transducer and mobile terminal
CN106598236A (en) * 2016-11-29 2017-04-26 上海创功通讯技术有限公司 Contact pressure feedback method and apparatus
CN106886725A (en) * 2016-12-31 2017-06-23 深圳天珑无线科技有限公司 A kind of method and hand-held device that contact panel deformation is judged by pressure-sensitive
CN107158701B (en) * 2017-05-16 2018-08-31 广州四三九九信息科技有限公司 The reminding method and device of outgoing dynamics
CN107576261A (en) * 2017-08-31 2018-01-12 上海摩软通讯技术有限公司 Texture acquirement method and mobile terminal
CN107861622A (en) * 2017-11-29 2018-03-30 珠海市魅族科技有限公司 Touch-control feedback method, equipment, computer-readable recording medium and computer installation
CN108958621A (en) * 2018-05-29 2018-12-07 Oppo广东移动通信有限公司 information display method, device and mobile terminal
CN109109634A (en) * 2018-07-16 2019-01-01 常州星宇车灯股份有限公司 A kind of vehicle dormer window with scalable flexible display screen
CN109062481A (en) * 2018-07-25 2018-12-21 北京小米智能科技有限公司 Image rendering method and device
CN109144393B (en) 2018-08-28 2020-08-07 维沃移动通信有限公司 Image display method and mobile terminal
CN110427131B (en) * 2019-07-26 2021-04-06 珠海豹趣科技有限公司 Animation display method and device based on pressing
CN112738332A (en) * 2019-10-10 2021-04-30 华为技术有限公司 Electronic equipment interaction method and electronic equipment
CN111274044B (en) * 2020-01-13 2023-08-15 奇安信科技集团股份有限公司 GPU (graphics processing unit) virtualized resource limitation processing method and device
CN115237304A (en) * 2021-04-22 2022-10-25 华为技术有限公司 Interface display method, electronic device and computer readable medium
CN115938244B (en) * 2023-02-20 2023-06-02 深圳市英唐数码科技有限公司 Multi-pen-shaped adaptive electronic paper book display method, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841696A (en) * 2011-06-24 2012-12-26 国基电子(上海)有限公司 Electronic equipment and password input method thereof
CN102981743A (en) * 2011-09-05 2013-03-20 联想(北京)有限公司 Method for controlling operation object and electronic device
CN105204759A (en) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 Picture processing method and electronic terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841696A (en) * 2011-06-24 2012-12-26 国基电子(上海)有限公司 Electronic equipment and password input method thereof
CN102981743A (en) * 2011-09-05 2013-03-20 联想(北京)有限公司 Method for controlling operation object and electronic device
CN105204759A (en) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 Picture processing method and electronic terminal

Also Published As

Publication number Publication date
CN105653099A (en) 2016-06-08
CN105653099B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
WO2017147961A1 (en) Method and device for feeding back pressing intensity of touchscreen, and terminal
US10750121B2 (en) Modifying images from a camera
CN107256555B (en) Image processing method, device and storage medium
WO2017054605A1 (en) Picture processing method and device
CN109670427B (en) Image information processing method and device and storage medium
WO2019034142A1 (en) Three-dimensional image display method and device, terminal, and storage medium
US9445043B2 (en) Modifying video call data
WO2016041340A1 (en) An indication method and mobile terminal
WO2018120238A1 (en) File processing device and method, and graphical user interface
CN109948093B (en) Expression picture generation method and device and electronic equipment
WO2020078319A1 (en) Gesture-based manipulation method and terminal device
EP2775704A2 (en) A conference call terminal and method for operating user interface thereof
WO2018120127A1 (en) Virtual reality device and incoming call management method therefor
US11321280B2 (en) Multimedia file sharing method and terminal device
US20230333803A1 (en) Enhanced Screen Sharing Method and System, and Electronic Device
WO2022121537A1 (en) Message sending method and apparatus, message receiving method and apparatus, and electronic device
CN108243275B (en) Incoming call reminding method and virtual reality equipment
CN113645476B (en) Picture processing method and device, electronic equipment and storage medium
CN111178306A (en) Display control method and electronic equipment
WO2022151687A1 (en) Group photo image generation method and apparatus, device, storage medium, computer program, and product
CN109257491B (en) Message management method and electronic equipment
JP2015186199A5 (en)
KR101407939B1 (en) Method of providing drawing conference service based on touch events, and computer-readable recording medium with drawing conference program for the same
CN113542206B (en) Image processing method, device and computer readable storage medium
US10721437B2 (en) Terminal and server for providing video call service

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16892152

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16892152

Country of ref document: EP

Kind code of ref document: A1