WO2016184173A1 - Force touch method and terminal - Google Patents

Force touch method and terminal Download PDF

Info

Publication number
WO2016184173A1
WO2016184173A1 PCT/CN2016/073312 CN2016073312W WO2016184173A1 WO 2016184173 A1 WO2016184173 A1 WO 2016184173A1 CN 2016073312 W CN2016073312 W CN 2016073312W WO 2016184173 A1 WO2016184173 A1 WO 2016184173A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure
touch
operation information
operation instruction
parameter
Prior art date
Application number
PCT/CN2016/073312
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 WO2016184173A1 publication Critical patent/WO2016184173A1/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
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a method and terminal for pressure touch.
  • Pressure screen is a new type of human-computer interaction technology. After the mobile phone can sense gravity, speed, light, sound, fingerprint, iris, touch, the pressure screen allows it to have "pressing perception", that is, to perceive the different degrees given by the human hand. Stress, including tapping, pressing, and stronger compression.
  • AppleWatch introduces pressure screens into the consumer electronics field through ForceTouch, and the pressure screen will become standard on smartphones.
  • the interaction enter the "touch interaction” era, the mobile phone is no longer a "planar interactive system", enter the "three-dimensional era.”
  • the previous physical Home button provides a similar pressing experience, such as double-clicking, long-pressing, and a great experience in Siri (voice control) calls, and now the experience is moved to a larger area.
  • Siri voice control
  • the pressure screen is only doing a very shallow "touch interaction", which allows the mobile phone to perceive the pressure of the person.
  • the pressure screen makes the interaction distance of the mobile phone further “augmented reality”, which brings huge impact to the future application and interaction of the mobile phone.
  • the space but the current use of pressure screens is still very small, and the application support is very small.
  • the terminal does not have the function of setting pressure touch, and is used by the user. Very inconvenient.
  • the embodiment of the invention provides a pressure touch method and a terminal to expand an application scenario of pressure touch.
  • Embodiments of the present invention provide a method for pressure touch, including:
  • the user After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information;
  • the operation information includes a plurality of operation information
  • the operation instruction corresponding to saving the operation information includes:
  • the operation instructions corresponding to the operation information are sequentially saved in the order of acquisition to form an executable script file.
  • the saving the operation instruction corresponding to the operation information includes: saving an operation instruction corresponding to the operation information after receiving the save instruction.
  • the method further includes:
  • the method further includes:
  • the embodiment of the invention further provides a terminal, including:
  • the processing module is configured to: after receiving the custom pressure touch instruction, enter the pressure touch customization mode to obtain operation information input by the user;
  • the pressure sensing module is set to: obtain a pressure parameter of the pressure of the current interface
  • the storage module is configured to: save an operation instruction corresponding to the operation information, and save a correspondence between the operation instruction and the pressure parameter.
  • the operation information acquired by the processing module includes a plurality of operation information
  • the storage module is configured to save the operation instruction corresponding to the operation information, and the operation instruction corresponding to the operation information is sequentially saved in an acquisition order to form an executable script file.
  • the storage module is configured to save an operation instruction corresponding to the operation information after receiving the save instruction.
  • the pressure sensing module is further configured to: when receiving the pressure, obtain a corresponding pressure parameter;
  • the processing module is further configured to: determine whether the storage module stores the acquired pressure parameter, and if yes, acquire an operation instruction corresponding to the pressure parameter, and perform processing according to the acquired operation instruction; if not, enter Pressure touch custom mode.
  • processing module is further configured to: after receiving the exit instruction, exit the pressure touch custom mode interface.
  • an embodiment of the present invention further provides a terminal, including: a processor, a touch screen, and a pressure sensor disposed under the touch screen, wherein the touch screen and the pressure sensor are respectively connected to the processor;
  • a terminal including: a processor, a touch screen, and a pressure sensor disposed under the touch screen, wherein the touch screen and the pressure sensor are respectively connected to the processor;
  • the user After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information;
  • the pressure sensor is set to: acquire the current interface of the touch screen a pressure parameter that is stressed;
  • the processor is further configured to: save a correspondence between the operation command and the pressure parameter.
  • an embodiment of the present invention further provides a computer readable storage medium, where a computer can be stored. Executing an instruction that implements the above-described pressure touch method when the computer executable instructions are executed.
  • the user after receiving the custom pressure touch instruction, the user enters the pressure touch customization mode, acquires the operation information input by the user, saves the operation instruction corresponding to the operation information, and acquires the pressure of the current interface. a pressure parameter that saves a correspondence between the operation command and the pressure parameter.
  • the user experience is improved by creating a customized personalized pressure touch scenario, which solves the problem that the pressure touch application scenario in the prior art is less, the application is not extensive, and the use requirement cannot be personalized.
  • Embodiment 1 is a flowchart of a method for pressure touch according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for pressure touch according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a method for pressure touch according to an application example 1 of the embodiment of the present invention
  • FIG. 4 is a flowchart of a method for pressure touch according to application example 2 of the embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for pressure touch, which is used to solve the problem that the pressure touch application scenario in the prior art is less, the application is not widely used, and the use requirement cannot be personalized, and the pressure of creating a customized individual is created. Touch scenes enhance the user experience.
  • the method of this embodiment includes the following steps:
  • Step S11 after receiving the custom pressure touch instruction, enter the pressure touch customization mode, obtain operation information input by the user, and save an operation instruction corresponding to the operation information;
  • Step S12 Obtain a pressure parameter of the pressure received by the current interface, and save a correspondence between the operation instruction and the pressure parameter.
  • the operation information may be a set of multiple operation information, and the operation instruction corresponding to the operation information includes:
  • the operation instructions corresponding to the operation information are sequentially saved in the order of acquisition to form an executable script file.
  • the foregoing method may further include:
  • the method of the embodiment of the invention pre-sets the correspondence between the pressure parameter and the operation instruction of any interface, so that the user can customize the pressure touch operation of any application and interface, so that the operation of the mobile terminal by the user is simpler and faster, and Enriched the language of human-computer interaction.
  • FIG. 2 is a flowchart of a method for pressure touch according to Embodiment 2 of the present invention. As shown in FIG. 2, the method in this embodiment includes the following steps:
  • Step S101 Enter a pressure touch custom mode.
  • the terminal monitors a series of operations input by the user and pressure parameters of the pressure touch, and records and saves.
  • the pressure touch custom mode enters the mode: the user presses the screen on the current interface, which is different from the ordinary touch screen, such as tapping, long pressing, sliding touch, and the pressure screen responds to the pressure touch at this time. Operate and record the pressure parameters.
  • the pressure parameters include one or more of pressure coordinates, pressure values, and duration. Different from other interfaces, there are significant interface prompts. For example, there is a text prompt on the interface, and the current pressure touch custom mode is entered.
  • the pressure parameter of the current pressing screen is compared with the pressure parameter of the saved pressure touch operation, if the pressure parameter The same, instead of entering the pressure touch custom mode, the pressure touch operation has been saved. If the pressure parameters are different, enter the pressure touch custom mode.
  • Step S102 The terminal saves a series of operations input by the user to complete a function.
  • the input operation may be a simple instruction such as opening, deleting, renaming, or the running or closing of the application, or an operation of enlarging or reducing the image, or a touch operation information.
  • a simple instruction such as opening, deleting, renaming, or the running or closing of the application, or an operation of enlarging or reducing the image, or a touch operation information.
  • One or more of sliding screen operation information and menu selection operation information are examples of a simple instruction such as opening, deleting, renaming, or the running or closing of the application, or an operation of enlarging or reducing the image, or a touch operation information.
  • the sliding screen operation information includes sliding the screen information to the left, sliding the screen information to the right, sliding the screen information upward, sliding the screen information downward, and the like.
  • the operation instructions include, but are not limited to, the above instructions. It may also be a collection of multiple operations, the collection of multiple operations including input information of the first operation, input information of the second operation, input information of the operation of the Nth step, and between the two adjacent input information Time difference, the N is a natural number.
  • the input operation is a single operation such as opening, deleting, renaming, sliding, clicking, long pressing, etc.
  • the corresponding instruction for executing the operation in the background of the program is saved.
  • the input operation is a set of multiple steps
  • the input instruction of the first operation, the input instruction of the second operation, the input instruction of the Nth operation are sequentially sequentially performed in the order of acquisition.
  • the time difference between two adjacent input instructions is saved to form an executable script file.
  • the current interface provides a save button, and after the operation instruction input by the user ends, the user clicks the save button to complete the save.
  • Step S103 Exit the pressure touch customization mode, and the mobile terminal saves the pressure parameter currently received by the screen, and the pressure parameter is a parameter related to the pressure perceived by the pressure screen of the mobile terminal.
  • the exit mode of the pressure touch custom mode is: the user presses the screen on the current interface, which is different from the ordinary touch screen, such as tapping, long pressing, sliding touch, and the pressure screen responds to the pressure touch at this time. Operate and record the pressure parameters.
  • This pressure parameter should be consistent with the pressure parameter entering the pressure touch custom mode.
  • the pressure parameters include one or more of pressure coordinates, pressure values, and duration. Different from other interfaces, there are significant interface prompts. For example, there is a text prompt on the interface, and the current pressure touch custom mode is currently exited.
  • the pressure parameter of the current pressing screen is compared with the pressure parameter of the pressure touch operation of the previously saved pressure touch custom mode. If the pressure parameters are the same, Then exit the pressure touch custom mode, give the user prompt, and save the pressure parameter. If the pressure parameters are different, the pressure touch custom mode is not exited, User prompts.
  • the pressure parameter includes one or more of pressure coordinates, pressure value, duration, and includes a manner of pressure touch, including an operation mode such as tap, long press, and slide.
  • Step S104 saving the pressure parameter of the current interface and the corresponding operation instruction into a file, and storing a correspondence between the operation instruction and the pressure parameter;
  • Step S105 When the user re-enters the interface and uses the pressure screen touch operation, the terminal searches for and calls the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter. After the mobile terminal acquires the pressure parameter it receives, according to the pressure parameter, an operation instruction corresponding to the pressure parameter is searched, and the found operation instruction is called.
  • the saved operation steps can be automatically executed to implement the corresponding functions, and the complicated operation is not required to be repeatedly input, thereby greatly saving the operation time of the user.
  • the operation information input by the user or the input information of each operation step recorded in the executable script file is automatically operated.
  • FIG. 3 is a flowchart of a method for applying pressure touch according to an example of the present invention.
  • the application example provides a function for the mobile terminal to perform the continuous shooting by using the pressure touch.
  • the target to be focused is clicked on the framing interface, and the camera is continuously pressed, and the continuous shooting speed is proportional to the pressing pressure.
  • the method includes the following steps:
  • Step S401 the user starts the photo framing interface, and presses the screen to enter the pressure touch customization.
  • Mode in the pressure touch custom mode, the mobile phone monitors a series of operation and pressure touch pressure parameters input by the user and records and saves.
  • the user performs a pressure touch operation on the camera view interface to enter the pressure touch custom mode, and the mobile phone saves the current pressure parameters of the screen.
  • the pressure parameter is a parameter related to the pressure sensed by the pressure screen of the mobile terminal.
  • Step S402 The terminal saves a series of operations input by the user to complete a function.
  • the program background storage unit saves the instruction corresponding to the operation.
  • the input operation is a set of a plurality of steps, and the input command of setting the number of consecutive shots 10 times in the first step operation and the input command of clicking the take-up button operation in the second step are sequentially formed into an executable script file.
  • Step S403 exiting the pressure touch customization mode.
  • Step S404 The storage unit saves the pressure parameter of the current interface and the corresponding operation instruction into a file, and stores a correspondence between the operation instruction and the pressure parameter, as shown in Table 2.
  • the operation sequence 1 indicates that the mobile terminal continues to receive a force of 2N for a duration of 2 s, that is, a duration of 2 seconds on 2 Newtons.
  • the mobile terminal searches for a pre-stored operation instruction corresponding to the pressure parameter in the corresponding relationship according to the pressure parameter (pressure value 2N and duration 2s), and the corresponding operation instruction automatically sets the continuous shooting number to 10 times and completes Taking a picture;
  • operation sequence 2 indicates that the mobile terminal continues to receive a force of 4N for a duration of 2s, and the mobile terminal searches for a pre-stored parameter corresponding to the pressure parameter according to the pressure parameter (pressure value 4N and duration 2s).
  • the corresponding operation instruction is to automatically set the number of consecutive shots to 20 times and complete the photographing.
  • Step S405 When the user re-enters the photographing interface, when the pressure screen touch operation is used, the terminal searches for and calls the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter.
  • the user performs a pressure touch operation on the photographing and framing interface, and the user presses the screen with a force value of 2 Newtons (ie, 2N), and the continuous force time on the pressure value 2N is 2 seconds, and the mobile terminal automatically completes the continuous shooting 10 times. Operation.
  • FIG. 4 is a flowchart of a method for applying pressure touch according to Example 2 of the embodiment of the present invention.
  • This application example enters and exits the pressure touch custom mode, which is implemented by the user pressing the screen, and can also set other ways to enter and exit the pressure touch custom mode, such as through a specific touch operation or providing a shortcut.
  • a separate process is required to complete the acquisition of the user pressure parameters.
  • the application example provides a function that the mobile terminal uses the pressure touch to complete the photographing continuous shooting. When the photographing is taken, the target to be focused is clicked on the framing interface, and the camera is continuously pressed, as shown in FIG. 4, the method includes the following steps. :
  • Step S501 The user activates the photo framing interface, and enters the pressure touch operation through a specific touch operation (for example, long press of the screen 5s) or an interface providing a shortcut (the camera finder interface provides a button menu option for entering the pressure touch custom mode). Define the mode. In the custom mode, the mobile phone monitors the user-entered series of operation and pressure touch pressure parameters and records and saves them.
  • a specific touch operation for example, long press of the screen 5s
  • an interface providing a shortcut the camera finder interface provides a button menu option for entering the pressure touch custom mode.
  • the mobile phone monitors the user-entered series of operation and pressure touch pressure parameters and records and saves them.
  • Step S502 The terminal saves a series of operations input by the user to complete a specified function.
  • Step S503 The user performs a pressure touch operation on the photographing and framing interface, and the mobile phone saves the pressure parameter currently received by the screen.
  • the pressure parameter is a parameter related to the pressure sensed by the pressure screen of the mobile terminal. Assume that the user presses the screen with a velocity value of 2 Newtons (ie 2N), and the duration of the force on the pressure value 2N is 2 seconds (ie 2 seconds), which means that the mobile terminal is stressed for a duration of 2 seconds. It is 2 Newtons.
  • the calculation of the pressure value can take an approximate value, such as 1.6N ⁇ 2.0N, 1.4N ⁇ 1.0N; it is also possible to set different effective value algorithms for the value according to the needs of the user or the system.
  • Step S504 The storage unit saves the pressure parameter of the current interface and the corresponding operation instruction into a file, and stores a correspondence between the operation instruction and the pressure parameter, as shown in Table 3, and then exits the pressure touch customization mode. .
  • Step S505 When the user re-enters the photographing interface, when the pressure screen touch operation is used, the terminal searches for and calls the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter.
  • the embodiment of the present invention saves a series of operations input by the user in advance to complete a function, and saves the instruction corresponding to the operation.
  • the input operation is a single operation or a collection of multiple steps, and a method of providing an option menu on the current interface for the user to input an operation instruction without performing an actual operation. For example, when the user needs to complete the pressure touch operation for continuous shooting 10 times, when entering the pressure touch customization mode, each option menu already provided in the interface provides a selection box for use. After the user selects one of the items, the system saves the instruction of the operation to the corresponding file.
  • FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the terminal in this embodiment includes:
  • the processing module is configured to: after receiving the custom pressure touch instruction, enter the pressure touch customization mode to obtain operation information input by the user;
  • the pressure sensing module is set to: obtain a pressure parameter of the pressure of the current interface
  • the storage module is configured to: save an operation instruction corresponding to the operation information, and save a correspondence between the operation instruction and the pressure parameter.
  • the processing module may include:
  • the operation obtaining unit is configured to: obtain input information of all operations input by the mobile terminal user for completing a function; wherein, if the input operation is a single operation such as opening, deleting, renaming, sliding, clicking, long pressing, etc. Then, the corresponding instruction for executing the operation in the background of the program is saved; if the input operation is a set of multiple steps, the input information of the first operation, the input information of the second operation, the... The input information of the Nth operation and the time difference between the adjacent two input information form an executable script file;
  • the pressure parameter obtaining unit is configured to: obtain a pressure parameter received by the pressure terminal of the mobile terminal from the pressure sensing module, wherein the pressure parameter includes one or more of a pressure coordinate, a pressure value, and a duration, and includes a pressure touch method. , including tap, long press, slide and other operating modes or pressure change functions;
  • the execution unit is configured to: execute the corresponding operation instruction file according to the pressure parameter input by the user, and search for and call the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter; The input information for each step of the operation is automatically operated.
  • the storage module is configured to save an operation instruction corresponding to the operation information after receiving the save instruction.
  • processing module may be further configured to: exit the pressure touch custom mode interface after receiving the exit instruction.
  • the operation information acquired by the processing module includes a plurality of operation information
  • the storage module is configured to save the operation instruction corresponding to the operation information, which is: The sequence sequentially saves the operation instruction corresponding to the operation information to form an executable script file.
  • the pressure sensing module is further configured to: when receiving the pressure, obtain a corresponding pressure parameter;
  • the processing module is further configured to: determine whether the storage module stores the acquired pressure parameter, and if yes, acquire an operation instruction corresponding to the pressure parameter, and perform processing according to the acquired operation instruction; if not, enter Pressure touch custom mode.
  • a pressure sensitive screen is used in the middle of the touch screen and the LCD (Liquid Crystal Display) to detect a force-pressed sensor.
  • the signal of the sensor can be transmitted to the main board and the center of the smart device through the information transmission processing unit.
  • the processor processes the event, and the central processor can receive the event response and coordinate information of the hard press.
  • the pressure sensitive module includes, for example, a touch screen and a pressure sensor, and the processing module is, for example, a processor such as a CPU, and the storage module is, for example, a memory.
  • an embodiment of the present invention further provides a terminal, including: a processor, a touch screen, and a pressure sensor disposed under the touch screen, wherein the touch screen and the pressure sensor are respectively connected to the processor;
  • a terminal including: a processor, a touch screen, and a pressure sensor disposed under the touch screen, wherein the touch screen and the pressure sensor are respectively connected to the processor;
  • the user After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information;
  • the pressure sensor is set to: acquire the current interface of the touch screen a pressure parameter that is stressed;
  • the processor is further configured to: save a correspondence between the operation command and the pressure parameter.
  • the embodiment of the invention solves the problem that the current pressure screen has very few use scenarios and the application support is very small.
  • the pressure touch operation can be customized, and the terminal is not solved.
  • the problem of pressure touch is set.
  • users can customize the custom use requirements, provide personalized personalized pressure touch service experience, and facilitate users to use the pressure touch function in various scenarios.
  • the pressure touch method and device provided by the embodiments of the present invention solve the problems in the prior art that the pressure touch application scenario is less, the application is not extensive, and the use requirement cannot be personalized.
  • the embodiment of the present invention enhances the user experience by creating a customized personalized pressure touch scene, and executes different operation commands by the pressure parameters of the customized pressure screen of the mobile terminal, so that the operation of the mobile terminal by the user is simpler and faster. It also enriches the language of human-computer interaction.
  • an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, wherein the method of implementing the pressure touch is implemented when the computer executable instructions are executed.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. Instructions to achieve their corresponding functions. This application is not limited to any specific combination of hardware and software.
  • the embodiment of the invention provides a method and a terminal for pressure touch, which enhances the user experience by creating a customized personalized pressure touch scene, and executes different operation commands by different pressure parameters of the customized pressure screen of the mobile terminal, so that The user's operation on the mobile terminal is simpler and faster, and the language of human-computer interaction is also enriched; the problem that the pressure touch application scenario is less, the application is not widely used, and the use requirement cannot be personalized is solved.

