WO2012142786A1 - Method and terminal for automatically executing terminal operation flow - Google Patents

Method and terminal for automatically executing terminal operation flow Download PDF

Info

Publication number
WO2012142786A1
WO2012142786A1 PCT/CN2011/075745 CN2011075745W WO2012142786A1 WO 2012142786 A1 WO2012142786 A1 WO 2012142786A1 CN 2011075745 W CN2011075745 W CN 2011075745W WO 2012142786 A1 WO2012142786 A1 WO 2012142786A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
input
automatic
user
focus state
Prior art date
Application number
PCT/CN2011/075745
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 WO2012142786A1 publication Critical patent/WO2012142786A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Definitions

  • the present invention relates to the field of communications, and in particular to an automatic execution method and terminal for a terminal operation flow.
  • BACKGROUND OF THE INVENTION With the rapid development of modern communication technologies and networks, electronic terminal devices have become one of the most useful life tools that people carry with them, and more than four personal activities are inseparable from these terminals. When these portable devices are working, each step of processing typically requires the user to give input selections or instructions. For example, after the wake-up alarm of the mobile phone rings in the morning, the current practice is to set a timer, and the user's key input can stop it.
  • the problem is that if the alarm wakes up the user very quickly, there is no need to continue to sound at this time, but the stop still requires the user to press the button, or the user cannot control the length of the ring tone.
  • the same problem occurs when a short message comes in, the user can easily form a fixed button indication process: button view, button page turn, button exit, etc., but the user still needs to give an operation instruction.
  • the prior art only performs optimization design research from the perspective of the UI (User Interface) module operation flow, but there is no automatic prediction and automatic execution of the operation flow including the user habit factors.
  • a primary object of the present invention is to provide an automatic execution method and terminal for a terminal operation flow, so as to at least solve the above problem that the prior art does not automatically predict and automatically execute an operation flow including user habit factors.
  • an automatic execution method of a terminal operation flow including: matching a current focus state of a terminal with an automatic execution condition of a pre-stored operation flow corresponding to a focus state; if matching, the terminal Automate the operational flow by simulating user input. Before the current focus state of the terminal is matched with the pre-existing automatic execution condition of the operation flow corresponding to the focus state, the method further includes: acquiring the current focus state of the terminal.
  • the terminal automatically executes the operation flow by simulating the user input, including: the terminal simulates the user input according to the pre-stored automatic input data to automatically execute the operation flow; wherein the automatic input data includes the input operation sequence and the input operation performed by the user for the focus state. The time interval between.
  • the terminal simulates the user input according to the pre-stored automatic input data to automatically execute the operation flow, and includes: determining whether the automatic input data exists; if yes, the terminal simulates the user input according to the automatic input data to automatically execute the operation flow. If the automatic input data does not exist, the terminal generates automatic input data according to the input made by the user for the focus state.
  • the automatic input data is updated based on the user's recent input for the focus state.
  • a terminal comprising: a matching module configured to match a current focus state of a terminal with an automatically executed execution condition of a pre-stored operation flow corresponding to a focus state; Set to automatically execute the operational flow by simulating user input if the matching result of the matching module is a match.
  • the execution module includes: an execution sub-module, configured to simulate user input according to the pre-stored automatic input data to automatically execute the operation flow when the matching result of the matching module is matched; wherein the automatic input data includes the user performing the focus state The sequence of input operations and the time interval between each input operation.
  • the execution module further includes: a judgment submodule, configured to further determine whether the automatic input data exists if the matching result of the matching module is matched; if yes, the execution submodule simulates the user input according to the automatic input data to automatically perform the operation.
  • the execution module further includes: a record generation sub-module configured to generate automatic input data according to an input made by the user for the focus state in the case where the automatic input data does not exist.
  • the execution module further includes: an update sub-module configured to update the automatic input data according to an input made by the user for a thousand times of focus state.
  • the terminal further includes: an interrupt module, configured to exit the operation flow in a process in which the user input or the focus state changes during the terminal automatically executing the operation flow by simulating the user input.
  • FIG. 1 is a flow chart of an automatic execution method of a terminal operation flow according to a first embodiment of the present invention
  • FIG. 2 is a flow chart of an automatic execution method of a terminal operation flow according to a second embodiment of the present invention
  • 3 is a flowchart of an automatic execution method of the terminal operation flow according to the third embodiment of the present invention
  • FIG. 4 is a flowchart of automatic stop of the alarm clock according to Embodiment 4 of the present invention
  • FIG. 5 is a new short message automatic method according to Embodiment 5 of the present invention
  • FIG. 6 is a schematic structural diagram of a terminal according to Embodiment 6 of the present invention
  • FIG. 7 is a schematic structural diagram of a terminal according to Embodiment 7 of the present invention.
  • UI user interface, ie user interface or user interface.
  • User input or user event Used for button, click touch screen, etc. to indicate the user's choice or indication operation, or the character information input with the same content, or a series of regular operations of a complete process.
  • System events Messages sent and received between system modules that are not user-input and affect the UI and may affect user input, including sending system events and receiving system events.
  • FIG. 1 is a flowchart of an automatic execution method of a terminal operation flow according to Embodiment 1 of the present invention, as shown in FIG.
  • Step S101 Match the current focus state of the terminal with the pre-existing automatic execution condition of the operation flow corresponding to the focus state.
  • Step S102 if it matches, the terminal automatically performs the operation flow by simulating the user input.
  • the simulated user input operation is generated according to the user's habit, and the automatic operation of the instruction process is realized, thereby reducing the number of user operations, thereby improving the user experience.
  • the step S101 further includes: acquiring a current focus state of the terminal.
  • the step S102 includes: if it matches, further determining whether the automatic input data exists; if yes, the terminal simulates the user input according to the automatic input data to automatically execute the operation flow.
  • the automatic input data includes a sequence of input operations performed by the user for the focus state and a time interval between each input operation. If the automatic input data does not exist, the terminal generates automatic input data according to the input made by the user for the focus state. The terminal may also update the automatic input data according to the input made by the user for the focus state for a thousand times. Wherein, in the process that the terminal automatically executes the operation flow by simulating the user input, if there is a user input or the focus state changes, the operation flow is exited.
  • Step S201 An automatic input matching pattern database is established in advance, wherein each record is Indicates what kind of event can trigger the automatic input process when the system is in a certain state, that is, the record includes the following fields: [1, execute system status condition, 2. execute trigger condition, 3. execute flow, 4. self-learning History, 5, execution flow calculation, 6, execution termination conditions, 7, execution of interrupt conditions].
  • Execution system status condition Indicates the requirement that the initial system state of the self-learning or execution automatic input process must be met.
  • Execution trigger condition If the execution trigger condition occurs under the condition that the execution system status condition is satisfied, the self-learning or the automatic input flow is started. If this condition is empty, then as long as the system state transitions to the execution system state condition, the self-learning or automatic input process can be started; that is, when it is empty, the item always matches successfully.
  • Execution process Self-learning or an existing execution auto-input process has been completed. Before self-learning, this item can be empty, indicating that the process needs to be calculated through self-learning.
  • Self-learning history Record self-learning data for performing process calculations.
  • Execution process calculation The calculation and judgment logic of the self-learning history is used to update the execution flow.
  • Execution termination condition The self-learning end event is also the execution process termination event.
  • Execution Interrupt Condition A UI input event that causes an exception to exit during the automatic input process execution.
  • step S202 an automatic input capture monitoring point is set, and in the automatic input matching mode database, the first two items can be matched at the same time, and the start time of the successful matching is recorded.
  • step S203 determining whether to execute the automatic input process according to whether automatic execution execution flow data is present, if yes, proceeding to step 205; if not, executing step S204 to execute the self-learning process.
  • Step S204 cyclically monitoring the possible i-th user input event, and recording the event Ti and the offset Ti from the relative start time to the learning record data: (Ti, the user input event i), until the self-learn termination is judged Valid, or the abnormal exit judgment is valid, and the two determine the validity and invalidity of the record set flag respectively.
  • the following N indicates the number of user input operations that have been stored when the self-learning termination judgment is valid.
  • Step S205: Start the timer T Ti in the automatic input process from 0..N-1, and simulate sending the user input event i when the timer expires. In the meantime, an abnormal exit logical judgment is performed on all UI events, and there is a possibility that an automatic input interrupt occurs.
  • This embodiment provides a method for universal automatic input, self-learning and automatic execution of a terminal, and defines an automatic input database matching record format. The implementation can start from an automatic input execution mode, and gradually expand and facilitate implementation.
  • FIG. 3 is a flowchart of an automatic execution method of a terminal operation flow according to Embodiment 3 of the present invention. As shown in FIG. 3, the following steps are included: Step S301: Initialize adding a record in an automatic input matching mode database.
  • Each record includes the following fields: [match status, match event, automatic input execution flow data, self-learning record data, automatic input execution flow calculation logic, self-learn termination judgment logic, automatic input interrupt or abnormal exit judgment logic].
  • Each of the fields corresponds to each field in the second embodiment, but the field names are different.
  • Step S302 setting an automatic input capture monitoring point, in the automatic input matching mode database, the two items can be matched at the same time, and the start time of the successful matching is recorded.
  • Step S303 determining whether to execute the automatic input process according to whether automatic execution execution flow data is present, and if yes, proceeding to step S305; if not, executing step S304 to execute the self-learning process.
  • Step S304 cyclically monitoring the possible i-th user input event, and recording the event Ti and the offset Ti from the relative start time to the learning record data: (Ti, the user input event i), until the self-learn termination is judged Valid, or the abnormal exit judgment is valid, and the two determine the most recent mark of the record. Valid and invalid.
  • the following N indicates the number of user input operations that have been stored when the self-learning termination judgment is valid.
  • FIG. 4 is a flowchart of an automatic stop of an alarm clock according to Embodiment 4 of the present invention. As shown in FIG.
  • Step S401 Initializing a record in the automatic input matching mode database: [Alarm module ringing And in the focus state, trigger event: None, Auto Input: Empty, Learning Record: Empty, Bell Auto Input Judgment Logic: Take the last three sample average values to write "Automatic input, column, self-learning termination condition: Bell termination , automatic input interrupt condition: there is user input or focus change.]
  • Step S402 set the system to automatically input the capture monitoring point, which can be implemented in the alarm module. When the "alarm module is ringing and in focus" is captured, it is automatically In the input matching mode database, the first two entries can be matched at the same time, and the matching time is successfully matched.
  • Step S403 the third item "automatic input” is displayed, if the automatic input execution process is not If yes, go to step S405 and execute the automatic input process.
  • Step S404 start monitoring the stop ringing of possible user input. And record the time offset of the event from the initial ringing to the learning record in the database, and mark the new record as valid: ( ⁇ , the user stops the ringing input event, valid), go to S408.
  • Step S406 UI input event judgment: If the above-mentioned timer expires, then go to S407; if the automatic input interrupt condition is satisfied: there is user input or focus change, then Go to S408, otherwise continue this step 4 judgment processing.
  • step S407 the corresponding user input event is sent by analog.
  • This embodiment includes only one automatic input event, that is, the self-learning termination condition is automatically satisfied subsequently: the ringing is terminated.
  • N indicates the maximum number of automatic input events to be monitored. In this example, setting N is large enough. The following is to save the limitation of the number of user input events.
  • Step S502 setting the system to automatically input the capture matching monitoring point, which can be implemented in the short message application module.
  • the LCD is detected to be turned on, or subsequently received an LCD open message
  • both cases have an automatic input matching mode database found in the first two records as above.
  • the matching is successful, and the start time of the matching success is recorded.
  • Step S504 cyclically monitoring the possible i-th user input to view the new short message event, and recording the event and its occurrence relative to the previous reference time offset Ti to the learning record in the database: (Ti, user input event i, effective).
  • the previous reference time is the last recorded user input event time, and the first use start time is used as the reference time.
  • Step S505 performing self-learn termination condition determination, if terminated, setting a learning record valid flag, and then transferring to S510; otherwise, performing an automatic input interrupt condition judgment, if interrupted, setting a learning record invalid flag, and then changing to S510; otherwise, i is incremented, and then transferred S504.
  • Step S506 according to the automatic input content, start the timer T of the next user input i to be executed.
  • Step S507 determining whether the upper timer expires the event, if yes, go to S508; otherwise, judge whether to turn 510 according to the automatic input interrupt condition; otherwise, continue the determination in this step.
  • Step S508 the analog user input event i is sent.
  • step S509 it is determined whether the user input event has been executed, and if not, then the process proceeds to S506 to continue to the next automatic input process.
  • Step S510 clearing the automatic input timer T; if the learning record mark is valid, updating the self-learning record in the database, and executing the new short message automatic viewing and judging logic, if the latest three records are consistent, then each delay time is biased After moving the Ti average calculation, update to the current "Auto Input" execution bar.
  • FIG. 6 is a schematic structural diagram of a terminal according to Embodiment 6 of the present invention.
  • the terminal includes: a matching module 10 and an execution module 20.
  • the matching module 10 is connected to the execution module 20.
  • the matching module 10 is configured to match the current focus state of the terminal with the pre-existing automatic execution condition of the operation flow corresponding to the focus state; and the execution module 20 is configured to: when the matching result of the matching module is matched, Automate the operational flow by simulating user input.
  • FIG. 7 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention.
  • the seventh embodiment further includes an interrupt module 30, which is configured to change the user input or the focus state during the process of automatically performing the operation flow by the terminal through the simulated user input. In the case of the exit process.
  • the execution module 20 includes: an execution sub-module 201, a determination sub-module 202, a record generation sub-module 203, and an update sub-module 204.
  • the execution sub-module 201 is configured to simulate the user input to automatically execute the operation flow according to the pre-stored automatic input data if the matching result of the matching module 10 is matched; wherein the automatic input data includes the input performed by the user for the focus state The sequence of operations and the time interval between each input operation.
  • the determining sub-module 202 is configured to further determine whether the automatic input data exists if the matching result of the matching module 10 is matched; if yes, the executing sub-module 201 simulates the user input according to the automatic input data to automatically execute the operation flow.
  • the record generation sub-module 203 is arranged to generate automatic input data according to an input made by the user for the focus state in the case where the automatic input data does not exist.
  • the update sub-module 204 is configured to update the automatic input data according to an input made by the user for a focus state for a few thousand times.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and a terminal for automatically executing terminal operation flow are provided. The method includes: matching a current focus state of a terminal with a reserved automatical execution condition of operation flow corresponding to the focus state; the terminal automatically executing the operation flow by simulating a user input if matching. In the present solution, a simulated user input operation is generated according to user customs after the focus state of the terminal is matched with the condition under which the flow can be automatically executed, so the automatical execution of an instructing flow can be realized, and the operation times of a user can be reduced, and the user experience is improved.

Description

终端操作¾ ^呈的自动执行方法及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种终端操作流程的自动执行方法 及终端。 背景技术 随着现代通信技术和网络的高速发展, 电子终端设备成为人们随身携带的 最有用的生活工具之一, 4艮多的个人活动都和这些终端密不可分。 当这些便携 设备工作的时候, 每一步处理通常会要求用户给于输入选择或指示。 例如, 早 上手机的叫醒闹钟响了之后, 当前的做法是设置有一个定时器, 用户按键输入 可以使它停止。 这样的问题在于如果每次闹钟都会很快叫醒用户, 这时候没必 要继续响下去了, 但是停止仍然需要用户按键指示, 或者说用户无法控制铃音 的长度。 同样的问题出现在来短消息的时候, 用户很容易形成固定的按键指示流 程: 按键查看、 按键翻页、 按键退出等, 但仍需用户固定给出操作指示。 对于上述的情况, 现有技术仅仅从 UI ( User Interface, 用户界面)模块操 作流程角度进行优化设计研究, 但是还没有对包含用户习惯因素在内的操作流 程进行自动预测和自动执行的做法。 发明内容 本发明的主要目的在于提供一种终端操作流程的自动执行方法及终端, 以 至少解决上述现有技术没有对包含用户习惯因素在内的操作流程进行自动预 测和自动执行的问题。 根据本发明的一个方面,提供了一种终端操作流程的自动执行方法, 包括: 将终端当前的焦点状态与预存的与焦点状态相对应的操作流程的自动执行条 件进行匹配; 若匹配, 则终端通过模拟用户输入以自动执行操作流程。 将终端当前的焦点状态与预存的与焦点状态相对应的操作流程的自动执 行条件进行匹配之前, 还包括: 获取终端当前的焦点状态。 终端通过模拟用户输入以自动执行操作流程, 包括: 终端根据预存的自动 输入数据来模拟用户输入以自动执行操作流程; 其中, 自动输入数据包括用户 针对焦点状态所进行的输入操作序列以及各输入操作之间的时间间隔。 终端根据预存的自动输入数据来模拟用户输入以自动执行操作流程, 包 括: 判断自动输入数据是否存在; 如果是, 则终端根据自动输入数据来模拟用 户输入以自动执行操作流程。 如果自动输入数据不存在, 则终端根据用户针对焦点状态所进行的输入生 成自动输入数据。 根据用户最近若千次的针对焦点状态所进行的输入对自动输入数据进行 更新。 在终端通过模拟用户输入自动执行操作流程的过程中, 如果有用户输入或 焦点状态发生变化, 则退出操作流程。 才艮据本发明的另一方面, 提供了一种终端, 包括: 匹配模块, 设置为将终 端当前的焦点状态与预存的与焦点状态相对应的操作流程的自动执行条件进 行匹配; 执行模块, 设置为在匹配模块的匹配结果为匹配的情况下, 通过模拟 用户输入以自动执行操作流程。 执行模块包括: 执行子模块, 设置为在匹配模块的匹配结果为匹配的情况 下, 根据预存的自动输入数据来模拟用户输入以自动执行操作流程; 其中, 自 动输入数据包括用户针对焦点状态所进行的输入操作序列以及各输入操作之 间的时间间隔。 执行模块还包括: 判断子模块, 设置为在匹配模块的匹配结果为匹配的情 况下, 进一步判断自动输入数据是否存在; 如果是, 则执行子模块根据自动输 入数据来模拟用户输入以自动执行操作流程。 执行模块还包括: 记录生成子模块, 设置为在自动输入数据不存在的情况 下, 根据用户针对焦点状态所进行的输入生成自动输入数据。 执行模块还包括: 更新子模块, 设置为根据用户最近若千次的针对焦点状 态所进行的输入对自动输入数据进行更新。 终端还包括: 中断模块, 设置为在终端通过模拟用户输入自动执行操作流 程的过程中, 在有用户输入或焦点状态发生变化的情况下, 退出操作流程。 通过本发明, 釆用终端焦点状态与可自动执行流程的条件进行匹配后, 根 据用户习惯产生模拟用户输入操作, 实现指示流程的自动运行, 从而减少用户 操作次数, 进而提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不 当限定。 在附图中: 图 1是才艮据本发明实施例一的终端操作流程的自动执行方法流程图; 图 2是才艮据本发明实施例二的终端操作流程的自动执行方法流程图; 图 3是才艮据本发明实施例三的终端操作流程的自动执行方法流程图; 图 4是 居本发明实施例四的闹钟自动停止流程图; 图 5是 居本发明实施例五的新短信自动查看流程图; 图 6是 居本发明实施例六的终端结构示意图; 图 7是 居本发明实施例七的终端结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不 冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 以下为实施例中所用到的术语解释: The present invention relates to the field of communications, and in particular to an automatic execution method and terminal for a terminal operation flow. BACKGROUND OF THE INVENTION With the rapid development of modern communication technologies and networks, electronic terminal devices have become one of the most useful life tools that people carry with them, and more than four personal activities are inseparable from these terminals. When these portable devices are working, each step of processing typically requires the user to give input selections or instructions. For example, after the wake-up alarm of the mobile phone rings in the morning, the current practice is to set a timer, and the user's key input can stop it. The problem is that if the alarm wakes up the user very quickly, there is no need to continue to sound at this time, but the stop still requires the user to press the button, or the user cannot control the length of the ring tone. The same problem occurs when a short message comes in, the user can easily form a fixed button indication process: button view, button page turn, button exit, etc., but the user still needs to give an operation instruction. In the above case, the prior art only performs optimization design research from the perspective of the UI (User Interface) module operation flow, but there is no automatic prediction and automatic execution of the operation flow including the user habit factors. SUMMARY OF THE INVENTION A primary object of the present invention is to provide an automatic execution method and terminal for a terminal operation flow, so as to at least solve the above problem that the prior art does not automatically predict and automatically execute an operation flow including user habit factors. According to an aspect of the present invention, an automatic execution method of a terminal operation flow is provided, including: matching a current focus state of a terminal with an automatic execution condition of a pre-stored operation flow corresponding to a focus state; if matching, the terminal Automate the operational flow by simulating user input. Before the current focus state of the terminal is matched with the pre-existing automatic execution condition of the operation flow corresponding to the focus state, the method further includes: acquiring the current focus state of the terminal. The terminal automatically executes the operation flow by simulating the user input, including: the terminal simulates the user input according to the pre-stored automatic input data to automatically execute the operation flow; wherein the automatic input data includes the input operation sequence and the input operation performed by the user for the focus state. The time interval between. The terminal simulates the user input according to the pre-stored automatic input data to automatically execute the operation flow, and includes: determining whether the automatic input data exists; if yes, the terminal simulates the user input according to the automatic input data to automatically execute the operation flow. If the automatic input data does not exist, the terminal generates automatic input data according to the input made by the user for the focus state. The automatic input data is updated based on the user's recent input for the focus state. In the process of automatically executing the operation flow by the terminal through the simulation of the user input, if there is a user input or the focus state changes, the operation flow is exited. According to another aspect of the present invention, a terminal is provided, comprising: a matching module configured to match a current focus state of a terminal with an automatically executed execution condition of a pre-stored operation flow corresponding to a focus state; Set to automatically execute the operational flow by simulating user input if the matching result of the matching module is a match. The execution module includes: an execution sub-module, configured to simulate user input according to the pre-stored automatic input data to automatically execute the operation flow when the matching result of the matching module is matched; wherein the automatic input data includes the user performing the focus state The sequence of input operations and the time interval between each input operation. The execution module further includes: a judgment submodule, configured to further determine whether the automatic input data exists if the matching result of the matching module is matched; if yes, the execution submodule simulates the user input according to the automatic input data to automatically perform the operation. Process. The execution module further includes: a record generation sub-module configured to generate automatic input data according to an input made by the user for the focus state in the case where the automatic input data does not exist. The execution module further includes: an update sub-module configured to update the automatic input data according to an input made by the user for a thousand times of focus state. The terminal further includes: an interrupt module, configured to exit the operation flow in a process in which the user input or the focus state changes during the terminal automatically executing the operation flow by simulating the user input. Through the invention, after the terminal focus state is matched with the condition that can automatically execute the process, the simulated user input operation is generated according to the user's habit, and the automatic operation of the instruction process is realized, thereby reducing the number of user operations and thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of an automatic execution method of a terminal operation flow according to a first embodiment of the present invention; FIG. 2 is a flow chart of an automatic execution method of a terminal operation flow according to a second embodiment of the present invention; 3 is a flowchart of an automatic execution method of the terminal operation flow according to the third embodiment of the present invention; FIG. 4 is a flowchart of automatic stop of the alarm clock according to Embodiment 4 of the present invention; FIG. 5 is a new short message automatic method according to Embodiment 5 of the present invention; FIG. 6 is a schematic structural diagram of a terminal according to Embodiment 6 of the present invention; and FIG. 7 is a schematic structural diagram of a terminal according to Embodiment 7 of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The following is an explanation of the terms used in the examples:
UI: user interface, 即用户接口或用户界面等。 用户输入或用户事件: 用于按键、 点击触摸屏等表示用户给出的选择或指 示操作, 也可以是内容不变的字符信息输入, 也可以表示一个完整过程的一系 列规律性操作。 系统事件: 非用户输入的且影响 UI可能发生变化进而影响用户输入的各 系统模块间发送和接收的消息, 相应的包括发送系统事件和接收系统事件。 UI: user interface, ie user interface or user interface. User input or user event: Used for button, click touch screen, etc. to indicate the user's choice or indication operation, or the character information input with the same content, or a series of regular operations of a complete process. System events: Messages sent and received between system modules that are not user-input and affect the UI and may affect user input, including sending system events and receiving system events.
UI输入: 包含上述两种事件, 可引起系统状态迁移。 事件: 如果不加特定修饰, 这里表示一种 UI输入。 系统状态: 这里指终端 UI设计中影响用户输入的各模块活动状态集合, 包括 [当前焦点模块 F, 模块 1-N的状态] , 其中焦点模块 F位于模块 1-N中, 这些模块一般会处理系统事件和用户事件, 并有可能引起系统状态改变和 UI 变化。 实施例一 图 1是才艮据本发明实施例一的终端操作流程的自动执行方法流程图, 如图UI input: Contains the above two events, which can cause system state migration. Event: If no specific decoration is added, this represents a UI input. System status: This refers to the active state set of each module in the terminal UI design that affects user input, including [current focus module F, module 1-N status], where focus module F is located in module 1-N, these modules will generally process System events and user events, and may cause system state changes and UI changes. Embodiment 1 FIG. 1 is a flowchart of an automatic execution method of a terminal operation flow according to Embodiment 1 of the present invention, as shown in FIG.
1所示, 包括以下步 4聚: 步骤 S 101 ,将终端当前的焦点状态与预存的与焦点状态相对应的操作流程 的自动执行条件进行匹配。 步骤 S 102, 若匹配, 则终端通过模拟用户输入以自动执行操作流程。 在实施例一中, 将终端焦点状态与可自动执行流程的条件进行匹配后, 根 据用户习惯产生模拟用户输入操作, 实现指示流程的自动运行, 从而减少用户 操作次数, 进而提高了用户体验。 其中, 步骤 S 101之前还包括: 获取终端当前的焦点状态。 其中, 步骤 S 102 包括: 若匹配, 则进一步判断自动输入数据是否存在; 如果是, 则终端根据自动输入数据来模拟用户输入以自动执行操作流程。 自动 输入数据包括用户针对焦点状态所进行的输入操作序列以及各输入操作之间 的时间间隔。 如果自动输入数据不存在, 则终端根据用户针对焦点状态所进行 的输入生成自动输入数据。 其中, 终端还可以根据用户最近若千次的针对焦点状态所进行的输入对自 动输入数据进行更新。 其中, 在终端通过模拟用户输入自动执行操作流程的过程中, 如果有用户 输入或焦点状态发生变化, 则退出操作流程。 实施例二 图 2是根据本发明实施例二的终端操作流程的自动执行方法流程图, 如图 2所示, 包括以下步 4聚: 步骤 S201 , 预先建立自动输入匹配模式数据库, 其中每一条记录表示当系 统处于某种状态时, 何种事件可以触发执行何种自动输入流程, 即记录包括以 下字段: [1、 执行系统状态条件, 2、 执行触发条件, 3、 执行流程, 4、 自学习 历史记录, 5、 执行流程计算, 6、 执行终止条件, 7、 执行中断条件]。 其中, 记录中各字段所表示的意思如下: 执行系统状态条件: 表示自学习或执行自动输入流程的起始系统状态必须 满足的要求。 执行触发条件: 在执行系统状态条件满足前提下发生了本执行触发条件, 则开始自学习或执行自动输入流程。 如果本条件为空, 则只要发生系统状态迁 移到执行系统状态条件, 即可开始自学习或执行自动输入流程; 也就是当为空 时, 本项总是匹配成功。 执行流程: 已完成自学习或已存在的执行自动输入流程。 在自学习之前, 该项可为空, 表示需要通过自学习来计算本流程。 自学习历史记录: 记录自学习数据, 用于进行执行流程计算。 执行流程计算: 处理自学习历史记录的计算和判断逻辑, 用于更新执行流 程。 执行终止条件: 自学习结束事件, 也是执行流程终止事件。 执行中断条件: 指导致自动输入流程执行中的异常退出的 UI输入事件。 步骤 S202,设置自动输入捕捉监测点, 在自动输入匹配模式数据库中如上 ΐ己录前两项可同时匹配成功, ΐ己录本匹配成功的起始时间。 步骤 S203 ,根据是否已有自动输入执行流程数据, 判断是否执行自动输入 流程, 如果是则转步骤 205; 如果否, 则执行步骤 S204, 执行自学习过程。 步骤 S204, 循环监测可能的第 i个用户输入事件, 并记录该事件及其发生 相对起始时间的偏移 Ti到本学习记录数据里: ( Ti, 用户输入事件 i ), 直到自 学习终止判断有效, 或异常退出判断有效, 两种分别决定本次记录集合标记的 有效和无效。如下 N表示自学习终止判断有效时已存储的一次用户输入操作个 数。 步骤 S205 , 从 0..N-1依次启动自动输入流程中定时器 T=Ti, 当定时器超 时后模拟发送用户输入事件 i。 其间, 对所有 UI事件执行异常退出逻辑判断, 有可能因此而发生自动输入中断的情况。 步骤 S206, 清除自动输入定时器 T, 如果本次数据库记录中的自学习记录 有有效新增项, 则执行自动输入执行流程计算逻辑, 并更新 "自动输入"栏数据 i=0..N: (延迟 Ti, 用户输入事件 i )。 本实施例给出了一种终端的通用自动输入、 自学习和自动执行的方法, 定 义了一种自动输入数据库匹配记录格式, 实施可以从一种自动输入执行模式开 始, 逐步扩充, 方便实现。 实施例三 图 3是根据本发明实施例三的终端操作流程的自动执行方法流程图, 如图 3所示, 包括以下步 4聚: 步骤 S301 , 初始化在自动输入匹配模式数据库中添加记录。 每条记录包括 以下字段: [匹配状态, 匹配事件, 自动输入执行流程数据, 自学习记录数据, 自动输入执行流程计算逻辑, 自学习终止判断逻辑, 自动输入中断或异常退出 判断逻辑]。 其中各字段与实施例二中的各字段——对应, 只是字段名称不同而 已。 步骤 S302 ,设置自动输入捕捉监测点, 在自动输入匹配模式数据库中如上 ΐ己录前两项可同时匹配成功, ΐ己录本匹配成功的起始时间。 步骤 S303 ,根据是否已有自动输入执行流程数据, 判断是否执行自动输入 流程, 如果是, 则转步骤 S305; 如果否, 则执行步骤 S304, 执行自学习过程。 步骤 S304, 循环监测可能的第 i个用户输入事件, 并记录该事件及其发生 相对起始时间的偏移 Ti到本学习记录数据里: ( Ti, 用户输入事件 i ), 直到自 学习终止判断有效, 或异常退出判断有效, 两种分别决定本次记最集^标记的 有效和无效。如下 N表示自学习终止判断有效时已存储的一次用户输入操作个 数。 步骤 S305 , 从 0..N-1依次启动自动输入流程中定时器 T=Ti, 当定时器超 时后模拟发送用户输入事件 i。 其间, 对所有 UI事件执行异常退出逻辑判断, 有可能因此而发生自动输入中断的情况。 步骤 S306, 清除自动输入定时器 T, 如果本次数据库记录中的自学习记录 有有效新增项, 则执行自动输入执行流程计算逻辑, 并更新"自动输入"栏数据 i=0..N: (延迟 Ti, 用户输入事件 i )。 实施例四 图 4是才艮据本发明实施例四的闹钟自动停止流程图, 如图 4所示, 包括以 下步骤: 步骤 S401 , 初始化在自动输入匹配模式数据库中添加记录: [闹钟模块响 铃且处于焦点状态, 触发事件: 无, 自动输入: 空, 学习记录: 空, 响铃自动 输入判断逻辑: 取最近三次样本平均值写入"自动输入,,栏, 自学习终止条件: 响铃终止, 自动输入中断条件: 有用户输入或焦点变化]。 步骤 S402, 设置系统自动输入捕捉监测点, 可以放在闹钟模块中实现。 当 捕捉到 "闹钟模块响铃且处于焦点状态"时, 在自动输入匹配模式数据库中发现 ^口上 ΐ己录前两项可同时匹配成功, ΐ己录本匹配成功的起始时间。 步骤 S403 , 查看第三项"自动输入"栏, 如果自动输入执行流程不为空, 则 转步骤 S405 , 执行自动输入流程。 步骤 S404, 开始监测可能的用户输入的停止响铃事件, 并记录该事件发生 相对起始响铃的时间偏移 Τ到数据库中的学习记录里,并标记该新增记录有效: ( Τ, 用户停止响铃输入事件, 有效), 转 S408。 步 4聚 S405 , 居自动输入内容, 启动定时器 T。 步骤 S406, UI输入事件判断: 如果上条 Τ定时器超时事件, 则转 S407; 如果自动输入中断条件满足: 有用户输入或焦点变化, 则转 S408, 否则继续本 步 4聚判断处理。 步骤 S407,模拟发送相应的用户输入事件。 本实施例仅包含一个自动输入 事件, 即随后自动满足自学习终止条件: 响铃终止。 步骤 S408, 清除自动输入定时器 T, 如果本次数据库记录中的自学习记录 有有效新增项, 则执行响铃自动输入判断逻辑, 如果存在三条有效记录, 则平 均其延时偏移数据, 对应的可能多种用户停止响铃输入事件选最近一次的即 可, 并更新当前"自动输入,,栏为: ( 自动响铃延 T, 最近一次停止响铃用户输入 事件)。 实施例五 图 5是 居本发明实施例五的新短信自动查看流程图, 如图 5所示, 包括 以下步 4聚: 步骤 S501 , 初始化在自动输入匹配模式数据库中添加记录: [IDLE下新短 消息提示状态, 触发事件: LCD打开显示, 自动输入 i=0..N: 空 (延时 Ti, 用 户输入事件 i), 学习记录: 空(最近三次自动输入记录及其是否有效标记;), 新 短信自动查看判断逻辑: 取最近三次操作数一致的样本平均后写入"自动输入,, 栏, 自学习终止条件: 第一条新短信打开, 自动输入中断条件: 有用户输入或 焦点变化]。 其中 N表示最大监测的自动输入事件个数, 本实例设置 N足够大, 下面省去考虑用户输入事件个数空间的限制问题。 步骤 S502 ,设置系统自动输入捕捉匹配监测点, 可放在短消息应用模块中 实现。 当捕捉到当前处于 IDLE状态且有新短信消息提示, 并监测到 LCD在打 开状态, 或随后收到 LCD 打开消息, 则该两种情况都有自动输入匹配模式数 据库中发现如上记录前两项可同时匹配成功, 记录本匹配成功的起始时间。 步骤 S 503 , 查看第三项"自动输入"栏, 如果自动输入执行流程不为空, 则 转步骤 S506, 执行自动输入流程, 否则初始化自学习用户输入事件编号 i=0。 步骤 S504, 循环监测可能的第 i个用户输入的查看新短信事件, 并记录该 事件及其发生相对上一基准时间的偏移 Ti 到数据库中的学习记录里: (Ti, 用 户输入事件 i, 有效)。 其中, 上一基准时间为最近一次已记录的用户输入事件 时间, 第一次使用起始时间作为基准时间。 步骤 S505 ,执行自学习终止条件判断, 如果终止,设置学习记录有效标记, 并转 S510; 否则执行自动输入中断条件判断, 如果中断, 设置学习记录无效标 记, 并转 S510; 否则 i递增, 并转 S504。 步骤 S506,根据自动输入内容,启动下一个待执行用户输入 i的定时器 T。 步骤 S507, 判断是否上条 Τ定时器超时事件, 如果是, 转 S508; 否则根 据自动输入中断条件判断是否转 510; 否则继续本步骤判断。 步骤 S508, 模拟发送相应的用户输入事件 i。 步骤 S509, 判断用户输入事件是否已执行完成, 如果不是, 则转 S506继 续下一个自动输入流程。 步骤 S510, 清除自动输入定时器 T; 如果本次学习记录标记有效则更新数 据库中的自学习记录, 并执行新短信自动查看判断逻辑, 如果最新三次记录个 数一致, 则就各延迟时间偏移 Ti平均计算后更新到当前"自动输入"执行栏中。 实施例六 图 6是 居本发明实施例六的终端结构示意图,如图 6所示,该终端包括: 匹配模块 10和执行模块 20。 匹配模块 10与执行模块 20相连接。 其中, 匹配模块 10, 设置为将终端当前的焦点状态与预存的与焦点状态相 对应的操作流程的自动执行条件进行匹配; 执行模块 20 , 设置为在匹配模块的 匹配结果为匹配的情况下, 通过模拟用户输入以自动执行操作流程。 在实施例六中, 将终端焦点状态与可自动执行流程的条件进行匹配后, 根 据用户习惯产生模拟用户输入操作, 实现指示流程的自动运行, 从而减少用户 操作次数, 进而提高了用户体验。 实施例七 图 7是 居本发明实施例七的终端结构示意图。 如图 7所示, 实施例七除 包括实施六的各功能模块外, 还包括中断模块 30, 设置为在终端通过模拟用户 输入自动执行操作流程的过程中, 在有用户输入或焦点状态发生变化的情况 下, 退出操作流程。 其中, 执行模块 20包括: 执行子模块 201、 判断子模块 202、 记录生成子 模块 203和更新子模块 204。 执行子模块 201 , 设置为在匹配模块 10的匹配结果为匹配的情况下, 根据 预存的自动输入数据来模拟用户输入以自动执行操作流程; 其中, 自动输入数 据包括用户针对焦点状态所进行的输入操作序列以及各输入操作之间的时间 间隔。 判断子模块 202, 设置为在匹配模块 10的匹配结果为匹配的情况下, 进一 步判断自动输入数据是否存在; 如果是, 则执行子模块 201根据自动输入数据 来模拟用户输入以自动执行操作流程。 记录生成子模块 203 , 设置为在自动输入数据不存在的情况下, 根据用户 针对焦点状态所进行的输入生成自动输入数据。 更新子模块 204, 设置为根据用户最近若千次的针对焦点状态所进行的输 入对自动输入数据进行更新。 本发明的上述各实施例在于提供一种基于终端的自学习自动输入的方法 和装置, 从而帮助终端系统识别用户使用习惯等因素信息, 进而统计其操作规 律数据, 并提供给该终端系统自动模拟用户操作执行, 最终达到简化和体现用 户意图操作的目的。 当系统状态跟可自动执行流程的前提条件匹配后, 可以产 生模拟用户输入操作, 实现指示流程的自动运行。 本专利不增加硬件成本, 可 根据用户习惯减少用户操作次数, 进而提高了用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多 个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码 来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并且在某些 情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者将它们分别 制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电 路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之 内。 As shown in FIG. 1, the following steps are included: Step S101: Match the current focus state of the terminal with the pre-existing automatic execution condition of the operation flow corresponding to the focus state. Step S102, if it matches, the terminal automatically performs the operation flow by simulating the user input. In the first embodiment, after the terminal focus state is matched with the condition that can automatically execute the process, the simulated user input operation is generated according to the user's habit, and the automatic operation of the instruction process is realized, thereby reducing the number of user operations, thereby improving the user experience. The step S101 further includes: acquiring a current focus state of the terminal. The step S102 includes: if it matches, further determining whether the automatic input data exists; if yes, the terminal simulates the user input according to the automatic input data to automatically execute the operation flow. The automatic input data includes a sequence of input operations performed by the user for the focus state and a time interval between each input operation. If the automatic input data does not exist, the terminal generates automatic input data according to the input made by the user for the focus state. The terminal may also update the automatic input data according to the input made by the user for the focus state for a thousand times. Wherein, in the process that the terminal automatically executes the operation flow by simulating the user input, if there is a user input or the focus state changes, the operation flow is exited. Embodiment 2 FIG. 2 is a flowchart of an automatic execution method of a terminal operation flow according to Embodiment 2 of the present invention. As shown in FIG. 2, the following steps are included: Step S201: An automatic input matching pattern database is established in advance, wherein each record is Indicates what kind of event can trigger the automatic input process when the system is in a certain state, that is, the record includes the following fields: [1, execute system status condition, 2. execute trigger condition, 3. execute flow, 4. self-learning History, 5, execution flow calculation, 6, execution termination conditions, 7, execution of interrupt conditions]. The meanings of the fields in the record are as follows: Execution system status condition: Indicates the requirement that the initial system state of the self-learning or execution automatic input process must be met. Execution trigger condition: If the execution trigger condition occurs under the condition that the execution system status condition is satisfied, the self-learning or the automatic input flow is started. If this condition is empty, then as long as the system state transitions to the execution system state condition, the self-learning or automatic input process can be started; that is, when it is empty, the item always matches successfully. Execution process: Self-learning or an existing execution auto-input process has been completed. Before self-learning, this item can be empty, indicating that the process needs to be calculated through self-learning. Self-learning history: Record self-learning data for performing process calculations. Execution process calculation: The calculation and judgment logic of the self-learning history is used to update the execution flow. Execution termination condition: The self-learning end event is also the execution process termination event. Execution Interrupt Condition: A UI input event that causes an exception to exit during the automatic input process execution. In step S202, an automatic input capture monitoring point is set, and in the automatic input matching mode database, the first two items can be matched at the same time, and the start time of the successful matching is recorded. Step S203, determining whether to execute the automatic input process according to whether automatic execution execution flow data is present, if yes, proceeding to step 205; if not, executing step S204 to execute the self-learning process. Step S204, cyclically monitoring the possible i-th user input event, and recording the event Ti and the offset Ti from the relative start time to the learning record data: (Ti, the user input event i), until the self-learn termination is judged Valid, or the abnormal exit judgment is valid, and the two determine the validity and invalidity of the record set flag respectively. The following N indicates the number of user input operations that have been stored when the self-learning termination judgment is valid. Step S205: Start the timer T=Ti in the automatic input process from 0..N-1, and simulate sending the user input event i when the timer expires. In the meantime, an abnormal exit logical judgment is performed on all UI events, and there is a possibility that an automatic input interrupt occurs. Step S206, clearing the automatic input timer T. If the self-learning record in the current database record has a valid new item, executing the automatic input execution flow calculation logic, and updating the "automatic input" column data i=0..N: (Delay Ti, user input event i). This embodiment provides a method for universal automatic input, self-learning and automatic execution of a terminal, and defines an automatic input database matching record format. The implementation can start from an automatic input execution mode, and gradually expand and facilitate implementation. Embodiment 3 FIG. 3 is a flowchart of an automatic execution method of a terminal operation flow according to Embodiment 3 of the present invention. As shown in FIG. 3, the following steps are included: Step S301: Initialize adding a record in an automatic input matching mode database. Each record includes the following fields: [match status, match event, automatic input execution flow data, self-learning record data, automatic input execution flow calculation logic, self-learn termination judgment logic, automatic input interrupt or abnormal exit judgment logic]. Each of the fields corresponds to each field in the second embodiment, but the field names are different. Step S302, setting an automatic input capture monitoring point, in the automatic input matching mode database, the two items can be matched at the same time, and the start time of the successful matching is recorded. Step S303, determining whether to execute the automatic input process according to whether automatic execution execution flow data is present, and if yes, proceeding to step S305; if not, executing step S304 to execute the self-learning process. Step S304, cyclically monitoring the possible i-th user input event, and recording the event Ti and the offset Ti from the relative start time to the learning record data: (Ti, the user input event i), until the self-learn termination is judged Valid, or the abnormal exit judgment is valid, and the two determine the most recent mark of the record. Valid and invalid. The following N indicates the number of user input operations that have been stored when the self-learning termination judgment is valid. Step S305, starting from 0..N-1, the timer T=Ti is automatically started in the automatic input process, and the user input event i is simulated after the timer expires. In the meantime, an abnormal exit logical judgment is performed on all UI events, and there is a possibility that an automatic input interrupt occurs. Step S306, the automatic input timer T is cleared. If the self-learning record in the current database record has a valid new item, the automatic input execution flow calculation logic is executed, and the "automatic input" column data i=0..N: (Delay Ti, user input event i). Embodiment 4 FIG. 4 is a flowchart of an automatic stop of an alarm clock according to Embodiment 4 of the present invention. As shown in FIG. 4, the method includes the following steps: Step S401: Initializing a record in the automatic input matching mode database: [Alarm module ringing And in the focus state, trigger event: None, Auto Input: Empty, Learning Record: Empty, Bell Auto Input Judgment Logic: Take the last three sample average values to write "Automatic input, column, self-learning termination condition: Bell termination , automatic input interrupt condition: there is user input or focus change.] Step S402, set the system to automatically input the capture monitoring point, which can be implemented in the alarm module. When the "alarm module is ringing and in focus" is captured, it is automatically In the input matching mode database, the first two entries can be matched at the same time, and the matching time is successfully matched. Step S403, the third item "automatic input" is displayed, if the automatic input execution process is not If yes, go to step S405 and execute the automatic input process. Step S404, start monitoring the stop ringing of possible user input. And record the time offset of the event from the initial ringing to the learning record in the database, and mark the new record as valid: ( Τ, the user stops the ringing input event, valid), go to S408. 4 gather S405, automatically input content, start timer T. Step S406, UI input event judgment: If the above-mentioned timer expires, then go to S407; if the automatic input interrupt condition is satisfied: there is user input or focus change, then Go to S408, otherwise continue this step 4 judgment processing. In step S407, the corresponding user input event is sent by analog. This embodiment includes only one automatic input event, that is, the self-learning termination condition is automatically satisfied subsequently: the ringing is terminated. Step S408, clearing the automatic input timer T. If the self-learning record in the database record has a valid new item, the ringing automatic input judgment logic is executed, and if there are three valid records, the delay offset data is averaged. The corresponding possible multiple users stop the ringing input event and select the most recent one, and update the current "automatic input," the column is: (automatic ringing delay T, last time ringing user input event). 5 is a flow chart for automatically viewing a new short message in the fifth embodiment of the present invention. As shown in FIG. 5, the following steps are included: Step S501: Initializing a record in the automatic input matching mode database: [New short message prompt status under IDLE Trigger event: LCD open display, automatic input i=0..N: empty (delay Ti, user input event i), learning record: empty (the last three automatic input records and whether it is valid;), new SMS automatically View judgment logic: Take the sample average of the last three operands and write it after the "automatic input," column, self-learning termination condition: the first new message is opened, since Input interrupt condition: users enter or focus changes]. N indicates the maximum number of automatic input events to be monitored. In this example, setting N is large enough. The following is to save the limitation of the number of user input events. Step S502, setting the system to automatically input the capture matching monitoring point, which can be implemented in the short message application module. When the current IDID status is captured and there is a new SMS message prompt, and the LCD is detected to be turned on, or subsequently received an LCD open message, then both cases have an automatic input matching mode database found in the first two records as above. At the same time, the matching is successful, and the start time of the matching success is recorded. In step S 503, the third item "automatic input" is viewed. If the automatic input execution flow is not empty, then step S506 is performed to execute the automatic input process, otherwise the self-learning user input event number i=0 is initialized. Step S504, cyclically monitoring the possible i-th user input to view the new short message event, and recording the event and its occurrence relative to the previous reference time offset Ti to the learning record in the database: (Ti, user input event i, effective). The previous reference time is the last recorded user input event time, and the first use start time is used as the reference time. Step S505, performing self-learn termination condition determination, if terminated, setting a learning record valid flag, and then transferring to S510; otherwise, performing an automatic input interrupt condition judgment, if interrupted, setting a learning record invalid flag, and then changing to S510; otherwise, i is incremented, and then transferred S504. Step S506, according to the automatic input content, start the timer T of the next user input i to be executed. Step S507, determining whether the upper timer expires the event, if yes, go to S508; otherwise, judge whether to turn 510 according to the automatic input interrupt condition; otherwise, continue the determination in this step. Step S508, the analog user input event i is sent. In step S509, it is determined whether the user input event has been executed, and if not, then the process proceeds to S506 to continue to the next automatic input process. Step S510, clearing the automatic input timer T; if the learning record mark is valid, updating the self-learning record in the database, and executing the new short message automatic viewing and judging logic, if the latest three records are consistent, then each delay time is biased After moving the Ti average calculation, update to the current "Auto Input" execution bar. Embodiment 6 FIG. 6 is a schematic structural diagram of a terminal according to Embodiment 6 of the present invention. As shown in FIG. 6, the terminal includes: a matching module 10 and an execution module 20. The matching module 10 is connected to the execution module 20. The matching module 10 is configured to match the current focus state of the terminal with the pre-existing automatic execution condition of the operation flow corresponding to the focus state; and the execution module 20 is configured to: when the matching result of the matching module is matched, Automate the operational flow by simulating user input. In the sixth embodiment, after the terminal focus state is matched with the condition that can automatically execute the process, the simulated user input operation is generated according to the user's habit, and the automatic operation of the instruction process is realized, thereby reducing the number of user operations, thereby improving the user experience. Embodiment 7 FIG. 7 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention. As shown in FIG. 7, in addition to the functional modules including the implementation six, the seventh embodiment further includes an interrupt module 30, which is configured to change the user input or the focus state during the process of automatically performing the operation flow by the terminal through the simulated user input. In the case of the exit process. The execution module 20 includes: an execution sub-module 201, a determination sub-module 202, a record generation sub-module 203, and an update sub-module 204. The execution sub-module 201 is configured to simulate the user input to automatically execute the operation flow according to the pre-stored automatic input data if the matching result of the matching module 10 is matched; wherein the automatic input data includes the input performed by the user for the focus state The sequence of operations and the time interval between each input operation. The determining sub-module 202 is configured to further determine whether the automatic input data exists if the matching result of the matching module 10 is matched; if yes, the executing sub-module 201 simulates the user input according to the automatic input data to automatically execute the operation flow. The record generation sub-module 203 is arranged to generate automatic input data according to an input made by the user for the focus state in the case where the automatic input data does not exist. The update sub-module 204 is configured to update the automatic input data according to an input made by the user for a focus state for a few thousand times. The foregoing embodiments of the present invention provide a method and apparatus for automatically inputting self-learning based on a terminal, thereby helping the terminal system to identify information such as user usage habits, and then statistically calculating the operation law data, and providing the terminal system with automatic simulation. User operations are performed, ultimately achieving the goal of simplifying and embodying the user's intended actions. When the system status matches the preconditions that can be automatically executed, an analog user input operation can be generated to achieve automatic operation of the indication process. This patent does not increase the hardware cost, and can reduce the number of user operations according to user habits, thereby improving the user experience. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种终端操作流程的自动执行方法, 包括: 1. An automatic execution method of a terminal operation flow, comprising:
将终端当前的焦点状态与预存的与所述焦点状态相对应的操作流程 的自动执行条件进行匹配;  Matching the current focus state of the terminal with the pre-existing automatic execution condition of the operation flow corresponding to the focus state;
若匹配, 则所述终端通过模拟用户输入以自动执行所述操作流程。  If they match, the terminal automatically performs the operational flow by simulating user input.
2. 根据权利要求 1所述的方法, 其中, 将终端当前的焦点状态与预存的与 所述焦点状态相对应的操作流程的自动执行条件进行匹配之前,还包括: 获取所述终端当前的焦点状态。 The method according to claim 1, wherein, before the current focus state of the terminal is matched with the pre-existing automatic execution condition of the operation flow corresponding to the focus state, the method further includes: acquiring the current focus of the terminal status.
3. 根据权利要求 1所述的方法, 其中, 所述终端通过模拟用户输入以自动 执行所述操作流程, 包括: The method according to claim 1, wherein the terminal automatically performs the operation process by simulating user input, including:
所述终端根据预存的自动输入数据来模拟用户输入以自动执行所述 操作流程;  The terminal simulates user input according to pre-stored automatic input data to automatically execute the operation flow;
其中, 所述自动输入数据包括用户针对所述焦点状态所进行的输入 操作序列以及各输入操作之间的时间间隔。  The automatic input data includes a sequence of input operations performed by the user for the focus state and a time interval between the input operations.
4. 根据权利要求 3所述的方法, 其中, 所述终端根据预存的自动输入数据 来模拟用户输入以自动执行所述操作流程, 包括: The method according to claim 3, wherein the terminal simulates user input to automatically perform the operation process according to the pre-stored automatic input data, including:
判断所述自动输入数据是否存在;  Determining whether the automatic input data exists;
如果是, 则所述终端 居所述自动输入数据来模拟用户输入以自动 执行所述操作流程。  If so, the terminal resides in the automatic input data to simulate user input to automatically perform the operational flow.
5. 根据权利要求 4所述的方法, 其中, 如果所述自动输入数据不存在, 则 所述终端才艮据用户针对所述焦点状态所进行的输入生成所述自动输入数 据。 The method according to claim 4, wherein, if the automatic input data does not exist, the terminal generates the automatic input data according to an input made by the user for the focus state.
6. 根据权利要求 5所述的方法, 其特征在于, 根据用户最近若千次的针对 所述焦点状态所进行的输入对所述自动输入数据进行更新。 6. The method according to claim 5, wherein the automatic input data is updated according to an input made by the user for the focus state most recently.
7. 根据权利要求 1至 6任一项所述的方法, 其中, 在所述终端通过模拟用 户输入自动执行所述操作流程的过程中, 如果有用户输入或所述焦点状 态发生变化, 则退出所述操作流程。 The method according to any one of claims 1 to 6, wherein, in the process of automatically performing the operation flow by the terminal by simulating user input, if there is user input or the focus state changes, exiting The operational flow.
8. —种终端, 包括: 8. A terminal, including:
匹配模块, 设置为将终端当前的焦点状态与预存的与所述焦点状态 相对应的操作流程的自动执行条件进行匹配;  a matching module, configured to match a current focus state of the terminal with a pre-stored automatic execution condition of the operation flow corresponding to the focus state;
执行模块, 设置为在所述匹配模块的匹配结果为匹配的情况下, 通 过模拟用户输入以自动执行所述操作流程。  The execution module is configured to automatically perform the operation flow by simulating user input if the matching result of the matching module is a match.
9. 根据权利要求 8所述的终端, 其中, 所述执行模块包括: The terminal according to claim 8, wherein the execution module comprises:
执行子模块, 设置为在所述匹配模块的匹配结果为匹配的情况下, 根据预存的自动输入数据来模拟用户输入以自动执行所述操作流程; 其 中, 所述自动输入数据包括用户针对所述焦点状态所进行的输入操作序 列以及各输入操作之间的时间间隔。  Executing a sub-module, configured to automatically simulate the user input according to the pre-stored automatic input data to automatically perform the operation flow if the matching result of the matching module is matched; wherein the automatic input data includes the user The sequence of input operations performed by the focus state and the time interval between each input operation.
10. 根据权利要求 9所述的终端, 其中, 所述执行模块还包括: The terminal according to claim 9, wherein the execution module further comprises:
判断子模块, 设置为在所述匹配模块的匹配结果为匹配的情况下, 进一步判断所述自动输入数据是否存在; 如果是, 则所述执行子模块根 据所述自动输入数据来模拟用户输入以自动执行所述操作流程。  a judging sub-module, configured to further determine whether the automatic input data exists if the matching result of the matching module is a match; if yes, the execution sub-module simulates a user input according to the automatic input data The operation flow is automatically executed.
11. 根据权利要求 10所述的终端, 其中, 所述执行模块还包括: The terminal according to claim 10, wherein the execution module further comprises:
记录生成子模块, 设置为在所述自动输入数据不存在的情况下, 根 据用户针对所述焦点状态所进行的输入生成所述自动输入数据。  The record generation sub-module is arranged to generate the automatic input data based on an input made by the user for the focus state in the case where the automatic input data does not exist.
12. 根据权利要求 11所述的终端, 其中, 所述执行模块还包括: The terminal according to claim 11, wherein the execution module further comprises:
更新子模块, 设置为根据用户最近若千次的针对所述焦点状态所进 行的输入对所述自动输入数据进行更新。  The update sub-module is arranged to update the automatic input data based on input by the user for the most recent thousands of times for the focus state.
13. 根据权利要求 8至 12任一项所述的终端, 其中, 还包括: The terminal according to any one of claims 8 to 12, further comprising:
中断模块, 设置为在所述终端通过模拟用户输入自动执行所述操作 流程的过程中, 在有用户输入或所述焦点状态发生变化的情况下, 退出 所述操作流程。  The interrupt module is configured to exit the operational flow in the event that the user inputs or changes in the focus state during the terminal automatically performing the operational flow by simulating user input.
PCT/CN2011/075745 2011-04-18 2011-06-14 Method and terminal for automatically executing terminal operation flow WO2012142786A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100965218A CN102147729A (en) 2011-04-18 2011-04-18 Terminal and automatic execution method for terminal operation flow
CN201110096521.8 2011-04-18

Publications (1)

Publication Number Publication Date
WO2012142786A1 true WO2012142786A1 (en) 2012-10-26

Family

ID=44422006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075745 WO2012142786A1 (en) 2011-04-18 2011-06-14 Method and terminal for automatically executing terminal operation flow

Country Status (2)

Country Link
CN (1) CN102147729A (en)
WO (1) WO2012142786A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455338A (en) * 2013-09-22 2013-12-18 广州中国科学院软件应用技术研究所 Method and device for acquiring data

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572661B (en) * 2013-10-14 2019-01-15 联想(北京)有限公司 terminal device and information processing method
CN105893024A (en) * 2016-01-15 2016-08-24 广东欧珀移动通信有限公司 Intelligent interaction method and device of mobile terminal, and mobile terminal
CN112819429B (en) * 2021-01-29 2024-06-07 贵州惠智电子技术有限责任公司 Flow management system and method based on big data autonomous learning function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1806465A (en) * 2004-01-26 2006-07-19 松下电器产业株式会社 Terminal device, method, and system capable of automatic execution of process in accordance with event
CN1949144A (en) * 2005-10-11 2007-04-18 乐金电子(昆山)电脑有限公司 Automatic function executive method in mobile communication terminal
CN101561745A (en) * 2009-05-18 2009-10-21 宇龙计算机通信科技(深圳)有限公司 Method for processing event and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1806465A (en) * 2004-01-26 2006-07-19 松下电器产业株式会社 Terminal device, method, and system capable of automatic execution of process in accordance with event
CN1949144A (en) * 2005-10-11 2007-04-18 乐金电子(昆山)电脑有限公司 Automatic function executive method in mobile communication terminal
CN101561745A (en) * 2009-05-18 2009-10-21 宇龙计算机通信科技(深圳)有限公司 Method for processing event and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455338A (en) * 2013-09-22 2013-12-18 广州中国科学院软件应用技术研究所 Method and device for acquiring data

Also Published As

Publication number Publication date
CN102147729A (en) 2011-08-10

Similar Documents

Publication Publication Date Title
US10440652B2 (en) Power management of a mobile communications device
WO2019237586A1 (en) Method and apparatus for managing scheduled tasks, computer device and storage medium
CN101707639B (en) Alarm clock setting method and device
US10587741B2 (en) Communication event processing method and apparatus
US11080347B2 (en) Method and apparatus for sending search request
CN106296135A (en) Event-prompting method, device and terminal
CN105978967B (en) The method and apparatus for controlling information push
CN109741740B (en) Voice interaction method and device based on external trigger
WO2012142786A1 (en) Method and terminal for automatically executing terminal operation flow
CN105335146B (en) The method and portable electronic device of management software data traffic
CN107302493B (en) Message processing method, message processing device and intelligent terminal
CN107066600A (en) Automatic method, system, mobile terminal and the readable storage medium storing program for executing for skipping advertising page
CN105162979B (en) A kind of incoming call mute control method and smartwatch
WO2022135295A1 (en) Sending method and apparatus, and electronic device
CN109658934B (en) Method and device for controlling multimedia app through voice
CN104346563A (en) Information processing method and electronic equipment
CN109034553A (en) Method for pushing, device and the computer readable storage medium of engineer's ranking
CN106686204B (en) Event-handling method and device
CN110362314A (en) Information processing method and device, computer-readable medium, electronic equipment
CN114337896B (en) Equipment state processing method and device, storage medium and electronic device
CN107643858A (en) A kind of information processing method, terminal and server
CN106033309A (en) A mobile terminal control method and device
CN109782925B (en) Processing method and device and electronic equipment
CN113965915A (en) Data processing method and electronic equipment
CN112948256A (en) Client program testing method and device, storage medium and electronic equipment

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

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

Country of ref document: EP

Kind code of ref document: A1