WO2017032069A1 - Text-message processing method and user terminal - Google Patents

Text-message processing method and user terminal Download PDF

Info

Publication number
WO2017032069A1
WO2017032069A1 PCT/CN2016/081713 CN2016081713W WO2017032069A1 WO 2017032069 A1 WO2017032069 A1 WO 2017032069A1 CN 2016081713 W CN2016081713 W CN 2016081713W WO 2017032069 A1 WO2017032069 A1 WO 2017032069A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
short message
target
instruction
pressure value
Prior art date
Application number
PCT/CN2016/081713
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 WO2017032069A1 publication Critical patent/WO2017032069A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a short message processing method and a user terminal.
  • buttons are expressed in a recessive manner, which is difficult to find, thereby causing inconvenience and time consuming operation.
  • the embodiment of the invention discloses a short message processing method and a user terminal, which can quickly perform various operations on the short message to save operation time and improve operation convenience.
  • the first aspect of the embodiment of the present invention discloses a short message processing method, including:
  • An operation corresponding to the target control instruction is performed on the target short message.
  • the touch parameter further includes a touch duration
  • the method further includes:
  • the touch parameter further includes touch fingerprint information
  • the determining After the touch duration exceeds the preset duration the method further includes:
  • the touch parameter further includes touch location information
  • the determining After the touch fingerprint information is matched with the preset fingerprint information, the method further includes:
  • the The touch pressure value generates a target control instruction for the target short message, including:
  • the target Control instructions include:
  • At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  • a second aspect of the embodiment of the present invention discloses a user terminal, including:
  • a detecting unit configured to detect a touch operation for a target short message in the user terminal
  • An acquiring unit configured to acquire a touch parameter of the touch operation, where the touch parameter includes a touch pressure value
  • a generating unit configured to generate, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
  • an execution unit configured to perform an operation corresponding to the target control instruction on the target short message.
  • the touch parameter further includes a touch duration
  • the user terminal further includes:
  • the first determining unit is configured to determine whether the touch duration exceeds a preset duration, and if the touch duration exceeds the preset duration, triggering the generating unit to perform the generating according to the touch pressure value The operation of the target control instruction for the target short message.
  • the touch parameter further includes touch fingerprint information, where the user
  • the terminal also includes:
  • a second determining unit configured to: when the first determining unit determines that the touch duration exceeds the preset duration, determine whether the touch fingerprint information matches the preset fingerprint information, if the touch fingerprint The information is matched with the preset fingerprint information, and the generating unit is triggered to perform the operation of generating the target control instruction for the target short message according to the touch pressure value.
  • the touch parameter further includes touch location information, where the user
  • the terminal also includes:
  • a third determining unit configured to: when the second determining unit determines that the touch fingerprint information matches the preset fingerprint information, determine whether the touch location information is located in a preset area, if the touch The control location information is located in the preset area, and the generating unit is triggered to perform the operation of generating the target control instruction for the target short message according to the touch pressure value.
  • the generating The unit is configured to acquire, according to a mapping relationship between the preset touch pressure value and the control command, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as a target for the target short message Control instruction.
  • the target Control instructions include:
  • At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  • a third aspect of the embodiments of the present invention discloses a user terminal, including: a processor, a memory, and a touch sensor;
  • the memory is used to store programs and data; the processor is configured to invoke the program stored in the memory, and perform the following steps:
  • the touch sensor is triggered to acquire a touch parameter of the touch operation, and the touch parameter includes a touch pressure value;
  • An operation corresponding to the target control instruction is performed on the target short message.
  • the touch parameter further includes a touch duration
  • the processor is further configured to invoke the memory.
  • the stored program performs the following operations:
  • the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
  • the touch parameter further includes touch fingerprint information
  • the processing After determining that the touch duration exceeds the preset duration, the device is further configured to invoke a program stored in the memory to perform the following operations:
  • the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
  • the touch parameter further includes touch location information
  • the processor is further configured to: after determining that the touch fingerprint information matches the preset fingerprint information, Calling the program stored in the memory performs the following operations:
  • the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
  • the processing is specifically:
  • the target Control instructions include:
  • At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  • the touch parameter of the touch operation when the touch operation for the target short message in the user terminal is detected, the touch parameter of the touch operation may be acquired, where the touch parameter includes a touch pressure value, and according to the touch pressure value A target control instruction for the target short message is generated, and an operation corresponding to the target control instruction can be performed on the target short message. It can be seen that, by implementing the embodiment of the present invention, various operations on the short message can be implemented by using the touch pressure value of the touch operation, without pressing different keys for different operations, so that various operations can be quickly performed on the short message to save operation time. Improve the convenience of operation.
  • FIG. 1 is a schematic flowchart of a method for processing a short message according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another short message processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another user terminal according to an embodiment of the present invention.
  • the embodiment of the invention discloses a short message processing method and a user terminal, which can realize various operations on a short message by using a touch pressure value of a touch operation, without pressing different keys for different operations, thereby enabling each of the short message to be quickly performed. Operation to save operating time and improve operational convenience. The details are described below separately.
  • FIG. 1 is a schematic flowchart diagram of a short message processing method according to an embodiment of the present invention. As shown in FIG. 1, the short message processing method may include the following steps:
  • the user terminal may include a device integrated with a touch screen or a touch panel, such as a mobile phone, a tablet computer, a palmtop computer, a personal digital assistant (PDA), a smart watch, and the like, which is not limited by the embodiment of the present invention.
  • a device integrated with a touch screen or a touch panel such as a mobile phone, a tablet computer, a palmtop computer, a personal digital assistant (PDA), a smart watch, and the like, which is not limited by the embodiment of the present invention.
  • the touch operation for the target short message in the user terminal may be detected in real time, and the touch operation for the target short message in the user terminal may also be detected every preset time.
  • the target short message may be one or more short messages included in the short message application in the user terminal.
  • the short message application may be a short message application provided by the user terminal system, or may be a third party short message application installed in the user terminal.
  • the touch operation may be an operation triggered by pressing a display interface of the target short message, or may be an operation triggered by pressing a display field of the target short message in the short message list.
  • the touch operation may be detected according to a change in the capacitance value or the resistance value on the touch screen (or the touch panel).
  • the touch parameter of the touch operation may be acquired.
  • the touch parameter may further include at least one of a touch duration, a touch fingerprint information, a touch location information, a touch direction, a touch track, and the like. Not limited.
  • the specific implementation manner of obtaining the touch pressure value of the touch operation may include the following steps:
  • the touch pressure value of the touch operation is obtained by using a pressure sensor integrated in the user terminal.
  • the pressure sensors may be one or more, and when there are multiple, they may be evenly distributed in a certain area of the user terminal or the entire user terminal.
  • position information, a touch direction, a touch track, and the like of the touch operation may be determined by a change of a coordinate point on the touch screen; and a fingerprint collection device integrated in the user terminal may also be utilized.
  • Obtaining the fingerprint information of the touch operation; or determining the touch parameter of the touch operation by using a sensor integrated in the user terminal, for example, the position of the user's finger contacting the touch screen and/or the finger on the touch screen may be determined by the camera.
  • the state of movement (such as the trajectory, direction, distance, etc. of the movement), or the state of the finger moving on the touch screen can be determined by the infrared sensor, or the temperature sensor can be sensed by the temperature sensor to determine the finger on the touch screen.
  • the state of the upper movement and the like are not limited in the embodiment of the present invention.
  • the target control command for the target short message may be generated according to the touch pressure value, wherein the different touch pressure values are generated for the target short message.
  • the target control command may be different, and the mapping relationship between the touch pressure value and the control command may be preset in the user terminal.
  • the target control instruction may include at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content narrowing instruction, and the present invention
  • a short message editing instruction e.g., a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content narrowing instruction
  • an operation corresponding to the target control instruction may be performed on the target short message.
  • the target short message may be edited; when the target control command is a short message forwarding instruction, the target short message may be forwarded; when the target control command is a short message delete command, the target short message may be performed. Deleting operation; when the target control instruction is a short message switching instruction, the target short message may be switched to the next short message; when the target control instruction is a short message content copying instruction, the content of the target short message may be selected and the content may be selected.
  • the target short message may be sent according to different touch pressure values, the contact corresponding to the target short message is added to the blacklist, the ringtone of the target short message, the save period, and the like are set, and the contact corresponding to the target short message is called.
  • the operation of the present invention is not limited.
  • a touch parameter of the touch operation may be acquired, where the touch parameter includes a touch pressure value, and according to the touch
  • the control pressure value generates a target control instruction for the target short message, and the operation corresponding to the target control instruction may be performed on the target short message.
  • FIG. 2 is a schematic flowchart diagram of another short message processing method according to an embodiment of the present invention. As shown in FIG. 2, the short message processing method may include the following steps:
  • the touch parameter may include at least one of touch fingerprint information, touch position information, touch direction, and touch track, in addition to the touch pressure value and the touch duration.
  • touch fingerprint information touch fingerprint information
  • touch position information touch position information
  • touch direction touch direction
  • touch track in addition to the touch pressure value and the touch duration.
  • the embodiment of the invention is not limited.
  • step S203 Determine whether the touch duration exceeds a preset duration. If yes, execute step S204; if no, end the current operation.
  • the preset duration may be the duration set by the user terminal system by default. The user cannot modify it; the preset duration can also be the duration set by the user. In this case, the user can modify it according to his actual needs.
  • the preset duration can be 2 seconds, 3 seconds, and so on.
  • the method described in FIG. 2 may further include the following steps:
  • step S204 Determine whether the touch fingerprint information matches the preset fingerprint information. If the touch fingerprint information matches the preset fingerprint information, step S204 may be further performed; otherwise, the current operation is ended.
  • the user terminal may use the integrated fingerprint collection device to collect the fingerprint information of the user (ie, the touch fingerprint information), and the touch fingerprint information and the user terminal.
  • the plurality of pre-stored fingerprint information are compared to determine whether the touch fingerprint information matches one of the fingerprint information. If they match, step S204 may be performed; otherwise, the current operation is ended.
  • the implementation of the embodiment can perform various operations on the short message by performing fingerprint information verification on the touch operation, so as to prevent the illegal user from operating the short message on the user terminal, thereby effectively preventing the user terminal from being manipulated by the illegal user.
  • step 21) is performed after the step S203, the step 21) may be performed before the step S203, that is, whether the touch fingerprint information is matched with the preset fingerprint information, and then It is determined in the embodiment of the present invention that the duration of the touch is longer than the preset duration.
  • the touch parameter further includes touch location information
  • step 21 after performing step 21) to determine that the touch fingerprint information matches the preset fingerprint information, the method described in FIG. 2 further The steps can be included:
  • step S204 determining whether the touch location information is located in the preset area. If the touch location information is located in the preset area, step S204 may be further performed; otherwise, the current operation is ended.
  • one or more areas may be preset on the touch screen of the user terminal, and the touch position information of the touch operation input for the target short message may be located in the preset area.
  • Step S204 is further performed, and the touch operation outside the preset area does not respond.
  • the touch location information may be coordinate information of the touch point.
  • step 22) is followed by steps S203 and 21) Execution, but step 22) may also be performed before step S203 and step 21), and step 22) may also be performed between step S203 and step 21).
  • the target control commands for the target short message generated by different touch pressure values may be different.
  • the target control instruction may include, but is not limited to, at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reduction instruction.
  • the specific implementation manner of generating the target control instruction for the target short message according to the touch pressure value in step S204 may include:
  • the mapping relationship between the touch pressure value and the control command may be preset in the user terminal, and the control commands corresponding to different touch pressure values may be different.
  • a control instruction corresponding to the touch pressure value of the touch operation for the target short message may be acquired from the mapping relationship, and the control command is determined as the target control instruction for the target short message.
  • FIG. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention, which is used to execute a short message processing method disclosed in an embodiment of the present invention.
  • the user terminal may include:
  • the detecting unit 301 is configured to detect a touch operation for a target short message in the user terminal.
  • the detecting unit 301 can detect the touch operation for the target short message in the user terminal in real time, and can also detect the touch operation for the target short message in the user terminal every preset time.
  • the target short message may be one or more short messages included in the short message application in the user terminal.
  • the short message application may be a short message application provided by the user terminal system, or may be a third party short message application installed in the user terminal.
  • the touch operation may be an operation triggered by pressing a display interface of the target short message, or may be an operation triggered by pressing a display field of the target short message in the short message list.
  • the detecting unit 301 can detect whether a touch operation occurs according to a change in a capacitance value or a resistance value on the touch screen (or the touch panel).
  • the acquiring unit 302 is configured to obtain a touch parameter of the touch operation, where the touch parameter includes a touch pressure value.
  • the acquiring unit 302 may obtain the touch parameter of the touch operation.
  • the touch parameter may further include at least one of a touch duration, a touch fingerprint information, a touch location information, a touch direction, a touch track, and the like. Not limited.
  • the specific implementation manner of the acquiring unit 302 for acquiring the touch pressure value of the touch operation may be:
  • the obtaining unit 302 acquires the touch pressure value of the touch operation by using a pressure sensor integrated in the user terminal.
  • the pressure sensors may be one or more, and when there are multiple, they may be evenly distributed in a certain area of the user terminal or the entire user terminal.
  • the acquiring unit 302 may determine the location information, the touch direction, the touch track, and the like of the touch operation by using the change of the coordinate point on the touch screen; the obtaining unit 302 may also be integrated with the user.
  • the fingerprint collection device in the terminal acquires the fingerprint information of the touch operation; the acquisition unit 302 may further determine the touch parameter of the touch operation by using a sensor integrated in the user terminal, for example, the camera may be used to determine that the user's finger is in contact with the touch screen.
  • the position and/or state of the finger moving on the touch screen (such as the trajectory, direction, distance, etc.
  • the change of the temperature value to determine the state of the finger moving on the touch screen, etc., is not limited in the embodiment of the present invention.
  • the generating unit 303 is configured to generate a target control instruction for the target short message according to the touch pressure value, wherein the target control command for the target short message generated by the different touch pressure values is different.
  • the generating unit 303 may generate a target control instruction for the target short message according to the touch pressure value, where The target control command for the target short message generated by the different touch pressure values may be different, and the mapping relationship between the touch pressure value and the control command may be preset in the user terminal.
  • the target control instruction may include at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content narrowing instruction, and the present invention
  • a short message editing instruction e.g., a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content narrowing instruction
  • the executing unit 304 is configured to perform an operation corresponding to the target control instruction on the target short message.
  • the executing unit 304 may perform an operation corresponding to the target control instruction on the target short message.
  • the target control instruction is a short message editing instruction
  • the executing unit 304 may perform an editing operation on the target short message
  • the target control instruction is a short message forwarding instruction
  • the executing unit 304 may perform a forwarding operation on the target short message
  • the target control instruction is When the instruction is deleted, the execution unit 304 may perform a deletion operation on the target short message
  • the target control instruction is a short message switching instruction, the executing unit 304 may switch the target short message to the next short message; when the target control instruction is the short message content copying
  • the executing unit 304 may select and copy the content such as the text or the picture of the target short message; when the target control instruction is the short message content enlargement instruction, the executing unit 304 may perform the enlargement operation on the
  • the execution unit 304 may perform a reduction operation or the like on the content of the text or the picture of the target short message.
  • the execution unit 304 may also send the target short message according to different touch pressure values, add the contact corresponding to the target short message to the blacklist, set the ringtone of the target short message, the save period, and the like, and the corresponding correspondence to the target short message.
  • the operation of the person, such as a call, is not limited in the embodiment of the present invention.
  • the acquiring unit 302 may obtain the touch parameter of the touch operation, where the touch parameter includes the touch pressure value.
  • the generating unit 303 generates a target control instruction for the target short message according to the touch pressure value, and the executing unit 304 can perform an operation corresponding to the target control instruction on the target short message.
  • the user terminal shown in FIG. 3 can implement various operations on the short message by using the touch pressure value of the touch operation, without pressing different keys for different operations, so that various operations can be quickly performed on the short message to save operation. Time to improve operational convenience.
  • FIG. 4 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. It is used to execute the short message processing method disclosed in the embodiment of the present invention.
  • the user terminal may include:
  • the detecting unit 401 is configured to detect a touch operation for a target short message in the user terminal.
  • the acquiring unit 402 is configured to obtain a touch parameter of the touch operation, where the touch parameter includes a touch pressure value.
  • the touch parameter may include at least one of a touch duration, a touch fingerprint information, a touch location information, a touch direction, a touch track, and the like, in addition to the touch pressure value.
  • a touch duration a touch duration
  • a touch fingerprint information a touch location information
  • a touch direction a touch direction
  • a touch track a touch track
  • the generating unit 403 is configured to generate a target control instruction for the target short message according to the touch pressure value, wherein the target control command for the target short message generated by the different touch pressure values is different.
  • the target control instruction may include, but is not limited to, at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  • a short message editing instruction e.g., a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  • the generating unit 403 is specifically configured to obtain, according to a preset mapping relationship between the touch pressure value and the control command, a touch pressure value corresponding to the touch parameter of the touch operation.
  • the control command is used as a target control command for the target short message.
  • the executing unit 404 is configured to perform an operation corresponding to the target control instruction on the target short message.
  • the user terminal shown in FIG. 4 may further include:
  • the first determining unit 405 is configured to determine whether the touch duration exceeds a preset duration. If the touch duration exceeds a preset duration, the trigger generating unit 403 performs the generating of the target for the target short message according to the touch pressure value. Control the operation of instructions.
  • the user terminal shown in FIG. 4 may further include:
  • the second determining unit 406 is configured to: when the first determining unit 405 determines that the touch duration exceeds a preset duration, determine whether the touch fingerprint information matches the preset fingerprint information, if the touch fingerprint information and the preset fingerprint When the information matches, the trigger generating unit 403 performs the operation of generating the target control instruction for the target short message according to the touch pressure value.
  • FIG. 4 may also include:
  • the third determining unit 407 is configured to determine, when the second determining unit 406 determines that the touch fingerprint information matches the preset fingerprint information, whether the touch location information is located in the preset area, and if the touch location information is located in the preset In the setting area, the trigger generating unit 403 performs the operation of generating the target control instruction for the target short message according to the touch pressure value.
  • the user terminal shown in FIG. 4 can implement various operations on the short message by using the touch parameters of the touch operation, without pressing different buttons for different operations, so that various operations can be quickly performed on the short message to save Operation time, improve the convenience of operation.
  • FIG. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present invention, which is used to perform the short message processing method disclosed in the embodiment of the present invention.
  • the user terminal 500 can include at least one processor 501, at least one touch sensor 502, at least one user interface 503, a memory 504, and the like. Among them, these components are communicatively connected by one or more buses 505.
  • the structure of the user terminal shown in FIG. 5 does not constitute a limitation on the embodiment of the present invention. It may be a bus-shaped structure or a star-shaped structure, and may also include more than the illustration. Or fewer parts, or combine some parts, or different parts. among them:
  • the processor 501 is a control center for the user terminal, connecting various portions of the entire user terminal using various interfaces and lines, by running or executing programs and/or modules stored in the memory 504, and recalling data stored in the memory 504, To perform various functions and process data of the user terminal.
  • the processor 501 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs that have the same function or different functions.
  • the processor 501 may include only a central processing unit (CPU), or may be a CPU, a digital signal processor (DSP), or a graphics processing unit (GPU). And a combination of various control chips.
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • the touch sensor 502 can include, but is not limited to, at least one of a pressure sensor, a camera, a fingerprint collection device, an infrared sensor, a temperature sensor, and the like, for acquiring a touch parameter for a touch operation of a target short message in the user terminal.
  • the user interface 503 may include a display or the like, which is displayed in the embodiment of the present invention.
  • the screen is a touch screen or a touch panel, and is used to facilitate the user to interact with the user terminal through the touch operation.
  • the memory 504 can be used to store software programs and modules.
  • the processor 501, the touch sensor 502, and the user interface 503 perform various functional applications of the user terminal and implement data processing by calling software programs and modules stored in the memory 504.
  • the memory 504 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, and the like; the data storage area can store data created according to usage of the user terminal and the like.
  • the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
  • the processor 501 calls an application stored in the memory 504 for performing the following operations:
  • the touch parameter of the touch operation is obtained by the touch sensor 502, where the touch parameter includes a touch pressure value;
  • An operation corresponding to the target control instruction is performed on the target short message.
  • the processor 501 may also invoke an application stored in the memory 504 and perform the following operations:
  • the operation of generating the target control instruction for the target short message according to the touch pressure value is performed.
  • the processor 501 may determine, after the touch duration exceeds the preset duration, the application stored in the memory 504 may be invoked and executed. The following operations:
  • the processor 501 may determine, after the touch fingerprint information matches the preset fingerprint information, the application stored in the memory 504. Program and do the following:
  • a specific implementation manner of the processor 501 generating a target control instruction for the target short message according to the touch pressure value may be:
  • the target control instruction may include, but is not limited to, at least a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  • the user terminal introduced in the embodiment of the present invention may implement some or all of the processes in the embodiment of the short message processing method introduced in conjunction with FIG. 1 or FIG.
  • Modules or sub-modules in all embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU, or by an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU
  • ASIC Application Specific Integrated Circuit
  • the units in the user terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the embodiments of the present invention are a text-message processing method and a user terminal, said method comprising: detecting a touch control operation concerning a target text message in a user terminal; obtaining touch-control parameters of said touch control operation, said touch-control parameters comprising a touch-control pressure value; according to said touch-control pressure value, generating a target control instruction concerning said target text message, wherein target control instructions, concerning the target text message, generated from different touch-control pressure values are different; performing an operation corresponding to said target control instruction on said target text message. Upon implementing the embodiments of the present invention, it is possible to quickly perform various operations on a text message, saving operation time and improving convenience in operation.

Description

一种短信处理方法及用户终端Short message processing method and user terminal
本申请要求于2015年8月27日提交中国专利局、申请号为201510542415.6、发明名称为“一种短信处理方法及用户终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510542415.6, entitled "SMS Processing Method and User Terminal" by the Chinese Patent Office on August 27, 2015, the entire contents of which are incorporated herein by reference. in.
技术领域Technical field
本发明涉及电子技术领域,尤其涉及一种短信处理方法及用户终端。The present invention relates to the field of electronic technologies, and in particular, to a short message processing method and a user terminal.
背景技术Background technique
随着用户终端的不断发展和普及,诸如手机等用户终端已成为人们生活中不可或缺的组成部分。手机在人们的日常生活中,最基本的功能在于拨打电话、接听电话以及收发短信等。在实际应用中,当用户想要编辑短信、删除短信、转发短信或者设置短信铃声等操作时,需要在短信应用中点击相应的按键才能实现相应的操作,例如:用户需要点击编辑按键来编辑短信,需要点击删除按键来删除一条或多条短信,以及需要点击设置按键进入设置界面来设置短信铃声等等。因此需要针对不同需求操作不同按键,过程较繁琐,此外,有些按键是以隐性的方式来表现的,不易查找,从而造成操作不便且费时。With the continuous development and popularization of user terminals, user terminals such as mobile phones have become an indispensable part of people's lives. The most basic functions of mobile phones in people's daily lives are to make calls, answer calls, and send and receive text messages. In practical applications, when a user wants to edit a short message, delete a short message, forward a short message, or set a short message, the user needs to click the corresponding button in the short message application to implement the corresponding operation. For example, the user needs to click the edit button to edit the short message. You need to click the delete button to delete one or more SMS messages, and you need to click the Settings button to enter the settings interface to set the SMS ringtones and so on. Therefore, it is necessary to operate different buttons for different needs, and the process is cumbersome. In addition, some buttons are expressed in a recessive manner, which is difficult to find, thereby causing inconvenience and time consuming operation.
发明内容Summary of the invention
本发明实施例公开了一种短信处理方法及用户终端,能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。The embodiment of the invention discloses a short message processing method and a user terminal, which can quickly perform various operations on the short message to save operation time and improve operation convenience.
本发明实施例第一方面公开了一种短信处理方法,包括:The first aspect of the embodiment of the present invention discloses a short message processing method, including:
检测针对用户终端中的目标短信的触控操作;Detecting a touch operation for a target short message in the user terminal;
获取所述触控操作的触控参数,所述触控参数包括触控压力值;Obtaining a touch parameter of the touch operation, where the touch parameter includes a touch pressure value;
根据所述触控压力值生成针对所述目标短信的目标控制指令,其中,不同的触控压力值生成的针对所述目标短信的目标控制指令不同;Generating, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
对所述目标短信执行与所述目标控制指令相对应的操作。An operation corresponding to the target control instruction is performed on the target short message.
结合本发明实施例第一方面,在本发明实施例第一方面的第一种可能的实 现方式中,所述触控参数还包括触控时长,所述方法还包括:With reference to the first aspect of the embodiments of the present invention, the first possible implementation of the first aspect of the embodiments of the present invention In the current mode, the touch parameter further includes a touch duration, and the method further includes:
判断所述触控时长是否超过预设时长;Determining whether the touch duration exceeds a preset duration;
若所述触控时长超过所述预设时长,则执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的步骤。If the touch duration exceeds the preset duration, performing the step of generating a target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述触控参数还包括触控指纹信息,所述判断所述触控时长超过所述预设时长之后,所述方法还包括:With reference to the first possible implementation manner of the first aspect of the embodiment of the present invention, in the second possible implementation manner of the first aspect of the embodiment, the touch parameter further includes touch fingerprint information, and the determining After the touch duration exceeds the preset duration, the method further includes:
判断所述触控指纹信息是否与预设指纹信息相匹配;Determining whether the touch fingerprint information matches the preset fingerprint information;
若所述触控指纹信息与所述预设指纹信息相匹配,则执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的步骤。And if the touch fingerprint information matches the preset fingerprint information, performing the step of generating a target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述触控参数还包括触控位置信息,所述判断所述触控指纹信息与所述预设指纹信息相匹配之后,所述方法还包括:With reference to the second possible implementation manner of the first aspect of the embodiment of the present invention, in a third possible implementation manner of the first aspect of the embodiment, the touch parameter further includes touch location information, and the determining After the touch fingerprint information is matched with the preset fingerprint information, the method further includes:
判断所述触控位置信息是否位于预设区域内;Determining whether the touch location information is located in a preset area;
若所述触控位置信息位于所述预设区域内,则执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的步骤。And if the touch location information is located in the preset area, performing the step of generating a target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第一方面或第一方面第一种至第三种中的任一种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述根据所述触控压力值生成针对所述目标短信的目标控制指令,包括:With reference to the first aspect of the embodiment of the present invention or the possible implementation manner of any one of the first aspect to the third aspect, in the fourth possible implementation manner of the first aspect of the embodiment of the present invention, the The touch pressure value generates a target control instruction for the target short message, including:
根据预设的触控压力值与控制指令的映射关系,获取与所述触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对所述目标短信的目标控制指令。And obtaining, according to a preset mapping relationship between the touch pressure value and the control command, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as a target control instruction for the target short message.
结合本发明实施例第一方面或第一方面第一种至第三种中的任一种可能的实现方式,在本发明实施例第一方面的第五种可能的实现方式中,所述目标控制指令包括:With reference to the first aspect of the embodiment of the present invention or the possible implementation manner of any one of the first aspect to the third aspect, in the fifth possible implementation manner of the first aspect of the embodiment of the present invention, the target Control instructions include:
短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
本发明实施例第二方面公开了一种用户终端,包括:A second aspect of the embodiment of the present invention discloses a user terminal, including:
检测单元,用于检测针对用户终端中的目标短信的触控操作; a detecting unit, configured to detect a touch operation for a target short message in the user terminal;
获取单元,用于获取所述触控操作的触控参数,所述触控参数包括触控压力值;An acquiring unit, configured to acquire a touch parameter of the touch operation, where the touch parameter includes a touch pressure value;
生成单元,用于根据所述触控压力值生成针对所述目标短信的目标控制指令,其中,不同的触控压力值生成的针对所述目标短信的目标控制指令不同;a generating unit, configured to generate, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
执行单元,用于对所述目标短信执行与所述目标控制指令相对应的操作。And an execution unit, configured to perform an operation corresponding to the target control instruction on the target short message.
结合本发明实施例第二方面,在本发明实施例第二方面的第一种可能的实现方式中,所述触控参数还包括触控时长,所述用户终端还包括:With reference to the second aspect of the embodiments of the present invention, in a first possible implementation manner of the second aspect of the embodiments, the touch parameter further includes a touch duration, and the user terminal further includes:
第一判断单元,用于判断所述触控时长是否超过预设时长,若所述触控时长超过所述预设时长,则触发所述生成单元执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。The first determining unit is configured to determine whether the touch duration exceeds a preset duration, and if the touch duration exceeds the preset duration, triggering the generating unit to perform the generating according to the touch pressure value The operation of the target control instruction for the target short message.
结合本发明实施例第二方面的第一种可能的实现方式,在本发明实施例第二方面的第二种可能的实现方式中,所述触控参数还包括触控指纹信息,所述用户终端还包括:With reference to the first possible implementation manner of the second aspect of the embodiments of the present invention, in a second possible implementation manner of the second aspect of the embodiment, the touch parameter further includes touch fingerprint information, where the user The terminal also includes:
第二判断单元,用于当所述第一判断单元判断所述触控时长超过所述预设时长时,判断所述触控指纹信息是否与预设指纹信息相匹配,若所述触控指纹信息与所述预设指纹信息相匹配,则触发所述生成单元执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。a second determining unit, configured to: when the first determining unit determines that the touch duration exceeds the preset duration, determine whether the touch fingerprint information matches the preset fingerprint information, if the touch fingerprint The information is matched with the preset fingerprint information, and the generating unit is triggered to perform the operation of generating the target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第二方面的第二种可能的实现方式,在本发明实施例第二方面的第三种可能的实现方式中,所述触控参数还包括触控位置信息,所述用户终端还包括:With reference to the second possible implementation manner of the second aspect of the embodiment of the present invention, in a third possible implementation manner of the second aspect of the embodiment, the touch parameter further includes touch location information, where the user The terminal also includes:
第三判断单元,用于当所述第二判断单元判断所述触控指纹信息与所述预设指纹信息相匹配时,判断所述触控位置信息是否位于预设区域内,若所述触控位置信息位于所述预设区域内,则触发所述生成单元执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。a third determining unit, configured to: when the second determining unit determines that the touch fingerprint information matches the preset fingerprint information, determine whether the touch location information is located in a preset area, if the touch The control location information is located in the preset area, and the generating unit is triggered to perform the operation of generating the target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第二方面或第二方面第一种至第三种中的任一种可能的实现方式,在本发明实施例第二方面的第四种可能的实现方式中,所述生成单元具体用于根据预设的触控压力值与控制指令的映射关系,获取与所述触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对所述目标短信的目标控制指令。 With reference to the second aspect of the embodiment of the present invention or the possible implementation manner of any one of the first to the third aspect, in the fourth possible implementation manner of the second aspect of the embodiment of the present invention, the generating The unit is configured to acquire, according to a mapping relationship between the preset touch pressure value and the control command, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as a target for the target short message Control instruction.
结合本发明实施例第二方面或第二方面第一种至第三种中的任一种可能的实现方式,在本发明实施例第二方面的第五种可能的实现方式中,所述目标控制指令包括:With reference to the second aspect of the embodiment of the present invention or the possible implementation manner of any one of the first to the third aspect, in the fifth possible implementation manner of the second aspect of the embodiment of the present invention, the target Control instructions include:
短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
本发明实施例第三方面公开了一种用户终端,包括:处理器、存储器和触控传感器;A third aspect of the embodiments of the present invention discloses a user terminal, including: a processor, a memory, and a touch sensor;
其中,所述存储器用于存储程序和数据;所述处理器用于调用所述存储器存储的程序,执行如下步骤:The memory is used to store programs and data; the processor is configured to invoke the program stored in the memory, and perform the following steps:
检测针对所述用户终端中的目标短信的触控操作;Detecting a touch operation for a target short message in the user terminal;
触发所述触控传感器获取所述触控操作的触控参数,所述触控参数包括触控压力值;The touch sensor is triggered to acquire a touch parameter of the touch operation, and the touch parameter includes a touch pressure value;
根据所述触控压力值生成针对所述目标短信的目标控制指令,其中,不同的触控压力值生成的针对所述目标短信的目标控制指令不同;Generating, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
对所述目标短信执行与所述目标控制指令相对应的操作。An operation corresponding to the target control instruction is performed on the target short message.
结合本发明实施例第三方面,在本发明实施例第三方面的第一种可能的实施方式中,所述触控参数还包括触控时长,所述处理器还用于调用所述存储器中存储的程序执行如下操作:With reference to the third aspect of the embodiments of the present invention, in a first possible implementation manner of the third aspect, the touch parameter further includes a touch duration, and the processor is further configured to invoke the memory. The stored program performs the following operations:
判断所述触控时长是否超过所述存储器中存储的预设时长;Determining whether the touch duration exceeds a preset duration stored in the memory;
若所述触控时长超过所述预设时长,则所述处理器执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。If the touch duration exceeds the preset duration, the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第三方面的第一种可能的实施方式,在本发明实施例第三方面的第二种可能的实施方式中,所述触控参数还包括触控指纹信息,所述处理器在判断所述触控时长超过所述预设时长之后,还用于调用所述存储器中存储的程序执行如下操作:With reference to the first possible implementation manner of the third aspect of the embodiments of the present invention, in a second possible implementation manner of the third aspect of the embodiments, the touch parameter further includes touch fingerprint information, and the processing After determining that the touch duration exceeds the preset duration, the device is further configured to invoke a program stored in the memory to perform the following operations:
判断所述触控指纹信息是否与所述存储器中存储的预设指纹信息相匹配;Determining whether the touch fingerprint information matches the preset fingerprint information stored in the memory;
若所述触控指纹信息与所述预设指纹信息相匹配,则所述处理器执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。If the touch fingerprint information matches the preset fingerprint information, the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第三方面的第二种可能的实施方式,在本发明实施例第 三方面的第三种可能的实施方式中,所述触控参数还包括触控位置信息,所述处理器在判断所述触控指纹信息与所述预设指纹信息相匹配之后,还用于调用所述存储器中存储的程序执行如下操作:In conjunction with the second possible implementation manner of the third aspect of the embodiment of the present invention, in the embodiment of the present invention In a third possible implementation manner of the third aspect, the touch parameter further includes touch location information, and the processor is further configured to: after determining that the touch fingerprint information matches the preset fingerprint information, Calling the program stored in the memory performs the following operations:
判断所述触控位置信息是否位于所述存储器中存储的预设区域内;Determining whether the touch location information is located in a preset area stored in the memory;
若所述触控位置信息位于所述预设区域内,则所述处理器执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。If the touch location information is located in the preset area, the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
结合本发明实施例第三方面或第三方面的第一种至第三种中任一种可能的实施方式,在本发明实施例第三方面的第四种可能的实施方式中,所述处理器根据所述触控压力值生成针对所述目标短信的目标控制指令的方式具体为:With reference to the third aspect of the embodiment of the present invention or any one of the first to the third aspect of the third aspect, in a fourth possible implementation manner of the third aspect of the embodiment of the present invention, the processing The manner of generating a target control instruction for the target short message according to the touch pressure value is specifically:
根据所述存储器中存储的预设的触控压力值与控制指令的映射关系,获取与所述触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对所述目标短信的目标控制指令。Obtaining, according to the mapping relationship between the preset touch pressure value and the control command stored in the memory, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as the target short message Target control instructions.
结合本发明实施例第三方面或第三方面的第一种至第三种中任一种可能的实施方式,在本发明实施例第三方面的第五种可能的实施方式中,所述目标控制指令包括:With reference to the third aspect of the embodiment of the present invention or any one of the first to the third aspect of the third aspect, in the fifth possible implementation manner of the third aspect of the embodiment of the present invention, the target Control instructions include:
短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
本发明实施例中,当检测到针对用户终端中的目标短信的触控操作时,可以获取该触控操作的触控参数,该触控参数包括触控压力值,并根据该触控压力值生成针对目标短信的目标控制指令,可以对目标短信执行与该目标控制指令相对应的操作。可见,实施本发明实施例,可以通过触控操作的触控压力值来实现对短信进行各项操作,而无需针对不同操作按压不同按键,从而能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。In the embodiment of the present invention, when the touch operation for the target short message in the user terminal is detected, the touch parameter of the touch operation may be acquired, where the touch parameter includes a touch pressure value, and according to the touch pressure value A target control instruction for the target short message is generated, and an operation corresponding to the target control instruction can be performed on the target short message. It can be seen that, by implementing the embodiment of the present invention, various operations on the short message can be implemented by using the touch pressure value of the touch operation, without pressing different keys for different operations, so that various operations can be quickly performed on the short message to save operation time. Improve the convenience of operation.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以 根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. In the field of ordinary people, without creative efforts, Other figures are obtained from these figures.
图1是本发明实施例公开的一种短信处理方法的流程示意图;1 is a schematic flowchart of a method for processing a short message according to an embodiment of the present invention;
图2是本发明实施例公开的另一种短信处理方法的流程示意图;2 is a schematic flowchart of another short message processing method according to an embodiment of the present invention;
图3是本发明实施例公开的一种用户终端的结构示意图;3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
图4是本发明实施例公开的另一种用户终端的结构示意图;4 is a schematic structural diagram of another user terminal according to an embodiment of the present invention;
图5是本发明实施例公开的又一种用户终端的结构示意图。FIG. 5 is a schematic structural diagram of still another user terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种短信处理方法及用户终端,可以通过触控操作的触控压力值来实现对短信进行各项操作,而无需针对不同操作按压不同按键,从而能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。以下分别进行详细说明。The embodiment of the invention discloses a short message processing method and a user terminal, which can realize various operations on a short message by using a touch pressure value of a touch operation, without pressing different keys for different operations, thereby enabling each of the short message to be quickly performed. Operation to save operating time and improve operational convenience. The details are described below separately.
请参阅图1,图1是本发明实施例公开的一种短信处理方法的流程示意图。如图1所示,该短信处理方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of a short message processing method according to an embodiment of the present invention. As shown in FIG. 1, the short message processing method may include the following steps:
S101、检测针对用户终端中的目标短信的触控操作。S101. Detect a touch operation for a target short message in the user terminal.
本发明实施例中,用户终端可以包括手机、平板电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、智能手表等集成有触摸屏或触控面板的设备,本发明实施例不作限定。In the embodiment of the present invention, the user terminal may include a device integrated with a touch screen or a touch panel, such as a mobile phone, a tablet computer, a palmtop computer, a personal digital assistant (PDA), a smart watch, and the like, which is not limited by the embodiment of the present invention.
本发明实施例中,可以实时检测针对用户终端中的目标短信的触控操作,也可以每隔预设时间检测针对用户终端中的目标短信的触控操作。目标短信可以是用户终端中的短信应用内包括的一条或多条短信。其中,短信应用可以是用户终端系统自带的短信应用,也可以是用户终端中安装的第三方短信应用。In the embodiment of the present invention, the touch operation for the target short message in the user terminal may be detected in real time, and the touch operation for the target short message in the user terminal may also be detected every preset time. The target short message may be one or more short messages included in the short message application in the user terminal. The short message application may be a short message application provided by the user terminal system, or may be a third party short message application installed in the user terminal.
本发明实施例中,该触控操作可以是按压目标短信的显示界面所触发的操作,也可以是按压短信列表中的目标短信的显示栏所触发的操作。可以根据触摸屏(或触控面板)上电容值或电阻值的变化来检测触控操作是否发生。 In the embodiment of the present invention, the touch operation may be an operation triggered by pressing a display interface of the target short message, or may be an operation triggered by pressing a display field of the target short message in the short message list. The touch operation may be detected according to a change in the capacitance value or the resistance value on the touch screen (or the touch panel).
S102、获取该触控操作的触控参数,该触控参数包括触控压力值。S102. Obtain a touch parameter of the touch operation, where the touch parameter includes a touch pressure value.
本发明实施例中,当检测到存在针对用户终端中的目标短信的触控操作时,可以获取该触控操作的触控参数。其中,该触控参数除可以包括触控压力值外,还可以包括触控时长、触控指纹信息、触控位置信息、触控方向、触控轨迹等中的至少一种,本发明实施例不作限定。In the embodiment of the present invention, when the touch operation for the target short message in the user terminal is detected, the touch parameter of the touch operation may be acquired. In addition to the touch pressure value, the touch parameter may further include at least one of a touch duration, a touch fingerprint information, a touch location information, a touch direction, a touch track, and the like. Not limited.
作为一种可选的实施方式,获取该触控操作的触控压力值的具体实施方式可以包括以下步骤:As an optional implementation manner, the specific implementation manner of obtaining the touch pressure value of the touch operation may include the following steps:
利用用户终端中集成的压力传感器获取该触控操作的触控压力值。The touch pressure value of the touch operation is obtained by using a pressure sensor integrated in the user terminal.
在该实施方式中,压力传感器可以是一个或多个,当为多个时,可以将其均匀分布在用户终端的某个区域或整个用户终端中。In this embodiment, the pressure sensors may be one or more, and when there are multiple, they may be evenly distributed in a certain area of the user terminal or the entire user terminal.
作为一种可选的实施方式,可以通过触摸屏上的坐标点的变化来确定该触控操作的位置信息、触控方向以及触控轨迹等等;也可以利用集成在用户终端中的指纹采集装置获取该触控操作的指纹信息;还可以是通过用户终端中集成的传感器来确定该触控操作的触控参数,例如可以通过摄像头来确定用户手指与触摸屏接触的位置和/或手指在触摸屏上移动的状态(如移动的轨迹、方向、距离等等),或者可以通过红外传感器来确定手指在触摸屏上移动的状态等,或者还可以通过温度传感器来感测温度值的变化来确定手指在触摸屏上移动的状态等等,本发明实施例不作限定。As an optional implementation manner, position information, a touch direction, a touch track, and the like of the touch operation may be determined by a change of a coordinate point on the touch screen; and a fingerprint collection device integrated in the user terminal may also be utilized. Obtaining the fingerprint information of the touch operation; or determining the touch parameter of the touch operation by using a sensor integrated in the user terminal, for example, the position of the user's finger contacting the touch screen and/or the finger on the touch screen may be determined by the camera. The state of movement (such as the trajectory, direction, distance, etc. of the movement), or the state of the finger moving on the touch screen can be determined by the infrared sensor, or the temperature sensor can be sensed by the temperature sensor to determine the finger on the touch screen. The state of the upper movement and the like are not limited in the embodiment of the present invention.
S103、根据该触控压力值生成针对目标短信的目标控制指令。S103. Generate a target control instruction for the target short message according to the touch pressure value.
本发明实施例中,当获取到该触控操作的触控压力值之后,可以根据该触控压力值生成针对目标短信的目标控制指令,其中,不同的触控压力值生成的针对目标短信的目标控制指令可以不同,可以在用户终端中预先设置触控压力值与控制指令的映射关系。In the embodiment of the present invention, after the touch pressure value of the touch operation is obtained, the target control command for the target short message may be generated according to the touch pressure value, wherein the different touch pressure values are generated for the target short message. The target control command may be different, and the mapping relationship between the touch pressure value and the control command may be preset in the user terminal.
本发明实施例中,该目标控制指令可以包括短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种,本发明实施例不作限定。In the embodiment of the present invention, the target control instruction may include at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content narrowing instruction, and the present invention The embodiment is not limited.
S104、对目标短信执行与该目标控制指令相对应的操作。S104. Perform an operation corresponding to the target control instruction on the target short message.
本发明实施例中,当根据该触控压力值生成针对目标短信的目标控制指令后,可以对目标短信执行与该目标控制指令相对应的操作。例如:当该目标控 制指令为短信编辑指令时,可以对目标短信进行编辑操作;当该目标控制指令为短信转发指令时,可以目标短信进行转发操作;当该目标控制指令为短信删除指令时,可以对目标短信进行删除操作;当该目标控制指令为短信切换指令时,可以将目标短信切换至下一条短信;当该目标控制指令为短信内容复制指令时,可以对目标短信的文字或图片等内容进行全选并复制;当该目标控制指令为短信内容放大指令时,可以将目标短信的文字或图片等内容进行放大操作;当该目标控制指令为短信内容缩小指令时,可以将目标短信的文字或图片等内容进行缩小操作等等。此外,还可以根据触控压力值的不同,对目标短信进行发送,将目标短信对应的联系人加入黑名单,对目标短信的铃声、保存周期等进行设置以及对目标短信对应的联系人进行呼叫等各项操作,本发明实施例不作限定。In the embodiment of the present invention, after the target control instruction for the target short message is generated according to the touch pressure value, an operation corresponding to the target control instruction may be performed on the target short message. For example: when the target is controlled When the command is a short message editing command, the target short message may be edited; when the target control command is a short message forwarding instruction, the target short message may be forwarded; when the target control command is a short message delete command, the target short message may be performed. Deleting operation; when the target control instruction is a short message switching instruction, the target short message may be switched to the next short message; when the target control instruction is a short message content copying instruction, the content of the target short message may be selected and the content may be selected. Copying; when the target control command is a short message content enlargement instruction, the text or picture of the target short message may be enlarged; when the target control command is a short message content reduction instruction, the text or image of the target short message may be Perform a zoom out operation, etc. In addition, the target short message may be sent according to different touch pressure values, the contact corresponding to the target short message is added to the blacklist, the ringtone of the target short message, the save period, and the like are set, and the contact corresponding to the target short message is called. The operation of the present invention is not limited.
在图1所描述的方法中,当检测到针对用户终端中的目标短信的触控操作时,可以获取该触控操作的触控参数,该触控参数包括触控压力值,并根据该触控压力值生成针对目标短信的目标控制指令,可以对目标短信执行与该目标控制指令相对应的操作。通过实施图1所描述的方法,可以通过触控操作的触控压力值来实现对短信进行各项操作,而无需针对不同操作按压不同按键,从而能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。In the method described in FIG. 1 , when a touch operation for a target short message in the user terminal is detected, a touch parameter of the touch operation may be acquired, where the touch parameter includes a touch pressure value, and according to the touch The control pressure value generates a target control instruction for the target short message, and the operation corresponding to the target control instruction may be performed on the target short message. By implementing the method described in FIG. 1 , various operations on the short message can be implemented by the touch pressure value of the touch operation, without pressing different keys for different operations, so that various operations can be quickly performed on the short message to save operations. Time to improve operational convenience.
请参阅图2,图2是本发明实施例公开的另一种短信处理方法的流程示意图。如图2所示,该短信处理方法可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another short message processing method according to an embodiment of the present invention. As shown in FIG. 2, the short message processing method may include the following steps:
S201、检测针对用户终端中的目标短信的触控操作。S201. Detect a touch operation for a target short message in the user terminal.
S202、获取该触控操作的触控参数,该触控参数包括触控压力值和触控时长。S202. Obtain a touch parameter of the touch operation, where the touch parameter includes a touch pressure value and a touch duration.
本发明实施例中,该触控参数除包括触控压力值和触控时长外,还可以包括触控指纹信息、触控位置信息、触控方向、触控轨迹等中的至少一种,本发明实施例不作限定。In the embodiment of the present invention, the touch parameter may include at least one of touch fingerprint information, touch position information, touch direction, and touch track, in addition to the touch pressure value and the touch duration. The embodiment of the invention is not limited.
S203、判断该触控时长是否超过预设时长,若是,则执行步骤S204;若否,则结束本次操作。S203. Determine whether the touch duration exceeds a preset duration. If yes, execute step S204; if no, end the current operation.
本发明实施例中,预设时长可以是用户终端系统默认设置的时长,此时, 用户不可对其进行修改;预设时长也可以是用户自行设置的时长,此时,用户可以根据自己的实际需求对其进行修改。例如:预设时长可以为2秒、3秒等等。In the embodiment of the present invention, the preset duration may be the duration set by the user terminal system by default. The user cannot modify it; the preset duration can also be the duration set by the user. In this case, the user can modify it according to his actual needs. For example, the preset duration can be 2 seconds, 3 seconds, and so on.
作为一种可选的实施方式,当该触控参数还包括触控指纹信息时,在执行步骤S203判断出该触控时长超过预设时长之后,图2所描述的方法还可以包括以下步骤:As an optional implementation manner, when the touch parameter further includes touch fingerprint information, after performing step S203 to determine that the touch duration exceeds a preset duration, the method described in FIG. 2 may further include the following steps:
21)判断该触控指纹信息是否与预设指纹信息相匹配,若该触控指纹信息与预设指纹信息相匹配,则可以进一步执行步骤S204;否则,结束本次操作。21) Determine whether the touch fingerprint information matches the preset fingerprint information. If the touch fingerprint information matches the preset fingerprint information, step S204 may be further performed; otherwise, the current operation is ended.
在该实施方式中,用户在针对目标短信输入触控操作的同时,用户终端可以利用集成的指纹采集装置采集用户的指纹信息(即触控指纹信息),并将该触控指纹信息与用户终端中预先存储的若干个指纹信息进行比较,以判断出该触控指纹信息是否与其中一个指纹信息相匹配,若相匹配,则可以执行步骤S204,否则,结束本次操作。实施该实施方式,可以通过对触控操作进行指纹信息验证来对短信进行各项操作,以防止非法用户在用户终端上操作短信,从而可以有效地防止用户终端被非法用户肆意操作。In this embodiment, the user inputting the touch operation for the target short message, the user terminal may use the integrated fingerprint collection device to collect the fingerprint information of the user (ie, the touch fingerprint information), and the touch fingerprint information and the user terminal. The plurality of pre-stored fingerprint information are compared to determine whether the touch fingerprint information matches one of the fingerprint information. If they match, step S204 may be performed; otherwise, the current operation is ended. The implementation of the embodiment can perform various operations on the short message by performing fingerprint information verification on the touch operation, so as to prevent the illegal user from operating the short message on the user terminal, thereby effectively preventing the user terminal from being manipulated by the illegal user.
可以理解的是,本发明实施例中虽然步骤21)在步骤S203之后执行,但是步骤21)也可以先于步骤S203执行,即先判断该触控指纹信息是否与预设指纹信息相匹配,再判断该触控时长是否超过预设时长,本发明实施例不作限定。It can be understood that, in the embodiment of the present invention, although the step 21) is performed after the step S203, the step 21) may be performed before the step S203, that is, whether the touch fingerprint information is matched with the preset fingerprint information, and then It is determined in the embodiment of the present invention that the duration of the touch is longer than the preset duration.
作为一种可选的实施方式,当该触控参数还包括触控位置信息时,在执行步骤21)判断出该触控指纹信息与预设指纹信息相匹配之后,图2所描述的方法还可以包括以下步骤:As an optional implementation manner, when the touch parameter further includes touch location information, after performing step 21) to determine that the touch fingerprint information matches the preset fingerprint information, the method described in FIG. 2 further The steps can be included:
22)判断该触控位置信息是否位于预设区域内,若该触控位置信息位于预设区域内,则可以进一步执行步骤S204;否则,结束本次操作。22) determining whether the touch location information is located in the preset area. If the touch location information is located in the preset area, step S204 may be further performed; otherwise, the current operation is ended.
在该实施方式中,可以在用户终端的触摸屏上预先设置好一个或多个区域,即预设区域,当针对目标短信输入的触控操作的触控位置信息位于预设区域内时,才可以进一步执行步骤S204,而在该预设区域外的触控操作则不响应。其中,触控位置信息可以是触控点的坐标信息。In this embodiment, one or more areas, that is, a preset area, may be preset on the touch screen of the user terminal, and the touch position information of the touch operation input for the target short message may be located in the preset area. Step S204 is further performed, and the touch operation outside the preset area does not respond. The touch location information may be coordinate information of the touch point.
可以理解的是,本发明实施例中虽然步骤22)后于步骤S203和步骤21) 执行,但步骤22)也可以先于步骤S203和步骤21)执行,步骤22)还可以介于步骤S203和步骤21)之间执行。It can be understood that, in the embodiment of the present invention, although step 22) is followed by steps S203 and 21) Execution, but step 22) may also be performed before step S203 and step 21), and step 22) may also be performed between step S203 and step 21).
S204、根据该触控压力值生成针对目标短信的目标控制指令。S204. Generate a target control instruction for the target short message according to the touch pressure value.
本发明实施例中,不同的触控压力值生成的针对目标短信的目标控制指令可以不同。该目标控制指令可以包括但不限于短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令等中的至少一种。In the embodiment of the present invention, the target control commands for the target short message generated by different touch pressure values may be different. The target control instruction may include, but is not limited to, at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reduction instruction.
作为一种可选的实施方式,步骤S204根据该触控压力值生成针对目标短信的目标控制指令的具体实施方式可以包括:As an optional implementation manner, the specific implementation manner of generating the target control instruction for the target short message according to the touch pressure value in step S204 may include:
根据预设的触控压力值与控制指令的映射关系,获取与该触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对目标短信的目标控制指令。And obtaining, according to a preset mapping relationship between the touch pressure value and the control command, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as the target control instruction for the target short message.
在该实施方式中,可以在用户终端中预先设置触控压力值与控制指令的映射关系,不同的触控压力值对应的控制指令可以不同。可以从该映射关系中获取与针对目标短信的触控操作的触控压力值相对应的控制指令,并将该控制指令确定为针对目标短信的目标控制指令。In this embodiment, the mapping relationship between the touch pressure value and the control command may be preset in the user terminal, and the control commands corresponding to different touch pressure values may be different. A control instruction corresponding to the touch pressure value of the touch operation for the target short message may be acquired from the mapping relationship, and the control command is determined as the target control instruction for the target short message.
S205、对目标短信执行与该目标控制指令相对应的操作。S205. Perform an operation corresponding to the target control instruction on the target short message.
可见,通过实施图2所描述的方法,可以通过触控操作的触控参数来实现对短信进行各项操作,而无需针对不同操作按压不同按键,从而能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。It can be seen that, by implementing the method described in FIG. 2, various operations on the short message can be implemented by using touch parameters of the touch operation, without pressing different keys for different operations, so that various operations can be quickly performed on the short message to save Operation time, improve the convenience of operation.
请参阅图3,图3是本发明实施例公开的一种用户终端的结构示意图,用于执行本发明实施例公开的短信处理方法。如图3所示,该用户终端可以包括:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention, which is used to execute a short message processing method disclosed in an embodiment of the present invention. As shown in FIG. 3, the user terminal may include:
检测单元301,用于检测针对用户终端中的目标短信的触控操作。The detecting unit 301 is configured to detect a touch operation for a target short message in the user terminal.
本发明实施例中,检测单元301可以实时检测针对用户终端中的目标短信的触控操作,也可以每隔预设时间检测针对用户终端中的目标短信的触控操作。目标短信可以是用户终端中的短信应用内包括的一条或多条短信。其中,短信应用可以是用户终端系统自带的短信应用,也可以是用户终端中安装的第三方短信应用。 In the embodiment of the present invention, the detecting unit 301 can detect the touch operation for the target short message in the user terminal in real time, and can also detect the touch operation for the target short message in the user terminal every preset time. The target short message may be one or more short messages included in the short message application in the user terminal. The short message application may be a short message application provided by the user terminal system, or may be a third party short message application installed in the user terminal.
本发明实施例中,该触控操作可以是按压目标短信的显示界面所触发的操作,也可以是按压短信列表中的目标短信的显示栏所触发的操作。检测单元301可以根据触摸屏(或触控面板)上电容值或电阻值的变化来检测触控操作是否发生。In the embodiment of the present invention, the touch operation may be an operation triggered by pressing a display interface of the target short message, or may be an operation triggered by pressing a display field of the target short message in the short message list. The detecting unit 301 can detect whether a touch operation occurs according to a change in a capacitance value or a resistance value on the touch screen (or the touch panel).
获取单元302,用于获取该触控操作的触控参数,该触控参数包括触控压力值。The acquiring unit 302 is configured to obtain a touch parameter of the touch operation, where the touch parameter includes a touch pressure value.
本发明实施例中,当检测单元301检测到存在针对用户终端中的目标短信的触控操作时,获取单元302可以获取该触控操作的触控参数。其中,该触控参数除可以包括触控压力值外,还可以包括触控时长、触控指纹信息、触控位置信息、触控方向、触控轨迹等中的至少一种,本发明实施例不作限定。In the embodiment of the present invention, when the detecting unit 301 detects that there is a touch operation for the target short message in the user terminal, the acquiring unit 302 may obtain the touch parameter of the touch operation. In addition to the touch pressure value, the touch parameter may further include at least one of a touch duration, a touch fingerprint information, a touch location information, a touch direction, a touch track, and the like. Not limited.
作为一种可选的实施方式,获取单元302获取该触控操作的触控压力值的具体实施方式可以为:As an optional implementation manner, the specific implementation manner of the acquiring unit 302 for acquiring the touch pressure value of the touch operation may be:
获取单元302利用用户终端中集成的压力传感器获取该触控操作的触控压力值。The obtaining unit 302 acquires the touch pressure value of the touch operation by using a pressure sensor integrated in the user terminal.
在该实施方式中,压力传感器可以是一个或多个,当为多个时,可以将其均匀分布在用户终端的某个区域或整个用户终端中。In this embodiment, the pressure sensors may be one or more, and when there are multiple, they may be evenly distributed in a certain area of the user terminal or the entire user terminal.
作为一种可选的实施方式,获取单元302可以通过触摸屏上的坐标点的变化来确定该触控操作的位置信息、触控方向以及触控轨迹等等;获取单元302也可以利用集成在用户终端中的指纹采集装置获取该触控操作的指纹信息;获取单元302还可以是通过用户终端中集成的传感器来确定该触控操作的触控参数,例如可以通过摄像头来确定用户手指与触摸屏接触的位置和/或手指在触摸屏上移动的状态(如移动的轨迹、方向、距离等等),或者可以通过红外传感器来确定手指在触摸屏上移动的状态等,或者还可以通过温度传感器来感测温度值的变化来确定手指在触摸屏上移动的状态等等,本发明实施例不作限定。As an optional implementation manner, the acquiring unit 302 may determine the location information, the touch direction, the touch track, and the like of the touch operation by using the change of the coordinate point on the touch screen; the obtaining unit 302 may also be integrated with the user. The fingerprint collection device in the terminal acquires the fingerprint information of the touch operation; the acquisition unit 302 may further determine the touch parameter of the touch operation by using a sensor integrated in the user terminal, for example, the camera may be used to determine that the user's finger is in contact with the touch screen. The position and/or state of the finger moving on the touch screen (such as the trajectory, direction, distance, etc. of the movement), or the state of the finger moving on the touch screen by the infrared sensor, or the like, or can also be sensed by the temperature sensor The change of the temperature value to determine the state of the finger moving on the touch screen, etc., is not limited in the embodiment of the present invention.
生成单元303,用于根据该触控压力值生成针对目标短信的目标控制指令,其中,不同的触控压力值生成的针对目标短信的目标控制指令不同。The generating unit 303 is configured to generate a target control instruction for the target short message according to the touch pressure value, wherein the target control command for the target short message generated by the different touch pressure values is different.
本发明实施例中,当获取单元302获取到该触控操作的触控压力值之后,生成单元303可以根据该触控压力值生成针对目标短信的目标控制指令,其 中,不同的触控压力值生成的针对目标短信的目标控制指令可以不同,可以在用户终端中预先设置触控压力值与控制指令的映射关系。In the embodiment of the present invention, after the acquiring unit 302 obtains the touch pressure value of the touch operation, the generating unit 303 may generate a target control instruction for the target short message according to the touch pressure value, where The target control command for the target short message generated by the different touch pressure values may be different, and the mapping relationship between the touch pressure value and the control command may be preset in the user terminal.
本发明实施例中,该目标控制指令可以包括短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种,本发明实施例不作限定。In the embodiment of the present invention, the target control instruction may include at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content narrowing instruction, and the present invention The embodiment is not limited.
执行单元304,用于对目标短信执行与该目标控制指令相对应的操作。The executing unit 304 is configured to perform an operation corresponding to the target control instruction on the target short message.
本发明实施例中,当生成单元303根据该触控压力值生成针对目标短信的目标控制指令后,执行单元304可以对目标短信执行与该目标控制指令相对应的操作。例如:当该目标控制指令为短信编辑指令时,执行单元304可以对目标短信进行编辑操作;当该目标控制指令为短信转发指令时,执行单元304可以目标短信进行转发操作;当该目标控制指令为短信删除指令时,执行单元304可以对目标短信进行删除操作;当该目标控制指令为短信切换指令时,执行单元304可以将目标短信切换至下一条短信;当该目标控制指令为短信内容复制指令时,执行单元304可以对目标短信的文字或图片等内容进行全选并复制;当该目标控制指令为短信内容放大指令时,执行单元304可以将目标短信的文字或图片等内容进行放大操作;当该目标控制指令为短信内容缩小指令时,执行单元304可以将目标短信的文字或图片等内容进行缩小操作等等。此外,执行单元304还可以根据触控压力值的不同,对目标短信进行发送,将目标短信对应的联系人加入黑名单,对目标短信的铃声、保存周期等进行设置以及对目标短信对应的联系人进行呼叫等各项操作,本发明实施例不作限定。In the embodiment of the present invention, after the generating unit 303 generates the target control instruction for the target short message according to the touch pressure value, the executing unit 304 may perform an operation corresponding to the target control instruction on the target short message. For example, when the target control instruction is a short message editing instruction, the executing unit 304 may perform an editing operation on the target short message; when the target control instruction is a short message forwarding instruction, the executing unit 304 may perform a forwarding operation on the target short message; when the target control instruction is When the instruction is deleted, the execution unit 304 may perform a deletion operation on the target short message; when the target control instruction is a short message switching instruction, the executing unit 304 may switch the target short message to the next short message; when the target control instruction is the short message content copying When the command is executed, the executing unit 304 may select and copy the content such as the text or the picture of the target short message; when the target control instruction is the short message content enlargement instruction, the executing unit 304 may perform the enlargement operation on the content of the target short message or the like. When the target control instruction is the short message content reduction instruction, the execution unit 304 may perform a reduction operation or the like on the content of the text or the picture of the target short message. In addition, the execution unit 304 may also send the target short message according to different touch pressure values, add the contact corresponding to the target short message to the blacklist, set the ringtone of the target short message, the save period, and the like, and the corresponding correspondence to the target short message. The operation of the person, such as a call, is not limited in the embodiment of the present invention.
图3所示的用户终端,当检测单元301检测到针对用户终端中的目标短信的触控操作时,获取单元302可以获取该触控操作的触控参数,该触控参数包括触控压力值,生成单元303根据该触控压力值生成针对目标短信的目标控制指令,执行单元304可以对目标短信执行与该目标控制指令相对应的操作。实施图3所示的用户终端,可以通过触控操作的触控压力值来实现对短信进行各项操作,而无需针对不同操作按压不同按键,从而能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。In the user terminal shown in FIG. 3, when the detecting unit 301 detects the touch operation for the target short message in the user terminal, the acquiring unit 302 may obtain the touch parameter of the touch operation, where the touch parameter includes the touch pressure value. The generating unit 303 generates a target control instruction for the target short message according to the touch pressure value, and the executing unit 304 can perform an operation corresponding to the target control instruction on the target short message. The user terminal shown in FIG. 3 can implement various operations on the short message by using the touch pressure value of the touch operation, without pressing different keys for different operations, so that various operations can be quickly performed on the short message to save operation. Time to improve operational convenience.
请参阅图4,图4是本发明实施例公开的另一种用户终端的结构示意图, 用于执行本发明实施例公开的短信处理方法。如图4所示,该用户终端可以包括:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. It is used to execute the short message processing method disclosed in the embodiment of the present invention. As shown in FIG. 4, the user terminal may include:
检测单元401,用于检测针对用户终端中的目标短信的触控操作。The detecting unit 401 is configured to detect a touch operation for a target short message in the user terminal.
获取单元402,用于获取该触控操作的触控参数,该触控参数包括触控压力值。The acquiring unit 402 is configured to obtain a touch parameter of the touch operation, where the touch parameter includes a touch pressure value.
本发明实施例中,该触控参数除包括触控压力值外,还可以包括触控时长、触控指纹信息、触控位置信息、触控方向、触控轨迹等中的至少一种,本发明实施例不作限定。In the embodiment of the present invention, the touch parameter may include at least one of a touch duration, a touch fingerprint information, a touch location information, a touch direction, a touch track, and the like, in addition to the touch pressure value. The embodiment of the invention is not limited.
生成单元403,用于根据该触控压力值生成针对目标短信的目标控制指令,其中,不同的触控压力值生成的针对目标短信的目标控制指令不同。The generating unit 403 is configured to generate a target control instruction for the target short message according to the touch pressure value, wherein the target control command for the target short message generated by the different touch pressure values is different.
本发明实施例中,该目标控制指令可以包括但不限于短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令等中的至少一种。In the embodiment of the present invention, the target control instruction may include, but is not limited to, at least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction. Kind.
作为一种可选的实施方式,生成单元403具体可以用于根据预设的触控压力值与控制指令的映射关系,获取与该触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对目标短信的目标控制指令。As an optional implementation manner, the generating unit 403 is specifically configured to obtain, according to a preset mapping relationship between the touch pressure value and the control command, a touch pressure value corresponding to the touch parameter of the touch operation. The control command is used as a target control command for the target short message.
执行单元404,用于对目标短信执行与该目标控制指令相对应的操作。The executing unit 404 is configured to perform an operation corresponding to the target control instruction on the target short message.
作为一种可选的实施方式,当该触控参数还包括触控时长时,图4所示的用户终端还可以包括:As an optional implementation manner, when the touch parameter further includes a touch duration, the user terminal shown in FIG. 4 may further include:
第一判断单元405,用于判断该触控时长是否超过预设时长,若该触控时长超过预设时长,则触发生成单元403执行所述的根据该触控压力值生成针对目标短信的目标控制指令的操作。The first determining unit 405 is configured to determine whether the touch duration exceeds a preset duration. If the touch duration exceeds a preset duration, the trigger generating unit 403 performs the generating of the target for the target short message according to the touch pressure value. Control the operation of instructions.
作为一种可选的实施方式,当该触控参数还包括触控指纹信息时,图4所示的用户终端还可以包括:As an optional implementation manner, when the touch parameter further includes touch fingerprint information, the user terminal shown in FIG. 4 may further include:
第二判断单元406,用于当第一判断单元405判断该触控时长超过预设时长时,判断该触控指纹信息是否与预设指纹信息相匹配,若该触控指纹信息与预设指纹信息相匹配,则触发生成单元403执行所述的根据该触控压力值生成针对目标短信的目标控制指令的操作。The second determining unit 406 is configured to: when the first determining unit 405 determines that the touch duration exceeds a preset duration, determine whether the touch fingerprint information matches the preset fingerprint information, if the touch fingerprint information and the preset fingerprint When the information matches, the trigger generating unit 403 performs the operation of generating the target control instruction for the target short message according to the touch pressure value.
作为一种可选的实施方式,当该触控参数还包括触控位置信息时,图4 所示的用户终端还可以包括:As an optional implementation manner, when the touch parameter further includes touch location information, FIG. 4 The illustrated user terminal may also include:
第三判断单元407,用于当第二判断单元406判断该触控指纹信息与预设指纹信息相匹配时,判断该触控位置信息是否位于预设区域内,若该触控位置信息位于预设区域内,则触发生成单元403执行所述的根据该触控压力值生成针对目标短信的目标控制指令的操作。The third determining unit 407 is configured to determine, when the second determining unit 406 determines that the touch fingerprint information matches the preset fingerprint information, whether the touch location information is located in the preset area, and if the touch location information is located in the preset In the setting area, the trigger generating unit 403 performs the operation of generating the target control instruction for the target short message according to the touch pressure value.
可见,实施图4所示的用户终端,可以通过触控操作的触控参数来实现对短信进行各项操作,而无需针对不同操作按压不同按键,从而能够快速对短信进行各项操作,以节省操作时间,提高操作便捷性。It can be seen that the user terminal shown in FIG. 4 can implement various operations on the short message by using the touch parameters of the touch operation, without pressing different buttons for different operations, so that various operations can be quickly performed on the short message to save Operation time, improve the convenience of operation.
请参阅图5,图5是本发明实施例公开的又一种用户终端的结构示意图,用于执行本发明实施例公开的短信处理方法。如图5所示,该用户终端500可以包括:至少一个处理器501,至少一个触控传感器502,至少一个用户接口503,存储器504等组件。其中,这些组件通过一条或多条总线505进行通信连接。本领域技术人员可以理解,图5中示出的用户终端的结构并不构成对本发明实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present invention, which is used to perform the short message processing method disclosed in the embodiment of the present invention. As shown in FIG. 5, the user terminal 500 can include at least one processor 501, at least one touch sensor 502, at least one user interface 503, a memory 504, and the like. Among them, these components are communicatively connected by one or more buses 505. It can be understood by those skilled in the art that the structure of the user terminal shown in FIG. 5 does not constitute a limitation on the embodiment of the present invention. It may be a bus-shaped structure or a star-shaped structure, and may also include more than the illustration. Or fewer parts, or combine some parts, or different parts. among them:
处理器501为用户终端的控制中心,利用各种接口和线路连接整个用户终端的各个部分,通过运行或执行存储在存储器504内的程序和/或模块,以及调用存储在存储器504内的数据,以执行用户终端的各种功能和处理数据。处理器501可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器501可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(digital signal processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及各种控制芯片的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 501 is a control center for the user terminal, connecting various portions of the entire user terminal using various interfaces and lines, by running or executing programs and/or modules stored in the memory 504, and recalling data stored in the memory 504, To perform various functions and process data of the user terminal. The processor 501 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs that have the same function or different functions. For example, the processor 501 may include only a central processing unit (CPU), or may be a CPU, a digital signal processor (DSP), or a graphics processing unit (GPU). And a combination of various control chips. In the embodiment of the present invention, the CPU may be a single operation core, and may also include multiple operation cores.
触控传感器502可以包括但不限于压力传感器、摄像头、指纹采集装置、红外传感器、温度传感器等中的至少一种,用于获取针对用户终端中的目标短信的触控操作的触控参数。The touch sensor 502 can include, but is not limited to, at least one of a pressure sensor, a camera, a fingerprint collection device, an infrared sensor, a temperature sensor, and the like, for acquiring a touch parameter for a touch operation of a target short message in the user terminal.
用户接口503可以包括显示屏(Display)等,其中,本发明实施例中显示 屏为触摸屏或触控面板等,用于方便用户通过触控操作与用户终端进行交互。The user interface 503 may include a display or the like, which is displayed in the embodiment of the present invention. The screen is a touch screen or a touch panel, and is used to facilitate the user to interact with the user terminal through the touch operation.
存储器504可用于存储软件程序以及模块,处理器501、触控传感器502以及用户接口503通过调用存储在存储器504中的软件程序以及模块,从而执行用户终端的各项功能应用以及实现数据处理。存储器504主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据用户终端的使用所创建的数据等。在本发明实施例中,操作系统可以是Android系统、iOS系统或Windows操作系统等等。The memory 504 can be used to store software programs and modules. The processor 501, the touch sensor 502, and the user interface 503 perform various functional applications of the user terminal and implement data processing by calling software programs and modules stored in the memory 504. The memory 504 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, and the like; the data storage area can store data created according to usage of the user terminal and the like. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
具体地,处理器501调用存储在存储器504中的应用程序,用于执行以下操作:Specifically, the processor 501 calls an application stored in the memory 504 for performing the following operations:
检测针对用户终端中的目标短信的触控操作;Detecting a touch operation for a target short message in the user terminal;
通过触控传感器502获取该触控操作的触控参数,该触控参数包括触控压力值;The touch parameter of the touch operation is obtained by the touch sensor 502, where the touch parameter includes a touch pressure value;
根据该触控压力值生成针对目标短信的目标控制指令,其中,不同的触控压力值生成的针对目标短信的目标控制指令不同;Generating a target control instruction for the target short message according to the touch pressure value, wherein the target control command for the target short message generated by the different touch pressure values is different;
对目标短信执行与该目标控制指令相对应的操作。An operation corresponding to the target control instruction is performed on the target short message.
作为一种可选的实施方式,当该触控参数还包括触控时长时,处理器501还可以调用存储在存储器504中的应用程序,并执行以下操作:As an optional implementation manner, when the touch parameter further includes a touch duration, the processor 501 may also invoke an application stored in the memory 504 and perform the following operations:
判断该触控时长是否超过存储器504中存储的预设时长;Determining whether the touch duration exceeds a preset duration stored in the memory 504;
若该触控时长超过预设时长,则执行所述的根据该触控压力值生成针对目标短信的目标控制指令的操作。If the touch duration exceeds the preset duration, the operation of generating the target control instruction for the target short message according to the touch pressure value is performed.
作为一种可选的实施方式,当该触控参数还包括触控指纹信息时,处理器501判断该触控时长超过预设时长之后,还可以调用存储在存储器504中的应用程序,并执行以下操作:As an optional implementation manner, when the touch parameter further includes the touch fingerprint information, the processor 501 may determine, after the touch duration exceeds the preset duration, the application stored in the memory 504 may be invoked and executed. The following operations:
判断该触控指纹信息是否与存储器504中存储的预设指纹信息相匹配;Determining whether the touch fingerprint information matches the preset fingerprint information stored in the memory 504;
若该触控指纹信息与预设指纹信息相匹配,则执行所述的根据该触控压力值生成针对目标短信的目标控制指令的操作。If the touch fingerprint information matches the preset fingerprint information, performing the operation of generating the target control instruction for the target short message according to the touch pressure value.
作为一种可选的实施方式,当该触控参数还包括触控位置信息时,处理器501判断该触控指纹信息与预设指纹信息相匹配之后,还可以调用存储在存储器504中的应用程序,并执行以下操作: As an optional implementation manner, when the touch parameter further includes touch location information, the processor 501 may determine, after the touch fingerprint information matches the preset fingerprint information, the application stored in the memory 504. Program and do the following:
判断该触控位置信息是否位于预设区域内;Determining whether the touch location information is located in a preset area;
若该触控位置信息位于预设区域内,则执行所述的根据该触控压力值生成针对目标短信的目标控制指令的操作。If the touch location information is located in the preset area, performing the operation of generating the target control instruction for the target short message according to the touch pressure value.
作为一种可选的实施方式,处理器501根据该触控压力值生成针对目标短信的目标控制指令的具体实施方式可以为:As an optional implementation manner, a specific implementation manner of the processor 501 generating a target control instruction for the target short message according to the touch pressure value may be:
根据存储器504中存储的预设的触控压力值与控制指令的映射关系,获取与该触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对目标短信的目标控制指令。Obtaining, according to a mapping relationship between the preset touch pressure value and the control command stored in the memory 504, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as a target control instruction for the target short message .
作为一种可选的实施方式,目标控制指令可以包括但不限于短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。As an optional implementation manner, the target control instruction may include, but is not limited to, at least a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction. One.
具体地,本发明实施例中介绍的用户终端可以实施本发明结合图1或图2介绍的短信处理方法实施例中的部分或全部流程。Specifically, the user terminal introduced in the embodiment of the present invention may implement some or all of the processes in the embodiment of the short message processing method introduced in conjunction with FIG. 1 or FIG.
本发明所有实施例中的模块或子模块,可以通过通用集成电路,例如CPU,或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。Modules or sub-modules in all embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU, or by an ASIC (Application Specific Integrated Circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例用户终端中的单元可以根据实际需要进行合并、划分和删减。The units in the user terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上对本发明实施例公开的一种短信处理方法及用户终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method for processing a short message and the user terminal disclosed in the embodiment of the present invention are described in detail. The principles and embodiments of the present invention are described in the following. The description of the above embodiments is only for helping to understand the present invention. The method and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of the specification should not be understood as Limitations of the invention.

Claims (18)

  1. 一种短信处理方法,其特征在于,包括:A short message processing method, comprising:
    检测针对用户终端中的目标短信的触控操作;Detecting a touch operation for a target short message in the user terminal;
    获取所述触控操作的触控参数,所述触控参数包括触控压力值;Obtaining a touch parameter of the touch operation, where the touch parameter includes a touch pressure value;
    根据所述触控压力值生成针对所述目标短信的目标控制指令,其中,不同的触控压力值生成的针对所述目标短信的目标控制指令不同;Generating, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
    对所述目标短信执行与所述目标控制指令相对应的操作。An operation corresponding to the target control instruction is performed on the target short message.
  2. 根据权利要求1所述的方法,其特征在于,所述触控参数还包括触控时长,所述方法还包括:The method of claim 1, wherein the touch parameter further comprises a touch duration, the method further comprising:
    判断所述触控时长是否超过预设时长;Determining whether the touch duration exceeds a preset duration;
    若所述触控时长超过所述预设时长,则执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的步骤。If the touch duration exceeds the preset duration, performing the step of generating a target control instruction for the target short message according to the touch pressure value.
  3. 根据权利要求2所述的方法,其特征在于,所述触控参数还包括触控指纹信息,所述判断所述触控时长超过所述预设时长之后,所述方法还包括:The method of claim 2, wherein the touch parameter further comprises touch fingerprint information, and after the determining that the touch duration exceeds the preset duration, the method further comprises:
    判断所述触控指纹信息是否与预设指纹信息相匹配;Determining whether the touch fingerprint information matches the preset fingerprint information;
    若所述触控指纹信息与所述预设指纹信息相匹配,则执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的步骤。And if the touch fingerprint information matches the preset fingerprint information, performing the step of generating a target control instruction for the target short message according to the touch pressure value.
  4. 根据权利要求3所述的方法,其特征在于,所述触控参数还包括触控位置信息,所述判断所述触控指纹信息与所述预设指纹信息相匹配之后,所述方法还包括:The method of claim 3, wherein the touch parameter further comprises touch location information, and after the determining the touch fingerprint information matches the preset fingerprint information, the method further includes :
    判断所述触控位置信息是否位于预设区域内;Determining whether the touch location information is located in a preset area;
    若所述触控位置信息位于所述预设区域内,则执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的步骤。And if the touch location information is located in the preset area, performing the step of generating a target control instruction for the target short message according to the touch pressure value.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,所述根据所述触控压力值生成针对所述目标短信的目标控制指令,包括: The method according to any one of claims 1 to 4, wherein the generating a target control instruction for the target short message according to the touch pressure value comprises:
    根据预设的触控压力值与控制指令的映射关系,获取与所述触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对所述目标短信的目标控制指令。And obtaining, according to a preset mapping relationship between the touch pressure value and the control command, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as a target control instruction for the target short message.
  6. 根据权利要求1~4任一项所述的方法,其特征在于,所述目标控制指令包括:The method according to any one of claims 1 to 4, wherein the target control instruction comprises:
    短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  7. 一种用户终端,其特征在于,包括:A user terminal, comprising:
    检测单元,用于检测针对用户终端中的目标短信的触控操作;a detecting unit, configured to detect a touch operation for a target short message in the user terminal;
    获取单元,用于获取所述触控操作的触控参数,所述触控参数包括触控压力值;An acquiring unit, configured to acquire a touch parameter of the touch operation, where the touch parameter includes a touch pressure value;
    生成单元,用于根据所述触控压力值生成针对所述目标短信的目标控制指令,其中,不同的触控压力值生成的针对所述目标短信的目标控制指令不同;a generating unit, configured to generate, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
    执行单元,用于对所述目标短信执行与所述目标控制指令相对应的操作。And an execution unit, configured to perform an operation corresponding to the target control instruction on the target short message.
  8. 根据权利要求7所述的用户终端,其特征在于,所述触控参数还包括触控时长,所述用户终端还包括:The user terminal according to claim 7, wherein the touch parameter further includes a touch duration, and the user terminal further includes:
    第一判断单元,用于判断所述触控时长是否超过预设时长,若所述触控时长超过所述预设时长,则触发所述生成单元执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。The first determining unit is configured to determine whether the touch duration exceeds a preset duration, and if the touch duration exceeds the preset duration, triggering the generating unit to perform the generating according to the touch pressure value The operation of the target control instruction for the target short message.
  9. 根据权利要求8所述的用户终端,其特征在于,所述触控参数还包括触控指纹信息,所述用户终端还包括:The user terminal according to claim 8, wherein the touch parameter further includes touch fingerprint information, and the user terminal further includes:
    第二判断单元,用于当所述第一判断单元判断所述触控时长超过所述预设时长时,判断所述触控指纹信息是否与预设指纹信息相匹配,若所述触控指纹信息与所述预设指纹信息相匹配,则触发所述生成单元执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。 a second determining unit, configured to: when the first determining unit determines that the touch duration exceeds the preset duration, determine whether the touch fingerprint information matches the preset fingerprint information, if the touch fingerprint The information is matched with the preset fingerprint information, and the generating unit is triggered to perform the operation of generating the target control instruction for the target short message according to the touch pressure value.
  10. 根据权利要求9所述的用户终端,其特征在于,所述触控参数还包括触控位置信息,所述用户终端还包括:The user terminal according to claim 9, wherein the touch parameter further includes touch location information, and the user terminal further includes:
    第三判断单元,用于当所述第二判断单元判断所述触控指纹信息与所述预设指纹信息相匹配时,判断所述触控位置信息是否位于预设区域内,若所述触控位置信息位于所述预设区域内,则触发所述生成单元执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。a third determining unit, configured to: when the second determining unit determines that the touch fingerprint information matches the preset fingerprint information, determine whether the touch location information is located in a preset area, if the touch The control location information is located in the preset area, and the generating unit is triggered to perform the operation of generating the target control instruction for the target short message according to the touch pressure value.
  11. 根据权利要求7~10任一项所述的用户终端,其特征在于,所述生成单元具体用于根据预设的触控压力值与控制指令的映射关系,获取与所述触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对所述目标短信的目标控制指令。The user terminal according to any one of claims 7 to 10, wherein the generating unit is configured to acquire a touch with the touch operation according to a mapping relationship between a preset touch pressure value and a control command. The control command corresponding to the touch pressure value included in the control parameter is used as the target control command for the target short message.
  12. 根据权利要求7~10任一项所述的用户终端,其特征在于,所述目标控制指令包括:The user terminal according to any one of claims 7 to 10, wherein the target control instruction comprises:
    短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
  13. 一种用户终端,其特征在于,包括:处理器、存储器和触控传感器;A user terminal, comprising: a processor, a memory, and a touch sensor;
    其中,所述存储器用于存储程序和数据;所述处理器用于调用所述存储器存储的程序,执行如下步骤:The memory is used to store programs and data; the processor is configured to invoke the program stored in the memory, and perform the following steps:
    检测针对所述用户终端中的目标短信的触控操作;Detecting a touch operation for a target short message in the user terminal;
    触发所述触控传感器获取所述触控操作的触控参数,所述触控参数包括触控压力值;The touch sensor is triggered to acquire a touch parameter of the touch operation, and the touch parameter includes a touch pressure value;
    根据所述触控压力值生成针对所述目标短信的目标控制指令,其中,不同的触控压力值生成的针对所述目标短信的目标控制指令不同;Generating, according to the touch pressure value, a target control instruction for the target short message, where different target control commands generated by the different touch pressure values are different for the target short message;
    对所述目标短信执行与所述目标控制指令相对应的操作。An operation corresponding to the target control instruction is performed on the target short message.
  14. 根据权利要求13所述的用户终端,其特征在于,所述触控参数还包 括触控时长,所述处理器还用于调用所述存储器中存储的程序执行如下操作:The user terminal according to claim 13, wherein the touch parameter is further included Including the duration of the touch, the processor is further configured to invoke a program stored in the memory to perform the following operations:
    判断所述触控时长是否超过所述存储器中存储的预设时长;Determining whether the touch duration exceeds a preset duration stored in the memory;
    若所述触控时长超过所述预设时长,则所述处理器执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。If the touch duration exceeds the preset duration, the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
  15. 根据权利要求14所述的用户终端,其特征在于,所述触控参数还包括触控指纹信息,所述处理器在判断所述触控时长超过所述预设时长之后,还用于调用所述存储器中存储的程序执行如下操作:The user terminal according to claim 14, wherein the touch parameter further includes touch fingerprint information, and the processor is further configured to call the device after determining that the touch duration exceeds the preset duration The program stored in the memory performs the following operations:
    判断所述触控指纹信息是否与所述存储器中存储的预设指纹信息相匹配;Determining whether the touch fingerprint information matches the preset fingerprint information stored in the memory;
    若所述触控指纹信息与所述预设指纹信息相匹配,则所述处理器执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。If the touch fingerprint information matches the preset fingerprint information, the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
  16. 根据权利要求15所述的用户终端,其特征在于,所述触控参数还包括触控位置信息,所述处理器在判断所述触控指纹信息与所述预设指纹信息相匹配之后,还用于调用所述存储器中存储的程序执行如下操作:The user terminal according to claim 15, wherein the touch parameter further includes touch location information, and after the processor determines that the touch fingerprint information matches the preset fingerprint information, The program for calling the memory stored in the memory performs the following operations:
    判断所述触控位置信息是否位于所述存储器中存储的预设区域内;Determining whether the touch location information is located in a preset area stored in the memory;
    若所述触控位置信息位于所述预设区域内,则所述处理器执行所述的根据所述触控压力值生成针对所述目标短信的目标控制指令的操作。If the touch location information is located in the preset area, the processor performs the operation of generating a target control instruction for the target short message according to the touch pressure value.
  17. 根据权利要求13~16任一项所述的用户终端,其特征在于,所述处理器根据所述触控压力值生成针对所述目标短信的目标控制指令的方式具体为:The user terminal according to any one of claims 13 to 16, wherein the manner in which the processor generates a target control instruction for the target short message according to the touch pressure value is specifically:
    根据所述存储器中存储的预设的触控压力值与控制指令的映射关系,获取与所述触控操作的触控参数包括的触控压力值相对应的控制指令,作为针对所述目标短信的目标控制指令。Obtaining, according to the mapping relationship between the preset touch pressure value and the control command stored in the memory, a control instruction corresponding to the touch pressure value included in the touch parameter of the touch operation, as the target short message Target control instructions.
  18. 根据权利要求13~16任一项所述的用户终端,其特征在于,所述目标控制指令包括:The user terminal according to any one of claims 13 to 16, wherein the target control instruction comprises:
    短信编辑指令、短信转发指令、短信删除指令、短信切换指令、短信内容复制指令、短信内容放大指令以及短信内容缩小指令中的至少一种。 At least one of a short message editing instruction, a short message forwarding instruction, a short message deletion instruction, a short message switching instruction, a short message content copying instruction, a short message content amplifying instruction, and a short message content reducing instruction.
PCT/CN2016/081713 2015-08-27 2016-05-11 Text-message processing method and user terminal WO2017032069A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510542415.6 2015-08-27
CN201510542415.6A CN105246057A (en) 2015-08-27 2015-08-27 Short message processing method and user terminal

Publications (1)

Publication Number Publication Date
WO2017032069A1 true WO2017032069A1 (en) 2017-03-02

Family

ID=55043484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081713 WO2017032069A1 (en) 2015-08-27 2016-05-11 Text-message processing method and user terminal

Country Status (2)

Country Link
CN (1) CN105246057A (en)
WO (1) WO2017032069A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246057A (en) * 2015-08-27 2016-01-13 广东欧珀移动通信有限公司 Short message processing method and user terminal
CN106126079A (en) * 2016-06-15 2016-11-16 珠海市魅族科技有限公司 A kind of information processing method and information processor
CN106250041A (en) * 2016-07-28 2016-12-21 珠海市魅族科技有限公司 A kind of data processing method and device
CN106210910A (en) * 2016-08-05 2016-12-07 乐视控股(北京)有限公司 Barrage control method and device
CN109147777A (en) * 2018-07-17 2019-01-04 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the method, apparatus for realizing directive property voice assistant

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2028583A2 (en) * 2007-08-22 2009-02-25 Samsung Electronics Co., Ltd Method and apparatus for providing input feedback in a portable terminal
CN101699369A (en) * 2009-11-18 2010-04-28 英华达(南昌)科技有限公司 Pressure triggering device used for electronic equipment and electronic device comprising same
CN102662573A (en) * 2012-03-24 2012-09-12 上海量明科技发展有限公司 Method and terminal for obtaining options by pressing
CN105159587A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application control method and mobile terminal
CN105224216A (en) * 2015-08-27 2016-01-06 广东欧珀移动通信有限公司 A kind of user terminal control method and user terminal
CN105242807A (en) * 2015-10-20 2016-01-13 广东欧珀移动通信有限公司 Message checking method and terminal
CN105246057A (en) * 2015-08-27 2016-01-13 广东欧珀移动通信有限公司 Short message processing method and user terminal
CN105302455A (en) * 2015-09-29 2016-02-03 广东欧珀移动通信有限公司 Interface operation method and terminal
CN105303086A (en) * 2015-10-31 2016-02-03 深圳市金立通信设备有限公司 Application starting method and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200923737A (en) * 2007-11-23 2009-06-01 Compal Communications Inc Handheld device and operating method thereof
JP5310389B2 (en) * 2009-08-27 2013-10-09 ソニー株式会社 Information processing apparatus, information processing method, and program
CN103677361A (en) * 2012-09-11 2014-03-26 上海斐讯数据通信技术有限公司 Mobile terminal and control method thereof
WO2014049392A1 (en) * 2012-09-25 2014-04-03 Nokia Corporation Method and display device with tactile feedback
CN103870190B (en) * 2012-12-17 2018-03-27 联想(北京)有限公司 The method and electronic equipment of a kind of control electronics
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation
KR102177150B1 (en) * 2014-02-19 2020-11-10 삼성전자 주식회사 Apparatus and method for recognizing a fingerprint

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2028583A2 (en) * 2007-08-22 2009-02-25 Samsung Electronics Co., Ltd Method and apparatus for providing input feedback in a portable terminal
CN101699369A (en) * 2009-11-18 2010-04-28 英华达(南昌)科技有限公司 Pressure triggering device used for electronic equipment and electronic device comprising same
CN102662573A (en) * 2012-03-24 2012-09-12 上海量明科技发展有限公司 Method and terminal for obtaining options by pressing
CN105159587A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Application control method and mobile terminal
CN105224216A (en) * 2015-08-27 2016-01-06 广东欧珀移动通信有限公司 A kind of user terminal control method and user terminal
CN105246057A (en) * 2015-08-27 2016-01-13 广东欧珀移动通信有限公司 Short message processing method and user terminal
CN105302455A (en) * 2015-09-29 2016-02-03 广东欧珀移动通信有限公司 Interface operation method and terminal
CN105242807A (en) * 2015-10-20 2016-01-13 广东欧珀移动通信有限公司 Message checking method and terminal
CN105303086A (en) * 2015-10-31 2016-02-03 深圳市金立通信设备有限公司 Application starting method and terminal

Also Published As

Publication number Publication date
CN105246057A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
WO2017032068A1 (en) Text message viewing method and user terminal
WO2017032067A1 (en) Call recording method and user terminal
US20180088784A1 (en) Method and Device for Sharing Content
WO2017032069A1 (en) Text-message processing method and user terminal
US8090087B2 (en) Method, system, and graphical user interface for making conference calls
US20120289290A1 (en) Transferring objects between application windows displayed on mobile terminal
KR102157327B1 (en) Apparatas and method for converting image form of object to text form of object in an electronic device
US20100333027A1 (en) Delete slider mechanism
CN103886025B (en) The display methods and device of picture in webpage
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
CN106325663B (en) Mobile terminal and its screenshotss method
EP3842941A1 (en) A sidebar interaction method, device, and computer-readable storage medium
KR101962774B1 (en) Method and apparatus for processing new messages associated with an application
CN108366169B (en) Notification message processing method and mobile terminal
US20120262405A1 (en) Method and mobile terminal for processing touch input
WO2017063443A1 (en) Message display method and apparatus
CN106681584A (en) Method for optimizing application display and terminal
CN110276723B (en) Head portrait hanging member generation method and device and related equipment
CN107153546B (en) Video playing method and mobile device
TW201537446A (en) Electronic apparatus and messaging method
CN107409157B (en) Method and device for setting information to burn after reading through pressure
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
CN106603801B (en) Call recording method and device
WO2015139406A1 (en) Operation method for display page of terminal, and terminal
JP2016506554A (en) Adaptive input

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

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

Country of ref document: EP

Kind code of ref document: A1