WO2017076017A1 - Method and apparatus for operating application - Google Patents

Method and apparatus for operating application Download PDF

Info

Publication number
WO2017076017A1
WO2017076017A1 PCT/CN2016/087572 CN2016087572W WO2017076017A1 WO 2017076017 A1 WO2017076017 A1 WO 2017076017A1 CN 2016087572 W CN2016087572 W CN 2016087572W WO 2017076017 A1 WO2017076017 A1 WO 2017076017A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure value
application
pressure
touch operation
touch
Prior art date
Application number
PCT/CN2016/087572
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 WO2017076017A1 publication Critical patent/WO2017076017A1/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/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Definitions

  • the present application relates to, but is not limited to, the field of communications, and more particularly to a method and apparatus for operating an application.
  • the size of the icon of the desktop launcher launcher interface of the desk system cannot be automatically adjusted.
  • the enlargement of the picture and the text is achieved by the reverse sliding of the two fingers.
  • the size of smart terminals has become larger and larger, and many terminals are unable to operate with one hand, although in many cases users can perform reverse sliding of two fingers by two-hand operation, but in many cases, users cannot Two-finger operation is realized by one-hand operation. For example, when crowding a subway or a bus, the user needs one hand to hold it in the case of a large number of people, and can only operate with one hand and cannot slide backward through the two fingers.
  • this method is also very unsuitable for a special group of people; thus, the above-mentioned manner of operating the terminal by two-finger sliding in the related art is difficult to meet the needs of the user, and the user experience is not high.
  • the invention provides a method and a device for applying the operation, so as to at least solve the problem that the enlargement of the picture and the text is difficult to meet the user's needs by the reverse sliding of the two fingers in the related art.
  • a method for applying an operation includes: acquiring a pressure value of a touch operation on a touch screen of a terminal; and performing an application operation corresponding to the pressure value.
  • the obtaining the pressure value of the touch operation on the touch screen of the terminal comprises: determining whether the touch operation is a click touch operation when the touch operation is detected on the touch screen of the terminal; and if the determination result is yes, obtaining the Determining the duration of the touch operation; and obtaining the pressure value of the touch operation when the duration of the touch operation is greater than or equal to the preset time threshold.
  • the performing an application operation corresponding to the pressure value includes: determining whether the pressure value is greater than or equal to a preset pressure threshold; and after determining that the result is YES, determining, according to the magnitude of the pressure value, starting the Apply different modes.
  • the determining, according to the magnitude of the pressure value, different modes of starting the application includes: starting a first mode of the application when the pressure value is greater than or equal to a preset pressure threshold; When the value is less than the preset pressure threshold, the second mode of the application is initiated.
  • the performing an application operation corresponding to the pressure value includes: determining whether the pressure value is greater than or equal to a preset pressure threshold; and after determining that the result is YES, adjusting the application according to the change of the pressure value The parameter value.
  • adjusting the parameter value of the application according to the change of the pressure value comprises: performing an operation of enlarging the application according to the increase of the pressure value, and performing performing the reduction of the application according to a decrease in the pressure value Or the operation of reducing the application is performed according to the increase in the pressure value, and the operation of enlarging the application is performed according to the decrease in the pressure value.
  • the method before acquiring the pressure value of the touch operation on the touch screen of the terminal, the method further includes: configuring a correspondence between the pressure value of the touch operation and the application operation.
  • an apparatus for applying an operation including: an obtaining module, configured to: acquire a pressure value of a touch operation on a touch screen of the terminal; and execute an module, configured to: execute the pressure value Corresponding application operations.
  • the acquiring module includes: a first determining unit, configured to: determine, when the touch operation is detected on the touch screen of the terminal, whether the touch operation is a click touch operation; the first acquiring unit is configured to: If the result of the determination is yes, the duration of the click touch operation is obtained; and the second obtaining unit is configured to: obtain the click touch operation if the duration of the click touch operation is greater than or equal to the preset time threshold The value of the pressure.
  • the executing module includes: a second determining unit, configured to: determine whether the pressure value is greater than or equal to a preset pressure threshold; and the starting unit is configured to: after the determination result is yes, according to the pressure value
  • the size determines the different modes in which the application is launched.
  • the activation unit includes: a first activation subunit, configured to: when the pressure value is greater than or equal to a preset pressure threshold, initiate a first mode of the application; the second activation subunit, The method is configured to: when the pressure value is less than a preset pressure threshold, initiate a second mode of the application.
  • the executing module includes: a third determining unit, configured to: determine whether the pressure value is greater than or equal to a preset pressure threshold; and the adjusting unit is configured to: after the determining result is yes, according to the pressure value The change in the parameter value of the application is adjusted.
  • the adjusting unit includes: a first adjusting subunit, configured to perform an operation of enlarging the application according to the increase of the pressure value, and performing a reduction of the application according to a decrease in the pressure value
  • the second adjustment subunit is configured to perform an operation of reducing the application according to the increase of the pressure value, and performing an operation of enlarging the application according to a decrease in the pressure value.
  • the device further includes: a configuration module, configured to: configure a correspondence between the pressure value of the touch operation and the application operation.
  • a configuration module configured to: configure a correspondence between the pressure value of the touch operation and the application operation.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implements the above method.
  • the pressure value of the touch operation on the touch screen of the terminal is acquired, and the application operation corresponding to the pressure value is performed; that is, in this embodiment, the user can perform the application operation according to the pressure value of the touch operation. That is, the user can perform an application operation according to the pressure value of the touch of the single finger in the case of one-hand operation, thereby solving the problem that the zooming of the picture and the text is difficult to satisfy the user's demand by the reverse sliding of the two fingers in the related art. Improve the user experience.
  • FIG. 1 is a flow chart of a method of an application operation in accordance with an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for operating an application according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • FIG. 5 is a block diagram 3 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 4 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • FIG. 7 is a block diagram 5 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • FIG. 8 is a block diagram 6 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • FIG. 9 is a flow chart of a method for adjusting a picture size according to a magnitude of a touch pressure according to an alternative embodiment of the present invention.
  • FIG. 10 is a flow chart of a method for adjusting the size of a text interface according to the magnitude of the touch pressure according to an alternative embodiment of the present invention
  • FIG. 11 is a flow chart of a method for adjusting an application size according to a magnifying glass effect and a magnitude of a touch pressure, in accordance with an alternative embodiment of the present invention
  • FIG. 12 is a flow chart of a method of operating a mode with a pressure screen terminal in a safe mode of an open application, in accordance with an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for applying an operation according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 Acquire a pressure value of a touch operation on the touch screen of the terminal
  • Step S104 Perform an application operation corresponding to the pressure value.
  • the pressure value of the touch operation on the touch screen of the terminal is acquired, and the application operation corresponding to the pressure value is performed; that is, in this embodiment, the user can perform the touch operation according to the touch operation.
  • the pressure value is used to perform an application operation, that is, the user can perform an application operation according to the pressure value of the touch of a single finger in the case of one-hand operation, thereby solving the related
  • the reverse sliding of the two fingers is used to realize the problem that the enlargement of the picture and the text is difficult to meet the user's needs, and the effect of improving the user experience is achieved.
  • the method may be implemented as follows:
  • Step S102-1 When detecting a touch operation on the touch screen of the terminal, determining whether the touch operation is a click touch operation;
  • Step S102-2 In the case that the determination result is yes, the duration of the click touch operation is acquired
  • Step S102-3 In the case where the duration of the click touch operation is greater than or equal to the preset time threshold, the pressure value of the click touch operation is acquired.
  • the manner of obtaining the pressure value of the touch operation may be determined by the duration of the touch operation in an optional embodiment of the embodiment, and the duration exceeds the pre- When the time threshold is set, the pressure value of the touch operation is obtained, but it should be noted that, in this embodiment, the manner of determining the pressure value of the touch operation is determined by the duration, which is only an optional manner in this embodiment, in the embodiment.
  • the other manners may also be implemented by means of a physical button, that is, an operation of acquiring a pressure value of a touch operation on the touch screen of the terminal by a physical button; or starting by a software, that is, starting the operation in the terminal software setting. That is to say, in this embodiment, there are various ways of starting to obtain the pressure value, and the corresponding setting can be performed according to actual needs;
  • the touch operation involved in the embodiment may be a click touch operation, and if it is a sliding touch operation, may be ignored; or an application operation corresponding to the pre-configured sliding operation may be performed.
  • the manner of performing the application operation corresponding to the pressure value involved in the step S104 in the embodiment may be implemented in the following manner in an optional implementation manner of the embodiment:
  • Step S104-1 determining whether the pressure value is greater than or equal to a preset pressure threshold
  • Step S104-2 After the determination result is YES, it is determined according to the magnitude of the pressure value to start the application different mode.
  • the pressure value is to be executed
  • the application operation is that the pressure value of the touch operation is greater than the preset pressure threshold, after which the different modes of the application can be determined according to the magnitude of the pressure value.
  • the manner of starting different modes of the application is determined according to the magnitude of the pressure value.
  • the first mode of the application may be started when the pressure value is greater than or equal to the preset pressure threshold;
  • the second mode of the application is launched.
  • the application is prohibited from entering the general mode of the application, and when the pressure value is greater than or equal to the preset pressure threshold, the security mode of the application is entered; It should be noted that, here is merely an example, and for different applications, different modes are started, and the user can perform corresponding settings as needed.
  • the method may be implemented as follows:
  • Step S104-3 determining whether the pressure value is greater than or equal to a preset pressure threshold
  • Step S104-4 After the determination result is YES, the parameter value of the application is adjusted according to the change of the pressure value.
  • the above-mentioned step S104-2 determines the manner of starting different modes of the application according to the magnitude of the pressure value.
  • the pressure value is greater than or equal to the preset pressure.
  • the applied parameter value is adjusted according to the change of the pressure value; in the actual application scenario, the parameter value adjustment of the application may be enlargement or reduction of the picture, enlargement or reduction of the text, etc., that is, the pressure value may be increased.
  • the operation of enlarging the application is performed, and the operation of reducing the application is performed according to the decrease in the pressure value; or the operation of reducing the application is performed according to the increase in the pressure value, and the operation of enlarging the application is performed according to the decrease in the pressure value.
  • the operation of reducing the application is performed according to the decrease in the pressure value.
  • the method of the embodiment further includes: configuring a correspondence between the pressure value of the touch operation and the application operation.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course It can be done through hardware, but in many cases the former is a better implementation.
  • the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making A terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) performs the method described in the embodiments of the present invention.
  • an apparatus for applying the operation is further provided, and the apparatus is used to implement the above-mentioned embodiments and optional embodiments, and details have been omitted for description.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: an obtaining module 22 configured to: acquire a pressure value of a touch operation on a touch screen of the terminal; and execute the module 24, and
  • the acquisition module 22 is coupled and configured to perform an application operation corresponding to the pressure value.
  • FIG. 3 is a block diagram of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • the acquiring module 22 includes: a first determining unit 32 configured to: when a touch operation is detected on the touch screen of the terminal And determining whether the touch operation is a click touch operation; the first obtaining unit 34 is coupled to the first determining unit 32, and is configured to: when the determination result is yes, obtain a duration of the click touch operation; the second obtaining unit 36, The first acquisition unit 32 is coupled to the first acquisition unit 32, and is configured to acquire a pressure value of the touch operation when the duration of the touch operation is greater than or equal to the preset time threshold.
  • the execution module 24 includes: a second determining unit 42 configured to: determine whether the pressure value is greater than or equal to a preset. The pressure threshold; the starting unit 44 is coupled to the second determining unit 42 and is configured to: after the determination result is YES, determine to start the application different mode according to the magnitude of the pressure value.
  • FIG. 5 is a block diagram 3 of an optional structure of an apparatus for applying an operation according to an embodiment of the present invention.
  • the starting unit 44 includes: a first promoter unit 52, configured to: the pressure value is greater than or equal to a preset. The first mode of the application is initiated when the pressure threshold is reached; the second activation sub-unit 54 is configured to activate the second mode of the application when the pressure value is less than the preset pressure threshold.
  • FIG. 6 is a block diagram of an optional structure of an apparatus for applying an operation according to an embodiment of the present invention.
  • the execution module 24 includes: a third determining unit 62 configured to: determine whether the pressure value is greater than or equal to a preset. The pressure threshold; the adjusting unit 64 is coupled to the third determining unit 62, and is configured to: after the determination result is YES, adjust the applied parameter value according to the change of the pressure value.
  • the adjusting unit 64 includes: a first adjusting subunit 72 configured to perform according to an increase in a pressure value. The operation of the zoom-in application is performed, and the operation of reducing the application is performed according to the decrease in the pressure value; or the second adjustment sub-unit 74 is set to perform the operation of reducing the application according to the increase in the pressure value, and the change according to the pressure value. Small and perform the operation of zooming in on the application.
  • FIG. 8 is a block diagram of an optional structure of an apparatus for operating an application according to an embodiment of the present invention.
  • the apparatus of the present embodiment includes: a configuration module 82 and an acquisition module 22 in addition to the apparatus shown in FIG. 2 .
  • the coupling connection is set to: configure a correspondence between the pressure value of the touch operation and the application operation.
  • modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
  • the optional embodiment provides a method for operating a terminal, and the steps of the method include:
  • Step S202 setting an enlargement/reduction ratio corresponding to different pressures in the application, and opening the application, such as a gallery.
  • Step S204 When a finger touches the screen, the touch screen chip implements the acquisition contact coordinates and reports, the pressure sensor collects the touch pressure in real time and reports, simultaneously starts the timer, and starts timing.
  • Step S206 When the finger is still not raised after a certain time t, the application performs corresponding processing according to the change of the received touch pressure, such as enlargement/reduction of the icon or the text.
  • Application scenario 1 Used to adjust the size of the image.
  • long press + contact pressure becomes larger can achieve the function of picture enlargement
  • long press + contact pressure becomes smaller to achieve picture reduction work Yes the picture is raised back to the original size, that is, the picture becomes larger as the contact pressure becomes larger, becoming smaller and smaller.
  • the one-handed handshaking can realize the enlargement and reduction of the picture, and the two effects can be achieved without the simultaneous operation of the two fingers, which simplifies the operation steps and improves the user experience.
  • FIG. 9 is a flowchart of a method for adjusting a picture size according to a magnitude of a touch pressure according to an alternative embodiment of the present invention. As shown in FIG. 9, the steps of the method include:
  • Step S902 open the gallery application on the touch screen mobile terminal, and open a picture
  • Step S904 when the touch chip detects that there is a finger touch, turn on the timer and start timing, and turn on the pressure sensor;
  • Step S906 the touch chip collects the contact coordinates in real time, and the pressure sensor collects the touch pressure in real time and reports it;
  • Step S908 before the time arrives at time t, whether the finger is in a click state instead of sliding; when the finger is sliding, step S910 is performed, and when the finger is clicked, step S912 is performed;
  • Step S910 the application responds to the sliding operation, and turns off the timer
  • Step S912 before the time reaches the time t, it is determined whether the finger has been lifted; when the finger in the click state has been lifted before the time t arrives, step S914 is performed; when the finger in the click state exceeds t, the click is still clicked. In the state, step S916 is performed;
  • Step S914 the application responds to the short press operation, and turns off the timer
  • Step S916 the timer is turned off, and the application analyzes the received touch pressure
  • Step S918 determining whether the maximum touch pressure in the t period exceeds the pressure threshold P; if the touch pressure in the t period does not exceed the pressure threshold P, executing step S920; if the touch pressure in the t period exceeds the pressure threshold P , step S922 is performed;
  • Step S920 the application responds to the long press operation
  • Step S922 the library application analyzes the received touch pressure and the data of the report point coordinates, and the picture is centered on the contact coordinate position, and the picture becomes larger as the touch pressure becomes larger, and then becomes smaller and smaller;
  • step S924 when the finger is raised, the original size of the picture is restored.
  • Application scenario 2 Used to adjust the size of icons and documents.
  • icon interface of Lancher long press + contact pressure becomes larger / smaller, can achieve the function of icon enlargement / reduction; in the word document community Face, excel interface, and other interfaces, long press + contact pressure becomes larger / smaller, can achieve text zoom / zoom function. This function is very suitable for the elderly, and it can be done with one hand, simple and effective.
  • FIG. 10 is a flow chart of a method for adjusting the size of a text interface according to the magnitude of the touch pressure according to an alternative embodiment of the present invention.
  • the application of the touch pressure in a text interface such as a lancher interface or a woard document, the steps of the method. include:
  • Step S1002 in the lancher icon interface of the mobile terminal or a word interface such as word, excel, novel reading, short message, etc.;
  • step S1004 when the touch chip detects that there is a finger touch, the timer is started and timing is started, and the pressure sensor is turned on;
  • Step S1006 the touch chip collects the contact coordinates in real time, and the pressure sensor collects the touch pressure in real time and reports it;
  • Step S1008 before the time reaches the time t, whether the finger is in a click state instead of sliding;
  • Step S1010 if the finger is in a sliding state, the application responds to the sliding operation, and turns off the timer;
  • Step S1012 if the finger is in the click state, before the time reaches the time t, it is determined whether the finger has been lifted;
  • Step S1014 if the finger in the click state has been lifted before the time t arrives, the application responds to the short press operation and turns off the timer;
  • Step S1016 if the finger in the click state is still in the click state when t is exceeded, the application analyzes the received touch pressure
  • Step S1018 determining whether the maximum touch pressure in the t period exceeds the pressure threshold P;
  • Step S1020 if the touch pressure in the t period does not exceed the pressure threshold P, the application responds to the long press operation;
  • Step S1022 if the touch pressure in the t period exceeds the pressure threshold P, the timer starts to re-time, and the accumulated time of the same touch pressure is counted;
  • Step S1024 the application adjusts the font or icon in real time as the touch pressure becomes larger, and then changes Small but real-time small fonts or icons;
  • step S1026 when the finger is raised, the timer is turned off, and the size of the final text or icon is determined according to the pressure of the longest contact time.
  • Application scenario 3 It can be used for security protection of the terminal. For example, when an icon is clicked, the application can be opened when the maximum contact pressure exceeds a certain threshold from the pressing to the lifting process, or the application can be accessed.
  • the security model is designed to achieve simple and effective protection for user privacy or important data.
  • FIG. 11 is a flow chart of a method for adjusting an application size according to a magnifying glass effect and a magnitude of a touch pressure according to an alternative embodiment of the present invention. As shown in FIG. 11, the steps of the method include:
  • Step S1102 setting a parameter of an enlargement radius corresponding to different pressure magnitudes by an application such as a gallery or a word, and opening an application;
  • Step S1104 When the touch chip detects that there is a finger touch, the timer is started and timing is started, and the pressure sensor is turned on;
  • Step S1106 the touch chip collects the contact coordinates in real time, and the pressure sensor collects the touch pressure in real time and reports it;
  • Step S1110 if the finger is in the sliding state, the application responds to the sliding operation, and turns off the timer;
  • Step S1112 if the finger is in the click state, before the time reaches the time t, it is determined whether the finger has been lifted;
  • Step S1114 if the finger in the click state has been lifted before the time t arrives, the application responds to the short press operation and turns off the timer;
  • Step S1116 If the finger in the click state is still in the click state when t is exceeded, the timer is turned off, and the application analyzes the received touch pressure;
  • Step S1120 If the touch pressure in the t period does not exceed the pressure threshold P, the application responds to the long press operation;
  • step S1122 if the touch pressure in the t period exceeds the pressure threshold P, the application is centered on the contact, and the enlarged area of the picture or the text becomes larger as the touch pressure becomes larger, and becomes smaller and smaller. At the same time, in the magnified area, with the contact as the center, the zoom level becomes gradually smaller, realizing the effect of the magnifying glass;
  • step S1124 when the finger is raised, the size of the text or the image is restored to the original size.
  • Application scenario 4 Different functions can be realized by different contact pressures. Pressure touch can not only reduce the number of buttons, but also provide more control effects, such as volume and brightness adjustment. For example, the game can be implemented by pressure touch. Convenient human-computer interaction.
  • FIG. 12 is a flowchart of a method for operating a security mode of an application with a pressure screen terminal according to an alternative embodiment of the present invention. As shown in FIG. 12, the steps of the method include:
  • Step S1202 setting the security mode of the application A corresponding to the size of the touch pressure, that is, setting the threshold N, and the setting can be customized;
  • Step S1204 the user clicks the icon of the application A, and the pressure sensor collects and reports the touch pressure value to the application A in real time;
  • Step S1206 the application A analyzes the received data to determine whether the maximum touch pressure exceeds the threshold N;
  • Step S1208 if the maximum touch pressure does not exceed the threshold N, the finger is not allowed to open the application or enter the general mode of the application;
  • step S1210 if the maximum touch pressure exceeds the threshold N, the finger is raised to open the application or enter the safe mode of the application.
  • the definition of the touch function is enriched by increasing the dimension of the touch pressure, and the picture can become larger as the contact pressure becomes larger, and the table becomes smaller and smaller; the icon or the text can pass through the finger.
  • Contact pressure to adjust the size; different contact pressures can be used to enter different modes of application. That is, the function that can be realized by multiple hands or multiple fingers can be realized by one finger with one hand.
  • the effect of the magnifying glass can be realized by pressure touch, and the user experience is greatly improved.
  • the application of security mode can make mobile terminals more secure and hidden. Strong, faster than entering a password.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 acquiring a pressure value of a touch operation on the touch screen of the terminal
  • Step S2 Perform an application operation corresponding to the pressure value.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein.
  • the steps shown or described are either fabricated as integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
  • the user can perform an application operation according to the pressure value of the touch operation, that is, the user can perform an application operation according to the pressure value of the touch of the single finger in the case of one-hand operation, thereby solving the related art through the two fingers. Reverse sliding to achieve the problem that the enlargement of pictures and texts is difficult to meet the needs of users, and the effect of improving the user experience is achieved.