Landscapes

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

Abstract

A force touch method comprises: upon receipt of an instruction to enter custom force touch, entering a force touch custom mode, acquiring operation information input by a user, and saving an operation instruction corresponding to the operation information (S11); acquiring pressure parameters of a pressure acting upon a current interface, and saving a corresponding relationship between the operation instruction and the pressure parameters (S12). The above-mentioned method can widen the application scenarios of force touch.

Description

一种压力触控的方法和终端Pressure touch method and terminal 技术领域Technical field
本申请涉及但不限于通信领域,特别是涉及一种压力触控的方法和终端。The present application relates to, but is not limited to, the field of communications, and in particular, to a method and terminal for pressure touch.
背景技术Background technique
压力屏是一种新型的人机交互技术,在手机可以感应重力、速度、光线、声音、指纹、虹膜、触摸之后,压力屏让其拥有了“按压感知”,即感知人手给予的不同程度的压力,包括轻点、按压和更强的按压。Pressure screen is a new type of human-computer interaction technology. After the mobile phone can sense gravity, speed, light, sound, fingerprint, iris, touch, the pressure screen allows it to have "pressing perception", that is, to perceive the different degrees given by the human hand. Stress, including tapping, pressing, and stronger compression.
AppleWatch(苹果手表)首次通过ForceTouch(压力触控)功能将压力屏引入消费电子领域,接下来压力屏会成为智能手机标配。让交互进入“触摸互动”时代,手机不再是一个“平面交互系统”,进入“三维时代”。实际上,之前的物理Home(主页)键就能提供类似的按压体验,例如双击、长按,在Siri(语音控制功能)调用等场景体验很棒,现在这种体验被移动到面积更大的屏幕,带来很多可能。例如,苹果演示了长按之后的邮件免预览直接打开,长按之后应用进入设置界面。For the first time, AppleWatch introduces pressure screens into the consumer electronics field through ForceTouch, and the pressure screen will become standard on smartphones. Let the interaction enter the "touch interaction" era, the mobile phone is no longer a "planar interactive system", enter the "three-dimensional era." In fact, the previous physical Home button provides a similar pressing experience, such as double-clicking, long-pressing, and a great experience in Siri (voice control) calls, and now the experience is moved to a larger area. The screen brings a lot of possibilities. For example, Apple demonstrated that the long-pressed email is free to open the preview directly, and the application enters the setup interface after long press.
压力屏当前只是做到了非常浅层的“触摸互动”,它让手机可以感知人的压力,压力屏让手机的交互距离“增强现实”更进一步,它给手机未来的应用和交互带来巨大的想象空间,但是目前基于压力屏的使用场景还非常少,应用的支持也非常少,当用户需要在某个场景界面下使用压力触控时,终端并没有设置压力触控的功能,对用户使用十分不便。The pressure screen is only doing a very shallow "touch interaction", which allows the mobile phone to perceive the pressure of the person. The pressure screen makes the interaction distance of the mobile phone further "augmented reality", which brings huge impact to the future application and interaction of the mobile phone. Imagine the space, but the current use of pressure screens is still very small, and the application support is very small. When the user needs to use pressure touch in a scene interface, the terminal does not have the function of setting pressure touch, and is used by the user. Very inconvenient.
随着智能终端的应用功能越来越丰富,操作系统也变得非常复杂,当用户需要使用系统中某一功能时,一般需要经过较深的操作路径才能达到目的,这使得用户操作复杂度大大增加,在众多的应用场景中存在很多需要用户个性化自定义使用需求的情况,现有技术不能为用户提供个性化定制的压力触控的全面服务体验。用户不能非常方便地在各种场景下使用压力触控功能,影响使用效果。As the application functions of intelligent terminals become more and more abundant, the operating system becomes very complicated. When a user needs to use a certain function in the system, it generally needs to go through a deep operation path to achieve the purpose, which makes the user operation complexity greatly. In addition, in many application scenarios, there are many situations in which the user needs to customize the custom use requirements, and the prior art cannot provide the user with a personalized service experience of pressure touch. Users can't easily use the pressure touch function in various scenarios, which affects the use effect.
将来会出现基于压力触控交互的更多应用场景,如何更可能多地扩展基 于压力触控的应用场景,给用户体验带来更多可能性,给予压力触控更多施展空间,带来全新的应用使用体验,是迫切需要解决的问题。In the future, there will be more application scenarios based on pressure touch interaction, how to more likely to expand the base. In the application scenario of pressure touch, it brings more possibilities to the user experience, giving more space for pressure touch and bringing a new application experience, which is an urgent problem to be solved.
发明内容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 embodiment of the invention provides a pressure touch method and a terminal to expand an application scenario of pressure touch.
本发明实施例提供了一种压力触控的方法,包括:Embodiments of the present invention provide a method for pressure touch, including:
接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息,保存所述操作信息对应的操作指令;After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information;
获取当前界面所受压力的压力参数,保存所述操作指令与所述压力参数的对应关系。Obtaining a pressure parameter of the pressure applied to the current interface, and storing a correspondence between the operation instruction and the pressure parameter.
可选地,Optionally,
所述操作信息包括多个操作信息,The operation information includes a plurality of operation information,
所述保存所述操作信息对应的操作指令,包括:The operation instruction corresponding to saving the operation information includes:
按获取顺序依次保存所述操作信息对应的所述操作指令,形成一个可执行脚本文件。The operation instructions corresponding to the operation information are sequentially saved in the order of acquisition to form an executable script file.
可选地,所述保存所述操作信息对应的操作指令,包括:在接收到保存指令后保存所述操作信息对应的操作指令。Optionally, the saving the operation instruction corresponding to the operation information includes: saving an operation instruction corresponding to the operation information after receiving the save instruction.
可选地,所述方法还包括:Optionally, the method further includes:
接受压力时,获取对应的压力参数;When receiving pressure, obtain corresponding pressure parameters;
判断是否存储有所获取的压力参数,若有,则获取该压力参数对应的操作指令,根据所获取的操作指令进行处理;若没有,则进入压力触控自定义模式。It is determined whether the obtained pressure parameter is stored, and if yes, the operation instruction corresponding to the pressure parameter is acquired, and the processing is processed according to the obtained operation instruction; if not, the pressure touch customization mode is entered.
可选地,所述方法还包括:Optionally, the method further includes:
接收到退出指令后,退出所述压力触控自定义模式界面。 After receiving the exit instruction, exit the pressure touch custom mode interface.
本发明实施例还提供一种终端,包括:The embodiment of the invention further provides a terminal, including:
处理模块,设置为:接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息;The processing module is configured to: after receiving the custom pressure touch instruction, enter the pressure touch customization mode to obtain operation information input by the user;
压感模块,设置为:获取当前界面所受压力的压力参数;The pressure sensing module is set to: obtain a pressure parameter of the pressure of the current interface;
存储模块,设置为:保存所述操作信息对应的操作指令,保存所述操作指令与所述压力参数的对应关系。The storage module is configured to: save an operation instruction corresponding to the operation information, and save a correspondence between the operation instruction and the pressure parameter.
可选地,Optionally,
所述处理模块获取的操作信息包括多个操作信息;The operation information acquired by the processing module includes a plurality of operation information;
所述存储模块,设置为保存所述操作信息对应的操作指令,是指:按获取顺序依次保存所述操作信息对应的所述操作指令,形成一个可执行脚本文件。The storage module is configured to save the operation instruction corresponding to the operation information, and the operation instruction corresponding to the operation information is sequentially saved in an acquisition order to form an executable script file.
可选地,所述存储模块是设置为:在接收到保存指令后保存所述操作信息对应的操作指令。Optionally, the storage module is configured to save an operation instruction corresponding to the operation information after receiving the save instruction.
可选地,Optionally,
所述压感模块,还设置为:接受压力时,获取对应的压力参数;The pressure sensing module is further configured to: when receiving the pressure, obtain a corresponding pressure parameter;
所述处理模块,还设置为:判断所述存储模块是否存储有所获取的压力参数,若有,则获取该压力参数对应的操作指令,根据所获取的操作指令进行处理;若没有,则进入压力触控自定义模式。The processing module is further configured to: determine whether the storage module stores the acquired pressure parameter, and if yes, acquire an operation instruction corresponding to the pressure parameter, and perform processing according to the acquired operation instruction; if not, enter Pressure touch custom mode.
可选地,所述处理模块,还设置为:接收到退出指令后,退出所述压力触控自定义模式界面。Optionally, the processing module is further configured to: after receiving the exit instruction, exit the pressure touch custom mode interface.
此外,本发明实施例还提供一种终端,包括:处理器、触摸屏以及设置于所述触摸屏下方的压力传感器,所述触摸屏和所述压力传感器分别与所述处理器连接;所述处理器设置为:接收到自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息,保存所述操作信息对应的操作指令;所述压力传感器设置为:获取触摸屏的当前界面所受压力的压力参数;所述处理器还设置为:保存所述操作指令与所述压力参数的对应关系。In addition, an embodiment of the present invention further provides a terminal, including: a processor, a touch screen, and a pressure sensor disposed under the touch screen, wherein the touch screen and the pressure sensor are respectively connected to the processor; After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information; the pressure sensor is set to: acquire the current interface of the touch screen a pressure parameter that is stressed; the processor is further configured to: save a correspondence between the operation command and the pressure parameter.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可 执行指令,所述计算机可执行指令被执行时实现上述压力触控的方法。In addition, an embodiment of the present invention further provides a computer readable storage medium, where a computer can be stored. Executing an instruction that implements the above-described pressure touch method when the computer executable instructions are executed.
在本发明实施例中,接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息,保存所述操作信息对应的操作指令;获取当前界面所受压力的压力参数,保存所述操作指令与所述压力参数的对应关系。如此,通过创建自定义个性化的压力触控场景提升用户体验,解决了现有技术中压力触控应用场景较少、应用不够广泛、使用需求不能个性化设置的问题,In the embodiment of the present invention, after receiving the custom pressure touch instruction, the user enters the pressure touch customization mode, acquires the operation information input by the user, saves the operation instruction corresponding to the operation information, and acquires the pressure of the current interface. a pressure parameter that saves a correspondence between the operation command and the pressure parameter. In this way, the user experience is improved by creating a customized personalized pressure touch scenario, which solves the problem that the pressure touch application scenario in the prior art is less, the application is not extensive, and the use requirement cannot be personalized.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一的一种压力触控的方法的流程图;1 is a flowchart of a method for pressure touch according to Embodiment 1 of the present invention;
图2为本发明实施例二的一种压力触控的方法的流程图;2 is a flowchart of a method for pressure touch according to Embodiment 2 of the present invention;
图3为本发明实施例的应用示例一的一种压力触控的方法的流程图;3 is a flowchart of a method for pressure touch according to an application example 1 of the embodiment of the present invention;
图4为本发明实施例的应用示例二的一种压力触控的方法的流程图;4 is a flowchart of a method for pressure touch according to application example 2 of the embodiment of the present invention;
图5为本发明实施例的终端的示意图。FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明实施例提供了一种压力触控的方法,用于解决现有技术中压力触控应用场景较少、应用不够广泛、使用需求不能个性化设置的问题,通过创建自定义个性化的压力触控场景提升用户体验。如图1所示,本实施例的方法包括以下步骤:The embodiment of the invention provides a method for pressure touch, which is used to solve the problem that the pressure touch application scenario in the prior art is less, the application is not widely used, and the use requirement cannot be personalized, and the pressure of creating a customized individual is created. Touch scenes enhance the user experience. As shown in FIG. 1, the method of this embodiment includes the following steps:
步骤S11、接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息,保存所述操作信息对应的操作指令;Step S11, after receiving the custom pressure touch instruction, enter the pressure touch customization mode, obtain operation information input by the user, and save an operation instruction corresponding to the operation information;
步骤S12、获取当前界面所受压力的压力参数,保存所述操作指令与所述压力参数的对应关系。 Step S12: Obtain a pressure parameter of the pressure received by the current interface, and save a correspondence between the operation instruction and the pressure parameter.
在一可选实施例中,所述操作信息可以是多个操作信息的集合,所述保存所述操作信息对应的操作指令,包括:In an optional embodiment, the operation information may be a set of multiple operation information, and the operation instruction corresponding to the operation information includes:
按获取顺序依次保存所述操作信息对应的所述操作指令,形成一个可执行脚本文件。The operation instructions corresponding to the operation information are sequentially saved in the order of acquisition to form an executable script file.
在一可选实施例中,上述方法还可以包括:In an optional embodiment, the foregoing method may further include:
接受压力时,获取对应的压力参数;When receiving pressure, obtain corresponding pressure parameters;
判断是否存储有所获取的压力参数,若有,则获取该压力参数对应的操作指令,根据所获取的操作指令进行处理;若没有,则进入压力触控自定义模式。It is determined whether the obtained pressure parameter is stored, and if yes, the operation instruction corresponding to the pressure parameter is acquired, and the processing is processed according to the obtained operation instruction; if not, the pressure touch customization mode is entered.
本发明实施例的方法通过用户预先设定任意界面的压力参数和操作指令的对应关系,方便用户自定义任意应用和界面的压力触控操作,使得用户对移动终端的操作更加简单、快捷,也丰富了人机交互的语言。The method of the embodiment of the invention pre-sets the correspondence between the pressure parameter and the operation instruction of any interface, so that the user can customize the pressure touch operation of any application and interface, so that the operation of the mobile terminal by the user is simpler and faster, and Enriched the language of human-computer interaction.
图2为本发明实施例二的压力触控的方法的流程图,如图2所示,本实施例的方法包括以下步骤:2 is a flowchart of a method for pressure touch according to Embodiment 2 of the present invention. As shown in FIG. 2, the method in this embodiment includes the following steps:
步骤S101、进入压力触控自定义模式,在自定义模式下,终端监控用户输入的一系列操作和压力触控的压力参数,并记录保存。Step S101: Enter a pressure touch custom mode. In the custom mode, the terminal monitors a series of operations input by the user and pressure parameters of the pressure touch, and records and saves.
可选地,压力触控自定义模式的进入方式为:用户在当前界面用力按压屏幕,区别于普通的触摸屏幕,比如点按、长按、滑动触控,压力屏幕响应此时的压力触控操作,并记录压力参数。压力参数包括压力坐标、压力数值、持续时间中的一个或多个。区别于其他界面,有显著的界面提示。例如界面上有文字提示,当前进入压力触控自定义模式。Optionally, the pressure touch custom mode enters the mode: the user presses the screen on the current interface, which is different from the ordinary touch screen, such as tapping, long pressing, sliding touch, and the pressure screen responds to the pressure touch at this time. Operate and record the pressure parameters. The pressure parameters include one or more of pressure coordinates, pressure values, and duration. Different from other interfaces, there are significant interface prompts. For example, there is a text prompt on the interface, and the current pressure touch custom mode is entered.
可选地,用户在当前界面用力按压屏幕时,如果该界面已经保存有压力触控操作,则将本次按压屏幕的压力参数和已经保存的压力触控操作的压力参数进行比较,如果压力参数相同,则不进入压力触控自定义模式,而是启动已经保存的压力触控操作。如果压力参数不同,则进入压力触控自定义模式。Optionally, when the user presses the screen firmly on the current interface, if the interface has saved the pressure touch operation, the pressure parameter of the current pressing screen is compared with the pressure parameter of the saved pressure touch operation, if the pressure parameter The same, instead of entering the pressure touch custom mode, the pressure touch operation has been saved. If the pressure parameters are different, enter the pressure touch custom mode.
步骤S102、终端保存用户完成一个功能所输入的一系列操作。Step S102: The terminal saves a series of operations input by the user to complete a function.
从当前界面开始,获取用户为完成一个功能所输入的操作。 From the current interface, get the action that the user entered to complete a function.
可选地,所输入的操作可以是打开、删除、重命名等简单的指令,也可以是应用程序的运行或关闭,还可以是对图片的放大或缩小等操作,也可以是触摸操作信息、滑动屏幕操作信息和菜单选择操作信息中的一种或多种。Optionally, the input operation may be a simple instruction such as opening, deleting, renaming, or the running or closing of the application, or an operation of enlarging or reducing the image, or a touch operation information. One or more of sliding screen operation information and menu selection operation information.
其中,滑动屏幕操作信息包括向左滑动屏幕信息、向右滑动屏幕信息、向上滑动屏幕信息、向下滑动屏幕信息等等。The sliding screen operation information includes sliding the screen information to the left, sliding the screen information to the right, sliding the screen information upward, sliding the screen information downward, and the like.
当然,在本发明实施例中,操作指令包括但不限于上述指令。也可以是多个操作的集合,多个操作的集合包括第一步操作的输入信息、第二步操作的输入信息……第N步操作的输入信息,以及相邻两个输入信息之间的时间差,所述N为自然数。Of course, in the embodiment of the present invention, the operation instructions include, but are not limited to, the above instructions. It may also be a collection of multiple operations, the collection of multiple operations including input information of the first operation, input information of the second operation, input information of the operation of the Nth step, and between the two adjacent input information Time difference, the N is a natural number.
可选地,如果所输入的操作是打开、删除、重命名、滑动、点击、长按等单一的操作,则将程序后台执行该操作的对应指令保存。Optionally, if the input operation is a single operation such as opening, deleting, renaming, sliding, clicking, long pressing, etc., the corresponding instruction for executing the operation in the background of the program is saved.
可选地,如果所输入的操作是多个步骤的集合,则按获取顺序依次将所述第一步操作的输入指令、第二步操作的输入指令、……、第N步操作的输入指令及相邻两个输入指令之间的时间差保存,形成一个可执行脚本文件。Optionally, if the input operation is a set of multiple steps, the input instruction of the first operation, the input instruction of the second operation, the input instruction of the Nth operation are sequentially sequentially performed in the order of acquisition. And the time difference between two adjacent input instructions is saved to form an executable script file.
可选地,当前界面提供保存按钮,用于用户所输入的操作指令结束后,用户点击保存按钮完成保存。Optionally, the current interface provides a save button, and after the operation instruction input by the user ends, the user clicks the save button to complete the save.
步骤S103、退出压力触控自定义模式,移动终端保存屏幕当前所受的压力参数,该压力参数是与移动终端压力屏感知到的压力相关的参数。Step S103: Exit the pressure touch customization mode, and the mobile terminal saves the pressure parameter currently received by the screen, and the pressure parameter is a parameter related to the pressure perceived by the pressure screen of the mobile terminal.
可选地,压力触控自定义模式的退出方式为:用户在当前界面用力按压屏幕,区别于普通的触摸屏幕,比如点按、长按、滑动触控,压力屏幕响应此时的压力触控操作,并记录压力参数。该压力参数应该和进入压力触控自定义模式的压力参数一致。压力参数包括压力坐标、压力数值、持续时间中的一个或多个。区别于其他界面,有显著的界面提示。例如界面上有文字提示,当前退出压力触控自定义模式。Optionally, the exit mode of the pressure touch custom mode is: the user presses the screen on the current interface, which is different from the ordinary touch screen, such as tapping, long pressing, sliding touch, and the pressure screen responds to the pressure touch at this time. Operate and record the pressure parameters. This pressure parameter should be consistent with the pressure parameter entering the pressure touch custom mode. The pressure parameters include one or more of pressure coordinates, pressure values, and duration. Different from other interfaces, there are significant interface prompts. For example, there is a text prompt on the interface, and the current pressure touch custom mode is currently exited.
可选地,用户在当前界面用力按压屏幕时,则将本次按压屏幕的压力参数和先前已经保存的进入压力触控自定义模式的压力触控操作的压力参数进行比较,如果压力参数相同,则退出压力触控自定义模式,给出用户提示,并保存该压力参数。如果压力参数不同,则不退出压力触控自定义模式,给 出用户提示。Optionally, when the user presses the screen firmly on the current interface, the pressure parameter of the current pressing screen is compared with the pressure parameter of the pressure touch operation of the previously saved pressure touch custom mode. If the pressure parameters are the same, Then exit the pressure touch custom mode, give the user prompt, and save the pressure parameter. If the pressure parameters are different, the pressure touch custom mode is not exited, User prompts.
可选地,压力参数包括压力坐标、压力数值、持续时间中的一个或多个,并且包括压力触控的方式,包括点按、长按、滑动等操作模式。Optionally, the pressure parameter includes one or more of pressure coordinates, pressure value, duration, and includes a manner of pressure touch, including an operation mode such as tap, long press, and slide.
步骤S104、将当前界面的压力参数和所对应的操作指令保存到一个文件中,存储操作指令与压力参数之间的对应关系;Step S104, saving the pressure parameter of the current interface and the corresponding operation instruction into a file, and storing a correspondence between the operation instruction and the pressure parameter;
其中,压力参数与操作指令之间的对应关系例如表1所示。The correspondence between the pressure parameter and the operation command is as shown in Table 1.
表1Table 1
Figure PCTCN2016073312-appb-000001
Figure PCTCN2016073312-appb-000001
步骤S105、当用户重新进入该界面并使用压力屏触控操作时,终端根据该压力参数,查找并调用预先存储的与该压力参数相对应的操作指令。在移动终端获取其所受的压力参数后,根据该压力参数,查找与该压力参数相对应的操作指令,并调用所找到的操作指令。Step S105: When the user re-enters the interface and uses the pressure screen touch operation, the terminal searches for and calls the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter. After the mobile terminal acquires the pressure parameter it receives, according to the pressure parameter, an operation instruction corresponding to the pressure parameter is searched, and the found operation instruction is called.
可选地,当用户需要使用按压操作时,即可自动执行保存的操作步骤,实现相应的功能,不需要再重复输入繁杂的操作,大大节省了用户的操作时间。获取用户输入的操作指令或者可执行脚本文件中记录的每个操作步骤的输入信息自动进行操作。Optionally, when the user needs to use the pressing operation, the saved operation steps can be automatically executed to implement the corresponding functions, and the complicated operation is not required to be repeatedly input, thereby greatly saving the operation time of the user. The operation information input by the user or the input information of each operation step recorded in the executable script file is automatically operated.
图3为本发明实施例的应用示例一的压力触控的方法的流程图。本应用示例提供了一种移动终端使用压力触控完成拍照连拍的功能,拍照时在取景界面点击要聚焦的目标,并按压实现相机连拍,连拍速度与按压压力成正比。为了在连拍中重点拍照某个位置并实现连拍效果,根据压力大小不同完成不同速度的连拍,方便用户操作。如图3所示,所述方法包括以下步骤:FIG. 3 is a flowchart of a method for applying pressure touch according to an example of the present invention. The application example provides a function for the mobile terminal to perform the continuous shooting by using the pressure touch. When the camera is photographed, the target to be focused is clicked on the framing interface, and the camera is continuously pressed, and the continuous shooting speed is proportional to the pressing pressure. In order to focus on a certain position and achieve continuous shooting effect in continuous shooting, continuous shooting of different speeds is completed according to different pressures, which is convenient for users to operate. As shown in FIG. 3, the method includes the following steps:
步骤S401、用户启动拍照取景界面,通过按压屏幕进入压力触控自定义 模式,在压力触摸自定义模式下,手机监控用户输入的一系列操作和压力触控的压力参数并记录保存。Step S401, the user starts the photo framing interface, and presses the screen to enter the pressure touch customization. Mode, in the pressure touch custom mode, the mobile phone monitors a series of operation and pressure touch pressure parameters input by the user and records and saves.
用户在拍照取景界面进行压力触控操作进入压力触控自定义模式,手机保存屏幕当前所受的压力参数。该压力参数是与移动终端压力屏感知到的压力相关的参数。The user performs a pressure touch operation on the camera view interface to enter the pressure touch custom mode, and the mobile phone saves the current pressure parameters of the screen. The pressure parameter is a parameter related to the pressure sensed by the pressure screen of the mobile terminal.
假设,用户长按屏幕的力度数值为2牛顿(即2N),其在该压力数值2N上的持续受力时间为2秒(即2s),也就是说移动终端在2秒的持续时间上受力为2牛顿。当然,在压力数值的具体计算上可以取近似值,例如1.6N≈2.0N,1.4N≈1.0N;也可以根据用户或系统的需求来设置数值的不同有效取值算法。Assume that the user presses the screen with a velocity value of 2 Newtons (ie 2N), and the duration of the force on the pressure value 2N is 2 seconds (ie 2 seconds), which means that the mobile terminal is subject to a duration of 2 seconds. The force is 2 Newtons. Of course, an approximate value can be taken in the specific calculation of the pressure value, for example, 1.6N ≈ 2.0N, 1.4N ≈ 1.0N; different effective value algorithms of values can also be set according to the needs of the user or the system.
步骤S402、终端保存用户完成一个功能所输入的一系列操作。Step S402: The terminal saves a series of operations input by the user to complete a function.
用户拍照时在取景界面点击要聚焦的目标,并启动相机连拍,设定连拍次数为10次,并点击拍照按钮进行拍照,当前界面提供保存按钮,用户点击保存按钮完成操作步骤的保存。When the user takes a photo, click the target to be focused on the framing interface, and start the camera continuous shooting, set the number of consecutive shots to 10 times, and click the camera button to take a photo. The current interface provides a save button, and the user clicks the save button to complete the operation step.
程序后台存储单元将该操作对应的指令保存。所输入的操作是多个步骤的集合,按获取顺序依次将所述第一步操作设定连拍次数10次的输入指令、第二步点击拍照按钮操作的输入指令形成一个可执行脚本文件。The program background storage unit saves the instruction corresponding to the operation. The input operation is a set of a plurality of steps, and the input command of setting the number of consecutive shots 10 times in the first step operation and the input command of clicking the take-up button operation in the second step are sequentially formed into an executable script file.
步骤S403、退出压力触控自定义模式。Step S403, exiting the pressure touch customization mode.
通过按压屏幕退出压力触控自定义模式;按压屏幕的压力参数和进入压力触控自定义模式的压力参数需要保持一致。Press the screen to exit the pressure touch custom mode; the pressure parameters of the press screen and the pressure parameters of the pressure touch custom mode need to be consistent.
步骤S404、存储单元将当前界面的压力参数和所对应的操作指令保存到一个文件中,存储操作指令与压力参数之间的对应关系,如表2所示。Step S404: The storage unit saves the pressure parameter of the current interface and the corresponding operation instruction into a file, and stores a correspondence between the operation instruction and the pressure parameter, as shown in Table 2.
表2Table 2
Figure PCTCN2016073312-appb-000002
Figure PCTCN2016073312-appb-000002
Figure PCTCN2016073312-appb-000003
Figure PCTCN2016073312-appb-000003
请参见表2,假设用户一共存储了两次操作,操作序列1表示,移动终端在2s的持续时间上持续受力为2N,即在2牛顿上的持续时间为2秒。移动终端根据该压力参数(压力数值2N和持续时间2s),在对应关系中查找预先存储的与该压力参数相对应的操作指令,其对应的操作指令为自动设置连拍次数为10次并完成拍照;操作序列2表示,移动终端在2s的持续时间上持续受力为4N,移动终端根据该压力参数(压力数值4N和持续时间2s),在对应关系中查找预先存储的与该压力参数相对应的操作指令,其对应的操作指令为自动设置连拍次数为20次并完成拍照。Referring to Table 2, it is assumed that the user has stored a total of two operations. The operation sequence 1 indicates that the mobile terminal continues to receive a force of 2N for a duration of 2 s, that is, a duration of 2 seconds on 2 Newtons. The mobile terminal searches for a pre-stored operation instruction corresponding to the pressure parameter in the corresponding relationship according to the pressure parameter (pressure value 2N and duration 2s), and the corresponding operation instruction automatically sets the continuous shooting number to 10 times and completes Taking a picture; operation sequence 2 indicates that the mobile terminal continues to receive a force of 4N for a duration of 2s, and the mobile terminal searches for a pre-stored parameter corresponding to the pressure parameter according to the pressure parameter (pressure value 4N and duration 2s). Corresponding operation instruction, the corresponding operation instruction is to automatically set the number of consecutive shots to 20 times and complete the photographing.
步骤S405、当用户重新进入拍照界面时,使用压力屏触控操作时,终端根据该压力参数,查找并调用预先存储的与该压力参数相对应的操作指令。Step S405: When the user re-enters the photographing interface, when the pressure screen touch operation is used, the terminal searches for and calls the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter.
用户在拍照取景界面进行压力触控操作,用户长按屏幕的力度数值为2牛顿(即2N),其在该压力数值2N上的持续受力时间为2秒,移动终端自动完成连拍10次的操作。The user performs a pressure touch operation on the photographing and framing interface, and the user presses the screen with a force value of 2 Newtons (ie, 2N), and the continuous force time on the pressure value 2N is 2 seconds, and the mobile terminal automatically completes the continuous shooting 10 times. Operation.
图4为本发明实施例应用示例二的压力触控的方法的流程图。本应用示例进入和退出压力触控自定义模式都是由用户按压屏幕实现,也可以设定其他方式进入和退出压力触控自定义模式,例如通过特定的触摸操作或者提供快捷方式等。当使用其他方式进入和退出压力触控自定义模式时,需要提供单独的流程完成用户压力参数的获取。本应用示例提供了一种移动终端使用压力触控完成拍照连拍的功能,拍照时在取景界面点击要聚焦的目标,并按压实现相机连拍,如图4所示,所述方法包括以下步骤:FIG. 4 is a flowchart of a method for applying pressure touch according to Example 2 of the embodiment of the present invention. This application example enters and exits the pressure touch custom mode, which is implemented by the user pressing the screen, and can also set other ways to enter and exit the pressure touch custom mode, such as through a specific touch operation or providing a shortcut. When using other methods to enter and exit the pressure touch custom mode, a separate process is required to complete the acquisition of the user pressure parameters. The application example provides a function that the mobile terminal uses the pressure touch to complete the photographing continuous shooting. When the photographing is taken, the target to be focused is clicked on the framing interface, and the camera is continuously pressed, as shown in FIG. 4, the method includes the following steps. :
步骤S501、用户启动拍照取景界面,通过特定的触摸操作(例如,长按屏幕5s)或者界面提供快捷方式(拍照取景界面提供进入压力触控自定义模式的按钮菜单选项)等进入压力触控自定义模式,在自定义模式下,手机监控用户输入的一系列操作和压力触控的压力参数并记录保存。Step S501: The user activates the photo framing interface, and enters the pressure touch operation through a specific touch operation (for example, long press of the screen 5s) or an interface providing a shortcut (the camera finder interface provides a button menu option for entering the pressure touch custom mode). Define the mode. In the custom mode, the mobile phone monitors the user-entered series of operation and pressure touch pressure parameters and records and saves them.
步骤S502、终端保存用户完成一个指定功能所输入的一系列操作。 Step S502: The terminal saves a series of operations input by the user to complete a specified function.
用户拍照时在取景界面点击要聚焦的目标,并启动相机连拍,设定连拍次数为10次并点击拍照按钮进行拍照,当前界面提供保存按钮,用户点击保存按钮完成操作步骤的保存。When the user takes a photo, click the target to be focused on the framing interface, and start the camera continuous shooting. Set the number of consecutive shots to 10 times and click the camera button to take the photo. The current interface provides a save button, and the user clicks the save button to save the operation steps.
步骤S503、用户在拍照取景界面进行压力触控操作,手机保存屏幕当前所受的压力参数。Step S503: The user performs a pressure touch operation on the photographing and framing interface, and the mobile phone saves the pressure parameter currently received by the screen.
该压力参数是与移动终端压力屏感知到的压力相关的参数。假设用户长按屏幕的力度数值为2牛顿(即2N),其在该压力数值2N上的持续受力时间为2秒(即2s),也就是说移动终端在2秒的持续时间上受力为2牛顿。当然,在压力数值的计算上可以取近似值,例如1.6N≈2.0N,1.4N≈1.0N;也可以根据用户或系统的需求来设置数值的不同有效取值算法。The pressure parameter is a parameter related to the pressure sensed by the pressure screen of the mobile terminal. Assume that the user presses the screen with a velocity value of 2 Newtons (ie 2N), and the duration of the force on the pressure value 2N is 2 seconds (ie 2 seconds), which means that the mobile terminal is stressed for a duration of 2 seconds. It is 2 Newtons. Of course, the calculation of the pressure value can take an approximate value, such as 1.6N ≈ 2.0N, 1.4N ≈ 1.0N; it is also possible to set different effective value algorithms for the value according to the needs of the user or the system.
步骤S504、存储单元将当前界面的压力参数和所对应的操作指令保存到一个文件中,存储操作指令与压力参数之间的对应关系,如表3所示,之后,退出压力触控自定义模式。Step S504: The storage unit saves the pressure parameter of the current interface and the corresponding operation instruction into a file, and stores a correspondence between the operation instruction and the pressure parameter, as shown in Table 3, and then exits the pressure touch customization mode. .
表3table 3
Figure PCTCN2016073312-appb-000004
Figure PCTCN2016073312-appb-000004
步骤S505、当用户重新进入拍照界面时,使用压力屏触控操作时,终端根据该压力参数,查找并调用预先存储的与该压力参数相对应的操作指令。Step S505: When the user re-enters the photographing interface, when the pressure screen touch operation is used, the terminal searches for and calls the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter.
本发明实施例通过保存用户预先完成一个功能所输入的一系列操作,将该操作对应的指令保存。所输入的操作是一个单独的操作或者是多个步骤的集合,也可以使用在当前界面提供选项菜单的方式供用户输入操作指令而不用执行实际的操作。例如,当用户需要完成对连拍10次的压力触控操作,当进入压力触控自定义模式后,界面已有的每个选项菜单都提供了选择框供用 户选择,用户勾选其中一项后,系统就保存该项操作的指令到对应的文件。The embodiment of the present invention saves a series of operations input by the user in advance to complete a function, and saves the instruction corresponding to the operation. The input operation is a single operation or a collection of multiple steps, and a method of providing an option menu on the current interface for the user to input an operation instruction without performing an actual operation. For example, when the user needs to complete the pressure touch operation for continuous shooting 10 times, when entering the pressure touch customization mode, each option menu already provided in the interface provides a selection box for use. After the user selects one of the items, the system saves the instruction of the operation to the corresponding file.
图5为本发明实施例的终端的示意图,如图5所示,本实施例的终端包括:FIG. 5 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 5, the terminal in this embodiment includes:
处理模块,设置为:接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息;The processing module is configured to: after receiving the custom pressure touch instruction, enter the pressure touch customization mode to obtain operation information input by the user;
压感模块,设置为:获取当前界面所受压力的压力参数;The pressure sensing module is set to: obtain a pressure parameter of the pressure of the current interface;
存储模块,设置为:保存所述操作信息对应的操作指令,保存所述操作指令与所述压力参数的对应关系。The storage module is configured to: save an operation instruction corresponding to the operation information, and save a correspondence between the operation instruction and the pressure parameter.
其中,所述处理模块可以包括:The processing module may include:
操作获取单元,设置为:获取移动终端用户为完成一个功能所输入的所有操作的输入信息;其中,如果所输入的操作是打开、删除、重命名、滑动、点击、长按等单一的操作,则将程序后台执行该操作的对应指令保存;如果所输入的操作是多个步骤的集合,则按获取顺序依次将所述第一步操作的输入信息、第二步操作的输入信息、……、第N步操作的输入信息及相邻两个输入信息之间的时间差形成一个可执行脚本文件;The operation obtaining unit is configured to: obtain input information of all operations input by the mobile terminal user for completing a function; wherein, if the input operation is a single operation such as opening, deleting, renaming, sliding, clicking, long pressing, etc. Then, the corresponding instruction for executing the operation in the background of the program is saved; if the input operation is a set of multiple steps, the input information of the first operation, the input information of the second operation, the... The input information of the Nth operation and the time difference between the adjacent two input information form an executable script file;
压力参数获取单元,设置为:从压感模块获取移动终端压力屏所受的压力参数,其中,压力参数包括压力坐标、压力数值、持续时间中的一个或多个,并且包括压力触控的方式,包括点按、长按、滑动等操作模式或者压力变化函数;The pressure parameter obtaining unit is configured to: obtain a pressure parameter received by the pressure terminal of the mobile terminal from the pressure sensing module, wherein the pressure parameter includes one or more of a pressure coordinate, a pressure value, and a duration, and includes a pressure touch method. , including tap, long press, slide and other operating modes or pressure change functions;
执行单元,设置为:根据用户输入的压力参数,执行对应的所述操作指令文件,根据所述压力参数查找并调用预先存储的与所述压力参数相对应的操作指令;按所述操作指令中记录的每个操作步骤的输入信息自动进行操作。The execution unit is configured to: execute the corresponding operation instruction file according to the pressure parameter input by the user, and search for and call the pre-stored operation instruction corresponding to the pressure parameter according to the pressure parameter; The input information for each step of the operation is automatically operated.
其中,所述存储模块,是设置为:在接收到保存指令后保存所述操作信息对应的操作指令。The storage module is configured to save an operation instruction corresponding to the operation information after receiving the save instruction.
在一可选实施例中,所述处理模块,还可设置为:接收到退出指令后,退出所述压力触控自定义模式界面。In an optional embodiment, the processing module may be further configured to: exit the pressure touch custom mode interface after receiving the exit instruction.
在一可选实施例中,所述处理模块获取的操作信息包括多个操作信息;所述存储模块,设置为保存所述操作信息对应的操作指令,是指:按获取顺 序依次保存所述操作信息对应的所述操作指令,形成一个可执行脚本文件。In an optional embodiment, the operation information acquired by the processing module includes a plurality of operation information, and the storage module is configured to save the operation instruction corresponding to the operation information, which is: The sequence sequentially saves the operation instruction corresponding to the operation information to form an executable script file.
可选地,Optionally,
所述压感模块,还设置为:接受压力时,获取对应的压力参数;The pressure sensing module is further configured to: when receiving the pressure, obtain a corresponding pressure parameter;
所述处理模块,还设置为:判断所述存储模块是否存储有所获取的压力参数,若有,则获取该压力参数对应的操作指令,根据所获取的操作指令进行处理;若没有,则进入压力触控自定义模式。The processing module is further configured to: determine whether the storage module stores the acquired pressure parameter, and if yes, acquire an operation instruction corresponding to the pressure parameter, and perform processing according to the acquired operation instruction; if not, enter Pressure touch custom mode.
本实施例中,采用压感屏在触摸屏和LCD(Liquid Crystal Display,液晶显示屏)的中间加入可以检测用力按下的传感器,传感器的信号可以通过信息传输处理单元传输到智能设备的主板和中央处理器进行处理,中央处理器可以收到用力按压的事件响应以及坐标信息等。于实际应用中,压感模块例如包括触摸屏以及压力传感器,处理模块例如为CPU等处理器,存储模块例如为存储器。In this embodiment, a pressure sensitive screen is used in the middle of the touch screen and the LCD (Liquid Crystal Display) to detect a force-pressed sensor. The signal of the sensor can be transmitted to the main board and the center of the smart device through the information transmission processing unit. The processor processes the event, and the central processor can receive the event response and coordinate information of the hard press. In practical applications, the pressure sensitive module includes, for example, a touch screen and a pressure sensor, and the processing module is, for example, a processor such as a CPU, and the storage module is, for example, a memory.
此外,本发明实施例还提供一种终端,包括:处理器、触摸屏以及设置于所述触摸屏下方的压力传感器,所述触摸屏和所述压力传感器分别与所述处理器连接;所述处理器设置为:接收到自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息,保存所述操作信息对应的操作指令;所述压力传感器设置为:获取触摸屏的当前界面所受压力的压力参数;所述处理器还设置为:保存所述操作指令与所述压力参数的对应关系。In addition, an embodiment of the present invention further provides a terminal, including: a processor, a touch screen, and a pressure sensor disposed under the touch screen, wherein the touch screen and the pressure sensor are respectively connected to the processor; After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information; the pressure sensor is set to: acquire the current interface of the touch screen a pressure parameter that is stressed; the processor is further configured to: save a correspondence between the operation command and the pressure parameter.
本发明实施例解决了当前压力屏的使用场景非常少、应用的支持非常少的问题,当用户需要在某个场景界面下使用压力触控时,可以自定义压力触控操作,解决了终端没有设置压力触控的问题,在众多的应用场景中用户可以个性化自定义使用需求,提供个性化定制的压力触控的服务体验,并且方便用户在各种场景下使用压力触控功能。本发明实施例提供的压力触控的方法和装置解决了现有技术中压力触控应用场景较少、应用不够广泛、使用需求不能个性化设置的问题。本发明实施例通过创建自定义个性化的压力触控场景提升用户体验,通过移动终端自定义压力屏所受压力参数的不同执行不同的操作指令,使得用户对移动终端的操作更加简单、快捷,也丰富了人机交互的语言。 The embodiment of the invention solves the problem that the current pressure screen has very few use scenarios and the application support is very small. When the user needs to use the pressure touch in a certain scene interface, the pressure touch operation can be customized, and the terminal is not solved. The problem of pressure touch is set. In many application scenarios, users can customize the custom use requirements, provide personalized personalized pressure touch service experience, and facilitate users to use the pressure touch function in various scenarios. The pressure touch method and device provided by the embodiments of the present invention solve the problems in the prior art that the pressure touch application scenario is less, the application is not extensive, and the use requirement cannot be personalized. The embodiment of the present invention enhances the user experience by creating a customized personalized pressure touch scene, and executes different operation commands by the pressure parameters of the customized pressure screen of the mobile terminal, so that the operation of the mobile terminal by the user is simpler and faster. It also enriches the language of human-computer interaction.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述压力触控的方法。In addition, an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, wherein the method of implementing the pressure touch is implemented when the computer executable instructions are executed.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. Instructions to achieve their corresponding functions. This application is not limited to any specific combination of hardware and software.
以上仅为本申请的优选实施例,当然,本申请还可有其他多种实施例,在不背离本申请精神及其实质的情况下,熟悉本领域的技术人员当可根据本申请作出各种相应的改变和变形,但这些相应的改变和变形都应属于本申请所附的权利要求的保护范围。The above is only a preferred embodiment of the present application, and of course, the present application may have various other embodiments, and those skilled in the art may make various kinds according to the present application without departing from the spirit and spirit of the present application. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供一种压力触控的方法和终端,通过创建自定义个性化的压力触控场景提升用户体验,通过移动终端自定义压力屏所受压力参数的不同执行不同的操作指令,使得用户对移动终端的操作更加简单、快捷,也丰富了人机交互的语言;解决了现有技术中压力触控应用场景较少、应用不够广泛、使用需求不能个性化设置的问题。 The embodiment of the invention provides a method and a terminal for pressure touch, which enhances the user experience by creating a customized personalized pressure touch scene, and executes different operation commands by different pressure parameters of the customized pressure screen of the mobile terminal, so that The user's operation on the mobile terminal is simpler and faster, and the language of human-computer interaction is also enriched; the problem that the pressure touch application scenario is less, the application is not widely used, and the use requirement cannot be personalized is solved.

