WO2017032088A1 - Method and terminal for determining theme - Google Patents

Method and terminal for determining theme Download PDF

Info

Publication number
WO2017032088A1
WO2017032088A1 PCT/CN2016/082448 CN2016082448W WO2017032088A1 WO 2017032088 A1 WO2017032088 A1 WO 2017032088A1 CN 2016082448 W CN2016082448 W CN 2016082448W WO 2017032088 A1 WO2017032088 A1 WO 2017032088A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
theme
pressing force
terminal
touch parameter
Prior art date
Application number
PCT/CN2016/082448
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 WO2017032088A1 publication Critical patent/WO2017032088A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • the present invention relates to the field of terminal topic setting technologies, and in particular, to a method for determining a topic and a terminal.
  • the existing theme setting method is generally to enter a setting menu or a special theme management software, and then select a theme that you like from a plurality of topics provided by the terminal, and then click a button such as "Apply" to implement the operation of applying the selected theme to the terminal.
  • This theme setting method steps are cumbersome and not fast enough.
  • the embodiment of the invention provides a method for determining a theme and a terminal, which can conveniently determine the theme of the terminal from the theme library.
  • a first aspect of the embodiments of the present invention discloses a method for determining a theme, including:
  • the touch parameter includes a pressing force value
  • determining whether the touch parameter matches the preset touch parameter comprises:
  • the touch parameter further includes a pressing position
  • the method further includes:
  • the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
  • the touch parameter further includes a moving track
  • the method further includes:
  • the pressing force value is greater than or equal to the preset first pressing force threshold, and the moving track is the preset track, determining that the touch parameter matches the preset touch parameter.
  • the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  • the touch parameter further includes a pressing duration, and determining, according to the touch parameter, a theme of the terminal from a preset theme library, including:
  • the terminal is controlled to apply the respective topics in the preset theme library in turn, and the application duration of each topic in the preset theme library on the terminal is controlled.
  • the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
  • the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
  • the determining, according to the touch parameter, the current theme of the terminal from a preset theme library including:
  • N is an integer greater than or equal to 1;
  • the preset type theme corresponding to the target pressing velocity value interval is included
  • the subject of the terminal is determined in the subject.
  • a second aspect of the embodiment of the present invention discloses a terminal, including:
  • a detecting unit configured to detect a touch operation input by the operating body through the touch screen of the terminal
  • An acquiring unit configured to acquire a touch parameter of the touch operation
  • a determining unit configured to determine whether the touch parameter matches a preset touch parameter
  • a first determining unit configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
  • the touch parameter includes a pressing force value
  • the specific manner of the determining unit determining whether the touch parameter matches the preset touch parameter is:
  • the touch parameter further includes a pressing position
  • the determining unit is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and the pressing force value is greater than or equal to When the first pressing force threshold is preset, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
  • the touch parameter further includes a moving track
  • the determining unit is further configured to determine whether the moving track is a preset track, and the pressing force value is greater than or equal to the preset first pressing force. And a threshold value, and when the movement trajectory is the preset trajectory, determining that the touch parameter matches a preset touch parameter.
  • the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  • the touch parameter further includes a pressing duration
  • the first determining unit includes:
  • control unit configured to, when the pressing duration is greater than or equal to a preset second duration, control the terminal to sequentially apply each theme in the preset theme library in turn;
  • a first setting unit configured to set an application duration of each topic in the preset theme library on the terminal to a third duration
  • a second determining unit configured to determine, when the pressing force value is less than or equal to a preset second pressing strength threshold, a target theme currently applied by the terminal as a theme of the terminal;
  • the display unit is configured to sequentially display the theme identifiers of the topics in the preset theme library in turn in the display interface of the terminal when the pressing duration is greater than or equal to the preset second duration;
  • a second setting unit configured to set a display duration of each theme identifier to a third duration
  • a third determining unit configured to determine, as the theme of the terminal, a target topic corresponding to the theme identifier currently displayed in the display interface, when the pressing force value is less than or equal to a preset second pressing force threshold.
  • the specific manner that the first determining unit determines the current topic of the terminal from the preset theme library according to the touch parameter is:
  • N is an integer greater than or equal to 1;
  • the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
  • a third aspect of the embodiment of the present invention discloses a terminal, including:
  • the processor is configured to obtain a touch parameter of the touch operation, determine whether the touch parameter matches a preset touch parameter, and if yes, determine a theme of the terminal from a preset theme library according to the touch parameter.
  • the touch parameter includes a pressing force value
  • the specific manner in which the processor determines whether the touch parameter matches a preset touch parameter is:
  • the touch parameter further includes a pressing position
  • the processor is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing The location is within the preset effective area, and then the touch parameter is determined to match the preset touch parameter.
  • the touch parameter further includes a moving track.
  • the processor is further configured to determine whether the moving track is a preset track, and if the pressing force value is greater than or equal to the preset first pressing force threshold, and the moving track is the preset track, Then determining that the touch parameter matches the preset touch parameter.
  • the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  • the touch parameter further includes a pressing duration
  • the processor determines, according to the touch parameter, a specific manner of the theme of the terminal from a preset theme library:
  • the duration of the pressing is greater than or equal to the preset second duration, the respective topics in the preset theme library are sequentially applied to the terminal, and the applications of the topics in the preset theme library are used on the terminal.
  • the duration is set to the third duration
  • the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
  • the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
  • the specific manner of determining, by the processor, the current theme of the terminal from the preset theme database according to the touch parameter is:
  • N is an integer greater than or equal to 1;
  • the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
  • the touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter.
  • the theme of the terminal is determined in the library, and the theme of the terminal can be conveniently determined from the theme library.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for determining a theme according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for determining a theme according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for determining a theme according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flow chart of a fourth embodiment of a method for determining a theme according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a terminal according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable device.
  • a smart phone such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • a tablet computer such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • a palmtop computer such as a notebook computer
  • MID Mobile Internet Devices
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for determining a theme according to an embodiment of the present invention.
  • the subject determining method described in this embodiment includes the following steps:
  • the terminal detects a touch operation input by the operation body through the touch screen of the terminal.
  • the operating body may specifically be a touch that can be recognized by the touch screen of the terminal, such as a user's finger or a capacitive pen. Touch the object.
  • the touch screen can be integrated into the touch and display functions, that is, in the embodiment of the present invention, the touch screen of the terminal can be used as a touch panel to provide a touch operation to the user, and can also be used as a display. Screen, showing the corresponding data information to the end user.
  • the touch operation may include pressing (ie, clicking), sliding, and the like, and the pressing operation may be divided into a click, a double click, a multiple click, a short press, and a long press, etc., and the sliding operation may be divided into a linear sliding and a curved line.
  • the sliding or the like, for example, the trajectory of the sliding operation may be a straight line or a symbol, etc., and is not limited in the embodiment of the present invention.
  • the terminal may establish a touch event monitoring thread in the background of the system, and is used to detect a touch operation input by a user's finger, a capacitive pen, or the like.
  • the terminal acquires a touch parameter of the touch operation, and determines whether the touch parameter matches a preset touch parameter, and if yes, performs step S103; if not, ends the current process.
  • the terminal can obtain a touch parameter such as a pressing force value, a pressing position, a moving track, and a pressing time of the touch operation.
  • a touch parameter such as a pressing force value, a pressing position, a moving track, and a pressing time of the touch operation.
  • the terminal may be pre-configured with one or more touch parameters, and when the touch parameter of the touch operation input by the operating body in the photo preview interface matches a certain touch parameter preset by the terminal, the terminal may be triggered according to the touch.
  • Parameters which determine the theme of the terminal from the preset theme library.
  • the terminal determines, according to the touch parameter, a theme of the terminal from a preset theme library.
  • the theme in the embodiment of the present invention is to set the operation interface of the terminal operating system, and the theme can provide the user with a rich operating system interface for selection, including different application icon display styles, colors, font types, and desktops. Wallpapers, and more.
  • the preset theme library may include all topics stored by the terminal or the server, or only some of the topics specified by the user, such as the user's mark as "my favorite” or a favorite theme.
  • the terminal may preset a correspondence table between the touch parameter and each topic in the preset theme library, that is, the terminal determines a topic corresponding to the current touch parameter from the correspondence table between the touch parameter and the topic, and then the current The subject corresponding to the touch parameter is determined as the terminal theme.
  • the touch parameter is a pressing force value
  • different pressing force values may correspond to different topics
  • the pressing force value is within a preset first pressing force value interval range
  • the preset theme may be corresponding to the preset theme.
  • the first theme in the library, the pressing force value is in the preset second pressing force value interval Within the scope, it can correspond to the second theme in the preset theme library, and so on.
  • the different pressing force values may correspond to one of the different types of themes.
  • the corresponding pressing theme value may correspond to the simple type of the theme in the preset theme library.
  • the pressing force value when the pressing force value is within the preset second pressing force value interval range, it may correspond to a certain theme in the fashion type theme in the preset theme library, and the like.
  • the touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter.
  • the theme of the terminal is determined in the library, and the theme of the terminal can be conveniently determined from the theme library.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for determining a theme according to an embodiment of the present invention.
  • the subject determining method described in this embodiment includes the following steps:
  • the terminal detects a touch operation input by the operation body through the touch screen of the terminal.
  • the terminal acquires a touch parameter of the touch operation, where the touch parameter includes a pressing force value.
  • the touch parameter in this embodiment may include a pressing force value.
  • the pressing force value in this embodiment can be expressed in units of Newtons (N).
  • the pressing force value of the touch operation may specifically be a pressing force value obtained by the terminal in real time, that is, an instantaneous pressing force value, or may be a touch operation acquired within a preset duration (eg, 2 seconds). The average pressing force value or the minimum pressing force value.
  • step S203 The terminal determines whether the pressing force value is greater than or equal to a preset first pressing strength threshold, and if yes, executing step S204; if not, ending the current flow.
  • the terminal may be configured with a first pressing force threshold (for example, 10N), and when the pressing force value of the touch operation reaches the first pressing force threshold, the terminal may be triggered according to the pressing force value from the preset theme library. Determine the theme of the terminal.
  • a first pressing force threshold for example, 10N
  • S204 The terminal determines, according to a preset N pressing force value interval, a target pressing velocity value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1.
  • the terminal may be provided with N pressing force value intervals within a range greater than or equal to the preset first pressing force threshold, and each pressing force value interval may be set according to the user's selection.
  • Theme or topic type).
  • the pressing force value ranges corresponding to the respective pressing force value sections do not overlap each other.
  • the terminal determines, in a preset theme library, a theme of the terminal included in a theme included in a preset type theme corresponding to the target pressing velocity value interval.
  • the terminal may determine, according to the preset N pressing force value intervals, a target pressing strength value interval to which the pressing force value belongs, and the terminal may query the preset theme library to correspond to the target pressing force value interval. The theme and make the terminal apply the theme.
  • the touch operation input by the touch panel of the terminal can be used to detect the touch parameter of the touch operation, and the touch parameter includes the pressing force value, and whether the pressing force value is greater than or equal to the preset first pressing force threshold. If yes, determining a target pressing force value interval to which the pressing force value belongs from the preset N pressing force value intervals, and further selecting a preset type theme corresponding to the target pressing force value interval from the preset theme library.
  • the theme of the terminal is determined in the included theme, and the theme of the terminal can be conveniently determined from the theme library.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for determining a theme according to an embodiment of the present invention.
  • the subject determining method described in this embodiment includes the following steps:
  • the terminal detects a touch operation input by the operation body through the touch screen of the terminal.
  • the terminal acquires a touch parameter of the touch operation, where the touch parameter includes a pressing force value, a pressing duration, and a pressing position.
  • the touch parameters in this embodiment may include a pressing force value, a pressing time length, and a pressing position.
  • the pressing force value of the touch operation may specifically be a pressing force value obtained by the terminal in real time, that is, an instantaneous pressing force value, or may be a touch operation acquired within a preset duration (eg, 2 seconds). The average pressing force value or the minimum pressing force value.
  • step S303 The terminal determines whether the pressing force value is greater than or equal to a preset first pressing force threshold, and determines whether the pressing position is within a preset effective area range on the touch screen, if the pressing force value is greater than Or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area range, step S304 is performed; if not, the current flow is ended.
  • the terminal can set an effective area, that is, the pressed position of the touch operation is in the effective touch area.
  • the terminal can be triggered to determine the theme of the terminal from the preset theme library according to the touch parameter.
  • the terminal sequentially applies the respective topics in the preset theme library in turn, and the respective topics in the preset theme library are on the terminal.
  • the application duration is set to the third duration.
  • the terminal determines the target topic of the current application as the theme of the terminal.
  • the preset theme library may include all topics stored by the terminal or the server, or only some of the topics specified by the user, such as the user's mark as "my favorite” or a favorite theme.
  • each terminal in the preset theme library may be preset according to a preset third duration (eg, 2 seconds).
  • the theme is applied to the terminal in turn, that is, the user can see the actual application effect of each topic in real time.
  • the terminal may be configured with a second pressing force threshold (such as 5N).
  • a second pressing force threshold such as 5N
  • the terminal may detect that the pressing force value is less than or equal to the preset second pressing.
  • the target topic of the current application is determined as the theme of the terminal.
  • the touch operation input by the operation body through the touch screen of the terminal can be detected, and the touch parameter of the touch operation is obtained.
  • the touch parameter includes a pressing force value, a pressing time length, and a pressing position, and determining whether the pressing force value is greater than or equal to Setting a first pressing force threshold, and determining whether the pressing position is within a preset effective area range on the touch screen, if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is at the preset In the effective area, when the pressing duration is greater than or equal to the preset duration, the topics in the preset theme library may be applied to the terminal in turn, and the application duration of the theme is set, and the pressing force value is less than or equal to When the second pressing force threshold is preset, the theme of the current application is determined as the theme of the terminal, and the theme of the terminal can be conveniently determined from the theme library.
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for determining a theme according to an embodiment of the present invention.
  • the subject determining method described in this embodiment includes the following steps:
  • the terminal detects a touch operation input by the operation body through the touch screen of the terminal.
  • the terminal acquires a touch parameter of the touch operation, where the touch parameter includes a pressing force. Degree, duration of the press, and movement trajectory.
  • the touch parameters in this embodiment may include a pressing force value, a pressing duration, and a moving trajectory.
  • the pressing force value of the touch operation may specifically be a pressing force value obtained by the terminal in real time, that is, an instantaneous pressing force value, or may be a touch operation acquired within a preset duration (eg, 2 seconds). The average pressing force value or the minimum pressing force value.
  • the terminal determines whether the pressing force value is greater than or equal to a preset first pressing force threshold, and determines whether the moving track is a preset track, and if the pressing force value is greater than or equal to the preset first
  • step S404 is performed; if not, the current flow is ended.
  • the terminal may preset one or more specific moving trajectories, such as a trajectory of the character “Z”, that is, the moving trajectory of the touch operation is one of a preset moving trajectory or a preset moving trajectory, and the pressing force value is reached.
  • the terminal may be triggered to determine the theme of the terminal from the preset theme library according to the touch parameter.
  • the terminal sequentially displays the theme identifiers of the topics in the preset theme library in turn in the display interface, and sets the duration of each topic identifier to be the first Three hours long.
  • the terminal determines the target theme corresponding to the theme identifier currently displayed in the display interface as the theme of the terminal.
  • the preset theme library may include all topics stored by the terminal or the server, or only some of the topics specified by the user, such as the user's mark as "my favorite” or a favorite theme.
  • the theme identifier may specifically be a name or a thumbnail of a theme, which may be used to indicate the basic characteristics to the user.
  • each terminal in the preset theme library may be preset according to a preset third duration (eg, 2 seconds).
  • the topic logo of the theme is displayed on the terminal display interface in turn.
  • the terminal may be configured with a second pressing force threshold (such as 5N).
  • a second pressing force threshold such as 5N
  • the terminal may detect that the pressing force value is less than or equal to the preset.
  • the second pressing force threshold is pressed, the target theme corresponding to the currently displayed theme identifier is determined as The theme of the terminal.
  • the touch operation input by the operation body through the touch screen of the terminal can be detected, and the touch parameter of the touch operation is obtained.
  • the touch parameter includes a pressing force value, a pressing time length, and a moving track, and determines whether the pressing force value reaches a preset number.
  • the theme identifiers of the topics in the preset theme library are sequentially displayed in the terminal display interface, and the display duration of each theme identifier is set, and when the pressing force value is less than or equal to the preset second pressing strength threshold,
  • the target theme corresponding to the theme identifier currently displayed in the display interface may be determined as the theme of the terminal, and the theme of the terminal may be conveniently determined from the theme library.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention.
  • the terminal described in this embodiment includes: a detecting unit 501, an obtaining unit 502, a determining unit 503, and a first determining unit 504, where:
  • the detecting unit 501 is configured to detect a touch operation input by the operating body through the touch screen of the terminal;
  • An obtaining unit 502 configured to acquire a touch parameter of the touch operation
  • the determining unit 503 is configured to determine whether the touch parameter matches a preset touch parameter
  • the first determining unit 504 is configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
  • the touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter.
  • the theme of the terminal is determined in the library, and the theme of the terminal can be conveniently determined from the theme library.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
  • the terminal described in this embodiment includes: a detecting unit 601, an obtaining unit 602, and a determining unit 603. And a first determining unit 604, wherein:
  • the detecting unit 601 is configured to detect a touch operation input by the operating body through the touch screen of the terminal;
  • An obtaining unit 602 configured to acquire a touch parameter of the touch operation
  • the determining unit 603 is configured to determine whether the touch parameter matches a preset touch parameter
  • the first determining unit 604 is configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
  • the touch parameter includes a pressing force value
  • the specific manner of the determining unit 603 determining whether the touch parameter matches the preset touch parameter is:
  • the touch parameter further includes a pressing position
  • the determining unit 603 is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and in the pressing When the velocity value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective region, the touch parameter is determined to match the preset touch parameter.
  • the touch parameter further includes a moving track
  • the determining unit 603 is further configured to determine whether the moving track is a preset track, and the pressing force value is greater than or equal to the preset When the first pressing force threshold is set, and the moving track is the preset track, it is determined that the touch parameter matches the preset touch parameter.
  • the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  • the touch parameter further includes a duration of pressing
  • the first determining unit 604 includes:
  • the control unit 6040 is configured to, when the pressing duration is greater than or equal to the preset second duration, control the terminal to sequentially apply each theme in the preset theme library in turn;
  • the first setting unit 6041 is configured to set an application duration of each topic in the preset theme library on the terminal to a third duration
  • a second determining unit 6042 configured to determine, when the pressing force value is less than or equal to a preset second pressing strength threshold, a target theme currently applied by the terminal as a theme of the terminal;
  • the display unit 6043 is configured to sequentially display the theme identifiers of the topics in the preset theme library in turn in the display interface of the terminal when the pressing duration is greater than or equal to the preset second duration;
  • a second setting unit 6044 configured to set a display duration of each topic identifier to a third duration
  • the third determining unit 6045 is configured to determine, when the pressing force value is less than or equal to the preset second pressing strength threshold, a target topic corresponding to the theme identifier currently displayed in the display interface as the theme of the terminal.
  • the specific manner of determining, by the first determining unit 604, the current theme of the terminal from the preset theme library according to the touch parameter is:
  • N is an integer greater than or equal to 1;
  • the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
  • the touch operation input by the operation body through the touch screen of the terminal can be detected, and the touch parameter of the touch operation is obtained.
  • the touch parameter includes a pressing force value, a pressing time length, and a pressing position, and determining whether the pressing force value is greater than or equal to Setting a first pressing force threshold, and determining whether the pressing position is within a preset effective area range on the touch screen, if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is at the preset In the effective area, when the pressing duration is greater than or equal to the preset duration, the topics in the preset theme library may be applied to the terminal in turn, and the application duration of the theme is set, and the pressing force value is less than or equal to When the second pressing force threshold is preset, the theme of the current application is determined as the theme of the terminal, and the theme of the terminal can be conveniently determined from the theme library.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a terminal according to an embodiment of the present invention.
  • the terminal described in this embodiment includes: at least one input device 701; at least one output device 702; at least one processor 703, such as a CPU; and a memory 704, the input device 701, the input device Out device 702, processor 703 and memory 704 are connected by bus 705.
  • the input device 701 may specifically be a touch screen of the terminal for detecting an input touch operation.
  • the output device 702 can also be a touch screen of the terminal for outputting corresponding data information.
  • the touch screen can be integrated into the touch and display functions.
  • the touch screen of the terminal can be used as a touch panel to provide a touch operation to the user, and can also be used as a display screen to display to the end user. Corresponding data information.
  • the above memory 704 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
  • the above-mentioned memory 704 is used for storing a set of program codes, and the input device 701, the output device 702, and the processor 703 are used to call the program code stored in the memory 704, and perform the following operations:
  • the input device 701 is configured to detect a touch operation input by the operating body through the touch screen of the terminal;
  • the processor 703 is configured to acquire a touch parameter of the touch operation, and determine whether the touch parameter matches a preset touch parameter.
  • the processor 703 is further configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when determining whether the touch parameter matches the preset touch parameter.
  • the touch parameter includes a pressing force value
  • the specific manner in which the processor 703 determines whether the touch parameter matches the preset touch parameter is:
  • the touch parameter further includes a pressing position
  • the processor 703 is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and the pressing force is When the value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
  • the touch parameter further includes a movement track
  • the processor 703 is further configured to determine whether the movement track is a preset track, and the pressing force value is greater than or equal to the preset. When the first pressing force threshold is used, and the moving trajectory is the preset trajectory, it is determined that the touch parameter matches the preset touch parameter.
  • the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  • the touch parameter further includes a pressing duration
  • the specific manner in which the processor 703 determines the theme of the terminal from the preset theme library according to the touch parameter is:
  • the duration of the pressing is greater than or equal to the preset second duration, the respective topics in the preset theme library are sequentially applied to the terminal, and the applications of the topics in the preset theme library are used on the terminal.
  • the duration is set to the third duration
  • the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
  • the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
  • the specific manner of determining, by the processor 703, the current theme of the terminal from the preset theme library according to the touch parameter is:
  • N is an integer greater than or equal to 1;
  • the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
  • the input device 701, the output device 702, and the processor 703, which are described in the embodiments of the present invention, may perform the first embodiment, the second embodiment, and the third implementation of a theme determining method provided by an embodiment of the present invention.
  • the implementations described in the example and the fourth embodiment may also be implemented in the first embodiment and the second embodiment of the terminal provided by the embodiment of the present invention, and details are not described herein again.
  • the touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter. Identify the theme of the terminal in the library, which can be easily accessed from the theme library Determine the theme of the terminal.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described above as separate components may or may not be physically separated.
  • the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the above-described integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a computer device can be a personal computer, server Alternatively, the network device or the like, in particular a processor in the computer device, performs all or part of the steps of the above-described methods of various embodiments of the present invention.
  • the foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read only memory (English: Read-Only Memory, abbreviation: ROM) or a random access memory (English: Random Access Memory, abbreviation: RAM) and other media that can store program code.