Landscapes

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

Abstract

A method and apparatus for operating an application. The method comprises: acquiring a pressure value of a touch operation on a touchscreen of a terminal (S102); and performing an application operation corresponding to the pressure value (S104).

Description

应用操作的方法及装置Application method and device 技术领域Technical field
本申请涉及但不限于通信领域,尤指一种应用操作的方法及装置。The present application relates to, but is not limited to, the field of communications, and more particularly to a method and apparatus for operating an application.
背景技术Background technique
在目前的智能终端中,安桌***桌面启动器launcher界面的图标的大小是不能自动调节的。对于图片和文字的放大,都是通过双指的反向滑动来实现的。然而,目前智能终端的尺寸已经越来越大,很多终端都已经无法单手操作,虽然在很多情况下用户可以通过双手操作来实现双指的反向滑动,但也在很多情况下,用户无法通过单手操作来实现双指的操作,例如在挤地铁或公交时,在人多的情况下用户都需要一只手来扶住,只能单手操作,而无法通过双指的反向滑动来实现的;此外,对于特殊人群来说该方式也是非常不合适的;由此可见,相关技术中的上述通过双指滑动来操作终端的方式难以满足用户的需求,用户的体验度不高。In the current smart terminal, the size of the icon of the desktop launcher launcher interface of the desk system cannot be automatically adjusted. The enlargement of the picture and the text is achieved by the reverse sliding of the two fingers. However, at present, the size of smart terminals has become larger and larger, and many terminals are unable to operate with one hand, although in many cases users can perform reverse sliding of two fingers by two-hand operation, but in many cases, users cannot Two-finger operation is realized by one-hand operation. For example, when crowding a subway or a bus, the user needs one hand to hold it in the case of a large number of people, and can only operate with one hand and cannot slide backward through the two fingers. In addition, this method is also very unsuitable for a special group of people; thus, the above-mentioned manner of operating the terminal by two-finger sliding in the related art is difficult to meet the needs of the user, and the user experience is not high.
针对相关技术中的上述问题,目前尚未存在有效的解决方案For the above problems in the related art, there is currently no effective solution.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供了一种应用操作的方法及装置,以至少解决相关技术中通过双指的反向滑动来实现对于图片和文字的放大难以满足用户需求的问题。The invention provides a method and a device for applying the operation, so as to at least solve the problem that the enlargement of the picture and the text is difficult to meet the user's needs by the reverse sliding of the two fingers in the related art.
根据本发明实施例的一个方面,提供了一种应用操作的方法,包括:获取终端触摸屏上的触摸操作的压力值;执行与所述压力值对应的应用操作。According to an aspect of an embodiment of the present invention, a method for applying an operation includes: acquiring a pressure value of a touch operation on a touch screen of a terminal; and performing an application operation corresponding to the pressure value.
可选地,获取终端触摸屏上的触摸操作的压力值包括:在所述终端触摸屏上检测到触摸操作时,判断所述触摸操作是否为点击触摸操作;在判断结果为是的情况下,获取所述点击触摸操作的时长;在所述点击触摸操作的时长大于或等于预设时间阈值的情况下,获取所述点击触摸操作的压力值。 Optionally, the obtaining the pressure value of the touch operation on the touch screen of the terminal comprises: determining whether the touch operation is a click touch operation when the touch operation is detected on the touch screen of the terminal; and if the determination result is yes, obtaining the Determining the duration of the touch operation; and obtaining the pressure value of the touch operation when the duration of the touch operation is greater than or equal to the preset time threshold.
可选地,所述执行与所述压力值对应的应用操作包括:判断所述压力值是否大于或等于预设压力阈值;在判断结果为是后,根据所述压力值的大小确定启动所述应用不同模式。Optionally, the performing an application operation corresponding to the pressure value includes: determining whether the pressure value is greater than or equal to a preset pressure threshold; and after determining that the result is YES, determining, according to the magnitude of the pressure value, starting the Apply different modes.
可选地,所述根据所述压力值的大小确定启动所述应用的不同模式包括:在所述压力值大于或等于预设压力阈值时,启动所述应用的第一模式;在所述压力值小于预设压力阈值时,启动所述应用的第二模式。Optionally, the determining, according to the magnitude of the pressure value, different modes of starting the application includes: starting a first mode of the application when the pressure value is greater than or equal to a preset pressure threshold; When the value is less than the preset pressure threshold, the second mode of the application is initiated.
可选地,所述执行与所述压力值对应的应用操作包括:判断所述压力值是否大于或等于预设压力阈值;在判断结果为是后,根据所述压力值的变化调节所述应用的参数值。Optionally, the performing an application operation corresponding to the pressure value includes: determining whether the pressure value is greater than or equal to a preset pressure threshold; and after determining that the result is YES, adjusting the application according to the change of the pressure value The parameter value.
可选地,根据所述压力值的变化调节所述应用的参数值包括:根据所述压力值的变大而执行放大所述应用的操作,以及根据压力值的变小而执行缩小所述应用的操作;或,根据所述压力值的变大而执行缩小所述应用的操作,以及根据压力值的变小而执行放大所述应用的操作。Optionally, adjusting the parameter value of the application according to the change of the pressure value comprises: performing an operation of enlarging the application according to the increase of the pressure value, and performing performing the reduction of the application according to a decrease in the pressure value Or the operation of reducing the application is performed according to the increase in the pressure value, and the operation of enlarging the application is performed according to the decrease in the pressure value.
可选地,在获取终端触摸屏上的触摸操作的压力值之前,所述方法还包括:配置所述触摸操作的压力值与所述应用操作之间的对应关系。Optionally, before acquiring the pressure value of the touch operation on the touch screen of the terminal, the method further includes: configuring a correspondence between the pressure value of the touch operation and the application operation.
根据本发明实施例的另一个方面,提供了一种应用操作的装置,包括:获取模块,设置为:获取终端触摸屏上的触摸操作的压力值;执行模块,设置为:执行与所述压力值对应的应用操作。According to another aspect of the embodiments of the present invention, an apparatus for applying an operation is provided, including: an obtaining module, configured to: acquire a pressure value of a touch operation on a touch screen of the terminal; and execute an module, configured to: execute the pressure value Corresponding application operations.
可选地,所述获取模块包括:第一判断单元,设置为:在所述终端触摸屏上检测到触摸操作时,判断所述触摸操作是否为点击触摸操作;第一获取单元,设置为:在判断结果为是的情况下,获取所述点击触摸操作的时长;第二获取单元,设置为:在所述点击触摸操作的时长大于或等于预设时间阈值的情况下,获取所述点击触摸操作的压力值。Optionally, the acquiring module includes: a first determining unit, configured to: determine, when the touch operation is detected on the touch screen of the terminal, whether the touch operation is a click touch operation; the first acquiring unit is configured to: If the result of the determination is yes, the duration of the click touch operation is obtained; and the second obtaining unit is configured to: obtain the click touch operation if the duration of the click touch operation is greater than or equal to the preset time threshold The value of the pressure.
可选地,所述执行模块包括:第二判断单元,设置为:判断所述压力值是否大于或等于预设压力阈值;启动单元,设置为:在判断结果为是后,根据所述压力值的大小确定启动所述应用不同模式。Optionally, the executing module includes: a second determining unit, configured to: determine whether the pressure value is greater than or equal to a preset pressure threshold; and the starting unit is configured to: after the determination result is yes, according to the pressure value The size determines the different modes in which the application is launched.
可选地,所述启动单元包括:第一启动子单元,设置为:在所述压力值大于或等于预设压力阈值时,启动所述应用的第一模式;第二启动子单元, 设置为:在所述压力值小于预设压力阈值时,启动所述应用的第二模式。Optionally, the activation unit includes: a first activation subunit, configured to: when the pressure value is greater than or equal to a preset pressure threshold, initiate a first mode of the application; the second activation subunit, The method is configured to: when the pressure value is less than a preset pressure threshold, initiate a second mode of the application.
可选地,所述执行模块包括:第三判断单元,设置为:判断所述压力值是否大于或等于预设压力阈值;调节单元,设置为:在判断结果为是后,根据所述压力值的变化调节所述应用的参数值。Optionally, the executing module includes: a third determining unit, configured to: determine whether the pressure value is greater than or equal to a preset pressure threshold; and the adjusting unit is configured to: after the determining result is yes, according to the pressure value The change in the parameter value of the application is adjusted.
可选地,所述调节单元包括:第一调节子单元,设置为:根据所述压力值的变大而执行放大所述应用的操作,以及根据压力值的变小而执行缩小所述应用的操作;或,第二调节子单元,设置为:根据所述压力值的变大而执行缩小所述应用的操作,以及根据压力值的变小而执行放大所述应用的操作。Optionally, the adjusting unit includes: a first adjusting subunit, configured to perform an operation of enlarging the application according to the increase of the pressure value, and performing a reduction of the application according to a decrease in the pressure value Or the second adjustment subunit is configured to perform an operation of reducing the application according to the increase of the pressure value, and performing an operation of enlarging the application according to a decrease in the pressure value.
可选地,所述装置还包括:配置模块,设置为:配置所述触摸操作的压力值与所述应用操作之间的对应关系。Optionally, the device further includes: a configuration module, configured to: configure a correspondence between the pressure value of the touch operation and the application operation.
根据本发明实施例的另一个方面,提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述方法。According to another aspect of an embodiment of the present invention, a computer readable storage medium storing computer executable instructions that, when executed by a processor, implements the above method.
通过本发明实施例,采用获取终端触摸屏上的触摸操作的压力值,并执行与压力值对应的应用操作;也就是说,在本实施例中用户可以根据触摸操作的压力值来执行应用操作,即用户可以在单手操作的情况根据单个手指的触摸的压力值执行应用操作,从而解决了相关技术中通过双指的反向滑动来实现对于图片和文字的放大难以满足用户需求的问题,达到了提高用户体验的效果。According to the embodiment of the present invention, the pressure value of the touch operation on the touch screen of the terminal is acquired, and the application operation corresponding to the pressure value is performed; that is, in this embodiment, the user can perform the application operation according to the pressure value of the touch operation. That is, the user can perform an application operation according to the pressure value of the touch of the single finger in the case of one-hand operation, thereby solving the problem that the zooming of the picture and the text is difficult to satisfy the user's demand by the reverse sliding of the two fingers in the related art. Improve the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是根据本发明实施例的应用操作的方法的流程图;1 is a flow chart of a method of an application operation in accordance with an embodiment of the present invention;
图2是根据本发明实施例的应用操作的装置的结构框图;2 is a structural block diagram of an apparatus for operating an application according to an embodiment of the present invention;
图3是根据本发明实施例的应用操作的装置的可选结构框图一;3 is a block diagram 1 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention;
图4是根据本发明实施例的应用操作的装置的可选结构框图二;4 is a block diagram 2 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention;
图5是根据本发明实施例的应用操作的装置的可选结构框图三; 5 is a block diagram 3 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention;
图6是根据本发明实施例的应用操作的装置的可选结构框图四;6 is a block diagram 4 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention;
图7是根据本发明实施例的应用操作的装置的可选结构框图五;7 is a block diagram 5 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention;
图8是根据本发明实施例的应用操作的装置的可选结构框图六;8 is a block diagram 6 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention;
图9是根据本发明可选实施例根据触摸压力的大小来调节图片大小的方法流程图;9 is a flow chart of a method for adjusting a picture size according to a magnitude of a touch pressure according to an alternative embodiment of the present invention;
图10是根据本发明可选实施例根据触摸压力的大小来调节文字界面大小的方法流程图;10 is a flow chart of a method for adjusting the size of a text interface according to the magnitude of the touch pressure according to an alternative embodiment of the present invention;
图11是根据本发明可选实施例的根据放大镜效果和触摸压力的大小来调节应用大小的方法流程图;11 is a flow chart of a method for adjusting an application size according to a magnifying glass effect and a magnitude of a touch pressure, in accordance with an alternative embodiment of the present invention;
图12是根据本发明可选实施例的带压力屏终端的操作方式在开启应用的安全模式方面的方法流程图。12 is a flow chart of a method of operating a mode with a pressure screen terminal in a safe mode of an open application, in accordance with an alternative embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将参考附图并结合实施例来详细说明本发明的实施方式。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本文的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present specification and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
在本实施例中提供了一种应用操作的方法,图1是根据本发明实施例的应用操作的方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for applying an operation is provided. FIG. 1 is a flowchart of a method for applying an operation according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102:获取终端触摸屏上的触摸操作的压力值;Step S102: Acquire a pressure value of a touch operation on the touch screen of the terminal;
步骤S104:执行与压力值对应的应用操作。Step S104: Perform an application operation corresponding to the pressure value.
由上述步骤S102和步骤S104可知,在本实施例中采用获取终端触摸屏上的触摸操作的压力值,并执行与压力值对应的应用操作;也就是说,在本实施例中用户可以根据触摸操作的压力值来执行应用操作,即用户可以在单手操作的情况根据单个手指的触摸的压力值执行应用操作,从而解决了相关 技术中通过双指的反向滑动来实现对于图片和文字的放大难以满足用户需求的问题,达到了提高用户体验的效果。It can be seen from the above steps S102 and S104 that in this embodiment, the pressure value of the touch operation on the touch screen of the terminal is acquired, and the application operation corresponding to the pressure value is performed; that is, in this embodiment, the user can perform the touch operation according to the touch operation. The pressure value is used to perform an application operation, that is, the user can perform an application operation according to the pressure value of the touch of a single finger in the case of one-hand operation, thereby solving the related In the technology, the reverse sliding of the two fingers is used to realize the problem that the enlargement of the picture and the text is difficult to meet the user's needs, and the effect of improving the user experience is achieved.
对于本实施例中步骤S102中涉及到的获取终端触摸屏上的触摸操作的压力值的方式,在本实施例的一个可选实施方式中,可以通过如下方式来实现:For the manner of obtaining the pressure value of the touch operation on the touch screen of the terminal involved in the step S102 in this embodiment, in an optional implementation manner of the embodiment, the method may be implemented as follows:
步骤S102-1:在终端触摸屏上检测到触摸操作时,判断触摸操作是否为点击触摸操作;Step S102-1: When detecting a touch operation on the touch screen of the terminal, determining whether the touch operation is a click touch operation;
步骤S102-2:在判断结果为是的情况下,获取点击触摸操作的时长;Step S102-2: In the case that the determination result is yes, the duration of the click touch operation is acquired;
步骤S102-3:在点击触摸操作的时长大于或等于预设时间阈值的情况下,获取点击触摸操作的压力值。Step S102-3: In the case where the duration of the click touch operation is greater than or equal to the preset time threshold, the pressure value of the click touch operation is acquired.
由上述步骤S102-1至步骤S102-3可知,对于何时获取触摸操作的压力值的方式,在本实施例的一个可选实施方式中可以是通过触操作的时长来确定,在时长超过预设时间阈值时获取触操作的压力值,但需要说明的是,本实施例中通过时长来确定是否获取触摸操作的压力值的方式,只是本实施例中可选的方式,在本实施例的其他方式也可以是通过物理按键的方式来实现,即通过物理按键启动获取终端触摸屏上的触摸操作的压力值的操作;也可以是通过软件的方式来启动,即在终端软件设置中启动该操作;也就是说,本实施例中出动启动获取压力值的方式有多种,可以根据实际需求进行相应的设置;It can be known from the above steps S102-1 to S102-3 that the manner of obtaining the pressure value of the touch operation may be determined by the duration of the touch operation in an optional embodiment of the embodiment, and the duration exceeds the pre- When the time threshold is set, the pressure value of the touch operation is obtained, but it should be noted that, in this embodiment, the manner of determining the pressure value of the touch operation is determined by the duration, which is only an optional manner in this embodiment, in the embodiment. The other manners may also be implemented by means of a physical button, that is, an operation of acquiring a pressure value of a touch operation on the touch screen of the terminal by a physical button; or starting by a software, that is, starting the operation in the terminal software setting. That is to say, in this embodiment, there are various ways of starting to obtain the pressure value, and the corresponding setting can be performed according to actual needs;
此外,需要说明的是本实施例中涉及到的触摸操作可选为点击触摸操作,如果是滑动触摸操作,则可以忽略;或执行与预先配置的与滑动操作对应的应用操作。In addition, it should be noted that the touch operation involved in the embodiment may be a click touch operation, and if it is a sliding touch operation, may be ignored; or an application operation corresponding to the pre-configured sliding operation may be performed.
对于本实施例中步骤S104中涉及到的执行与压力值对应的应用操作的方式,在本实施例的一个可选实施方式中,可以通过如下方式来实现:The manner of performing the application operation corresponding to the pressure value involved in the step S104 in the embodiment may be implemented in the following manner in an optional implementation manner of the embodiment:
步骤S104-1:判断压力值是否大于或等于预设压力阈值;Step S104-1: determining whether the pressure value is greater than or equal to a preset pressure threshold;
步骤S104-2:在判断结果为是后,根据压力值的大小确定启动应用不同模式。Step S104-2: After the determination result is YES, it is determined according to the magnitude of the pressure value to start the application different mode.
由上述步骤S104-1和步骤S104-2,本实施例中如要执行与压力值对应的 应用操作,可选的前提条件是,触摸操作的压力值要大于预设压力阈值,在此之后可以根据压力值的大小确定启动应用不同模式。From the above steps S104-1 and S104-2, in this embodiment, if the pressure value is to be executed The application operation, optional, is that the pressure value of the touch operation is greater than the preset pressure threshold, after which the different modes of the application can be determined according to the magnitude of the pressure value.
其中对于上述步骤S104-2根据压力值的大小确定启动应用的不同模式的方式,在本实施例中可以是:在压力值大于或等于预设压力阈值时,启动应用的第一模式;在压力值小于预设压力阈值时,启动应用的第二模式。在实际的应用场景中,在压力值小于该预设压力阈值时,禁止启动该应用或进入该应用的一般模式,而在压力值大于或等于预设压力阈值时,进入该应用的安全模式;需要说明的是,此处仅仅是举例说明,对于不同的应用具有不同的模式的启动,用户可以根据需要进行相应的设置。In the above step S104-2, the manner of starting different modes of the application is determined according to the magnitude of the pressure value. In this embodiment, the first mode of the application may be started when the pressure value is greater than or equal to the preset pressure threshold; When the value is less than the preset pressure threshold, the second mode of the application is launched. In a practical application scenario, when the pressure value is less than the preset pressure threshold, the application is prohibited from entering the general mode of the application, and when the pressure value is greater than or equal to the preset pressure threshold, the security mode of the application is entered; It should be noted that, here is merely an example, and for different applications, different modes are started, and the user can perform corresponding settings as needed.
而对于本实施例中步骤S104中涉及到的执行与压力值对应的应用操作的方式,在本实施例的另一个可选实施方式中,可以通过如下方式来实现:For the manner of performing the application operation corresponding to the pressure value involved in the step S104 in this embodiment, in another optional implementation manner of the embodiment, the method may be implemented as follows:
步骤S104-3:判断压力值是否大于或等于预设压力阈值;Step S104-3: determining whether the pressure value is greater than or equal to a preset pressure threshold;
步骤S104-4:在判断结果为是后,根据压力值的变化调节应用的参数值。Step S104-4: After the determination result is YES, the parameter value of the application is adjusted according to the change of the pressure value.
由上述步骤S104-3和步骤S104-4可知,上述步骤S104-2根据压力值的大小确定启动应用的不同模式的方式,在本实施例中还可以是:在压力值大于或等于预设压力阈值后,根据压力值的变化调节应用的参数值;在实际的应用场景中,应用的参数值调节可以是图片的放大或缩小,文字的放大或缩小等等,即可以根据压力值的变大而执行放大应用的操作,以及根据压力值的变小而执行缩小应用的操作;或,根据压力值的变大而执行缩小应用的操作,以及根据压力值的变小而执行放大应用的操作。此处仅仅是举例说明,对于不同的应用具有不同的模式的启动,用户可以根据需要进行相应的设置。It can be seen from the above-mentioned steps S104-3 and S104-4 that the above-mentioned step S104-2 determines the manner of starting different modes of the application according to the magnitude of the pressure value. In this embodiment, the pressure value is greater than or equal to the preset pressure. After the threshold value, the applied parameter value is adjusted according to the change of the pressure value; in the actual application scenario, the parameter value adjustment of the application may be enlargement or reduction of the picture, enlargement or reduction of the text, etc., that is, the pressure value may be increased. The operation of enlarging the application is performed, and the operation of reducing the application is performed according to the decrease in the pressure value; or the operation of reducing the application is performed according to the increase in the pressure value, and the operation of enlarging the application is performed according to the decrease in the pressure value. Here is just an example. For different applications, there are different modes of startup, and the user can make corresponding settings as needed.
需要说明的是,在本实施例步骤S102获取终端触摸屏上的触摸操作的压力值之前,本实施例的方法还包括:配置触摸操作的压力值与应用操作之间的对应关系。It should be noted that, before the step S102 of the embodiment obtains the pressure value of the touch operation on the touch screen of the terminal, the method of the embodiment further includes: configuring a correspondence between the pressure value of the touch operation and the application operation.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也 可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括多个指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course It can be done through hardware, but in many cases the former is a better implementation. Based on the understanding, the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making A terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) performs the method described in the embodiments of the present invention.
在本实施例中还提供了一种应用操作的装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an apparatus for applying the operation is further provided, and the apparatus is used to implement the above-mentioned embodiments and optional embodiments, and details have been omitted for description. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的应用操作的装置的结构框图,如图2所示,该装置包括:获取模块22,设置为:获取终端触摸屏上的触摸操作的压力值;执行模块24,与获取模块22耦合连接,设置为:执行与压力值对应的应用操作。2 is a structural block diagram of an apparatus for performing an operation according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: an obtaining module 22 configured to: acquire a pressure value of a touch operation on a touch screen of the terminal; and execute the module 24, and The acquisition module 22 is coupled and configured to perform an application operation corresponding to the pressure value.
图3是根据本发明实施例的应用操作的装置的可选结构框图一,如图3所示,该获取模块22包括:第一判断单元32,设置为:在终端触摸屏上检测到触摸操作时,判断触摸操作是否为点击触摸操作;第一获取单元34,与第一判断单元32耦合连接,设置为:在判断结果为是的情况下,获取点击触摸操作的时长;第二获取单元36,与第一获取单元32耦合连接,设置为:在点击触摸操作的时长大于或等于预设时间阈值的情况下,获取点击触摸操作的压力值。FIG. 3 is a block diagram of an optional structure of an apparatus for operating an application according to an embodiment of the present invention. As shown in FIG. 3, the acquiring module 22 includes: a first determining unit 32 configured to: when a touch operation is detected on the touch screen of the terminal And determining whether the touch operation is a click touch operation; the first obtaining unit 34 is coupled to the first determining unit 32, and is configured to: when the determination result is yes, obtain a duration of the click touch operation; the second obtaining unit 36, The first acquisition unit 32 is coupled to the first acquisition unit 32, and is configured to acquire a pressure value of the touch operation when the duration of the touch operation is greater than or equal to the preset time threshold.
图4是根据本发明实施例的应用操作的装置的可选结构框图二,如图4所示,该执行模块24包括:第二判断单元42,设置为:判断压力值是否大于或等于预设压力阈值;启动单元44,与第二判断单元42耦合连接,设置为:在判断结果为是后,根据压力值的大小确定启动应用不同模式。4 is a block diagram 2 of an optional structure of an apparatus for applying an operation according to an embodiment of the present invention. As shown in FIG. 4, the execution module 24 includes: a second determining unit 42 configured to: determine whether the pressure value is greater than or equal to a preset. The pressure threshold; the starting unit 44 is coupled to the second determining unit 42 and is configured to: after the determination result is YES, determine to start the application different mode according to the magnitude of the pressure value.
图5是根据本发明实施例的应用操作的装置的可选结构框图三,如图5所示,该启动单元44包括:第一启动子单元52,设置为:在压力值大于或等于预设压力阈值时,启动应用的第一模式;第二启动子单元54,设置为:在压力值小于预设压力阈值时,启动应用的第二模式。 FIG. 5 is a block diagram 3 of an optional structure of an apparatus for applying an operation according to an embodiment of the present invention. As shown in FIG. 5, the starting unit 44 includes: a first promoter unit 52, configured to: the pressure value is greater than or equal to a preset. The first mode of the application is initiated when the pressure threshold is reached; the second activation sub-unit 54 is configured to activate the second mode of the application when the pressure value is less than the preset pressure threshold.
图6是根据本发明实施例的应用操作的装置的可选结构框图四,如图6所示,该执行模块24包括:第三判断单元62,设置为:判断压力值是否大于或等于预设压力阈值;调节单元64,与第三判断单元62耦合连接,设置为:在判断结果为是后,根据压力值的变化调节应用的参数值。FIG. 6 is a block diagram of an optional structure of an apparatus for applying an operation according to an embodiment of the present invention. As shown in FIG. 6, the execution module 24 includes: a third determining unit 62 configured to: determine whether the pressure value is greater than or equal to a preset. The pressure threshold; the adjusting unit 64 is coupled to the third determining unit 62, and is configured to: after the determination result is YES, adjust the applied parameter value according to the change of the pressure value.
图7是根据本发明实施例的应用操作的装置的可选结构框图五,如图7所示,该调节单元64包括:第一调节子单元72,设置为:根据压力值的变大而执行放大应用的操作,以及根据压力值的变小而执行缩小应用的操作;或,第二调节子单元74,设置为:根据压力值的变大而执行缩小应用的操作,以及根据压力值的变小而执行放大应用的操作。7 is a block diagram 5 of an optional structure of an apparatus for operating an application according to an embodiment of the present invention. As shown in FIG. 7, the adjusting unit 64 includes: a first adjusting subunit 72 configured to perform according to an increase in a pressure value. The operation of the zoom-in application is performed, and the operation of reducing the application is performed according to the decrease in the pressure value; or the second adjustment sub-unit 74 is set to perform the operation of reducing the application according to the increase in the pressure value, and the change according to the pressure value. Small and perform the operation of zooming in on the application.
图8是根据本发明实施例的应用操作的装置的可选结构框图六,如图8所示,本实施例的装置除了图2所示的装置外还包括:配置模块82,与获取模块22耦合连接,设置为:配置触摸操作的压力值与应用操作之间的对应关系。FIG. 8 is a block diagram of an optional structure of an apparatus for operating an application according to an embodiment of the present invention. As shown in FIG. 8 , the apparatus of the present embodiment includes: a configuration module 82 and an acquisition module 22 in addition to the apparatus shown in FIG. 2 . The coupling connection is set to: configure a correspondence between the pressure value of the touch operation and the application operation.
需要说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
下面结合本发明的可选实施例对本申请进行举例说明;The present application is exemplified below in conjunction with an optional embodiment of the present invention;
本可选实施例提供了终端的操作方法,该方法的步骤包括:The optional embodiment provides a method for operating a terminal, and the steps of the method include:
步骤S202:在应用中设置不同压力对应的放大/缩小比例,打开该应用,如图库。Step S202: setting an enlargement/reduction ratio corresponding to different pressures in the application, and opening the application, such as a gallery.
步骤S204:当有手指触摸屏幕时,触摸屏芯片实施采集触点坐标并上报,压力传感器实时采集触摸压力并上报,同时开启定时器,并开始计时。Step S204: When a finger touches the screen, the touch screen chip implements the acquisition contact coordinates and reports, the pressure sensor collects the touch pressure in real time and reports, simultaneously starts the timer, and starts timing.
步骤S206:当超过一定时间t,手指仍然未抬起时,应用根据收到的触摸压力的大小的变化,做出对应的处理,如图标或文字的放大/缩小。Step S206: When the finger is still not raised after a certain time t, the application performs corresponding processing according to the change of the received touch pressure, such as enlargement/reduction of the icon or the text.
基于上述步骤S202至步骤S206,结合本可选实施例的应用场景对本可选实施例进行详细说明;The present optional embodiment is described in detail in conjunction with the application scenario of the present embodiment, based on the foregoing steps S202 to S206;
应用场景一:用于对图片大小的调节。在图片浏览等界面:长按+接触压力变大,可实现图片放大的功能,长按+接触压力变小实现图片缩小的功 能,抬起图片回到原来的尺寸,即图片随着接触压力的变大而变大,变小而变小。这样单手握手机即可实现图片的放大和缩小,而无需两指同时操作才能达到这种效果,简化了操作步骤,提升了用户体验。Application scenario 1: Used to adjust the size of the image. In the picture browsing interface: long press + contact pressure becomes larger, can achieve the function of picture enlargement, long press + contact pressure becomes smaller to achieve picture reduction work Yes, the picture is raised back to the original size, that is, the picture becomes larger as the contact pressure becomes larger, becoming smaller and smaller. In this way, the one-handed handshaking can realize the enlargement and reduction of the picture, and the two effects can be achieved without the simultaneous operation of the two fingers, which simplifies the operation steps and improves the user experience.
图9是根据本发明可选实施例根据触摸压力的大小来调节图片大小的方法流程图,如图9所示,该方法的步骤包括:9 is a flowchart of a method for adjusting a picture size according to a magnitude of a touch pressure according to an alternative embodiment of the present invention. As shown in FIG. 9, the steps of the method include:
步骤S902,在触摸屏移动终端上打开图库应用,并打开一张图片;Step S902, open the gallery application on the touch screen mobile terminal, and open a picture;
步骤S904,触控芯片当监测到有手指触摸时,开启定时器并开始计时,开启压力传感器;Step S904, when the touch chip detects that there is a finger touch, turn on the timer and start timing, and turn on the pressure sensor;
步骤S906,触控芯片实时采集触点坐标,压力传感器实时采集触摸压力并上报;Step S906, the touch chip collects the contact coordinates in real time, and the pressure sensor collects the touch pressure in real time and reports it;
步骤S908,在计时到达t时刻前,手指是否是点击状态而不是滑动;在手指为滑动时执行步骤S910,在手指为点击时执行步骤S912;Step S908, before the time arrives at time t, whether the finger is in a click state instead of sliding; when the finger is sliding, step S910 is performed, and when the finger is clicked, step S912 is performed;
步骤S910,则应用响应滑动操作,并关闭定时器;Step S910, the application responds to the sliding operation, and turns off the timer;
步骤S912,在计时到达t时刻前,判断手指是否已抬起;在处于点击状态的手指在t时刻到达前已抬起时,执行步骤S914;在处于点击状态的手指,超过t时仍处于点击状态时,执行步骤S916;Step S912, before the time reaches the time t, it is determined whether the finger has been lifted; when the finger in the click state has been lifted before the time t arrives, step S914 is performed; when the finger in the click state exceeds t, the click is still clicked. In the state, step S916 is performed;
步骤S914,应用响应短按操作,并关闭定时器;Step S914, the application responds to the short press operation, and turns off the timer;
步骤S916,关闭定时器,应用对收到的触摸压力进行分析;Step S916, the timer is turned off, and the application analyzes the received touch pressure;
步骤S918,判断t时间段内的最大触摸压力是否有超过压力阈值P;如果t时间段内的触摸压力没有超过压力阈值P,则执行步骤S920;如果t时间段内的触摸压力超过压力阈值P,则执行步骤S922;Step S918, determining whether the maximum touch pressure in the t period exceeds the pressure threshold P; if the touch pressure in the t period does not exceed the pressure threshold P, executing step S920; if the touch pressure in the t period exceeds the pressure threshold P , step S922 is performed;
步骤S920,则应用响应长按操作;Step S920, the application responds to the long press operation;
步骤S922,图库应用对收到的触摸压力和报点坐标的数据进行分析,以触点坐标位置为中心,图片随着触摸压力的变大而变大,随之变小而变小;Step S922, the library application analyzes the received touch pressure and the data of the report point coordinates, and the picture is centered on the contact coordinate position, and the picture becomes larger as the touch pressure becomes larger, and then becomes smaller and smaller;
步骤S924,当手指抬起时,恢复图片原来的大小。In step S924, when the finger is raised, the original size of the picture is restored.
应用场景二:用于对图标、文档文字大小的调节。在lancher的图标界面:长按+接触压力变大/小,可实现图标放大/缩小的功能;在word文档界 面、excel界面、等界面,长按+接触压力变大/小,可实现文字放大/缩小的功能。这项功能在老人机上会非常适用,而且只需单手操作就可以了,简单而有效。Application scenario 2: Used to adjust the size of icons and documents. In the icon interface of Lancher: long press + contact pressure becomes larger / smaller, can achieve the function of icon enlargement / reduction; in the word document community Face, excel interface, and other interfaces, long press + contact pressure becomes larger / smaller, can achieve text zoom / zoom function. This function is very suitable for the elderly, and it can be done with one hand, simple and effective.
图10是根据本发明可选实施例根据触摸压力的大小来调节文字界面大小的方法流程图,如图10所示,为触摸压力在lancher界面、woard文档等文字界面的应用,该方法的步骤包括:10 is a flow chart of a method for adjusting the size of a text interface according to the magnitude of the touch pressure according to an alternative embodiment of the present invention. As shown in FIG. 10, the application of the touch pressure in a text interface such as a lancher interface or a woard document, the steps of the method. include:
步骤S1002,在移动终端的lancher图标界面或word、excel、小说阅读、短信等文字界面;Step S1002, in the lancher icon interface of the mobile terminal or a word interface such as word, excel, novel reading, short message, etc.;
步骤S1004,触控芯片当监测到有手指触摸时,开启定时器并开始计时,开启压力传感器;In step S1004, when the touch chip detects that there is a finger touch, the timer is started and timing is started, and the pressure sensor is turned on;
步骤S1006,触控芯片实时采集触点坐标,压力传感器实时采集触摸压力并上报;Step S1006, the touch chip collects the contact coordinates in real time, and the pressure sensor collects the touch pressure in real time and reports it;
步骤S1008,在计时到达t时刻前,手指是否是点击状态而不是滑动;Step S1008, before the time reaches the time t, whether the finger is in a click state instead of sliding;
步骤S1010,如果手指为滑动状态,则应用响应滑动操作,并关闭定时器;Step S1010, if the finger is in a sliding state, the application responds to the sliding operation, and turns off the timer;
步骤S1012,如果手指处于点击状态,在计时到达t时刻前,判断手指是否已抬起;Step S1012, if the finger is in the click state, before the time reaches the time t, it is determined whether the finger has been lifted;
步骤S1014,如果处于点击状态的手指在t时刻到达前已抬起,则应用响应短按操作,并关闭定时器;Step S1014, if the finger in the click state has been lifted before the time t arrives, the application responds to the short press operation and turns off the timer;
步骤S1016,如果处于点击状态的手指,超过t时仍处于点击状态,则应用对收到的触摸压力进行分析;Step S1016, if the finger in the click state is still in the click state when t is exceeded, the application analyzes the received touch pressure;
步骤S1018,判断t时间段内的最大触摸压力是否有超过压力阈值P;Step S1018, determining whether the maximum touch pressure in the t period exceeds the pressure threshold P;
步骤S1020,如果t时间段内的触摸压力没有超过压力阈值P,则应用响应长按操作;Step S1020, if the touch pressure in the t period does not exceed the pressure threshold P, the application responds to the long press operation;
步骤S1022,如果t时间段内的触摸压力超过了压力阈值P,则定时器开始重新计时,对同一触摸压力的累积时间进行统计;Step S1022, if the touch pressure in the t period exceeds the pressure threshold P, the timer starts to re-time, and the accumulated time of the same touch pressure is counted;
步骤S1024,应用随着触摸压力的变大而实时调大字体或图标,随之变 小而实时调小字体或图标;Step S1024, the application adjusts the font or icon in real time as the touch pressure becomes larger, and then changes Small but real-time small fonts or icons;
步骤S1026,当手指抬起时,关闭定时器,按照接触时间最长的那个压力大小来确定最终文字或图标的大小。In step S1026, when the finger is raised, the timer is turned off, and the size of the final text or icon is determined according to the pressure of the longest contact time.
应用场景三:可用于终端的安全防护上,如当点击某个图标时,从按下到抬起过程中,当最大接触压力超过某个阈值时才可以打开该应用,或才可以进入该应用的安全模式,以达到简单而有效的达到保护用户隐私或重要数据的目的。Application scenario 3: It can be used for security protection of the terminal. For example, when an icon is clicked, the application can be opened when the maximum contact pressure exceeds a certain threshold from the pressing to the lifting process, or the application can be accessed. The security model is designed to achieve simple and effective protection for user privacy or important data.
图11是根据本发明可选实施例的根据放大镜效果和触摸压力的大小来调节应用大小的方法流程图,如图11所示,该方法的步骤包括:11 is a flow chart of a method for adjusting an application size according to a magnifying glass effect and a magnitude of a touch pressure according to an alternative embodiment of the present invention. As shown in FIG. 11, the steps of the method include:
步骤S1102,设置图库或word等应用对不同压力大小对应的放大半径的参数,并开启应用;Step S1102: setting a parameter of an enlargement radius corresponding to different pressure magnitudes by an application such as a gallery or a word, and opening an application;
步骤S1104,触控芯片当监测到有手指触摸时,开启定时器并开始计时,开启压力传感器;Step S1104: When the touch chip detects that there is a finger touch, the timer is started and timing is started, and the pressure sensor is turned on;
步骤S1106,触控芯片实时采集触点坐标,压力传感器实时采集触摸压力并上报;Step S1106, the touch chip collects the contact coordinates in real time, and the pressure sensor collects the touch pressure in real time and reports it;
步骤S1108,在计时到达t时刻前,手指是否是点击状态而不是滑动;Step S1108, before the time reaches the time t, whether the finger is in a click state instead of sliding;
步骤S1110,如果手指为滑动状态,则应用响应滑动操作,并关闭定时器;Step S1110, if the finger is in the sliding state, the application responds to the sliding operation, and turns off the timer;
步骤S1112,如果手指处于点击状态,在计时到达t时刻前,判断手指是否已抬起;Step S1112, if the finger is in the click state, before the time reaches the time t, it is determined whether the finger has been lifted;
步骤S1114,如果处于点击状态的手指在t时刻到达前已抬起,则应用响应短按操作,并关闭定时器;Step S1114, if the finger in the click state has been lifted before the time t arrives, the application responds to the short press operation and turns off the timer;
步骤S1116,如果处于点击状态的手指,超过t时仍处于点击状态,则关闭定时器,应用对收到的触摸压力进行分析;Step S1116: If the finger in the click state is still in the click state when t is exceeded, the timer is turned off, and the application analyzes the received touch pressure;
步骤S1118,判断t时间段内的最大触摸压力是否有超过压力阈值P;Step S1118, determining whether the maximum touch pressure in the t period exceeds the pressure threshold P;
步骤S1120,如果t时间段内的触摸压力没有超过压力阈值P,则应用响应长按操作; Step S1120: If the touch pressure in the t period does not exceed the pressure threshold P, the application responds to the long press operation;
步骤S1122,如果t时间段内的触摸压力超过了压力阈值P,应用以触点为中心,图片或文字的放大区域随触摸压力的变大而变大,随之变小而变小。同时,放大区域内,以触点为中心,放大等级逐渐变小,实现放大镜的效果;In step S1122, if the touch pressure in the t period exceeds the pressure threshold P, the application is centered on the contact, and the enlarged area of the picture or the text becomes larger as the touch pressure becomes larger, and becomes smaller and smaller. At the same time, in the magnified area, with the contact as the center, the zoom level becomes gradually smaller, realizing the effect of the magnifying glass;
步骤S1124,当手指抬起时,文字或图片大小恢复到原来尺寸。In step S1124, when the finger is raised, the size of the text or the image is restored to the original size.
应用场景四:通过不同的接触压力实现不同的功能,采用压力触控不但可以减少按钮数量,还可以提供更多的控制效果,如音量、亮度的调节,如游戏中可以通过压力触控实现更便捷的人机交互。Application scenario 4: Different functions can be realized by different contact pressures. Pressure touch can not only reduce the number of buttons, but also provide more control effects, such as volume and brightness adjustment. For example, the game can be implemented by pressure touch. Convenient human-computer interaction.
图12是根据本发明可选实施例的带压力屏终端的操作方式在开启应用的安全模式方面的方法流程图,如图12所示,该方法的步骤包括:FIG. 12 is a flowchart of a method for operating a security mode of an application with a pressure screen terminal according to an alternative embodiment of the present invention. As shown in FIG. 12, the steps of the method include:
步骤S1202,设置应用A的安全模式对应触碰压力的大小,即设置阈值N,可以自定义设置;Step S1202, setting the security mode of the application A corresponding to the size of the touch pressure, that is, setting the threshold N, and the setting can be customized;
步骤S1204,用户点击应用A的图标,压力传感器实时采集并上报触碰压力值到应用A;Step S1204, the user clicks the icon of the application A, and the pressure sensor collects and reports the touch pressure value to the application A in real time;
步骤S1206,应用A对接收到的数据进行解析,判断最大触碰压力是否超过阈值N;Step S1206, the application A analyzes the received data to determine whether the maximum touch pressure exceeds the threshold N;
步骤S1208,若最大触碰压力没有超过阈值N,手指抬起后不允许开启该应用或进入该应用的一般模式;Step S1208, if the maximum touch pressure does not exceed the threshold N, the finger is not allowed to open the application or enter the general mode of the application;
步骤S1210,若最大触碰压力超过了阈值N,手指抬起后开启应用或进入该应用的安全模式。In step S1210, if the maximum touch pressure exceeds the threshold N, the finger is raised to open the application or enter the safe mode of the application.
由上述本可选实施例可知,通过增加触摸压力的维度,丰富了触控功能的定义,图片可随着接触压力的变大而变大,表小而变小;图标或文字可以通过手指的接触压力来调节大小;还可以通过不同的接触压力来进入应用的不同模式等。即可以将需要多手或多指才能实现的功能,通过单手的一个手指就可以实现了。尤其是实现了在lancher空白区域压力触摸时可以调整图标的大小,对于老年人等特殊人群来说会有非常好的效果。另外,除了简单的放大缩小的调节外,还可以通过压力触摸实现放大镜的效果,用户体验得到很大提高。而在安全模式方面的应用可以使移动终端更为安全,而且隐秘性 强,比输入密码方式更为快捷。It can be seen from the above optional embodiment that the definition of the touch function is enriched by increasing the dimension of the touch pressure, and the picture can become larger as the contact pressure becomes larger, and the table becomes smaller and smaller; the icon or the text can pass through the finger. Contact pressure to adjust the size; different contact pressures can be used to enter different modes of application. That is, the function that can be realized by multiple hands or multiple fingers can be realized by one finger with one hand. In particular, it is possible to adjust the size of the icon when the pressure is touched in the blank area of the Lancher, which is very good for a special group such as the elderly. In addition, in addition to the simple adjustment of zooming in and out, the effect of the magnifying glass can be realized by pressure touch, and the user experience is greatly improved. And the application of security mode can make mobile terminals more secure and hidden. Strong, faster than entering a password.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
步骤S1:获取终端触摸屏上的触摸操作的压力值;Step S1: acquiring a pressure value of a touch operation on the touch screen of the terminal;
步骤S2:执行与压力值对应的应用操作。Step S2: Perform an application operation corresponding to the pressure value.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-described modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein. The steps shown or described are either fabricated as integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有多种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an alternative embodiment of the present invention, and is not intended to limit the present application, and various changes and modifications may be made by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
工业实用性Industrial applicability
通过本发明实施例,用户可以根据触摸操作的压力值来执行应用操作,即用户可以在单手操作的情况根据单个手指的触摸的压力值执行应用操作,从而解决了相关技术中通过双指的反向滑动来实现对于图片和文字的放大难以满足用户需求的问题,达到了提高用户体验的效果。 With the embodiment of the present invention, the user can perform an application operation according to the pressure value of the touch operation, that is, the user can perform an application operation according to the pressure value of the touch of the single finger in the case of one-hand operation, thereby solving the related art through the two fingers. Reverse sliding to achieve the problem that the enlargement of pictures and texts is difficult to meet the needs of users, and the effect of improving the user experience is achieved.