Claims (11)

  1. 一种压力触控的方法,包括:A method of pressure touch, comprising:
    接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息,保存所述操作信息对应的操作指令;After receiving the custom pressure touch command, the user enters the pressure touch custom mode, obtains the operation information input by the user, and saves the operation instruction corresponding to the operation information;
    获取当前界面所受压力的压力参数,保存所述操作指令与所述压力参数的对应关系。Obtaining a pressure parameter of the pressure applied to the current interface, and storing a correspondence between the operation instruction and the pressure parameter.
  2. 如权利要求1所述的方法,其中,The method of claim 1 wherein
    所述操作信息包括多个操作信息,The operation information includes a plurality of operation information,
    所述保存所述操作信息对应的操作指令,包括:The operation instruction corresponding to saving the operation information includes:
    按获取顺序依次保存所述操作信息对应的所述操作指令,形成一个可执行脚本文件。The operation instructions corresponding to the operation information are sequentially saved in the order of acquisition to form an executable script file.
  3. 如权利要求2所述的方法,其中,所述保存所述操作信息对应的操作指令,包括:在接收到保存指令后保存所述操作信息对应的操作指令。The method of claim 2, wherein the saving the operation instruction corresponding to the operation information comprises: saving an operation instruction corresponding to the operation information after receiving the save instruction.
  4. 如权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    接受压力时,获取对应的压力参数;When receiving pressure, obtain corresponding pressure parameters;
    判断是否存储有所获取的压力参数,若有,则获取该压力参数对应的操作指令,根据所获取的操作指令进行处理;若没有,则进入压力触控自定义模式。It is determined whether the obtained pressure parameter is stored, and if yes, the operation instruction corresponding to the pressure parameter is acquired, and the processing is processed according to the obtained operation instruction; if not, the pressure touch customization mode is entered.
  5. 如权利要求1-4任所述的方法,所述方法还包括:The method of any of claims 1-4, further comprising:
    接收到退出指令后,退出所述压力触控自定义模式界面。After receiving the exit instruction, exit the pressure touch custom mode interface.
  6. 一种终端,包括:A terminal comprising:
    处理模块,设置为:接收到进入自定义压力触控指令后,进入压力触控自定义模式,获取用户输入的操作信息;The processing module is configured to: after receiving the custom pressure touch instruction, enter the pressure touch customization mode to obtain operation information input by the user;
    压感模块,设置为:获取当前界面所受压力的压力参数;The pressure sensing module is set to: obtain a pressure parameter of the pressure of the current interface;
    存储模块,设置为:保存所述操作信息对应的操作指令,保存所述操作指令与所述压力参数的对应关系。 The storage module is configured to: save an operation instruction corresponding to the operation information, and save a correspondence between the operation instruction and the pressure parameter.
  7. 如权利要求6所述的终端,其中,The terminal of claim 6, wherein
    所述处理模块获取的操作信息包括多个操作信息;The operation information acquired by the processing module includes a plurality of operation information;
    所述存储模块,设置为保存所述操作信息对应的操作指令,是指:按获取顺序依次保存所述操作信息对应的所述操作指令,形成一个可执行脚本文件。The storage module is configured to save the operation instruction corresponding to the operation information, and the operation instruction corresponding to the operation information is sequentially saved in an acquisition order to form an executable script file.
  8. 如权利要求7所述的终端,其中,所述存储模块是设置为:在接收到保存指令后保存所述操作信息对应的操作指令。The terminal according to claim 7, wherein the storage module is configured to save an operation instruction corresponding to the operation information after receiving the save instruction.
  9. 如权利要求6所述的终端,其中,The terminal of claim 6, wherein
    所述压感模块,还设置为:接受压力时,获取对应的压力参数;The pressure sensing module is further configured to: when receiving the pressure, obtain a corresponding pressure parameter;
    所述处理模块,还设置为:判断所述存储模块是否存储有所获取的压力参数,若有,则获取该压力参数对应的操作指令,根据所获取的操作指令进行处理;若没有,则进入压力触控自定义模式。The processing module is further configured to: determine whether the storage module stores the acquired pressure parameter, and if yes, acquire an operation instruction corresponding to the pressure parameter, and perform processing according to the acquired operation instruction; if not, enter Pressure touch custom mode.
  10. 如权利要求6-9任一项所述的终端,其中,所述处理模块,还设置为:接收到退出指令后,退出所述压力触控自定义模式界面。The terminal according to any one of claims 6-9, wherein the processing module is further configured to: exit the pressure touch custom mode interface after receiving the exit instruction.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求1至5任一项所述的压力触控的方法。 A computer readable storage medium storing computer executable instructions that, when executed, implement the pressure touch method of any one of claims 1 to 5.