Landscapes

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

Abstract

Provided are a method and terminal for determining a theme, said method comprising: detecting a touch operation inputted by an operating body by means of a terminal touch screen (S101); obtaining touch parameters of said touch operation and determining whether said touch parameters match preset touch parameters (S102); if so, then according to said touch parameters, determining the theme of said terminal from a preset theme library (S103). By means of the present method, the theme of a terminal may be conveniently determined from a theme library.

Description

一种主题确定方法及终端Theme determination method and terminal
本申请要求于2015年8月27日提交中国专利局、申请号为201510542401.4、发明名称为“一种主题确定方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 20151054240, filed on Aug. 27, 2015, the entire disclosure of which is hereby incorporated by reference. .
技术领域Technical field
本发明涉及终端主题设置技术领域,具体涉及一种主题确定方法及终端。The present invention relates to the field of terminal topic setting technologies, and in particular, to a method for determining a topic and a terminal.
背景技术Background technique
目前,智能手机、平板电脑等终端已非常普及,很多用户会对这些终端的操作系统界面设置自己喜欢的主题,以满足个性化需求。现有的主题设置方式一般是进入设置菜单或者专门的主题管理软件,然后从终端提供的多个主题中选择自己喜欢的主题,再点击“应用”等按钮实现将选择的主题应用到终端的操作系统界面,显然这种主题设置方式步骤较为繁琐,不够快捷。At present, terminals such as smartphones and tablets have become very popular, and many users will set their favorite themes for the operating system interfaces of these terminals to meet individual needs. The existing theme setting method is generally to enter a setting menu or a special theme management software, and then select a theme that you like from a plurality of topics provided by the terminal, and then click a button such as "Apply" to implement the operation of applying the selected theme to the terminal. System interface, obviously this theme setting method steps are cumbersome and not fast enough.
发明内容Summary of the invention
本发明实施例提供了一种主题确定方法及终端,可以便捷地从主题库中确定终端的主题。The embodiment of the invention provides a method for determining a theme and a terminal, which can conveniently determine the theme of the terminal from the theme library.
本发明实施例第一方面公开了一种主题确定方法,包括:A first aspect of the embodiments of the present invention discloses a method for determining a theme, including:
检测操作体通过终端触摸屏输入的触摸操作;Detecting a touch operation input by the operating body through the touch screen of the terminal;
获取所述触摸操作的触摸参数,判断所述触摸参数是否与预设触摸参数匹配;Obtaining a touch parameter of the touch operation, and determining whether the touch parameter matches a preset touch parameter;
若是,则根据所述触摸参数,从预设主题库中确定所述终端的主题。If yes, determining the theme of the terminal from the preset theme library according to the touch parameter.
可选的,所述触摸参数包括按压力度值,所述判断所述触摸参数是否与预设触摸参数匹配,包括:Optionally, the touch parameter includes a pressing force value, and determining whether the touch parameter matches the preset touch parameter comprises:
判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。 And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
可选的,所述触摸参数还包括按压位置,所述方法还包括:Optionally, the touch parameter further includes a pressing position, and the method further includes:
判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内;Determining whether the pressed position is within a preset effective area range on the touch screen;
若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内,则确定所述触摸参数与预设触摸参数匹配。If the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
可选的,所述触摸参数还包括移动轨迹,所述方法还包括:Optionally, the touch parameter further includes a moving track, and the method further includes:
判断所述移动轨迹是否为预设轨迹;Determining whether the moving track is a preset track;
若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹,则确定所述触摸参数与预设触摸参数匹配。If the pressing force value is greater than or equal to the preset first pressing force threshold, and the moving track is the preset track, determining that the touch parameter matches the preset touch parameter.
可选的,所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。Optionally, the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
可选的,所述触摸参数还包括按压时长,所述根据所述触摸参数,从预设主题库中确定所述终端的主题,包括:Optionally, the touch parameter further includes a pressing duration, and determining, according to the touch parameter, a theme of the terminal from a preset theme library, including:
若所述按压时长大于或等于预设第二时长,则控制所述终端依次轮流应用预设主题库中的各个主题,将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the terminal is controlled to apply the respective topics in the preset theme library in turn, and the application duration of each topic in the preset theme library on the terminal is controlled. Set to the third time;
当所述按压力度值小于或等于预设第二按压力度阈值时,将所述终端当前应用的目标主题确定为所述终端的主题;When the pressing force value is less than or equal to the preset second pressing strength threshold, determining a target theme currently applied by the terminal as a theme of the terminal;
或者,or,
若所述按压时长大于或等于预设第二时长,则在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识,并将每个主题标识的展示时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
当所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。When the pressing force value is less than or equal to the preset second pressing force threshold, the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
可选的,所述根据所述触摸参数,从预设主题库中确定所述终端的当前主题,包括:Optionally, the determining, according to the touch parameter, the current theme of the terminal from a preset theme library, including:
从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的 主题中确定所述终端的主题。From the preset theme library, the preset type theme corresponding to the target pressing velocity value interval is included The subject of the terminal is determined in the subject.
本发明实施例第二方面公开了一种终端,包括:A second aspect of the embodiment of the present invention discloses a terminal, including:
检测单元,用于检测操作体通过终端触摸屏输入的触摸操作;a detecting unit, configured to detect a touch operation input by the operating body through the touch screen of the terminal;
获取单元,用于获取所述触摸操作的触摸参数;An acquiring unit, configured to acquire a touch parameter of the touch operation;
判断单元,用于判断所述触摸参数是否与预设触摸参数匹配;a determining unit, configured to determine whether the touch parameter matches a preset touch parameter;
第一确定单元,用于在所述判断单元判断出所述触摸参数与所述预设触摸参数匹配时,根据所述触摸参数从预设主题库中确定所述终端的主题。a first determining unit, configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
可选的,所述触摸参数包括按压力度值,所述判断单元判断所述触摸参数是否与预设触摸参数匹配的具体方式为:Optionally, the touch parameter includes a pressing force value, and the specific manner of the determining unit determining whether the touch parameter matches the preset touch parameter is:
判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
可选的,所述触摸参数还包括按压位置,所述判断单元,还用于判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内时,确定所述触摸参数与预设触摸参数匹配。Optionally, the touch parameter further includes a pressing position, and the determining unit is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and the pressing force value is greater than or equal to When the first pressing force threshold is preset, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
可选的,所述触摸参数还包括移动轨迹,所述判断单元,还用于判断所述移动轨迹是否为预设轨迹,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹时,确定所述触摸参数与预设触摸参数匹配。Optionally, the touch parameter further includes a moving track, and the determining unit is further configured to determine whether the moving track is a preset track, and the pressing force value is greater than or equal to the preset first pressing force. And a threshold value, and when the movement trajectory is the preset trajectory, determining that the touch parameter matches a preset touch parameter.
可选的,所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。Optionally, the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
可选的,所述触摸参数还包括按压时长,所述第一确定单元包括:Optionally, the touch parameter further includes a pressing duration, and the first determining unit includes:
控制单元,用于在所述按压时长大于或等于预设第二时长时,控制所述终端依次轮流应用预设主题库中的各个主题;a control unit, configured to, when the pressing duration is greater than or equal to a preset second duration, control the terminal to sequentially apply each theme in the preset theme library in turn;
第一设置单元,用于将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;a first setting unit, configured to set an application duration of each topic in the preset theme library on the terminal to a third duration;
第二确定单元,用于在所述按压力度值小于或等于预设第二按压力度阈值时,将所述终端当前应用的目标主题确定为所述终端的主题; a second determining unit, configured to determine, when the pressing force value is less than or equal to a preset second pressing strength threshold, a target theme currently applied by the terminal as a theme of the terminal;
或者,or,
显示单元,用于在所述按压时长大于或等于预设第二时长时,在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识;The display unit is configured to sequentially display the theme identifiers of the topics in the preset theme library in turn in the display interface of the terminal when the pressing duration is greater than or equal to the preset second duration;
第二设置单元,用于将每个主题标识的展示时长设为第三时长;a second setting unit, configured to set a display duration of each theme identifier to a third duration;
第三确定单元,用于在所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。And a third determining unit, configured to determine, as the theme of the terminal, a target topic corresponding to the theme identifier currently displayed in the display interface, when the pressing force value is less than or equal to a preset second pressing force threshold.
可选的,所述第一确定单元根据所述触摸参数从预设主题库中确定所述终端的当前主题的具体方式为:Optionally, the specific manner that the first determining unit determines the current topic of the terminal from the preset theme library according to the touch parameter is:
从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
本发明实施例第三方面公开了一种终端,包括:A third aspect of the embodiment of the present invention discloses a terminal, including:
输入设备,用于检测操作体输入的触摸操作;An input device for detecting a touch operation input by the operating body;
处理器,用于获取所述触摸操作的触摸参数,判断所述触摸参数是否与预设触摸参数匹配,若是,则根据所述触摸参数,从预设主题库中确定所述终端的主题。The processor is configured to obtain a touch parameter of the touch operation, determine whether the touch parameter matches a preset touch parameter, and if yes, determine a theme of the terminal from a preset theme library according to the touch parameter.
可选的,所述触摸参数包括按压力度值,所述处理器判断所述触摸参数是否与预设触摸参数匹配的具体方式为:Optionally, the touch parameter includes a pressing force value, and the specific manner in which the processor determines whether the touch parameter matches a preset touch parameter is:
判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
可选的,所述触摸参数还包括按压位置,Optionally, the touch parameter further includes a pressing position,
所述处理器,还用于判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内,则确定所述触摸参数与预设触摸参数匹配。The processor is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing The location is within the preset effective area, and then the touch parameter is determined to match the preset touch parameter.
可选的,所述触摸参数还包括移动轨迹, Optionally, the touch parameter further includes a moving track.
所述处理器,还用于判断所述移动轨迹是否为预设轨迹,若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹,则确定所述触摸参数与预设触摸参数匹配。The processor is further configured to determine whether the moving track is a preset track, and if the pressing force value is greater than or equal to the preset first pressing force threshold, and the moving track is the preset track, Then determining that the touch parameter matches the preset touch parameter.
可选的,所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。Optionally, the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
可选的,所述触摸参数还包括按压时长,所述处理器根据所述触摸参数,从预设主题库中确定所述终端的主题的具体方式为:Optionally, the touch parameter further includes a pressing duration, and the processor determines, according to the touch parameter, a specific manner of the theme of the terminal from a preset theme library:
若所述按压时长大于或等于预设第二时长,则在所述终端上依次轮流应用预设主题库中的各个主题,将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the respective topics in the preset theme library are sequentially applied to the terminal, and the applications of the topics in the preset theme library are used on the terminal. The duration is set to the third duration;
当所述按压力度值小于或等于预设第二按压力度阈值时,将当前应用的目标主题确定为所述终端的主题;When the pressing force value is less than or equal to the preset second pressing force threshold, determining the target topic of the current application as the theme of the terminal;
或者,or,
若所述按压时长大于或等于预设第二时长,则在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识,并将每个主题标识的展示时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
当所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。When the pressing force value is less than or equal to the preset second pressing force threshold, the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
可选的,所述处理器根据所述触摸参数,从预设主题库中确定所述终端的当前主题的具体方式为:Optionally, the specific manner of determining, by the processor, the current theme of the terminal from the preset theme database according to the touch parameter is:
从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,并判断该触摸参数是否与预设触摸参数匹配,如果匹配,则根据该触摸参数从预设主题库中确定该终端的主题,可以便捷地从主题库中确定终端的主题。 The touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter. The theme of the terminal is determined in the library, and the theme of the terminal can be conveniently determined from the theme library.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的一种主题确定方法的第一实施例流程示意图;FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for determining a theme according to an embodiment of the present disclosure;
图2是本发明实施例提供的一种主题确定方法的第二实施例流程示意图;FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for determining a theme according to an embodiment of the present disclosure;
图3是本发明实施例提供的一种主题确定方法的第三实施例流程示意图;FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for determining a theme according to an embodiment of the present disclosure;
图4是本发明实施例提供的一种主题确定方法的第四实施例流程示意图;4 is a schematic flow chart of a fourth embodiment of a method for determining a theme according to an embodiment of the present invention;
图5是本发明实施例提供的一种终端的第一实施例结构示意图;FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure;
图6是本发明实施例提供的一种终端的第二实施例结构示意图;FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present disclosure;
图7是本发明实施例提供的一种终端的第三实施例结构示意图。FIG. 7 is a schematic structural diagram of a third embodiment of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中的终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述终端仅是举例,而非穷举,包含但不限于上述终端。The terminal in the embodiment of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable device. The above terminals are merely examples, not exhaustive, and include but are not limited to the above terminals.
请参阅图1,为本发明实施例提供的一种主题确定方法的第一实施例流程示意图。本实施例中所描述的主题确定方法包括以下步骤:FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for determining a theme according to an embodiment of the present invention. The subject determining method described in this embodiment includes the following steps:
S101、终端检测操作体通过所述终端触摸屏输入的触摸操作。S101. The terminal detects a touch operation input by the operation body through the touch screen of the terminal.
其中,该操作体具体可为用户手指、电容笔等能够被终端触摸屏识别的触 摸物。The operating body may specifically be a touch that can be recognized by the touch screen of the terminal, such as a user's finger or a capacitive pen. Touch the object.
在一些可行的实施方式中,该触摸屏可集触控和显示功能于一体,即在本发明实施例中,终端的触摸屏即可用作触控面板提供给用户进行触摸操作,还可用作显示屏,向终端用户展现相应的数据信息。In some embodiments, the touch screen can be integrated into the touch and display functions, that is, in the embodiment of the present invention, the touch screen of the terminal can be used as a touch panel to provide a touch operation to the user, and can also be used as a display. Screen, showing the corresponding data information to the end user.
其中,该触摸操作可包括按压(即点击)、滑动等操作,而按压操作又可分为单击、双击、多次点击、短按以及长按等,滑动操作又可分为直线滑动、曲线滑动等,例如滑动操作的轨迹可为一直线或一符号等,本发明实施例均不做限定。The touch operation may include pressing (ie, clicking), sliding, and the like, and the pressing operation may be divided into a click, a double click, a multiple click, a short press, and a long press, etc., and the sliding operation may be divided into a linear sliding and a curved line. The sliding or the like, for example, the trajectory of the sliding operation may be a straight line or a symbol, etc., and is not limited in the embodiment of the present invention.
具体实现中,终端可在系统后台建立触摸事件监听线程,用来检测用户手指、电容笔等操作体输入的触摸操作。In a specific implementation, the terminal may establish a touch event monitoring thread in the background of the system, and is used to detect a touch operation input by a user's finger, a capacitive pen, or the like.
S102、所述终端获取所述触摸操作的触摸参数,并判断所述触摸参数是否与预设触摸参数匹配,若是,则执行步骤S103;若否,则结束本次流程。S102: The terminal acquires a touch parameter of the touch operation, and determines whether the touch parameter matches a preset touch parameter, and if yes, performs step S103; if not, ends the current process.
具体的,终端通过触摸事件监听线程检测到操作体输入的触摸操作时,可获取该触摸操作的按压力度值、按压位置、移动轨迹、按压时长等触摸参数。Specifically, when the touch event is detected by the touch event monitoring thread, the terminal can obtain a touch parameter such as a pressing force value, a pressing position, a moving track, and a pressing time of the touch operation.
进一步的,终端可预设有一个或者多个触摸参数,在操作体在该拍照预览界面中输入的触摸操作的触摸参数与终端预设的某个触摸参数匹配时,即可触发终端根据该触摸参数,从预设主题库中确定该终端的主题。Further, the terminal may be pre-configured with one or more touch parameters, and when the touch parameter of the touch operation input by the operating body in the photo preview interface matches a certain touch parameter preset by the terminal, the terminal may be triggered according to the touch. Parameters, which determine the theme of the terminal from the preset theme library.
S103、所述终端根据所述触摸参数,从预设主题库中确定所述终端的主题。S103. The terminal determines, according to the touch parameter, a theme of the terminal from a preset theme library.
其中,本发明实施例中的主题即为对终端操作系统的操作界面进行的设置,通过主题可提供给用户丰富的操作系统界面进行选择,包括不同的应用图标显示风格、色彩、字体类型以及桌面壁纸,等等。The theme in the embodiment of the present invention is to set the operation interface of the terminal operating system, and the theme can provide the user with a rich operating system interface for selection, including different application icon display styles, colors, font types, and desktops. Wallpapers, and more.
需要说明的是,该预设主题库可包括终端或服务器存储的所有主题,也可只包括用户指定的部分主题,如用户标记为“我的最爱”或收藏的主题等。It should be noted that the preset theme library may include all topics stored by the terminal or the server, or only some of the topics specified by the user, such as the user's mark as "my favorite" or a favorite theme.
具体实现中,终端可预先设置触摸参数与预设主题库中各个主题的对应关系表,即终端从该触摸参数与主题的对应关系表中,确定出当前触摸参数对应的主题,进而将与当前触摸参数对应的主题确定为终端主题。In a specific implementation, the terminal may preset a correspondence table between the touch parameter and each topic in the preset theme library, that is, the terminal determines a topic corresponding to the current touch parameter from the correspondence table between the touch parameter and the topic, and then the current The subject corresponding to the touch parameter is determined as the terminal theme.
在一些可行的实施方式中,触摸参数为按压力度值时,不同的按压力度值可对应不同的主题,如按压力度值处于预设的第一按压力度值区间范围内时,可对应预设主题库中的第一主题,按压力度值处于预设的第二按压力度值区间 范围内时,可对应预设主题库中的第二主题,等等。In some possible implementation manners, when the touch parameter is a pressing force value, different pressing force values may correspond to different topics, and if the pressing force value is within a preset first pressing force value interval range, the preset theme may be corresponding to the preset theme. The first theme in the library, the pressing force value is in the preset second pressing force value interval Within the scope, it can correspond to the second theme in the preset theme library, and so on.
进一步的,不同的按压力度值可对应不同类型的主题中的某一主题,如按压力度值处于预设的第一按压力度值区间范围内时,可对应预设主题库中简约类型的主题中的某一主题,按压力度值处于预设的第二按压力度值区间范围内时,可对应预设主题库中时尚类型的主题中的某一主题,等等。Further, the different pressing force values may correspond to one of the different types of themes. For example, when the pressing force value is within the preset first pressing force value interval range, the corresponding pressing theme value may correspond to the simple type of the theme in the preset theme library. For a certain theme, when the pressing force value is within the preset second pressing force value interval range, it may correspond to a certain theme in the fashion type theme in the preset theme library, and the like.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,并判断该触摸参数是否与预设触摸参数匹配,如果匹配,则根据该触摸参数从预设主题库中确定该终端的主题,可以便捷地从主题库中确定终端的主题。The touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter. The theme of the terminal is determined in the library, and the theme of the terminal can be conveniently determined from the theme library.
请参阅图2,为本发明实施例提供的一种主题确定方法的第二实施例流程示意图。本实施例中所描述的主题确定方法包括以下步骤:FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for determining a theme according to an embodiment of the present invention. The subject determining method described in this embodiment includes the following steps:
S201、终端检测操作体通过所述终端触摸屏输入的触摸操作。S201. The terminal detects a touch operation input by the operation body through the touch screen of the terminal.
S202、所述终端获取所述触摸操作的触摸参数,所述触摸参数包括按压力度值。S202. The terminal acquires a touch parameter of the touch operation, where the touch parameter includes a pressing force value.
其中,本实施例中的触摸参数可包括按压力度值。The touch parameter in this embodiment may include a pressing force value.
需要指出的是,本实施例中的按压力度值可以牛顿(N)为单位表示。It should be noted that the pressing force value in this embodiment can be expressed in units of Newtons (N).
需要说明的是,该触摸操作的按压力度值具体可为终端实时获取到的按压力度值,即瞬时的按压力度值,也可为预设时长(如2秒)内获取到的该触摸操作的平均按压力度值或最小按压力度值。It should be noted that the pressing force value of the touch operation may specifically be a pressing force value obtained by the terminal in real time, that is, an instantaneous pressing force value, or may be a touch operation acquired within a preset duration (eg, 2 seconds). The average pressing force value or the minimum pressing force value.
S203、所述终端判断所述按压力度值是否大于或等于预设第一按压力度阈值,若是,则执行步骤S204;若否,则结束本次流程。S203: The terminal determines whether the pressing force value is greater than or equal to a preset first pressing strength threshold, and if yes, executing step S204; if not, ending the current flow.
具体实现中,终端可设有第一按压力度阈值(如10N),在该触摸操作的按压力度值达到该第一按压力度阈值时,即可触发终端根据该按压力度值从预设主题库中确定终端的主题。In a specific implementation, the terminal may be configured with a first pressing force threshold (for example, 10N), and when the pressing force value of the touch operation reaches the first pressing force threshold, the terminal may be triggered according to the pressing force value from the preset theme library. Determine the theme of the terminal.
S204、所述终端从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数。S204: The terminal determines, according to a preset N pressing force value interval, a target pressing velocity value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1.
具体的,终端在大于或等于该预设第一按压力度阈值的范围内可设有N个按压力度值区间,同时可根据用户的选择设置每个按压力度值区间各自对应 的主题(或者主题类型)。Specifically, the terminal may be provided with N pressing force value intervals within a range greater than or equal to the preset first pressing force threshold, and each pressing force value interval may be set according to the user's selection. Theme (or topic type).
需要说明的是,该N个按压力度值区间中,各个按压力度值区间对应的按压力度值范围相互之间不重叠。It should be noted that, among the N pressing force value sections, the pressing force value ranges corresponding to the respective pressing force value sections do not overlap each other.
S205、所述终端从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。S205. The terminal determines, in a preset theme library, a theme of the terminal included in a theme included in a preset type theme corresponding to the target pressing velocity value interval.
具体的,终端可从预设的N个按压力度值区间中,确定该按压力度值所属的目标按压力度值区间,进而终端即可从预设主题库中查询与该目标按压力度值区间对应的主题,并使得终端应用该主题。Specifically, the terminal may determine, according to the preset N pressing force value intervals, a target pressing strength value interval to which the pressing force value belongs, and the terminal may query the preset theme library to correspond to the target pressing force value interval. The theme and make the terminal apply the theme.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,该触摸参数包括按压力度值,并判断该按压力度值是否大于或等于预设第一按压力度阈值,如果是,则从预设的N个按压力度值区间中确定出该按压力度值所属的目标按压力度值区间,进而从预设主题库中与该目标按压力度值区间对应的预设类型主题包含的主题中确定该终端的主题,可以便捷地从主题库中确定终端的主题。The touch operation input by the touch panel of the terminal can be used to detect the touch parameter of the touch operation, and the touch parameter includes the pressing force value, and whether the pressing force value is greater than or equal to the preset first pressing force threshold. If yes, determining a target pressing force value interval to which the pressing force value belongs from the preset N pressing force value intervals, and further selecting a preset type theme corresponding to the target pressing force value interval from the preset theme library The theme of the terminal is determined in the included theme, and the theme of the terminal can be conveniently determined from the theme library.
请参阅图3,为本发明实施例提供的一种主题确定方法的第三实施例流程示意图。本实施例中所描述的主题确定方法包括以下步骤:FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for determining a theme according to an embodiment of the present invention. The subject determining method described in this embodiment includes the following steps:
S301、终端检测操作体通过所述终端触摸屏输入的触摸操作。S301. The terminal detects a touch operation input by the operation body through the touch screen of the terminal.
S302、所述终端获取所述触摸操作的触摸参数,所述触摸参数包括按压力度值、按压时长和按压位置。S302. The terminal acquires a touch parameter of the touch operation, where the touch parameter includes a pressing force value, a pressing duration, and a pressing position.
其中,本实施例中的触摸参数可包括按压力度值、按压时长和按压位置。The touch parameters in this embodiment may include a pressing force value, a pressing time length, and a pressing position.
需要说明的是,该触摸操作的按压力度值具体可为终端实时获取到的按压力度值,即瞬时的按压力度值,也可为预设时长(如2秒)内获取到的该触摸操作的平均按压力度值或最小按压力度值。It should be noted that the pressing force value of the touch operation may specifically be a pressing force value obtained by the terminal in real time, that is, an instantaneous pressing force value, or may be a touch operation acquired within a preset duration (eg, 2 seconds). The average pressing force value or the minimum pressing force value.
S303、所述终端判断所述按压力度值是否大于或等于预设第一按压力度阈值,以及判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内,则执行步骤S304;若否,则结束本次流程。S303: The terminal determines whether the pressing force value is greater than or equal to a preset first pressing force threshold, and determines whether the pressing position is within a preset effective area range on the touch screen, if the pressing force value is greater than Or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area range, step S304 is performed; if not, the current flow is ended.
具体的,终端可设置有效区域,即触摸操作的按压位置处于该有效触摸区 域范围内,且按压力度值达到预设按压力度阈值时,才可触发终端根据该触摸参数,从预设主题库中确定该终端的主题。Specifically, the terminal can set an effective area, that is, the pressed position of the touch operation is in the effective touch area. When the pressing force value reaches the preset pressing force threshold, the terminal can be triggered to determine the theme of the terminal from the preset theme library according to the touch parameter.
S304、若所述按压时长大于或等于预设第二时长,则所述终端依次轮流应用预设主题库中的各个主题,并将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长。S304. If the pressing duration is greater than or equal to the preset second duration, the terminal sequentially applies the respective topics in the preset theme library in turn, and the respective topics in the preset theme library are on the terminal. The application duration is set to the third duration.
S305、当所述按压力度值小于或等于预设第二按压力度阈值时,所述终端将当前应用的目标主题确定为所述终端的主题。S305. When the pressing force value is less than or equal to a preset second pressing strength threshold, the terminal determines the target topic of the current application as the theme of the terminal.
需要说明的是,该预设主题库可包括终端或服务器存储的所有主题,也可只包括用户指定的部分主题,如用户标记为“我的最爱”或收藏的主题等。It should be noted that the preset theme library may include all topics stored by the terminal or the server, or only some of the topics specified by the user, such as the user's mark as "my favorite" or a favorite theme.
具体的,如果终端检测到该触摸操作对触摸屏的按压时长达到预设第二时长(如2秒)时,可按照预设的第三时长(如2秒),将预设主题库中的各个主题轮流应用在该终端上,即用户可实时看到各个主题的实际应用效果。Specifically, if the terminal detects that the pressing time of the touch operation on the touch screen reaches a preset second duration (for example, 2 seconds), each terminal in the preset theme library may be preset according to a preset third duration (eg, 2 seconds). The theme is applied to the terminal in turn, that is, the user can see the actual application effect of each topic in real time.
进一步的,终端可预设有第二按压力度阈值(如5N),在终端轮流应用预设主题库中的各个主题时,终端可在检测到该按压力度值小于或等于该预设第二按压力度阈值时,将当前应用的目标主题确定为终端的主题。Further, the terminal may be configured with a second pressing force threshold (such as 5N). When the terminal applies the preset topics in the theme library in turn, the terminal may detect that the pressing force value is less than or equal to the preset second pressing. When the velocity threshold is used, the target topic of the current application is determined as the theme of the terminal.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,该触摸参数包括按压力度值、按压时长和按压位置,并判断该按压力度值是否大于或等于预设第一按压力度阈值,以及判断该按压位置是否处于该触摸屏上预设的有效区域范围内,如果该按压力度值大于或等于该预设第一按压力度阈值,且该按压位置处于该预设的有效区域范围内,则在按压时长大于或等于预设时长时,可依次轮流针对该终端应用预设主题库中的各个主题,并设置主题的应用时长,并在该按压力度值小于或等于预设第二按压力度阈值时,将当前应用的主题确定为该终端的主题,可以便捷地从主题库中确定终端的主题。The touch operation input by the operation body through the touch screen of the terminal can be detected, and the touch parameter of the touch operation is obtained. The touch parameter includes a pressing force value, a pressing time length, and a pressing position, and determining whether the pressing force value is greater than or equal to Setting a first pressing force threshold, and determining whether the pressing position is within a preset effective area range on the touch screen, if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is at the preset In the effective area, when the pressing duration is greater than or equal to the preset duration, the topics in the preset theme library may be applied to the terminal in turn, and the application duration of the theme is set, and the pressing force value is less than or equal to When the second pressing force threshold is preset, the theme of the current application is determined as the theme of the terminal, and the theme of the terminal can be conveniently determined from the theme library.
请参阅图4,为本发明实施例提供的一种主题确定方法的第四实施例流程示意图。本实施例中所描述的主题确定方法包括以下步骤:FIG. 4 is a schematic flowchart diagram of a fourth embodiment of a method for determining a theme according to an embodiment of the present invention. The subject determining method described in this embodiment includes the following steps:
S401、终端检测操作体通过所述终端触摸屏输入的触摸操作。S401. The terminal detects a touch operation input by the operation body through the touch screen of the terminal.
S402、所述终端获取所述触摸操作的触摸参数,所述触摸参数包括按压力 度值、按压时长和移动轨迹。S402. The terminal acquires a touch parameter of the touch operation, where the touch parameter includes a pressing force. Degree, duration of the press, and movement trajectory.
其中,本实施例中的触摸参数可包括按压力度值、按压时长和移动轨迹。The touch parameters in this embodiment may include a pressing force value, a pressing duration, and a moving trajectory.
需要说明的是,该触摸操作的按压力度值具体可为终端实时获取到的按压力度值,即瞬时的按压力度值,也可为预设时长(如2秒)内获取到的该触摸操作的平均按压力度值或最小按压力度值。It should be noted that the pressing force value of the touch operation may specifically be a pressing force value obtained by the terminal in real time, that is, an instantaneous pressing force value, or may be a touch operation acquired within a preset duration (eg, 2 seconds). The average pressing force value or the minimum pressing force value.
S403、所述终端判断所述按压力度值是否大于或等于预设第一按压力度阈值,以及判断所述移动轨迹是否为预设轨迹,若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹,则执行步骤S404;若否,则结束本次流程。S403, the terminal determines whether the pressing force value is greater than or equal to a preset first pressing force threshold, and determines whether the moving track is a preset track, and if the pressing force value is greater than or equal to the preset first When the velocity threshold is pressed, and the movement trajectory is the preset trajectory, step S404 is performed; if not, the current flow is ended.
具体的,终端可预设一个或多个特定的移动轨迹,如字符“Z”的轨迹,即触摸操作的移动轨迹是预设移动轨迹或者预设移动轨迹的其中之一,且按压力度值达到预设按压力度阈值时,才可触发终端根据该触摸参数,从预设主题库中确定该终端的主题。Specifically, the terminal may preset one or more specific moving trajectories, such as a trajectory of the character “Z”, that is, the moving trajectory of the touch operation is one of a preset moving trajectory or a preset moving trajectory, and the pressing force value is reached. When the pressing force threshold is preset, the terminal may be triggered to determine the theme of the terminal from the preset theme library according to the touch parameter.
S404、若所述按压时长大于或等于预设第二时长,则所述终端在显示界面中依次轮流展示预设主题库中各个主题的主题标识,并将每个主题标识的展示时长设为第三时长。S404. If the pressing duration is greater than or equal to the preset second duration, the terminal sequentially displays the theme identifiers of the topics in the preset theme library in turn in the display interface, and sets the duration of each topic identifier to be the first Three hours long.
S405、当所述按压力度值小于或等于预设第二按压力度阈值时,所述终端将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。S405. When the pressing force value is less than or equal to the preset second pressing force threshold, the terminal determines the target theme corresponding to the theme identifier currently displayed in the display interface as the theme of the terminal.
需要说明的是,该预设主题库可包括终端或服务器存储的所有主题,也可只包括用户指定的部分主题,如用户标记为“我的最爱”或收藏的主题等。It should be noted that the preset theme library may include all topics stored by the terminal or the server, or only some of the topics specified by the user, such as the user's mark as "my favorite" or a favorite theme.
其中,主题标识具体可为一个主题的名称或缩略图,可用来向用户指示其基本特征。The theme identifier may specifically be a name or a thumbnail of a theme, which may be used to indicate the basic characteristics to the user.
具体的,如果终端检测到该触摸操作对触摸屏的按压时长达到预设第二时长(如2秒)时,可按照预设的第三时长(如2秒),将预设主题库中的各个主题的主题标识轮流展示在该终端显示界面上。Specifically, if the terminal detects that the pressing time of the touch operation on the touch screen reaches a preset second duration (for example, 2 seconds), each terminal in the preset theme library may be preset according to a preset third duration (eg, 2 seconds). The topic logo of the theme is displayed on the terminal display interface in turn.
进一步的,终端可预设有第二按压力度阈值(如5N),在终端轮流展示预设主题库中的各个主题的主题标识时,终端可在检测到该按压力度值小于或等于该预设第二按压力度阈值时,将当前展示的主题标识对应的目标主题确定为 终端的主题。Further, the terminal may be configured with a second pressing force threshold (such as 5N). When the terminal displays the theme identifier of each topic in the preset theme library in turn, the terminal may detect that the pressing force value is less than or equal to the preset. When the second pressing force threshold is pressed, the target theme corresponding to the currently displayed theme identifier is determined as The theme of the terminal.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,该触摸参数包括按压力度值、按压时长和移动轨迹,并判断该按压力度值是否达到预设第一按压力度阈值,以及判断该移动轨迹是否为预设轨迹,如果该按压力度值达到该预设第一按压力度阈值,且该移动轨迹为预设轨迹时,并在按压时长大于或等于预设时长时,在终端显示界面中依次轮流展示预设主题库中各个主题的主题标识,并设置每个主题标识的展示时长,当该按压力度值小于或等于预设第二按压力度阈值时,即可将该显示界面中当前展示的主题标识对应的目标主题确定为该终端的主题,可以便捷地从主题库中确定终端的主题。The touch operation input by the operation body through the touch screen of the terminal can be detected, and the touch parameter of the touch operation is obtained. The touch parameter includes a pressing force value, a pressing time length, and a moving track, and determines whether the pressing force value reaches a preset number. Pressing a velocity threshold, and determining whether the moving track is a preset track, if the pressing force value reaches the preset first pressing force threshold, and the moving track is a preset track, and the pressing duration is greater than or equal to the preset During the duration, the theme identifiers of the topics in the preset theme library are sequentially displayed in the terminal display interface, and the display duration of each theme identifier is set, and when the pressing force value is less than or equal to the preset second pressing strength threshold, The target theme corresponding to the theme identifier currently displayed in the display interface may be determined as the theme of the terminal, and the theme of the terminal may be conveniently determined from the theme library.
请参阅图5,为本发明实施例提供的一种终端的第一实施例结构示意图。本实施例中所描述的终端包括:检测单元501、获取单元502、判断单元503以及第一确定单元504,其中:FIG. 5 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention. The terminal described in this embodiment includes: a detecting unit 501, an obtaining unit 502, a determining unit 503, and a first determining unit 504, where:
检测单元501,用于检测操作体通过终端触摸屏输入的触摸操作;The detecting unit 501 is configured to detect a touch operation input by the operating body through the touch screen of the terminal;
获取单元502,用于获取所述触摸操作的触摸参数;An obtaining unit 502, configured to acquire a touch parameter of the touch operation;
判断单元503,用于判断所述触摸参数是否与预设触摸参数匹配;The determining unit 503 is configured to determine whether the touch parameter matches a preset touch parameter;
第一确定单元504,用于在所述判断单元判断出所述触摸参数与所述预设触摸参数匹配时,根据所述触摸参数从预设主题库中确定所述终端的主题。The first determining unit 504 is configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
需要说明的是,本发明实施例的终端的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It should be noted that, the functions of the functional modules of the terminal in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiments, and details are not described herein again.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,并判断该触摸参数是否与预设触摸参数匹配,如果匹配,则根据该触摸参数从预设主题库中确定该终端的主题,可以便捷地从主题库中确定终端的主题。The touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter. The theme of the terminal is determined in the library, and the theme of the terminal can be conveniently determined from the theme library.
请参阅图6,为本发明实施例提供的一种终端的第二实施例结构示意图。本实施例中所描述的终端包括:检测单元601、获取单元602、判断单元603 以及第一确定单元604,其中:FIG. 6 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention. The terminal described in this embodiment includes: a detecting unit 601, an obtaining unit 602, and a determining unit 603. And a first determining unit 604, wherein:
检测单元601,用于检测操作体通过终端触摸屏输入的触摸操作;The detecting unit 601 is configured to detect a touch operation input by the operating body through the touch screen of the terminal;
获取单元602,用于获取所述触摸操作的触摸参数;An obtaining unit 602, configured to acquire a touch parameter of the touch operation;
判断单元603,用于判断所述触摸参数是否与预设触摸参数匹配;The determining unit 603 is configured to determine whether the touch parameter matches a preset touch parameter;
第一确定单元604,用于在所述判断单元判断出所述触摸参数与所述预设触摸参数匹配时,根据所述触摸参数从预设主题库中确定所述终端的主题。The first determining unit 604 is configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述触摸参数包括按压力度值,所述判断单元603判断所述触摸参数是否与预设触摸参数匹配的具体方式为:In some possible implementations, the touch parameter includes a pressing force value, and the specific manner of the determining unit 603 determining whether the touch parameter matches the preset touch parameter is:
判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述触摸参数还包括按压位置,所述判断单元603,还用于判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内时,确定所述触摸参数与预设触摸参数匹配。In some possible implementations, the touch parameter further includes a pressing position, and the determining unit 603 is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and in the pressing When the velocity value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective region, the touch parameter is determined to match the preset touch parameter.
在一些可行的实施方式中,所述触摸参数还包括移动轨迹,所述判断单元603,还用于判断所述移动轨迹是否为预设轨迹,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹时,确定所述触摸参数与预设触摸参数匹配。In some embodiments, the touch parameter further includes a moving track, and the determining unit 603 is further configured to determine whether the moving track is a preset track, and the pressing force value is greater than or equal to the preset When the first pressing force threshold is set, and the moving track is the preset track, it is determined that the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。In some possible implementations, the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
在一些可行的实施方式中,所述触摸参数还包括按压时长,所述第一确定单元604包括:In some possible implementations, the touch parameter further includes a duration of pressing, and the first determining unit 604 includes:
控制单元6040,用于在所述按压时长大于或等于预设第二时长时,控制所述终端依次轮流应用预设主题库中的各个主题;The control unit 6040 is configured to, when the pressing duration is greater than or equal to the preset second duration, control the terminal to sequentially apply each theme in the preset theme library in turn;
第一设置单元6041,用于将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;The first setting unit 6041 is configured to set an application duration of each topic in the preset theme library on the terminal to a third duration;
第二确定单元6042,用于在所述按压力度值小于或等于预设第二按压力度阈值时,将所述终端当前应用的目标主题确定为所述终端的主题; a second determining unit 6042, configured to determine, when the pressing force value is less than or equal to a preset second pressing strength threshold, a target theme currently applied by the terminal as a theme of the terminal;
或者,or,
显示单元6043,用于在所述按压时长大于或等于预设第二时长时,在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识;The display unit 6043 is configured to sequentially display the theme identifiers of the topics in the preset theme library in turn in the display interface of the terminal when the pressing duration is greater than or equal to the preset second duration;
第二设置单元6044,用于将每个主题标识的展示时长设为第三时长;a second setting unit 6044, configured to set a display duration of each topic identifier to a third duration;
第三确定单元6045,用于在所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。The third determining unit 6045 is configured to determine, when the pressing force value is less than or equal to the preset second pressing strength threshold, a target topic corresponding to the theme identifier currently displayed in the display interface as the theme of the terminal.
在一些可行的实施方式中,所述第一确定单元604根据所述触摸参数从预设主题库中确定所述终端的当前主题的具体方式为:In some possible implementation manners, the specific manner of determining, by the first determining unit 604, the current theme of the terminal from the preset theme library according to the touch parameter is:
从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
需要说明的是,本发明实施例的终端的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It should be noted that, the functions of the functional modules of the terminal in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiments, and details are not described herein again.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,该触摸参数包括按压力度值、按压时长和按压位置,并判断该按压力度值是否大于或等于预设第一按压力度阈值,以及判断该按压位置是否处于该触摸屏上预设的有效区域范围内,如果该按压力度值大于或等于该预设第一按压力度阈值,且该按压位置处于该预设的有效区域范围内,则在按压时长大于或等于预设时长时,可依次轮流针对该终端应用预设主题库中的各个主题,并设置主题的应用时长,并在该按压力度值小于或等于预设第二按压力度阈值时,将当前应用的主题确定为该终端的主题,可以便捷地从主题库中确定终端的主题。The touch operation input by the operation body through the touch screen of the terminal can be detected, and the touch parameter of the touch operation is obtained. The touch parameter includes a pressing force value, a pressing time length, and a pressing position, and determining whether the pressing force value is greater than or equal to Setting a first pressing force threshold, and determining whether the pressing position is within a preset effective area range on the touch screen, if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is at the preset In the effective area, when the pressing duration is greater than or equal to the preset duration, the topics in the preset theme library may be applied to the terminal in turn, and the application duration of the theme is set, and the pressing force value is less than or equal to When the second pressing force threshold is preset, the theme of the current application is determined as the theme of the terminal, and the theme of the terminal can be conveniently determined from the theme library.
请参阅图7,为本发明实施例提供的一种终端的第三实施例结构示意图。本实施例中所描述的终端包括:至少一个输入设备701;至少一个输出设备702;至少一个处理器703,例如CPU;和存储器704,上述输入设备701、输 出设备702、处理器703和存储器704通过总线705连接。FIG. 7 is a schematic structural diagram of a third embodiment of a terminal according to an embodiment of the present invention. The terminal described in this embodiment includes: at least one input device 701; at least one output device 702; at least one processor 703, such as a CPU; and a memory 704, the input device 701, the input device Out device 702, processor 703 and memory 704 are connected by bus 705.
其中,上述输入设备701具体可为终端的触摸屏,用于检测输入的触摸操作。The input device 701 may specifically be a touch screen of the terminal for detecting an input touch operation.
上述输出设备702具体也可为终端的触摸屏,用于输出相应的数据信息。其中,该触摸屏可集触控和显示功能于一体,即在本发明实施例中,终端的触摸屏既可用作触控面板提供给用户进行触摸操作,还可用作显示屏,向终端用户展现相应的数据信息。The output device 702 can also be a touch screen of the terminal for outputting corresponding data information. The touch screen can be integrated into the touch and display functions. In the embodiment of the present invention, the touch screen of the terminal can be used as a touch panel to provide a touch operation to the user, and can also be used as a display screen to display to the end user. Corresponding data information.
上述存储器704可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器704用于存储一组程序代码,上述输入设备701、输出设备702和处理器703用于调用存储器704中存储的程序代码,执行如下操作:The above memory 704 may be a high speed RAM memory or a non-volatile memory such as a disk memory. The above-mentioned memory 704 is used for storing a set of program codes, and the input device 701, the output device 702, and the processor 703 are used to call the program code stored in the memory 704, and perform the following operations:
上述输入设备701,用于检测操作体通过终端触摸屏输入的触摸操作;The input device 701 is configured to detect a touch operation input by the operating body through the touch screen of the terminal;
上述处理器703,用于获取所述触摸操作的触摸参数,判断所述触摸参数是否与预设触摸参数匹配;The processor 703 is configured to acquire a touch parameter of the touch operation, and determine whether the touch parameter matches a preset touch parameter.
上述处理器703,还用于在判断出所述触摸参数是否与所述预设触摸参数匹配时,根据所述触摸参数从预设主题库中确定所述终端的主题。The processor 703 is further configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when determining whether the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述触摸参数包括按压力度值,上述处理器703判断所述触摸参数是否与预设触摸参数匹配的具体方式为:In some possible implementations, the touch parameter includes a pressing force value, and the specific manner in which the processor 703 determines whether the touch parameter matches the preset touch parameter is:
判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述触摸参数还包括按压位置,上述处理器703,还用于判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内时,确定所述触摸参数与预设触摸参数匹配。In some possible implementations, the touch parameter further includes a pressing position, and the processor 703 is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and the pressing force is When the value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述触摸参数还包括移动轨迹,上述处理器703,还用于判断所述移动轨迹是否为预设轨迹,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹时,确定所述触摸参数与预设触摸参数匹配。 In some implementations, the touch parameter further includes a movement track, and the processor 703 is further configured to determine whether the movement track is a preset track, and the pressing force value is greater than or equal to the preset. When the first pressing force threshold is used, and the moving trajectory is the preset trajectory, it is determined that the touch parameter matches the preset touch parameter.
在一些可行的实施方式中,所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。In some possible implementations, the pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
在一些可行的实施方式中,所述触摸参数还包括按压时长,上述处理器703根据所述触摸参数,从预设主题库中确定所述终端的主题的具体方式为:In some possible implementations, the touch parameter further includes a pressing duration, and the specific manner in which the processor 703 determines the theme of the terminal from the preset theme library according to the touch parameter is:
若所述按压时长大于或等于预设第二时长,则在所述终端上依次轮流应用预设主题库中的各个主题,将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the respective topics in the preset theme library are sequentially applied to the terminal, and the applications of the topics in the preset theme library are used on the terminal. The duration is set to the third duration;
当所述按压力度值小于或等于预设第二按压力度阈值时,将当前应用的目标主题确定为所述终端的主题;When the pressing force value is less than or equal to the preset second pressing force threshold, determining the target topic of the current application as the theme of the terminal;
或者,or,
若所述按压时长大于或等于预设第二时长,则在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识,并将每个主题标识的展示时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
当所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。When the pressing force value is less than or equal to the preset second pressing force threshold, the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
在一些可行的实施方式中,上述处理器703根据所述触摸参数,从预设主题库中确定所述终端的当前主题的具体方式为:In some possible implementation manners, the specific manner of determining, by the processor 703, the current theme of the terminal from the preset theme library according to the touch parameter is:
从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
具体实现中,本发明实施例中所描述的输入设备701、输出设备702和处理器703可执行本发明实施例提供的一种主题确定方法的第一实施例、第二实施例、第三实施例和第四实施例中所描述的实现方式,也可执行本发明实施例提供的一种终端的第一实施例和第二实施例中所描述的终端的实现方式,在此不再赘述。In a specific implementation, the input device 701, the output device 702, and the processor 703, which are described in the embodiments of the present invention, may perform the first embodiment, the second embodiment, and the third implementation of a theme determining method provided by an embodiment of the present invention. The implementations described in the example and the fourth embodiment may also be implemented in the first embodiment and the second embodiment of the terminal provided by the embodiment of the present invention, and details are not described herein again.
通过本发明实施例可检测操作体通过终端触摸屏输入的触摸操作,获取该触摸操作的触摸参数,并判断该触摸参数是否与预设触摸参数匹配,如果匹配,则根据该触摸参数从预设主题库中确定该终端的主题,可以便捷地从主题库中 确定终端的主题。The touch operation input by the operating body through the touch screen of the terminal can be detected, the touch parameter of the touch operation is obtained, and whether the touch parameter matches the preset touch parameter, and if it matches, the preset theme is selected according to the touch parameter. Identify the theme of the terminal in the library, which can be easily accessed from the theme library Determine the theme of the terminal.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器 或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(英文:Read-Only Memory,缩写:ROM)或者随机存取存储器(英文:Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。The above-described integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. , including a number of instructions to make a computer device (can be a personal computer, server Alternatively, the network device or the like, in particular a processor in the computer device, performs all or part of the steps of the above-described methods of various embodiments of the present invention. The foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read only memory (English: Read-Only Memory, abbreviation: ROM) or a random access memory (English: Random Access Memory, abbreviation: RAM) and other media that can store program code.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (21)

  1. 一种主题确定方法,其特征在于,包括:A subject determination method, comprising:
    检测操作体通过终端触摸屏输入的触摸操作;Detecting a touch operation input by the operating body through the touch screen of the terminal;
    获取所述触摸操作的触摸参数,判断所述触摸参数是否与预设触摸参数匹配;Obtaining a touch parameter of the touch operation, and determining whether the touch parameter matches a preset touch parameter;
    若是,则根据所述触摸参数,从预设主题库中确定所述终端的主题。If yes, determining the theme of the terminal from the preset theme library according to the touch parameter.
  2. 根据权利要求1所述的方法,其特征在于,所述触摸参数包括按压力度值,所述判断所述触摸参数是否与预设触摸参数匹配,包括:The method according to claim 1, wherein the touch parameter comprises a pressing force value, and the determining whether the touch parameter matches a preset touch parameter comprises:
    判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
    若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
  3. 根据权利要求2所述的方法,其特征在于,所述触摸参数还包括按压位置,所述方法还包括:The method of claim 2, wherein the touch parameter further comprises a pressed position, the method further comprising:
    判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内;Determining whether the pressed position is within a preset effective area range on the touch screen;
    若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内,则确定所述触摸参数与预设触摸参数匹配。If the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area, it is determined that the touch parameter matches the preset touch parameter.
  4. 根据权利要求2所述的方法,其特征在于,所述触摸参数还包括移动轨迹,所述方法还包括:The method of claim 2, wherein the touch parameter further comprises a movement track, the method further comprising:
    判断所述移动轨迹是否为预设轨迹;Determining whether the moving track is a preset track;
    若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹,则确定所述触摸参数与预设触摸参数匹配。If the pressing force value is greater than or equal to the preset first pressing force threshold, and the moving track is the preset track, determining that the touch parameter matches the preset touch parameter.
  5. 根据权利要求2~4中任一项所述的方法,其特征在于,The method according to any one of claims 2 to 4, characterized in that
    所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。 The pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  6. 根据权利要求5所述的方法,其特征在于,所述触摸参数还包括按压时长,所述根据所述触摸参数,从预设主题库中确定所述终端的主题,包括:The method according to claim 5, wherein the touch parameter further comprises a duration of pressing, and determining the theme of the terminal from the preset theme library according to the touch parameter comprises:
    若所述按压时长大于或等于预设第二时长,则控制所述终端依次轮流应用预设主题库中的各个主题,将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the terminal is controlled to apply the respective topics in the preset theme library in turn, and the application duration of each topic in the preset theme library on the terminal is controlled. Set to the third time;
    当所述按压力度值小于或等于预设第二按压力度阈值时,将所述终端当前应用的目标主题确定为所述终端的主题;When the pressing force value is less than or equal to the preset second pressing strength threshold, determining a target theme currently applied by the terminal as a theme of the terminal;
    或者,or,
    若所述按压时长大于或等于预设第二时长,则在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识,并将每个主题标识的展示时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
    当所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。When the pressing force value is less than or equal to the preset second pressing force threshold, the target theme corresponding to the theme identifier currently displayed in the display interface is determined as the theme of the terminal.
  7. 根据权利要求5所述的方法,其特征在于,所述根据所述触摸参数,从预设主题库中确定所述终端的当前主题,包括:The method according to claim 5, wherein the determining the current theme of the terminal from the preset theme library according to the touch parameter comprises:
    从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
    从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
  8. 一种终端,其特征在于,包括:A terminal, comprising:
    检测单元,用于检测操作体通过终端触摸屏输入的触摸操作;a detecting unit, configured to detect a touch operation input by the operating body through the touch screen of the terminal;
    获取单元,用于获取所述触摸操作的触摸参数;An acquiring unit, configured to acquire a touch parameter of the touch operation;
    判断单元,用于判断所述触摸参数是否与预设触摸参数匹配;a determining unit, configured to determine whether the touch parameter matches a preset touch parameter;
    第一确定单元,用于在所述判断单元判断出所述触摸参数与所述预设触摸参数匹配时,根据所述触摸参数从预设主题库中确定所述终端的主题。 a first determining unit, configured to determine, according to the touch parameter, a theme of the terminal according to the touch parameter, when the determining unit determines that the touch parameter matches the preset touch parameter.
  9. 根据权利要8所述的终端,其特征在于,所述触摸参数包括按压力度值,所述判断单元判断所述触摸参数是否与预设触摸参数匹配的具体方式为:The terminal according to claim 8, wherein the touch parameter comprises a pressing force value, and the specific manner of the determining unit determining whether the touch parameter matches the preset touch parameter is:
    判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
    若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
  10. 根据权利要求9所述的终端,其特征在于,所述触摸参数还包括按压位置,所述判断单元,还用于判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内时,确定所述触摸参数与预设触摸参数匹配。The terminal according to claim 9, wherein the touch parameter further comprises a pressing position, and the determining unit is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and And determining, when the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing position is within the preset effective area, determining that the touch parameter matches a preset touch parameter.
  11. 根据权利要求9所述的终端,其特征在于,所述触摸参数还包括移动轨迹,所述判断单元,还用于判断所述移动轨迹是否为预设轨迹,并在所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹时,确定所述触摸参数与预设触摸参数匹配。The terminal according to claim 9, wherein the touch parameter further comprises a movement track, and the determining unit is further configured to determine whether the movement track is a preset track, and the pressing force value is greater than or When the preset first pressing force threshold is equal to the preset trajectory, the touch parameter is determined to match the preset touch parameter.
  12. 根据权利要求9~11中任一项所述的终端,其特征在于,The terminal according to any one of claims 9 to 11, characterized in that
    所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。The pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  13. 根据权利要求12所述的终端,其特征在于,所述触摸参数还包括按压时长,所述第一确定单元包括:The terminal according to claim 12, wherein the touch parameter further comprises a duration of pressing, the first determining unit comprising:
    控制单元,用于在所述按压时长大于或等于预设第二时长时,控制所述终端依次轮流应用预设主题库中的各个主题;a control unit, configured to, when the pressing duration is greater than or equal to a preset second duration, control the terminal to sequentially apply each theme in the preset theme library in turn;
    第一设置单元,用于将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;a first setting unit, configured to set an application duration of each topic in the preset theme library on the terminal to a third duration;
    第二确定单元,用于在所述按压力度值小于或等于预设第二按压力度阈值时,将所述终端当前应用的目标主题确定为所述终端的主题; a second determining unit, configured to determine, when the pressing force value is less than or equal to a preset second pressing strength threshold, a target theme currently applied by the terminal as a theme of the terminal;
    或者,or,
    显示单元,用于在所述按压时长大于或等于预设第二时长时,在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识;The display unit is configured to sequentially display the theme identifiers of the topics in the preset theme library in turn in the display interface of the terminal when the pressing duration is greater than or equal to the preset second duration;
    第二设置单元,用于将每个主题标识的展示时长设为第三时长;a second setting unit, configured to set a display duration of each theme identifier to a third duration;
    第三确定单元,用于在所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面中当前展示的主题标识对应的目标主题确定为所述终端的主题。And a third determining unit, configured to determine, as the theme of the terminal, a target topic corresponding to the theme identifier currently displayed in the display interface, when the pressing force value is less than or equal to a preset second pressing force threshold.
  14. 根据权利要求12所述的终端,其特征在于,所述第一确定单元根据所述触摸参数从预设主题库中确定所述终端的当前主题的具体方式为:The terminal according to claim 12, wherein the specific manner of determining, by the first determining unit, the current theme of the terminal from the preset theme library according to the touch parameter is:
    从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
    从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
  15. 一种终端,其特征在于,包括:A terminal, comprising:
    输入设备,用于检测操作体输入的触摸操作;An input device for detecting a touch operation input by the operating body;
    处理器,用于获取所述触摸操作的触摸参数,判断所述触摸参数是否与预设触摸参数匹配,若是,则根据所述触摸参数,从预设主题库中确定所述终端的主题。The processor is configured to obtain a touch parameter of the touch operation, determine whether the touch parameter matches a preset touch parameter, and if yes, determine a theme of the terminal from a preset theme library according to the touch parameter.
  16. 根据权利要求15所述的终端,其特征在于,所述触摸参数包括按压力度值,所述处理器判断所述触摸参数是否与预设触摸参数匹配的具体方式为:The terminal according to claim 15, wherein the touch parameter comprises a pressing force value, and the specific manner in which the processor determines whether the touch parameter matches a preset touch parameter is:
    判断所述按压力度值是否大于或等于预设第一按压力度阈值;Determining whether the pressing force value is greater than or equal to a preset first pressing force threshold;
    若所述按压力度值大于或等于所述预设第一按压力度阈值,则确定所述触摸参数与预设触摸参数匹配。And if the pressing force value is greater than or equal to the preset first pressing force threshold, determining that the touch parameter matches the preset touch parameter.
  17. 根据权利要求16所述的终端,其特征在于,所述触摸参数还包括按 压位置,The terminal according to claim 16, wherein the touch parameter further comprises pressing Pressure position,
    所述处理器,还用于判断所述按压位置是否处于所述触摸屏上预设的有效区域范围内,若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述按压位置处于所述预设的有效区域范围内,则确定所述触摸参数与预设触摸参数匹配。The processor is further configured to determine whether the pressing position is within a preset effective area range on the touch screen, and if the pressing force value is greater than or equal to the preset first pressing force threshold, and the pressing The location is within the preset effective area, and then the touch parameter is determined to match the preset touch parameter.
  18. 根据权利要求16所述的终端,其特征在于,所述触摸参数还包括移动轨迹,The terminal according to claim 16, wherein the touch parameter further comprises a movement track.
    所述处理器,还用于判断所述移动轨迹是否为预设轨迹,若所述按压力度值大于或等于所述预设第一按压力度阈值,且所述移动轨迹为所述预设轨迹,则确定所述触摸参数与预设触摸参数匹配。The processor is further configured to determine whether the moving track is a preset track, and if the pressing force value is greater than or equal to the preset first pressing force threshold, and the moving track is the preset track, Then determining that the touch parameter matches the preset touch parameter.
  19. 根据权利要求16~18中任一项所述的终端,其特征在于,The terminal according to any one of claims 16 to 18, characterized in that
    所述按压力度值包括预设第一时长内所述触摸操作的平均按压力度值或最小按压力度值。The pressing force value includes an average pressing force value or a minimum pressing force value of the touch operation within a preset first time duration.
  20. 根据权利要求19所述的终端,其特征在于,所述触摸参数还包括按压时长,所述处理器根据所述触摸参数,从预设主题库中确定所述终端的主题的具体方式为:The terminal according to claim 19, wherein the touch parameter further comprises a pressing duration, and the processor determines, according to the touch parameter, a theme of the terminal from the preset theme library:
    若所述按压时长大于或等于预设第二时长,则在所述终端上依次轮流应用预设主题库中的各个主题,将所述预设主题库中的各个主题在所述终端上的应用时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the respective topics in the preset theme library are sequentially applied to the terminal, and the applications of the topics in the preset theme library are used on the terminal. The duration is set to the third duration;
    当所述按压力度值小于或等于预设第二按压力度阈值时,将当前应用的目标主题确定为所述终端的主题;When the pressing force value is less than or equal to the preset second pressing force threshold, determining the target topic of the current application as the theme of the terminal;
    或者,or,
    若所述按压时长大于或等于预设第二时长,则在所述终端的显示界面中依次轮流展示预设主题库中各个主题的主题标识,并将每个主题标识的展示时长设为第三时长;If the duration of the pressing is greater than or equal to the preset second duration, the theme identifiers of the topics in the preset theme library are sequentially displayed in the display interface of the terminal, and the display duration of each theme identifier is set to be the third. duration;
    当所述按压力度值小于或等于预设第二按压力度阈值时,将所述显示界面 中当前展示的主题标识对应的目标主题确定为所述终端的主题。When the pressing force value is less than or equal to a preset second pressing force threshold, the display interface is The target theme corresponding to the theme identifier currently displayed in the medium is determined as the theme of the terminal.
  21. 根据权利要求19所述的终端,其特征在于,所述处理器根据所述触摸参数,从预设主题库中确定所述终端的当前主题的具体方式为:The terminal according to claim 19, wherein the processor determines, according to the touch parameter, a specific manner of determining a current theme of the terminal from a preset theme library:
    从预设的N个按压力度值区间中,确定出所述按压力度值所属的目标按压力度值区间,所述N为大于或等于1的整数;Determining, from the preset N pressing force value intervals, a target pressing force value interval to which the pressing force value belongs, where N is an integer greater than or equal to 1;
    从预设主题库中,与所述目标按压力度值区间对应的预设类型主题包含的主题中确定所述终端的主题。 From the preset theme library, the theme of the terminal is determined from a theme included in the preset type theme corresponding to the target pressing velocity value interval.
PCT/CN2016/082448 2015-08-27 2016-05-18 Method and terminal for determining theme WO2017032088A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510542401.4 2015-08-27
CN201510542401.4A CN105138170A (en) 2015-08-27 2015-08-27 Theme determination method and terminal

Publications (1)

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

Family

ID=54723539

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082448 WO2017032088A1 (en) 2015-08-27 2016-05-18 Method and terminal for determining theme

Country Status (2)

Country Link
CN (1) CN105138170A (en)
WO (1) WO2017032088A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138170A (en) * 2015-08-27 2015-12-09 广东欧珀移动通信有限公司 Theme determination method and terminal
CN105677199A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Inputting method and device based on pressure touch
CN105677226B (en) * 2016-01-11 2018-05-29 广东欧珀移动通信有限公司 A kind of operating method and mobile terminal to application program
CN105760104A (en) * 2016-02-26 2016-07-13 深圳市金立通信设备有限公司 Message handling method and terminal
CN105912244A (en) * 2016-04-05 2016-08-31 广东欧珀移动通信有限公司 Display screen background changing method and terminal
CN106126038B (en) * 2016-06-30 2020-05-26 联想(北京)有限公司 Processing method, processing device and electronic equipment
CN106060397B (en) * 2016-06-30 2019-05-17 维沃移动通信有限公司 A kind of screening-mode switching method and mobile terminal
CN106648285A (en) * 2016-09-07 2017-05-10 捷开通讯(深圳)有限公司 Method and system for quickly switching application desktops

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019595A (en) * 2012-12-05 2013-04-03 北京百度网讯科技有限公司 Terminal equipment and subject switching method thereof
CN104182175A (en) * 2014-09-09 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Touch screen terminal interface display method and device
CN104317492A (en) * 2014-10-10 2015-01-28 深圳市金立通信设备有限公司 Wallpaper setting method
CN104407764A (en) * 2013-10-29 2015-03-11 贵阳朗玛信息技术股份有限公司 Method and device of presenting scene effect
CN104407765A (en) * 2013-11-22 2015-03-11 贵阳朗玛信息技术股份有限公司 Theme background replacement method and device
CN105138170A (en) * 2015-08-27 2015-12-09 广东欧珀移动通信有限公司 Theme determination method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870190B (en) * 2012-12-17 2018-03-27 联想(北京)有限公司 The method and electronic equipment of a kind of control electronics
CN104252258A (en) * 2013-06-27 2014-12-31 福建省辉锐材料科技有限公司 Pressure-sensitive lightening method and pressure-sensitive lightening system for touch screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019595A (en) * 2012-12-05 2013-04-03 北京百度网讯科技有限公司 Terminal equipment and subject switching method thereof
CN104407764A (en) * 2013-10-29 2015-03-11 贵阳朗玛信息技术股份有限公司 Method and device of presenting scene effect
CN104407765A (en) * 2013-11-22 2015-03-11 贵阳朗玛信息技术股份有限公司 Theme background replacement method and device
CN104182175A (en) * 2014-09-09 2014-12-03 宇龙计算机通信科技(深圳)有限公司 Touch screen terminal interface display method and device
CN104317492A (en) * 2014-10-10 2015-01-28 深圳市金立通信设备有限公司 Wallpaper setting method
CN105138170A (en) * 2015-08-27 2015-12-09 广东欧珀移动通信有限公司 Theme determination method and terminal

Also Published As

Publication number Publication date
CN105138170A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
WO2017032088A1 (en) Method and terminal for determining theme
WO2017032085A1 (en) Method for preventing unintended touch input of terminal, and terminal
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
WO2016090888A1 (en) Method, apparatus and device for moving icon, and non-volatile computer storage medium
EP2869174A1 (en) Method and device for text input and display of intelligent terminal
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
CN104423789A (en) Information processing method and electronic equipment
CN107066188A (en) A kind of method and terminal for sending screenshot picture
US20130337873A1 (en) Method And Apparatus For Generating Application Icon
CN104898880B (en) A kind of control method and electronic equipment
CN106959746A (en) The processing method and processing device of speech data
CN106940618A (en) The player method and device of a kind of voice messaging
CN104794412A (en) Information input method and device and mobile terminal
CN104598133B (en) The specification generation method and device of object
JP2018508866A (en) Method and apparatus for displaying application page of mobile terminal
WO2015117526A1 (en) Touch control processing method and device
US10779148B2 (en) Data transmission method and first electronic device
US11237699B2 (en) Proximal menu generation
KR20150095523A (en) Electronic apparatus and method for extracting color in electronic apparatus
US11334240B2 (en) Method, device, electronic device, and storage medium for sending and receiving message
CN105163186A (en) Playing operation method and terminal
CN107817927B (en) Application icon management method and device
CN105373335B (en) A kind of playlist operating method and mobile terminal
EP3364637B1 (en) Method and apparatus for filtering object by means of pressure
CN106557223B (en) Mobile terminal shortcut operation method and device

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

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

Country of ref document: EP

Kind code of ref document: A1