Claims (14)

  1. 一种应用操作的方法,包括:A method of applying operations, including:
    获取终端触摸屏上的触摸操作的压力值;Obtaining a pressure value of a touch operation on the touch screen of the terminal;
    执行与所述压力值对应的应用操作。An application operation corresponding to the pressure value is performed.
  2. 根据权利要求1所述的方法,其中,获取终端触摸屏上的触摸操作的压力值包括:The method according to claim 1, wherein the obtaining the pressure value of the touch operation on the touch screen of the terminal comprises:
    在所述终端触摸屏上检测到触摸操作时,判断所述触摸操作是否为点击触摸操作;When the touch operation is detected on the touch screen of the terminal, determining whether the touch operation is a click touch operation;
    在判断结果为是的情况下,获取所述点击触摸操作的时长;When the determination result is yes, obtaining the duration of the click touch operation;
    在所述点击触摸操作的时长大于或等于预设时间阈值的情况下,获取所述点击触摸操作的压力值。In a case where the duration of the click touch operation is greater than or equal to the preset time threshold, the pressure value of the click touch operation is acquired.
  3. 根据权利要求2所述的方法,其中,所述执行与所述压力值对应的应用操作包括:The method of claim 2, wherein said performing an application operation corresponding to said pressure value comprises:
    判断所述压力值是否大于或等于预设压力阈值;Determining whether the pressure value is greater than or equal to a preset pressure threshold;
    在判断结果为是后,根据所述压力值的大小确定启动所述应用不同模式。After the determination result is YES, the different modes of the application are determined according to the magnitude of the pressure value.
  4. 根据权利要求3所述的方法,其中,所述根据所述压力值的大小确定启动所述应用的不同模式包括:The method of claim 3, wherein said determining different modes of initiating said application based on said magnitude of said pressure value comprises:
    在所述压力值大于或等于预设压力阈值时,启动所述应用的第一模式;Starting the first mode of the application when the pressure value is greater than or equal to a preset pressure threshold;
    在所述压力值小于预设压力阈值时,启动所述应用的第二模式。The second mode of the application is initiated when the pressure value is less than a preset pressure threshold.
  5. 根据权利要求2所述的方法,其中,所述执行与所述压力值对应的应用操作包括:The method of claim 2, wherein said performing an application operation corresponding to said pressure value comprises:
    判断所述压力值是否大于或等于预设压力阈值;Determining whether the pressure value is greater than or equal to a preset pressure threshold;
    在判断结果为是后,根据所述压力值的变化调节所述应用的参数值。After the judgment result is YES, the parameter value of the application is adjusted according to the change in the pressure value.
  6. 根据权利要求5所述的方法,其中,根据所述压力值的变化调节所述应用的参数值包括: The method of claim 5, wherein adjusting the parameter values of the application based on the change in the pressure value comprises:
    根据所述压力值的变大而执行放大所述应用的操作,以及根据压力值的变小而执行缩小所述应用的操作;或,Performing an operation of enlarging the application according to an increase in the pressure value, and performing an operation of reducing the application according to a decrease in a pressure value; or
    根据所述压力值的变大而执行缩小所述应用的操作,以及根据压力值的变小而执行放大所述应用的操作。The operation of reducing the application is performed in accordance with the increase in the pressure value, and the operation of enlarging the application is performed in accordance with the decrease in the pressure value.
  7. 根据权利要求1所述的方法,其中,在获取终端触摸屏上的触摸操作的压力值之前,所述方法还包括:The method of claim 1, wherein before acquiring the pressure value of the touch operation on the touch screen of the terminal, the method further comprises:
    配置所述触摸操作的压力值与所述应用操作之间的对应关系。A correspondence between a pressure value of the touch operation and the application operation is configured.
  8. 一种应用操作的装置,包括:An application operating device comprising:
    获取模块,设置为:获取终端触摸屏上的触摸操作的压力值;Obtaining a module, configured to: obtain a pressure value of a touch operation on the touch screen of the terminal;
    执行模块,设置为:执行与所述压力值对应的应用操作。The execution module is configured to: perform an application operation corresponding to the pressure value.
  9. 根据权利要求8所述的装置,其中,所述获取模块包括:The apparatus of claim 8, wherein the obtaining module comprises:
    第一判断单元,设置为:在所述终端触摸屏上检测到触摸操作时,判断所述触摸操作是否为点击触摸操作;The first determining unit is configured to: determine, when the touch operation is detected on the touch screen of the terminal, whether the touch operation is a click touch operation;
    第一获取单元,设置为:在判断结果为是的情况下,获取所述点击触摸操作的时长;The first obtaining unit is configured to: when the determination result is yes, obtain the duration of the click touch operation;
    第二获取单元,设置为:在所述点击触摸操作的时长大于或等于预设时间阈值的情况下,获取所述点击触摸操作的压力值。The second obtaining unit is configured to acquire a pressure value of the click touch operation in a case that the duration of the click touch operation is greater than or equal to a preset time threshold.
  10. 根据权利要求9所述的装置,其中,所述执行模块包括:The apparatus of claim 9, wherein the execution module comprises:
    第二判断单元,设置为:判断所述压力值是否大于或等于预设压力阈值;a second determining unit, configured to: determine whether the pressure value is greater than or equal to a preset pressure threshold;
    启动单元,设置为:在判断结果为是后,根据所述压力值的大小确定启动所述应用不同模式。The startup unit is configured to: after the determination result is YES, determine to start the application different mode according to the magnitude of the pressure value.
  11. 根据权利要求10所述的装置,其中,所述启动单元包括:The apparatus of claim 10 wherein said activation unit comprises:
    第一启动子单元,设置为:在所述压力值大于或等于预设压力阈值时,启动所述应用的第一模式;a first activation subunit, configured to: when the pressure value is greater than or equal to a preset pressure threshold, initiate a first mode of the application;
    第二启动子单元,设置为:在所述压力值小于预设压力阈值时,启动所述应用的第二模式。 The second promoter unit is configured to: when the pressure value is less than the preset pressure threshold, initiate the second mode of the application.
  12. 根据权利要求9所述的装置,其中,所述执行模块包括:The apparatus of claim 9, wherein the execution module comprises:
    第三判断单元,设置为:判断所述压力值是否大于或等于预设压力阈值;a third determining unit, configured to: determine whether the pressure value is greater than or equal to a preset pressure threshold;
    调节单元,设置为:在判断结果为是后,根据所述压力值的变化调节所述应用的参数值。The adjusting unit is configured to: after the determination result is YES, adjust the parameter value of the application according to the change of the pressure value.
  13. 根据权利要求12所述的装置,其中,所述调节单元包括:The apparatus of claim 12, wherein the adjustment unit comprises:
    第一调节子单元,设置为:根据所述压力值的变大而执行放大所述应用的操作,以及根据压力值的变小而执行缩小所述应用的操作;或,a first adjustment subunit configured to perform an operation of enlarging the application according to an increase in the pressure value, and performing an operation of reducing the application according to a decrease in a pressure value; or
    第二调节子单元,设置为:根据所述压力值的变大而执行缩小所述应用的操作,以及根据压力值的变小而执行放大所述应用的操作。The second adjustment subunit is configured to perform an operation of reducing the application according to an increase in the pressure value, and an operation of enlarging the application according to a decrease in the pressure value.
  14. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    配置模块,设置为:配置所述触摸操作的压力值与所述应用操作之间的对应关系。 The configuration module is configured to: configure a correspondence between the pressure value of the touch operation and the application operation.