PCT/CN2016/073312 2015-11-30 2016-02-03 Force touch method and terminal WO2016184173A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510854274.1 2015-11-30
CN201510854274.1A CN106814898A (en) 2015-11-30 2015-11-30 The method and terminal of a kind of pressure touch

Publications (1)

Publication Number Publication Date
WO2016184173A1 true WO2016184173A1 (en) 2016-11-24

Family

ID=57319358

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073312 WO2016184173A1 (en) 2015-11-30 2016-02-03 Force touch method and terminal

Country Status (2)

Country Link
CN (1) CN106814898A (en)
WO (1) WO2016184173A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111605514A (en) * 2020-05-20 2020-09-01 西安闻泰电子科技有限公司 Driving safety protection method and device, storage medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236503A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Unlocking mode for mobile terminal pressure touch gesture recognition
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal
WO2014104726A1 (en) * 2012-12-26 2014-07-03 전자부품연구원 Method for providing user interface using one-point touch and apparatus for same
CN104267898A (en) * 2014-09-16 2015-01-07 北京数字天域科技股份有限公司 Method and device for quick triggering application program or application program function
CN104317501A (en) * 2014-10-27 2015-01-28 广州视睿电子科技有限公司 Operation instruction input method and system in touch writing state
CN104834456A (en) * 2014-02-12 2015-08-12 深圳富泰宏精密工业有限公司 Multi-task switching method and system of touch interface and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833419B (en) * 2010-04-30 2013-10-09 华为终端有限公司 Method for operating user interface and mobile terminal
CN102999344A (en) * 2012-11-30 2013-03-27 广东欧珀移动通信有限公司 Intelligent terminal and method and device for user-defined operation set thereof
US9965076B2 (en) * 2014-05-15 2018-05-08 Bebop Sensors, Inc. Piezoresistive sensors and applications
CN105045388A (en) * 2015-07-07 2015-11-11 安徽瑞宏信息科技有限公司 Gesture and action based interactive control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236503A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Unlocking mode for mobile terminal pressure touch gesture recognition
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal
WO2014104726A1 (en) * 2012-12-26 2014-07-03 전자부품연구원 Method for providing user interface using one-point touch and apparatus for same
CN104834456A (en) * 2014-02-12 2015-08-12 深圳富泰宏精密工业有限公司 Multi-task switching method and system of touch interface and electronic device
CN104267898A (en) * 2014-09-16 2015-01-07 北京数字天域科技股份有限公司 Method and device for quick triggering application program or application program function
CN104317501A (en) * 2014-10-27 2015-01-28 广州视睿电子科技有限公司 Operation instruction input method and system in touch writing state