PCT/CN2016/087572 2015-11-03 2016-06-29 Method and apparatus for operating application WO2017076017A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510738274.5A CN106648193B (en) 2015-11-03 2015-11-03 Application operation method and device
CN201510738274.5 2015-11-03

Publications (1)

Publication Number Publication Date
WO2017076017A1 true WO2017076017A1 (en) 2017-05-11

Family

ID=58661531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087572 WO2017076017A1 (en) 2015-11-03 2016-06-29 Method and apparatus for operating application

Country Status (2)

Country Link
CN (1) CN106648193B (en)
WO (1) WO2017076017A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473194A (en) * 2020-05-09 2021-10-01 海信集团有限公司 Intelligent device and response method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256086A (en) * 2017-06-05 2017-10-17 努比亚技术有限公司 Camera control method, mobile terminal and computer-readable recording medium
CN107272992A (en) * 2017-06-26 2017-10-20 深圳天珑无线科技有限公司 A kind of processing method of application icon, device and terminal
CN107479796A (en) * 2017-07-20 2017-12-15 苏州三星电子电脑有限公司 Pressure identification key device
CN108525288A (en) * 2018-04-04 2018-09-14 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic device of touch information
CN110764681A (en) * 2018-07-25 2020-02-07 优视科技有限公司 Application interface display method and device, client device and electronic device
CN109840060A (en) * 2019-01-31 2019-06-04 维沃移动通信有限公司 A kind of display control method and terminal device
CN110908555A (en) * 2019-10-21 2020-03-24 维沃移动通信有限公司 Icon display method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120044169A1 (en) * 2010-08-19 2012-02-23 Ricoh Company, Limited Operation display device and operation display method
CN103513882A (en) * 2013-05-31 2014-01-15 展讯通信(上海)有限公司 Touch control equipment control method and device and touch control equipment
CN104123093A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Information processing method and device
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation
CN104915096A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Application interface displaying method and device
CN105183359A (en) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 Zooming-in and zooming-out method and device and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202192A (en) * 2000-01-18 2001-07-27 Sony Corp Information processor, its method and program storage medium
JP2008305174A (en) * 2007-06-07 2008-12-18 Sony Corp Information processor, information processing method, and program
EP2680616A1 (en) * 2012-06-25 2014-01-01 LG Electronics Inc. Mobile terminal and audio zooming method thereof
US20140002374A1 (en) * 2012-06-29 2014-01-02 Lenovo (Singapore) Pte. Ltd. Text selection utilizing pressure-sensitive touch
US20140237422A1 (en) * 2013-02-15 2014-08-21 Flatfrog Laboratories Ab Interpretation of pressure based gesture
CN103440089B (en) * 2013-06-25 2017-11-03 百度在线网络技术(北京)有限公司 The interface method of adjustment and user equipment of a kind of user equipment
CN104978028B (en) * 2015-06-23 2018-09-04 广东欧珀移动通信有限公司 A kind of control method and mobile terminal of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120044169A1 (en) * 2010-08-19 2012-02-23 Ricoh Company, Limited Operation display device and operation display method
CN103513882A (en) * 2013-05-31 2014-01-15 展讯通信(上海)有限公司 Touch control equipment control method and device and touch control equipment
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation
CN104123093A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Information processing method and device
CN104915096A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Application interface displaying method and device
CN105183359A (en) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 Zooming-in and zooming-out method and device and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473194A (en) * 2020-05-09 2021-10-01 海信集团有限公司 Intelligent device and response method
CN113473194B (en) * 2020-05-09 2022-04-08 海信集团有限公司 Intelligent device and response method