Also Published As

Publication number Publication date
CN106814898A (en) 2017-06-09

Similar Documents

Publication Publication Date Title
US11417335B2 (en) Method and device for information processing, terminal, server and storage medium
CN107832036B (en) Voice control method, device and computer readable storage medium
JP6321296B2 (en) Text input method, apparatus, program, and recording medium
EP2680110A1 (en) Method and apparatus for processing multiple inputs
RU2648627C1 (en) Operation processing method and device
WO2015172507A1 (en) Method, device and mobile terminal for starting applications
JP5854280B2 (en) Information processing apparatus, information processing method, and program
US11281363B2 (en) Method and device for setting identity image
US20170153754A1 (en) Method and device for operating object
JP6239783B2 (en) Information selection method and apparatus
CN104123339A (en) Method and device for image management
CN112052897B (en) Multimedia data shooting method, device, terminal, server and storage medium
RU2663709C2 (en) Method and device for data processing
CN104636164B (en) Start page generation method and device
EP3012725A1 (en) Method, device and electronic device for displaying descriptive icon information
WO2016197638A2 (en) Method and device for implementing screenshot, and terminal
KR20150126192A (en) Electric apparatus and method for taking a photogragh in electric apparatus
WO2022111458A1 (en) Image capture method and apparatus, electronic device, and storage medium
CN106896995B (en) Wallpaper configuration method and device for mobile terminal
EP3104282A1 (en) Search method and search apparatus
EP3617990A1 (en) Picture processing method and apparatus, computer readable storage medium, and electronic device
CN106020694B (en) Electronic equipment, and method and device for dynamically adjusting selected area
WO2016184173A1 (en) Force touch method and terminal
US20240007736A1 (en) Photographing method and electronic device
US20150332470A1 (en) Method, device, and electronic device for background display

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: 16795660

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: 16795660

Country of ref document: EP

Kind code of ref document: A1