Also Published As

Publication number Publication date
CN106648193B (en) 2021-01-22
CN106648193A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2017076017A1 (en) Method and apparatus for operating application
US20240137998A1 (en) Point-to-Point Ad Hoc Voice Communication
US9007314B2 (en) Method for touch processing and mobile terminal
US10228844B2 (en) Mobile terminal
US20130212541A1 (en) Method, a device and a system for receiving user input
CN103795948B (en) Show equipment and its control method
WO2017088500A1 (en) Intelligent wearable device and information input method therefor
US9170728B2 (en) Electronic device and page zooming method thereof
TWI626591B (en) System and method for switching applications
WO2017166623A1 (en) Terminal interaction control method and apparatus, and electronic device
KR20110093541A (en) Device and method for performing multi-tasking
JP6025482B2 (en) Display control device, image display device, and program
WO2011150706A1 (en) Method and device for adjusting size of list element
US11740754B2 (en) Method for interface operation and terminal, storage medium thereof
WO2017088626A1 (en) Terminal touch control operating method and device
CN103870007A (en) Control method and control system for key combination of mobile terminal
US20170068374A1 (en) Changing an interaction layer on a graphical user interface
KR20170008845A (en) Method and device for processing new message associated with application
EP2770457A2 (en) Apparatus and method for managing security of terminal
CN104407774B (en) A kind of screens switch equipment, method and mobile terminal
CN104932789A (en) Information display method and electronic equipment
CN104735266A (en) Method for implementing specific mobile phone functions through one-hand operation
CN109032441B (en) Interface management method, device, equipment and storage medium
WO2017185509A1 (en) Screen unlocking method and device, and mobile terminal
EP3366030B1 (en) Rejecting or accepting a phone call

Legal Events

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

Ref document number: 16861287

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16861287

Country of ref document: EP

Kind code of ref document: A1