WO2013010477A1 - Method and device for text reminder - Google Patents

Method and device for text reminder Download PDF

Info

Publication number
WO2013010477A1
WO2013010477A1 PCT/CN2012/078764 CN2012078764W WO2013010477A1 WO 2013010477 A1 WO2013010477 A1 WO 2013010477A1 CN 2012078764 W CN2012078764 W CN 2012078764W WO 2013010477 A1 WO2013010477 A1 WO 2013010477A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
time
field
contact
reminder
Prior art date
Application number
PCT/CN2012/078764
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 WO2013010477A1 publication Critical patent/WO2013010477A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method and a device for text reminding. Background technique
  • the user can add a text reminder at a specific moment in the calendar.
  • the calendar application performs a text reminder or a ringing reminder, and the user performs subsequent operations according to the reminder.
  • the embodiment of the invention provides a method and a device for text reminding, and the user only needs to input the original text to make a reminder.
  • An embodiment of the present invention provides a device for text reminding, including:
  • a word breaker used to segment the original text input by the user, and obtain a time field and an event field
  • a time field analyzer configured to determine a reminder time according to the time field
  • An event field analyzer configured to determine an event of the reminder according to the event field
  • the event manager is configured to output a reminder window according to the event of the reminder when the reminding time is reached.
  • the embodiment of the invention provides a method for text reminding, which includes:
  • the embodiment of the invention has at least the following advantages:
  • the reminder time, the contact person, and the reminder event are determined according to the original text input by the user, and then, when the reminder time is reached, the reminder is set according to the event of the contact and the reminder, and the user is prevented from setting the reminder, and the operation tube is operated. single.
  • FIG. 1 is a schematic structural diagram of a device for text reminding according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a time field analyzer provided by an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a contact field analyzer provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an event field analyzer provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an event intelligent identifier provided by an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart diagram of a method for text reminding according to an embodiment of the present invention. detailed description
  • the first embodiment of the present invention provides a device for text reminding.
  • the device for text reminding can be integrated into a current mobile phone or a PC.
  • the actual application is not limited to this. All the users need to be reminded to perform the following text in combination with FIG.
  • the reminder device describes the embodiment of the present invention in detail.
  • the text reminder device includes a word breaker, a time field analyzer, a contact field analyzer, an event field analyzer, an execution time manager, and an execution event manager.
  • each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the foregoing manner.
  • a reminder when the user needs to add a reminder, it can be in a specified format (for example, time information, space, contact information, space, event) in a smart notepad (such as a notepad of a mobile phone or a notepad of a PC).
  • Information; or, time information, punctuation, contact information, punctuation, event information; or, time information, punctuation, event information; or, time information, spaces, event information, etc. input original text, based on the original text, Bay' J :
  • a word breaker used to perform word segmentation on the original text input by the user.
  • the original text may include time information and event information, and after the word segmentation process, the time field and the event field may be obtained; the original text may further include time information, contact information, and event information, and after the word segmentation process, the time field may be obtained. Contact field and event field.
  • the input is the original text
  • the output is the time field, the contact field, Event field; or, the output is a time field, an event field.
  • the time field will be output to the time field analyzer
  • the contact field will be output to the contact field analyzer
  • the event field will be output to the event field analyzer.
  • the original text input by the user is used as an identifier (not limited to punctuation or space) by using punctuation or space, etc., to distinguish time information, contact information, and event information in the original text, and
  • the contact information does not necessarily appear in the original text, so when the contact information is empty, two punctuation or spaces can be continuously input after the time information to indicate that there is no contact.
  • the original text is input according to a specified format, and the original text includes time information, contact information, and event information, and the specified format is to separate time information, contact information, and event information by using an identifier; a word breaker, Specifically, it is used to obtain a time field, an event field, and a contact field by using an identifier in the original text.
  • a time field analyzer that converts a time field to a time object of the specified format (that is, a reminder time).
  • the time object in the specified format is a time object recognizable by the system. For example, if the time field is 7:00 tomorrow, it can be converted into a system-recognizable time object: 201103191900.
  • the time field input as the word breaker output is output as a time object after analyzing the time field. Where the time object is output to the execution time manager.
  • a contact field parser that converts a contact field to a contact object of a specified format (that is, a specific contact).
  • the contact object in the specified format is a contact object that the system can recognize. For example, if the contact field is for your grandfather, it can be converted into a system-recognizable contact object: Grandpa.
  • the contact field outputted by the tokenizer is output as a contact object after analyzing the contact field. Where the contact object will be output Give the execution event manager.
  • An event field parser that converts an event field to an event object of the specified format (that is, an event that needs to be reminded).
  • the event object in the specified format is a system-recognizable event object. For example, if the event field is a call, it can be converted into a system-recognizable event object: tel.
  • the event field that is input as a tokenizer is output as an event object after analyzing the event field.
  • the event object is output to the execution event manager.
  • the execution time manager is configured to establish a reminder in the calendar application according to the time object, and when the reminder time arrives, remind the execution event manager to execute the instruction (ie, notify the execution event manager to remind the time to arrive). For example, at 201103191900, the execution of the event manager is prompted to execute the instruction.
  • the input is the time object output by the time field analyzer, and the output is a registration reminder.
  • the registration reminder will be output to the calendar. Specifically, after executing the time manager, enter the time object, register in the calendar application, and create a new reminder (such as reminder 1).
  • the input is also a reminder for the calendar output
  • the output is an execution instruction.
  • the execution instruction is output to the execution event manager. Specifically, when the reminder time arrives (ie, the reminder 1 arrives), the calendar application returns the reminder 1 to the execution time manager, and then executes the time manager to remind the execution event manager to execute the instruction.
  • the event manager is configured to output a reminder window according to the event object when the reminder time arrives.
  • the execution event manager when the original text contains contact information, the execution event manager outputs a reminder window according to the contact object and the event object; when the original text does not include the contact information, the execution event manager outputs the event object according to the event object.
  • Reminder window takes the contact information as an example for illustration. For example, at 201103191900, the output reminder window: Grandpa, tel; that is recommended to the user "Call the grandfather", if the user confirms, the execution event manager directly calls the grandfather according to the telephone information obtained by the contact field analyzer.
  • the execution instruction for entering the reminder time output by the execution time manager, the contact object output by the contact field analyzer, and the event object output by the event field analyzer are output as a reminder window.
  • the reminder window is displayed to the user, and after the user confirms, the reminder window is executed.
  • FIG. 2 it is a structural diagram of a time field analyzer including a time field parser, a time field mapping table, an adder, and a clock. It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the above manner. Based on the time field of the word breaker output, Bay' J:
  • the time field parser is configured to send the time field to the time field mapping table, and receive the standard format time t corresponding to the time field returned by the time field mapping table.
  • the time field input as the word breaker output is output as a time field, which is output to the time field mapping table; in addition, the input is also the standard format time outputted by the time field mapping table. , the output is the standard format time t.
  • a time field mapping table configured to receive a time field, convert the time field into a standard format time t recognized by the system through a mapping table, and send the standard format time t to the time field parser.
  • the input is the time field output by the time field parser
  • the output is the standard format time t, which is output to the time field parser.
  • time field parser for the standard format time t output by the time field parser, it is also required to perform The judgment of absolute time or relative time.
  • the standard format time t is an absolute time
  • the standard format time t is directly output to the execution time manager as a time object
  • the standard format time t is sent to the adder
  • the adder adds the current time to (the current time to is provided by the clock) to the standard format time t, and outputs tO+t as a time object to the execution time manager.
  • the time field analyzer first maps "three hours later” to the standard format time of 3 hours, which is the relative time; after that, the time field analyzer gets the current time as 2011. At 14:00 on March 19th, the Time Field Analyzer determines that the time object is 17:00 on March 19, 2011 (current time + 3 hours).
  • FIG. 3 it is a structural diagram of a contact field parser, which includes a contact field parser and an address book database. It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the foregoing manner.
  • Bay' J Based on the contact field of the tokenizer output, Bay' J:
  • the contact field parser is configured to send the contact field to the address book database, and receive the contact object corresponding to the contact field returned by the address book database.
  • the contact field output as the tokenizer is output as a contact field, and the contact field is output to the address book database; in addition, the contact object also outputted for the address book database is input.
  • the output is a contact object that is output to the execution event manager.
  • the address book database is configured to receive a contact field, convert the contact field into a system-recognized contact object, and send the contact object to the contact field parser.
  • the address book database enters the contact word output for the contact field parser
  • the segment, output as a contact object, is output to the contact field parser.
  • the address book database further needs to find the communication information corresponding to the contact field in the address book, and send the communication information to the contact field parser, and the contact field parser sends the communication information to the execution.
  • Event manager Thereafter, the execution event manager is further configured to communicate with the contact based on the communication information when receiving an instruction to communicate with the contact through the reminder window.
  • the contact is not in the contact list, the communication information corresponding to the contact field cannot be obtained, and the related information is displayed to the user in the form of text when the reminder is displayed.
  • the communication information can be Grandpa's mobile phone number (13800000000); for PCs, the communication information can be Grandpa's e-mail, MSN, etc., and will not be described in detail here.
  • FIG. 4 it is a structural diagram of an event field analyzer, which includes an event field parser and an event smart recognizer. It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the foregoing manner. Based on the event field output by the word breaker, Bay' J:
  • An event field parser is configured to send an event field to the event smart recognizer, and receive an event object corresponding to the event field returned by the event smart recognizer.
  • the input is the event field output by the tokenizer, and the output is the event field, and the event field is output to the event smart recognizer; in addition, the input event object that is also output by the event smart recognizer is output as The event object, the event object is output to the execution event manager.
  • the event intelligent identifier is configured to receive an event field, convert the event field into a system-recognized event object (ie, look up an event field corresponding event), and send the event object to the event field parser. Therefore, for the event smart recognizer, the input event field output by the event field parser is output as an event object, and the event object is output to the event field parser.
  • the event intelligent identifier includes an application category list, a specific event (function) stack list, and an event field output based on the event field parser, and a 'J:
  • the application category list receives the event field and queries the event field as a keyword in the respective application class, that is, the event field is used as a keyword to search for an event corresponding to the event field in the application category list.
  • the application category list notifies the corresponding specific event, and the specific event is returned as an event object to the event field parser; if the event field is The information is insufficient to query and specify a specific event in the application category list, and the application category list queries the specific event (function) stack corresponding to the application category to which the event field belongs, the specific event at the top of the stack, the stack The top specific event is the event that returns the most in the stack, after which the specific event at the top of the stack is returned as an event object to the event field parser.
  • the program of the event intelligent identifier needs to have an open interface to identify the newly added application. For example, when you need to add a CCB application, you can set the corresponding CCB credit card repayment in the specific event (function) stack list through an open interface.
  • the execution event manager can output a reminder window according to the contact determined by the contact field analyzer and the event field analyzer when the reminder time obtained by the time field analyzer is reached. . If an instruction to communicate with a contact is received through the reminder window (For example, when the reminder is to remind the user to communicate with a specific contact, the user clicks the trigger button to send an instruction to communicate with the contact), and the execution event manager communicates with the contact according to the contact communication information sent by the contact field analyzer ( Such as making a call to a contact).
  • the execution event manager when the call instruction corresponding to the reminded event is received through the reminder window, the execution event manager also invokes the corresponding application according to the call information output by the event field analyzer.
  • the original text input by the user is credit card repayment
  • the reminder event obtained by the event field analyzer is to repay the credit card to the China Merchants Bank
  • the application software performs subsequent operations.
  • the user when the user needs to add a reminder, the user only needs to input a sentence in the specified format in the smart notepad, and the reminder is automatically added; when the reminder time arrives, the user may be predicted to perform the next operation. And directly call the object and method of the relevant application to obtain a UI (User Interface), recommended to the user.
  • UI User Interface
  • the embodiment of the present invention further provides a method corresponding to the device for text reminding. As shown in FIG. 6, the method includes:
  • Step 601 Perform word segmentation on the original text input by the user, and obtain a time field and an event field.
  • Step 602 Determine a reminder time according to the time field, and determine an event to be reminded according to the event field.
  • Step 603 When the reminding time is reached, the reminding window is output according to the event of the reminding.
  • the reminding window is output according to the event of the reminding, which specifically includes: Reminding time, according to the event of the reminder, and the contact output Wake up the window.
  • determining the reminding time according to the time field including: converting the time field to a standard format time t; if the time t is an absolute time, determining that the reminding time is the time t; The time t is a relative time, and the reminding time is determined as the sum of the time t and the current time to.
  • determining the event of the reminder according to the event field including: querying the application category list according to the event field; if the information represented by the event field is capable of querying a specific event, determining that the event of the reminder is a specific event; if the information represented by the event field is unable to query a specific event, determining that the event of the reminder is a specific event at the top of the stack in the specific event stack, and the specific event at the top of the stack is the most returned in the stack. event.
  • the original text is input according to a specified format; the original text includes time information, contact information, and event information, and the specified format is: time information, contact information, and event by identifier
  • the information is separated; when the original text input by the user is segmented, the time field, the event field, and the contact field are obtained by using the identifier in the original text.
  • the word breaker is based on the space word segmentation, output: time field “7 o'clock tomorrow", contact field “to grandfather”, event field “call”. 3.
  • the Time Field Analyzer enters "Tomorrow's 7:00” into the time field mapping table, converts it to the standard format time recognized by the system, such as "201103191900”, and outputs it to the execution time manager.
  • the contact field analyzer enters the "Grandpa" into the address book database for query, returns the contact object "Grandpa”, and outputs it to the execution event manager.
  • the Event Field Analyzer enters the "Call” into the Event Intelligence Recognizer for querying, translating into a system-identified event format, such as "tel”, and outputting it to the Execution Event Manager.
  • the execution time manager registers "201103191900" in the calendar application. When this time arrives, the calendar application reminds the execution time manager to execute the command.
  • the execution time manager passes the execution instruction to the execution event manager, and the execution event manager notifies the execution prompt interface to render a window according to the contact object "grandfather” and the event object "tel”, and recommends "call the grandfather” to the user. If the user confirms, the execution event manager directly calls the grandfather according to the telephone information obtained by the contact field analyzer.
  • the user enters "Friday night credit card repayment" in the notebook, and enters 2 spaces between the fields, indicating that the contact field is empty.
  • the Time Field Analyzer enters "Friday Night” into the time field mapping table and converts it to the standard format time recognized by the system.
  • the event field parser inputs "credit card repayment” into the event intelligent identifier for query, each application category receives the query instruction, and uses the vocabulary of the application category to retrieve the event field "credit card repayment”. 5.
  • the event intelligent recognizer determines that the event field "credit card repayment” matches the application category "Internet Banking” successfully, and does not match the specific events of "CMB Credit Card Repayment” and "ICBC Credit Card Repayment” to determine the specific event at the top of the stack. For the reminder of the event, return "Chongqing Credit Card Repayment".
  • an event of reminding time, a contact, and a reminder is determined according to the original text input by the user, and then, when the reminding time is reached, the reminder is performed according to the event of the contact and the reminder, and the user is prevented from Set, operate the single.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
  • modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment.
  • the modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
  • the present invention is not limited thereto, and any changes that can be considered by those skilled in the art should fall within the protection scope of the present invention.

Abstract

A method and device for a text reminder. The device includes: a tokenizer, used for tokenizing the original text inputted by a user, and obtaining a time field and an event field; a time field analyzer, used for determining a reminder time according to the time field; an event field analyzer, used for determining an event to be reminded of according to the event field; and an event execution manager, used for outputting a reminder window according to the event to be reminded of when it is the reminder time. Applying the present solution, the user need only input the original text to initialize a reminder.

Description

一种文字提醒的方法及设备 本申请要求于 201 1年 7月 18 日提交中国专利局、 申请号为  Method and device for text reminding The application is submitted to the Chinese Patent Office on July 18, 201, the application number is
20111 020091 0. 0、 发明名称为 "一种文字提醒的方法及设备" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域 20111 020091 0. 0. The priority of the invention is the priority of the Chinese Patent Application, which is incorporated herein by reference. Technical field
本发明实施例涉及通信领域, 尤其涉及一种文字提醒的方法及设备。 背景技术  The embodiments of the present invention relate to the field of communications, and in particular, to a method and a device for text reminding. Background technique
现有的终端设备中, 用户可以在日历中的某个具体时刻添加文字提醒, 当 文字提醒的时间到达时, 日历应用会执行文字提醒或振铃提醒, 由用户根据提 醒执行后续操作。  In the existing terminal device, the user can add a text reminder at a specific moment in the calendar. When the time of the text reminder arrives, the calendar application performs a text reminder or a ringing reminder, and the user performs subsequent operations according to the reminder.
但是, 这种提醒方式, 在用户需要添加提醒时, 需要用户手动选择日期、 具体的时间点等, 操作较繁瑣。 而且当文字提醒的时间到达时, 日历应用只会 执行文字提醒或振铃提醒, 不具备智能性。 发明内容  However, this kind of reminding method requires the user to manually select a date, a specific time point, etc. when the user needs to add a reminder, and the operation is cumbersome. And when the text reminder arrives, the calendar app will only perform text reminders or ringing reminders, not intelligent. Summary of the invention
本发明实施例提供了一种文字提醒的方法及设备,用户只需要输入原始文 本, 就可以进行提醒。  The embodiment of the invention provides a method and a device for text reminding, and the user only needs to input the original text to make a reminder.
本发明实施例提供一种文字提醒的设备, 包括:  An embodiment of the present invention provides a device for text reminding, including:
分词器, 用于对用户输入的原始文本进行分词, 并得到时间字段和事件字 段; 时间字段分析器, 用于根据所述时间字段确定提醒时间; a word breaker, used to segment the original text input by the user, and obtain a time field and an event field; a time field analyzer, configured to determine a reminder time according to the time field;
事件字段分析器, 用于根据所述事件字段确定提醒的事件;  An event field analyzer, configured to determine an event of the reminder according to the event field;
执行事件管理器, 用于在到达所述提醒时间时,根据所述提醒的事件输出 提醒窗口。  The event manager is configured to output a reminder window according to the event of the reminder when the reminding time is reached.
本发明实施例提供一种文字提醒的方法, 包括:  The embodiment of the invention provides a method for text reminding, which includes:
对用户输入的原始文本进行分词, 并得到时间字段和事件字段; 根据所述时间字段确定提醒时间, 并根据所述事件字段确定提醒的事件; 在到达所述提醒时间时, 根据所述提醒的事件输出提醒窗口。 与现有技术相比, 本发明实施例至少具有以下优点:  Demarcating the original text input by the user, and obtaining a time field and an event field; determining a reminding time according to the time field, and determining an event of the reminding according to the event field; when the reminding time is reached, according to the reminding Event output reminder window. Compared with the prior art, the embodiment of the invention has at least the following advantages:
本发明实施例中, 根据用户输入的原始文本确定提醒时间、 联系人、 和提 醒的事件, 进而在到达提醒时间时, 根据联系人和提醒的事件进行提醒, 避免 用户对提醒的设置, 操作筒单。 附图说明  In the embodiment of the present invention, the reminder time, the contact person, and the reminder event are determined according to the original text input by the user, and then, when the reminder time is reached, the reminder is set according to the event of the contact and the reminder, and the user is prevented from setting the reminder, and the operation tube is operated. single. DRAWINGS
图 1是本发明实施例一提供的文字提醒的设备的结构示意图;  1 is a schematic structural diagram of a device for text reminding according to Embodiment 1 of the present invention;
图 2是本发明实施例提供的时间字段分析器的结构示意图;  2 is a schematic structural diagram of a time field analyzer provided by an embodiment of the present invention;
图 3是本发明实施例提供的联系人字段分析器的结构示意图;  3 is a schematic structural diagram of a contact field analyzer provided by an embodiment of the present invention;
图 4是本发明实施例提供的事件字段分析器的结构示意图;  4 is a schematic structural diagram of an event field analyzer provided by an embodiment of the present invention;
图 5是本发明实施例提供的事件智能识别器的结构示意图;  FIG. 5 is a schematic structural diagram of an event intelligent identifier provided by an embodiment of the present invention; FIG.
图 6是本发明实施例提供的文字提醒的方法的流程示意图。 具体实施方式 FIG. 6 is a schematic flowchart diagram of a method for text reminding according to an embodiment of the present invention. detailed description
实施例一  Embodiment 1
本发明实施例一提供一种文字提醒的设备,该文字提醒的设备可以集成在 当前的手机或 PC机上, 当然实际应用中并不仅限于此, 所有需要提醒用户执 下面结合图 1所示的文字提醒的设备对本发明实施例进行详细说明。如图 1所示,该文字提醒的设备包括分词器、 时间字段分析器、联系人字段分析器、 事件字段分析器、 执行时间管理器、 执行事件管理器。  The first embodiment of the present invention provides a device for text reminding. The device for text reminding can be integrated into a current mobile phone or a PC. Of course, the actual application is not limited to this. All the users need to be reminded to perform the following text in combination with FIG. The reminder device describes the embodiment of the present invention in detail. As shown in FIG. 1, the text reminder device includes a word breaker, a time field analyzer, a contact field analyzer, an event field analyzer, an execution time manager, and an execution event manager.
需要注意的是,上述各功能模块只是本发明实施例提供的一种具体的实施 方式, 实际应用中并不局限于上述方式。 例如, 可以将执行时间管理器设置在 时间字段分析器上; 将时间字段分析器、 联系人字段分析器、 事件字段分析器 设置在一个功能模块上等。  It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the foregoing manner. For example, you can set the execution time manager on the time field analyzer; set the time field analyzer, contact field analyzer, event field analyzer on a function module, and so on.
基于上述各功能模块, 当用户需要添加提醒时, 可在智能记事本(如手机 的记事本或 PC机的记事本) 中按照指定格式(例如, 时间信息、 空格、 联系 人信息、 空格、 事件信息; 或, 时间信息、 标点、 联系人信息、 标点、 事件信 息; 或, 时间信息、 标点、 事件信息; 或, 时间信息、 空格、 事件信息等)输 入原始文本, 基于该原始文本, 贝' J :  Based on the above functional modules, when the user needs to add a reminder, it can be in a specified format (for example, time information, space, contact information, space, event) in a smart notepad (such as a notepad of a mobile phone or a notepad of a PC). Information; or, time information, punctuation, contact information, punctuation, event information; or, time information, punctuation, event information; or, time information, spaces, event information, etc.) input original text, based on the original text, Bay' J :
分词器, 用于对用户输入的原始文本进行分词处理。 其中, 原始文本可包 括时间信息和事件信息, 进行分词处理后, 可获得时间字段和事件字段; 原始 文本还可包括时间信息、联系人信息和事件信息, 进行分词处理后, 可获得时 间字段、 联系人字段和事件字段。  A word breaker, used to perform word segmentation on the original text input by the user. The original text may include time information and event information, and after the word segmentation process, the time field and the event field may be obtained; the original text may further include time information, contact information, and event information, and after the word segmentation process, the time field may be obtained. Contact field and event field.
因此,针对分词器来说,输入为原始文本,输出为时间字段、联系人字段、 事件字段; 或者, 输出为时间字段、 事件字段。 其中, 时间字段将输出给时间 字段分析器,联系人字段将输出给联系人字段分析器, 事件字段将输出给事件 字段分析器。 Therefore, for the tokenizer, the input is the original text, and the output is the time field, the contact field, Event field; or, the output is a time field, an event field. The time field will be output to the time field analyzer, the contact field will be output to the contact field analyzer, and the event field will be output to the event field analyzer.
需要说明的是,在实际应用中, 用户输入的原始文本以标点或空格等作为 标识符 (并不限于标点或空格), 用以区分原始文本中的时间信息、 联系人信 息和事件信息,且联系人信息在原始文本中并不一定出现, 因此当联系人信息 为空时, 可在时间信息后连续输入 2个标点或空格表示没有联系人。  It should be noted that, in practical applications, the original text input by the user is used as an identifier (not limited to punctuation or space) by using punctuation or space, etc., to distinguish time information, contact information, and event information in the original text, and The contact information does not necessarily appear in the original text, so when the contact information is empty, two punctuation or spaces can be continuously input after the time information to indicate that there is no contact.
综上所述, 原始文本为按照指定格式输入的, 且原始文本包括时间信息、 联系人信息和事件信息,指定格式为通过标识符将时间信息、联系人信息和事 件信息进行分隔; 分词器, 具体用于利用原始文本中的标识符得到时间字段、 事件字段和联系人字段。  In summary, the original text is input according to a specified format, and the original text includes time information, contact information, and event information, and the specified format is to separate time information, contact information, and event information by using an identifier; a word breaker, Specifically, it is used to obtain a time field, an event field, and a contact field by using an identifier in the original text.
时间字段分析器, 用于将时间字段转换为指定格式的时间对象(即提醒时 间)。 该指定格式的时间对象为系统可识别的时间对象, 例如, 时间字段为明 天晚上 7点, 则可以将其转换为系统可识别的时间对象: 201103191900。  A time field analyzer that converts a time field to a time object of the specified format (that is, a reminder time). The time object in the specified format is a time object recognizable by the system. For example, if the time field is 7:00 tomorrow, it can be converted into a system-recognizable time object: 201103191900.
因此, 针对时间字段分析器来说, 输入为分词器输出的时间字段, 经过对 时间字段进行分析后, 输出为时间对象。 其中, 该时间对象将输出给执行时间 管理器。  Therefore, for the time field analyzer, the time field input as the word breaker output is output as a time object after analyzing the time field. Where the time object is output to the execution time manager.
联系人字段分析器, 用于将联系人字段转换为指定格式的联系人对象(即 特定的联系人)。该指定格式的联系人对象为系统可识别的联系人对象, 例如, 联系人字段为给你爷爷, 则可以将其转换为系统可识别的联系人对象: 爷爷。  A contact field parser that converts a contact field to a contact object of a specified format (that is, a specific contact). The contact object in the specified format is a contact object that the system can recognize. For example, if the contact field is for your grandfather, it can be converted into a system-recognizable contact object: Grandpa.
因此, 针对联系人字段分析器来说, 输入为分词器输出的联系人字段, 经 过对联系人字段进行分析后, 输出为联系人对象。 其中, 该联系人对象将输出 给执行事件管理器。 Therefore, for the contact field analyzer, the contact field outputted by the tokenizer is output as a contact object after analyzing the contact field. Where the contact object will be output Give the execution event manager.
事件字段分析器, 用于将事件字段转换为指定格式的事件对象(即需要提 醒的事件)。 该指定格式的事件对象为系统可识别的事件对象, 例如, 事件字 段为打电话, 则可以将其转换为系统可识别的事件对象: tel。  An event field parser that converts an event field to an event object of the specified format (that is, an event that needs to be reminded). The event object in the specified format is a system-recognizable event object. For example, if the event field is a call, it can be converted into a system-recognizable event object: tel.
因此, 针对事件字段分析器来说, 输入为分词器输出的事件字段, 经过对 事件字段进行分析后, 输出为事件对象。 其中, 该事件对象将输出给执行事件 管理器。  Therefore, for the event field parser, the event field that is input as a tokenizer is output as an event object after analyzing the event field. The event object is output to the execution event manager.
执行时间管理器, 用于根据时间对象在日历应用中建立提醒, 并在提醒时 间到达时,提醒执行事件管理器执行指令(即通知执行事件管理器提醒时间到 达)。 例如, 在 201103191900时, 提醒执行事件管理器执行指令。  The execution time manager is configured to establish a reminder in the calendar application according to the time object, and when the reminder time arrives, remind the execution event manager to execute the instruction (ie, notify the execution event manager to remind the time to arrive). For example, at 201103191900, the execution of the event manager is prompted to execute the instruction.
因此,针对执行时间管理器来说,输入为时间字段分析器输出的时间对象, 输出为注册提醒。 其中, 该注册提醒将输出给日历。 具体的, 执行时间管理器 输入有时间对象后, 在日历应用中进行注册, 新建一个提醒(如提醒 1 )。  Therefore, for the execution time manager, the input is the time object output by the time field analyzer, and the output is a registration reminder. The registration reminder will be output to the calendar. Specifically, after executing the time manager, enter the time object, register in the calendar application, and create a new reminder (such as reminder 1).
此外, 针对执行时间管理器来说, 输入还为日历输出的提醒, 输出为执行 指令。 其中, 该执行指令将输出给执行事件管理器。 具体的, 当提醒时间到达 (即提醒 1到达)时, 日历应用会向执行时间管理器返回该提醒 1 , 之后, 执 行时间管理器提醒执行事件管理器执行指令。  In addition, for the execution time manager, the input is also a reminder for the calendar output, and the output is an execution instruction. The execution instruction is output to the execution event manager. Specifically, when the reminder time arrives (ie, the reminder 1 arrives), the calendar application returns the reminder 1 to the execution time manager, and then executes the time manager to remind the execution event manager to execute the instruction.
执行事件管理器, 用于在提醒时间到达时, 根据事件对象输出提醒窗口。 其中,在原始文本中包含有联系人信息时, 则执行事件管理器根据联系人对象 和事件对象输出提醒窗口; 在原始文本中没有包含有联系人信息时, 则执行事 件管理器根据事件对象输出提醒窗口;后续描述以包含有联系人信息为例进行 说明。 例如, 在 201103191900时, 输出提醒窗口: 爷爷、 tel; 即向用户推荐 "给爷爷打电话", 用户若确认, 则执行事件管理器根据联系人字段分析器得 到的电话信息直接呼叫爷爷。 The event manager is configured to output a reminder window according to the event object when the reminder time arrives. Wherein, when the original text contains contact information, the execution event manager outputs a reminder window according to the contact object and the event object; when the original text does not include the contact information, the execution event manager outputs the event object according to the event object. Reminder window; the following description takes the contact information as an example for illustration. For example, at 201103191900, the output reminder window: Grandpa, tel; that is recommended to the user "Call the grandfather", if the user confirms, the execution event manager directly calls the grandfather according to the telephone information obtained by the contact field analyzer.
因此,针对执行事件管理器来说,输入为执行时间管理器输出的提醒时间 到达的执行指令、联系人字段分析器输出的联系人对象、事件字段分析器输出 的事件对象, 输出为提醒窗口。 其中, 该提醒窗口用于显示给用户, 在用户确 认后, 执行提醒窗口。  Therefore, for the execution event manager, the execution instruction for entering the reminder time output by the execution time manager, the contact object output by the contact field analyzer, and the event object output by the event field analyzer are output as a reminder window. The reminder window is displayed to the user, and after the user confirms, the reminder window is executed.
为了更加清楚的阐述本发明实施例提供的技术方案,以下结合具体的应用 对上述各功能模块进行详细说明。  In order to clarify the technical solutions provided by the embodiments of the present invention, the above various functional modules are described in detail below in conjunction with specific applications.
如图 2所示, 为时间字段分析器的结构示意图, 该时间字段分析器包括时 间字段解析器、 时间字段映射表、 加法器和时钟。 需要注意的是, 上述各功能 模块只是本发明实施例提供的一种具体的实施方式,实际应用中并不局限于上 述方式。 基于分词器输出的时间字段, 贝' J :  As shown in FIG. 2, it is a structural diagram of a time field analyzer including a time field parser, a time field mapping table, an adder, and a clock. It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the above manner. Based on the time field of the word breaker output, Bay' J:
时间字段解析器, 用于将时间字段发送给时间字段映射表, 并接收时间字 段映射表返回的该时间字段对应的标准格式时间 t。  The time field parser is configured to send the time field to the time field mapping table, and receive the standard format time t corresponding to the time field returned by the time field mapping table.
因此, 针对时间字段解析器来说, 输入为分词器输出的时间字段, 输出为 时间字段, 该时间字段将输出给时间字段映射表; 此外, 输入还为时间字段映 射表输出的标准格式时间 t, 输出为标准格式时间 t。  Therefore, for the time field parser, the time field input as the word breaker output is output as a time field, which is output to the time field mapping table; in addition, the input is also the standard format time outputted by the time field mapping table. , the output is the standard format time t.
时间字段映射表, 用于接收时间字段,通过映射表将该时间字段转换为系 统识别的标准格式时间 t, 并将标准格式时间 t发送给时间字段解析器。  A time field mapping table, configured to receive a time field, convert the time field into a standard format time t recognized by the system through a mapping table, and send the standard format time t to the time field parser.
因此,针对时间字段映射表来说,输入为时间字段解析器输出的时间字段, 输出为标准格式时间 t, 该标准格式时间 t输出给时间字段解析器。  Therefore, for the time field mapping table, the input is the time field output by the time field parser, and the output is the standard format time t, which is output to the time field parser.
本发明实施例中, 针对时间字段解析器输出的标准格式时间 t, 还需要执 行绝对时间或相对时间的判断。 In the embodiment of the present invention, for the standard format time t output by the time field parser, it is also required to perform The judgment of absolute time or relative time.
具体的, 如果标准格式时间 t为绝对时间, 则直接将标准格式时间 t作为 时间对象输出给执行时间管理器; 如果标准格式时间 t为相对时间, 则将标准 格式时间 t发送给加法器,由加法器将当前时间 to(由时钟提供该当前时间 to ) 与标准格式时间 t相加, 并将 tO+t作为时间对象输出给执行时间管理器。  Specifically, if the standard format time t is an absolute time, the standard format time t is directly output to the execution time manager as a time object; if the standard format time t is a relative time, the standard format time t is sent to the adder, The adder adds the current time to (the current time to is provided by the clock) to the standard format time t, and outputs tO+t as a time object to the execution time manager.
例如, 当时间字段为 "三小时以后" 时, 则时间字段分析器首先将 "三小 时以后" 映射为标准格式时间 3小时, 该时间为相对时间; 之后, 时间字段分 析器获取当前时间为 2011年 3月 19日 14:00, 之后, 时间字段分析器确定时 间对象为 2011年 3月 19日 17:00 (当前时间 +3小时)。  For example, when the time field is "three hours later", the time field analyzer first maps "three hours later" to the standard format time of 3 hours, which is the relative time; after that, the time field analyzer gets the current time as 2011. At 14:00 on March 19th, the Time Field Analyzer determines that the time object is 17:00 on March 19, 2011 (current time + 3 hours).
如图 3所示, 为联系人字段分析器的结构示意图, 该联系人字段分析器包 括联系人字段解析器、 通讯录数据库。 需要注意的是, 上述各功能模块只是本 发明实施例提供的一种具体的实施方式, 实际应用中并不局限于上述方式。基 于分词器输出的联系人字段, 贝' J :  As shown in FIG. 3, it is a structural diagram of a contact field parser, which includes a contact field parser and an address book database. It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the foregoing manner. Based on the contact field of the tokenizer output, Bay' J:
联系人字段解析器, 用于将联系人字段发送给通讯录数据库, 并接收通讯 录数据库返回的该联系人字段对应的联系人对象。  The contact field parser is configured to send the contact field to the address book database, and receive the contact object corresponding to the contact field returned by the address book database.
因此, 针对联系人字段解析器来说, 输入为分词器输出的联系人字段, 输 出为联系人字段, 该联系人字段输出给通讯录数据库; 此外, 输入还为通讯录 数据库输出的联系人对象,输出为联系人对象, 该联系人对象输出给执行事件 管理器。  Therefore, for the contact field parser, the contact field output as the tokenizer is output as a contact field, and the contact field is output to the address book database; in addition, the contact object also outputted for the address book database is input. The output is a contact object that is output to the execution event manager.
通讯录数据库, 用于接收联系人字段, 将该联系人字段转换为系统识别的 联系人对象, 并将联系人对象发送给联系人字段解析器。  The address book database is configured to receive a contact field, convert the contact field into a system-recognized contact object, and send the contact object to the contact field parser.
因此,针对通讯录数据库来说,输入为联系人字段解析器输出的联系人字 段, 输出为联系人对象, 该联系人对象输出给联系人字段解析器。 本发明实施例中,通讯录数据库还需要在通讯录中查找与联系人字段对应 的通信信息, 并将通信信息发送给联系人字段解析器, 由联系人字段解析器将 该通信信息发送给执行事件管理器。之后,执行事件管理器还用于当通过提醒 窗口接收到与联系人通信的指令时, 根据通信信息与联系人进行通信。 Therefore, for the address book database, enter the contact word output for the contact field parser The segment, output as a contact object, is output to the contact field parser. In the embodiment of the present invention, the address book database further needs to find the communication information corresponding to the contact field in the address book, and send the communication information to the contact field parser, and the contact field parser sends the communication information to the execution. Event manager. Thereafter, the execution event manager is further configured to communicate with the contact based on the communication information when receiving an instruction to communicate with the contact through the reminder window.
在实际应用上,如果联系人不在联系人名单中, 即无法获得联系人字段对 应的通信信息时, 则在提醒时会以文本的形式给用户展示相关信息。  In practical applications, if the contact is not in the contact list, the communication information corresponding to the contact field cannot be obtained, and the related information is displayed to the user in the form of text when the reminder is displayed.
例如, 在将联系人对象(爷爷)输出给执行事件管理器的基础上, 还需要 将联系人对象的通信信息输出给执行事件管理器。如针对手机, 该通信信息可 以为爷爷的手机号( 13800000000 ); 如针对 PC机, 该通信信息可以为爷爷的 电子邮箱、 MSN等, 在此不再详加赘述。  For example, on the basis of outputting the contact object (grandfather) to the execution event manager, it is also necessary to output the communication information of the contact object to the execution event manager. For mobile phones, the communication information can be Grandpa's mobile phone number (13800000000); for PCs, the communication information can be Grandpa's e-mail, MSN, etc., and will not be described in detail here.
如图 4所示, 为事件字段分析器的结构示意图, 该事件字段分析器包括事 件字段解析器、 事件智能识别器。 需要注意的是, 上述各功能模块只是本发明 实施例提供的一种具体的实施方式, 实际应用中并不局限于上述方式。基于分 词器输出的事件字段, 贝' J :  As shown in FIG. 4, it is a structural diagram of an event field analyzer, which includes an event field parser and an event smart recognizer. It should be noted that each of the foregoing functional modules is only a specific implementation manner provided by the embodiment of the present invention, and the actual application is not limited to the foregoing manner. Based on the event field output by the word breaker, Bay' J:
事件字段解析器, 用于将事件字段发送给事件智能识别器, 并接收事件智 能识别器返回的该事件字段对应的事件对象。  An event field parser is configured to send an event field to the event smart recognizer, and receive an event object corresponding to the event field returned by the event smart recognizer.
因此, 针对事件字段解析器来说, 输入为分词器输出的事件字段, 输出为 事件字段, 该事件字段输出给事件智能识别器; 此外, 输入还为事件智能识别 器输出的事件对象, 输出为事件对象, 事件对象输出给执行事件管理器。  Therefore, for the event field parser, the input is the event field output by the tokenizer, and the output is the event field, and the event field is output to the event smart recognizer; in addition, the input event object that is also output by the event smart recognizer is output as The event object, the event object is output to the execution event manager.
事件智能识别器, 用于接收事件字段, 将该事件字段转换为系统识别的事 件对象(即查找事件字段对应事件), 并将事件对象发送给事件字段解析器。 因此,针对事件智能识别器来说,输入为事件字段解析器输出的事件字段, 输出为事件对象, 该事件对象输出给事件字段解析器。 The event intelligent identifier is configured to receive an event field, convert the event field into a system-recognized event object (ie, look up an event field corresponding event), and send the event object to the event field parser. Therefore, for the event smart recognizer, the input event field output by the event field parser is output as an event object, and the event object is output to the event field parser.
进一步, 如图 5所示, 为事件智能识别器的结构示意图, 该事件智能识别 器包括应用类别列表、 具体事件(功能)堆栈列表; 基于事件字段解析器输出 的事件字段, 贝' J :  Further, as shown in FIG. 5, which is a schematic structural diagram of an event intelligent identifier, the event intelligent identifier includes an application category list, a specific event (function) stack list, and an event field output based on the event field parser, and a 'J:
应用类别列表接收事件字段,并在各自应用类中以事件字段为关键字进行 查询, 即以事件字段为关键字在应用类别列表中查找与事件字段对应的事件 The application category list receives the event field and queries the event field as a keyword in the respective application class, that is, the event field is used as a keyword to search for an event corresponding to the event field in the application category list.
(如通信类、 证券类、 网银类、 娱乐类等)。 (such as communications, securities, online banking, entertainment, etc.).
如果事件字段所表述的信息可以查询并指定该应用类别列表中的某项具 体事件, 则该应用类别列表通知相应的具体事件, 该具体事件作为事件对象返 回至事件字段解析器;如果事件字段所表述的信息不足以查询并指定该应用类 别列表中的某项具体事件,则该应用类别列表查询事件字段归属的应用类别所 对应的具体事件(功能)堆栈中, 栈顶的具体事件, 该栈顶的具体事件为堆栈 中返回次数最多的事件,之后该栈顶的具体事件作为事件对象返回至事件字段 解析器。  If the information represented by the event field can query and specify a specific event in the application category list, the application category list notifies the corresponding specific event, and the specific event is returned as an event object to the event field parser; if the event field is The information is insufficient to query and specify a specific event in the application category list, and the application category list queries the specific event (function) stack corresponding to the application category to which the event field belongs, the specific event at the top of the stack, the stack The top specific event is the event that returns the most in the stack, after which the specific event at the top of the stack is returned as an event object to the event field parser.
本发明实施例中, 为了维护上述应用类别列表以及具体事件(功能)堆栈 列表,事件智能识别器的程序需要有开放的接口,以便识别新添加的应用程序。 例如, 需要添加建行的应用程序时, 可通过开放的接口在具体事件(功能)堆 栈列表中设置对应的建行信用卡还款。  In the embodiment of the present invention, in order to maintain the above application category list and the specific event (function) stack list, the program of the event intelligent identifier needs to have an open interface to identify the newly added application. For example, when you need to add a CCB application, you can set the corresponding CCB credit card repayment in the specific event (function) stack list through an open interface.
综上所述,通过采用上述技术方案,执行事件管理器可在到达时间字段分 析器得到的提醒时间时,根据联系人字段分析器确定的联系人、及事件字段分 析器得到的事件输出提醒窗口。如果通过提醒窗口接收到与联系人通信的指令 (如当本次提醒为提醒用户与特定联系人通信,用户点击触发按钮发送与联系 人通信的指令 ), 执行事件管理器根据联系人字段分析器发送的联系人通信信 息与联系人进行通信(如向联系人发起呼叫)。 In summary, by adopting the above technical solution, the execution event manager can output a reminder window according to the contact determined by the contact field analyzer and the event field analyzer when the reminder time obtained by the time field analyzer is reached. . If an instruction to communicate with a contact is received through the reminder window (For example, when the reminder is to remind the user to communicate with a specific contact, the user clicks the trigger button to send an instruction to communicate with the contact), and the execution event manager communicates with the contact according to the contact communication information sent by the contact field analyzer ( Such as making a call to a contact).
此外, 当通过提醒窗口接收到与提醒的事件对应的调用指令时,执行事件 管理器还根据事件字段分析器输出的调用信息调用对应的应用。例如, 用户输 入的原始文本为信用卡还款,事件字段分析器分析后得到的提醒事件为向招行 信用卡还款, 执行事件管理器输出提醒窗口后, 接收到用户的触发, 调用招行 信用卡还款的应用软件执行后续操作。  In addition, when the call instruction corresponding to the reminded event is received through the reminder window, the execution event manager also invokes the corresponding application according to the call information output by the event field analyzer. For example, the original text input by the user is credit card repayment, and the reminder event obtained by the event field analyzer is to repay the credit card to the China Merchants Bank, and after executing the event manager outputting the reminder window, receiving the trigger of the user, calling the credit card repayment of the bank. The application software performs subsequent operations.
由此可见, 本发明实施例中, 当用户需要添加提醒时, 只需要在智能记事 本中按照指定格式输入一句话, 即可自动添加提醒; 当提醒时刻到达时, 可预 测用户的下一步操作, 并直接调用相关应用的对象及方法, 获得一个 UI ( User Interface, 用户界面), 推荐给用户。  Therefore, in the embodiment of the present invention, when the user needs to add a reminder, the user only needs to input a sentence in the specified format in the smart notepad, and the reminder is automatically added; when the reminder time arrives, the user may be predicted to perform the next operation. And directly call the object and method of the relevant application to obtain a UI (User Interface), recommended to the user.
实施例二  Embodiment 2
基于相同的技术构思,本发明实施例还提供一种与上述文字提醒的设备对 应的方法, 如图 6所示, 该方法包括:  Based on the same technical concept, the embodiment of the present invention further provides a method corresponding to the device for text reminding. As shown in FIG. 6, the method includes:
步骤 601 ,对用户输入的原始文本进行分词,并得到时间字段和事件字段。 步骤 602, 根据所述时间字段确定提醒时间, 并根据所述事件字段确定提 醒的事件。  Step 601: Perform word segmentation on the original text input by the user, and obtain a time field and an event field. Step 602: Determine a reminder time according to the time field, and determine an event to be reminded according to the event field.
步骤 603 , 在到达所述提醒时间时, 根据所述提醒的事件输出提醒窗口。 本发明实施例中,在对用户输入的原始文本进行分词时,得到联系人字段, 并根据所述联系人字段确定联系人; 根据所述提醒的事件输出提醒窗口, 具体 包括: 在到达所述提醒时间时, 根据所述提醒的事件、 以及所述联系人输出提 醒窗口。 Step 603: When the reminding time is reached, the reminding window is output according to the event of the reminding. In the embodiment of the present invention, when the original text input by the user is segmented, the contact field is obtained, and the contact is determined according to the contact field; and the reminding window is output according to the event of the reminding, which specifically includes: Reminding time, according to the event of the reminder, and the contact output Wake up the window.
本发明实施例中,还需要在通讯录中查找与所述联系人字段对应的通信信 息; 当通过所述提醒窗口接收到与所述联系人通信的指令时,根据所述通信信 息与所述联系人进行通信。  In the embodiment of the present invention, it is further required to search for communication information corresponding to the contact field in the address book; when receiving an instruction for communicating with the contact through the reminder window, according to the communication information and the Contacts communicate.
上述过程中, 根据所述时间字段确定提醒时间, 包括: 将所述时间字段转 换为标准格式的时间 t; 如果所述时间 t为绝对时间, 则确定所述提醒时间为 所述时间 t; 如果所述时间 t为相对时间, 则确定所述提醒时间为所述时间 t 与当前时间 to的和。  In the above process, determining the reminding time according to the time field, including: converting the time field to a standard format time t; if the time t is an absolute time, determining that the reminding time is the time t; The time t is a relative time, and the reminding time is determined as the sum of the time t and the current time to.
上述过程中, 根据所述事件字段确定提醒的事件, 包括: 根据所述事件字 段查询应用类别列表; 如果所述事件字段所表述的信息能够查询到具体事件, 则确定所述提醒的事件为该具体事件;如果所述事件字段所表述的信息不能够 查询到具体事件, 则确定所述提醒的事件为具体事件堆栈中栈顶的具体事件, 该栈顶的具体事件为堆栈中返回次数最多的事件。  In the above process, determining the event of the reminder according to the event field, including: querying the application category list according to the event field; if the information represented by the event field is capable of querying a specific event, determining that the event of the reminder is a specific event; if the information represented by the event field is unable to query a specific event, determining that the event of the reminder is a specific event at the top of the stack in the specific event stack, and the specific event at the top of the stack is the most returned in the stack. event.
本发明实施例中, 所述原始文本为按照指定格式输入的; 所述原始文本包 括时间信息、 联系人信息和事件信息, 所述指定格式为: 通过标识符将时间信 息、 联系人信息和事件信息进行分隔; 在对用户输入的原始文本进行分词时, 利用所述原始文本中的标识符得到时间字段、 事件字段和联系人字段。  In the embodiment of the present invention, the original text is input according to a specified format; the original text includes time information, contact information, and event information, and the specified format is: time information, contact information, and event by identifier The information is separated; when the original text input by the user is segmented, the time field, the event field, and the contact field are obtained by using the identifier in the original text.
下面举例说明本发明提供的技术方案。  The technical solutions provided by the present invention are exemplified below.
例 1  example 1
1. 用户在记事本中输入 "明天晚上 7点 给爷爷打电话"。  1. The user enters "calling grandpa at 7 o'clock tomorrow night" in the notebook.
2. 分词器根据空格分词, 输出: 时间字段 "明天晚上 7点", 联系人字段 "给爷爷", 事件字段 "打电话"。 3. 时间字段分析器将 "明天晚上 7点" 输入到时间字段映射表, 转换为 系统识别的标准格式时间, 如 "201103191900" , 并输出给执行时间管理器。 2. The word breaker is based on the space word segmentation, output: time field "7 o'clock tomorrow", contact field "to grandfather", event field "call". 3. The Time Field Analyzer enters "Tomorrow's 7:00" into the time field mapping table, converts it to the standard format time recognized by the system, such as "201103191900", and outputs it to the execution time manager.
4.联系人字段分析器将 "给爷爷" 输入到通讯录数据库进行查询, 返回 联系人对象 "爷爷", 并输出给执行事件管理器。  4. The contact field analyzer enters the "Grandpa" into the address book database for query, returns the contact object "Grandpa", and outputs it to the execution event manager.
5. 事件字段分析器将 "打电话" 输入到事件智能识别器进行查询, 转译 为系统识别的事件格式, 如 "tel" , 并输出给执行事件管理器。  5. The Event Field Analyzer enters the "Call" into the Event Intelligence Recognizer for querying, translating into a system-identified event format, such as "tel", and outputting it to the Execution Event Manager.
6.执行时间管理器将 "201103191900" 在日历应用中注册提醒, 当这一 时刻到达时, 日历应用提醒执行时间管理器执行指令。  6. The execution time manager registers "201103191900" in the calendar application. When this time arrives, the calendar application reminds the execution time manager to execute the command.
7.执行时间管理器向执行事件管理器传递执行指令, 执行事件管理器根 据联系人对象 "爷爷" 及事件对象 "tel" , 通知执行提示接口渲染一个窗口, 向用户推荐 "给爷爷打电话", 用户若确认, 执行事件管理器根据联系人字段 分析器得到的电话信息直接呼叫爷爷。  7. The execution time manager passes the execution instruction to the execution event manager, and the execution event manager notifies the execution prompt interface to render a window according to the contact object "grandfather" and the event object "tel", and recommends "call the grandfather" to the user. If the user confirms, the execution event manager directly calls the grandfather according to the telephone information obtained by the contact field analyzer.
例 2  Example 2
1.用户在记事本中输入 "周五晚上 信用卡还款", 字段间输入 2个空格, 则表示联系人字段为空。  1. The user enters "Friday night credit card repayment" in the notebook, and enters 2 spaces between the fields, indicating that the contact field is empty.
2.分词器输出时间字段 "周五晚上", 联系人字段 "null" , 事件字段 "信 用卡还款"。  2. The word breaker output time field "Friday night", contact field "null", event field "credit card repayment".
3.时间字段分析器将 "周五晚上"输入到时间字段映射表, 转换为系统识 别的标准格式时间。  3. The Time Field Analyzer enters "Friday Night" into the time field mapping table and converts it to the standard format time recognized by the system.
4.事件字段解析器将 "信用卡还款"输入到事件智能识别器进行查询, 各 应用类别接收查询指令, 利用该应用类别的词库对事件字段 "信用卡还款"进 行检索。 5. 事件智能识别器判定事件字段 "信用卡还款" 与应用类别 "网银" 匹 配成功,且与 "招行信用卡还款"、 "工行信用卡还款"这些具体事件都不匹配, 确定栈顶具体事件为提醒的事件, 即返回 "招行信用卡还款"。 4. The event field parser inputs "credit card repayment" into the event intelligent identifier for query, each application category receives the query instruction, and uses the vocabulary of the application category to retrieve the event field "credit card repayment". 5. The event intelligent recognizer determines that the event field "credit card repayment" matches the application category "Internet Banking" successfully, and does not match the specific events of "CMB Credit Card Repayment" and "ICBC Credit Card Repayment" to determine the specific event at the top of the stack. For the reminder of the event, return "Chongqing Credit Card Repayment".
6. 到达提醒时间时, 执行事件管理器提醒 "招行信用卡还款", 如果接收 到用户的确认,执行事件管理器可以进一步根据事件字段分析器获得的招行信 用卡还款应用软件的调用信息, 调用招行信用卡还款应用软件。  6. When the reminder time is reached, execute the event manager to remind "CMB credit card repayment". If the user's confirmation is received, the execution event manager can further call according to the call information of the China Merchants Bank credit card repayment application obtained by the event field analyzer. China Merchants Bank credit card repayment application software.
综上所述, 本发明实施例中, 根据用户输入的原始文本确定提醒时间、 联 系人和提醒的事件, 进而在到达提醒时间时,根据联系人和提醒的事件进行提 醒, 避免用户对提醒的设置, 操作筒单。  In summary, in the embodiment of the present invention, an event of reminding time, a contact, and a reminder is determined according to the original text input by the user, and then, when the reminding time is reached, the reminder is performed according to the event of the contact and the reminder, and the user is prevented from Set, operate the single.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件,但很 多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上 或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备 (可 以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方 法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
本领域技术人员可以理解附图只是一个具体实施例的示意图, 附图中 的模块或流程并不一定是实施本发明所必须的。  A person skilled in the art can understand that the drawings are only a schematic diagram of a specific embodiment, and the modules or processes in the drawings are not necessarily required to implement the invention.
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描 述进行分布于实施例的装置中, 也可以进行相应变化位于不同于本实施例 的一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进 一步拆分成多个子模块。 , 但是, 本发明并非局限于 此, 任何本领域的技术人员能思之的变化都应落入本发明的保护范围 Those skilled in the art can understand that the modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules. However, the present invention is not limited thereto, and any changes that can be considered by those skilled in the art should fall within the protection scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种文字提醒的设备, 其特征在于, 包括:  1. A device for text reminding, characterized in that:
分词器, 用于对用户输入的原始文本进行分词, 并得到时间字段和事件字 段;  a word breaker, used to segment the original text input by the user, and obtain a time field and an event field;
时间字段分析器, 用于根据所述时间字段确定提醒时间;  a time field analyzer, configured to determine a reminder time according to the time field;
事件字段分析器, 用于根据所述事件字段确定提醒的事件;  An event field analyzer, configured to determine an event of the reminder according to the event field;
执行事件管理器, 用于在到达所述提醒时间时,根据所述提醒的事件输出 提醒窗口。  The event manager is configured to output a reminder window according to the event of the reminder when the reminding time is reached.
2、 如权利要求 1所述的设备, 其特征在于, 还包括: 联系人字段分析器; 所述分词器, 还用于对用户输入的原始文本进行分词, 得到联系人字段; 所述联系人字段分析器, 用于根据所述联系人字段确定联系人;  2. The device according to claim 1, further comprising: a contact field analyzer; the word breaker further configured to perform word segmentation on the original text input by the user to obtain a contact field; a field analyzer, configured to determine a contact according to the contact field;
所述执行事件管理器,还用于在到达所述提醒时间时,根据所述提醒的事 件以及所述联系人输出提醒窗口。  The execution event manager is further configured to output a reminder window according to the event of the reminder and the contact when the reminding time is reached.
3、 如权利要求 2所述的设备, 其特征在于,  3. Apparatus according to claim 2 wherein:
所述联系人字段分析器,还用于在通讯录中查找与所述联系人字段对应的 通信信息;  The contact field analyzer is further configured to search, in the address book, communication information corresponding to the contact field;
所述执行事件管理器,还用于当通过所述提醒窗口接收到与所述联系人通 信的指令时, 根据所述通信信息与所述联系人进行通信。  The execution event manager is further configured to communicate with the contact according to the communication information when receiving an instruction to communicate with the contact through the reminder window.
4、 如权利要求 1所述的设备, 其特征在于,  4. Apparatus according to claim 1 wherein:
所述时间字段分析器,具体用于将所述时间字段转换为标准格式的时间 t; 如果所述时间 t为绝对时间, 则确定所述提醒时间为所述时间 t; 如果所述时 间 t为相对时间, 则确定所述提醒时间为所述时间 t与当前时间 to的和。 The time field analyzer is specifically configured to convert the time field into a standard format time t; if the time t is an absolute time, determine the reminder time as the time t; if the time t is Relative to the time, it is determined that the reminding time is the sum of the time t and the current time to.
5、 如权利要求 1所述的设备, 其特征在于, 5. The apparatus of claim 1 wherein:
所述事件字段分析器, 具体用于根据所述事件字段查询应用类别列表; 如 果所述事件字段所表述的信息能够查询到具体事件,则确定所述提醒的事件为 该具体事件; 如果所述事件字段所表述的信息不能够查询到具体事件, 则确定 所述提醒的事件为具体事件堆栈中栈顶的具体事件,该栈顶的具体事件为堆栈 中返回次数最多的事件。  The event field analyzer is specifically configured to query an application category list according to the event field; if the information represented by the event field can query a specific event, determine that the event of the reminder is the specific event; The information represented by the event field cannot be queried for a specific event, and the event of the reminder is determined to be a specific event at the top of the stack in the specific event stack, and the specific event at the top of the stack is the event with the most return times in the stack.
6、 如权利要求 1-5任一项所述的设备, 其特征在于,  6. Apparatus according to any one of claims 1 to 5, characterized in that
所述原始文本为按照指定格式输入的; 所述原始文本包括时间信息、联系 人信息和事件信息, 所述指定格式为: 通过标识符将时间信息、 联系人信息和 事件信息进行分隔;  The original text is input according to a specified format; the original text includes time information, contact information, and event information, and the specified format is: separating time information, contact information, and event information by using an identifier;
所述分词器, 具体用于利用所述原始文本中的标识符得到时间字段、事件 字段和联系人字段。  The tokenizer is specifically configured to obtain a time field, an event field, and a contact field by using an identifier in the original text.
7、 一种文字提醒的方法, 其特征在于, 包括:  7. A method for text reminding, characterized in that it comprises:
对用户输入的原始文本进行分词, 并得到时间字段和事件字段; 根据所述时间字段确定提醒时间, 并根据所述事件字段确定提醒的事件; 在到达所述提醒时间时, 根据所述提醒的事件输出提醒窗口。  Demarcating the original text input by the user, and obtaining a time field and an event field; determining a reminding time according to the time field, and determining an event of the reminding according to the event field; when the reminding time is reached, according to the reminding Event output reminder window.
8、 如权利要求 7所述的方法, 其特征在于, 所述方法还包括:  8. The method according to claim 7, wherein the method further comprises:
在对用户输入的原始文本进行分词时,得到联系人字段, 并根据所述联系 人字段确定联系人;  When the original text input by the user is segmented, a contact field is obtained, and the contact is determined according to the contact field;
根据所述提醒的事件输出提醒窗口, 具体包括:  Outputting a reminder window according to the event of the reminder, specifically including:
在到达所述提醒时间时,根据所述提醒的事件以及所述联系人输出提醒窗 口。 Upon reaching the reminder time, a reminder window is output according to the event of the reminder and the contact.
9、 如权利要求 8所述的方法, 其特征在于, 所述方法还包括: 在通讯录中查找与所述联系人字段对应的通信信息; The method according to claim 8, wherein the method further comprises: searching, in the address book, communication information corresponding to the contact field;
当通过所述提醒窗口接收到与所述联系人通信的指令时,根据所述通信信 息与所述联系人进行通信。  When an instruction to communicate with the contact is received through the reminder window, communication is made with the contact based on the communication information.
10、 如权利要求 7所述的方法, 其特征在于, 根据所述时间字段确定提醒 时间, 包括:  10. The method according to claim 7, wherein determining the reminding time according to the time field comprises:
将所述时间字段转换为标准格式的时间 t;  Converting the time field to a standard format time t;
如果所述时间 t为绝对时间, 则确定所述提醒时间为所述时间 t;  If the time t is an absolute time, determining that the reminding time is the time t;
如果所述时间 t为相对时间, 则确定所述提醒时间为所述时间 t与当前时 间 to的和。  If the time t is a relative time, it is determined that the reminder time is the sum of the time t and the current time to.
11、 如权利要求 7所述的方法, 其特征在于, 根据所述事件字段确定提醒 的事件, 包括:  The method according to claim 7, wherein the determining the event of the reminding according to the event field comprises:
根据所述事件字段查询应用类别列表;  Querying an application category list according to the event field;
如果所述事件字段所表述的信息能够查询到具体事件,则确定所述提醒的 事件为该具体事件;  If the information represented by the event field is capable of querying a specific event, determining that the event of the reminder is the specific event;
如果所述事件字段所表述的信息不能够查询到具体事件,则确定所述提醒 的事件为具体事件堆栈中栈顶的具体事件,该栈顶的具体事件为堆栈中返回次 数最多的事件。  If the information represented by the event field is unable to query a specific event, it is determined that the event of the reminder is a specific event at the top of the stack in the specific event stack, and the specific event at the top of the stack is the event with the largest number of returns in the stack.
12、 如权利要求 7-11任一项所述的方法, 其特征在于, 所述原始文本为 按照指定格式输入的; 所述原始文本包括时间信息、 联系人信息和事件信息, 所述指定格式为: 通过标识符将时间信息、 联系人信息和事件信息进行分隔; 在对用户输入的原始文本进行分词时,利用所述原始文本中的标识符得到 时间字段、 事件字段和联系人字段。 The method according to any one of claims 7 to 11, wherein the original text is input according to a specified format; the original text includes time information, contact information, and event information, and the specified format For: separating time information, contact information, and event information by an identifier; when segmenting the original text input by the user, using the identifier in the original text to obtain Time field, event field, and contact field.
PCT/CN2012/078764 2011-07-18 2012-07-17 Method and device for text reminder WO2013010477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110200910.0 2011-07-18
CN2011102009100A CN102890801A (en) 2011-07-18 2011-07-18 Method and device for text prompting

Publications (1)

Publication Number Publication Date
WO2013010477A1 true WO2013010477A1 (en) 2013-01-24

Family

ID=47534296

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078764 WO2013010477A1 (en) 2011-07-18 2012-07-17 Method and device for text reminder

Country Status (2)

Country Link
CN (1) CN102890801A (en)
WO (1) WO2013010477A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463563A (en) * 2014-12-15 2015-03-25 联想(北京)有限公司 Information processing method and electronic device
CN105068981A (en) * 2015-08-10 2015-11-18 联想(北京)有限公司 Information processing method, electronic device and electronic apparatus
CN105741078A (en) * 2016-01-26 2016-07-06 上海律巢网络科技有限公司 Time monitoring method and system for relevant events
CN107644023B (en) * 2016-07-20 2021-07-23 中国移动通信集团安徽有限公司 Document processing method and device
CN109741023A (en) * 2018-12-25 2019-05-10 努比亚技术有限公司 A kind of electronic calendar management method, mobile terminal and the storage medium of mobile terminal
CN114726661A (en) * 2022-03-31 2022-07-08 京东方科技集团股份有限公司 Reminding method of intelligent notepad and intelligent interactive display equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206734A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 System and method for extracting time to automatic updating input data based on case
CN101957202A (en) * 2009-07-15 2011-01-26 常州市新科汽车电子有限公司 User to-be-handled event storing and reminding methods for navigator
CN101968865A (en) * 2010-11-17 2011-02-09 上海合合信息科技发展有限公司 Method for adding reminding event in electronic calendar

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7475021B2 (en) * 2003-10-22 2009-01-06 International Business Machines Corporation Method and storage medium for importing calendar data from a computer screen into a calendar application
JP2007328710A (en) * 2006-06-09 2007-12-20 Nec Saitama Ltd Mobile terminal device and schedule management method
CN101394631B (en) * 2008-10-30 2012-10-03 华为终端有限公司 Affair prompting device based on mobile communication terminal and method thereof
JP2011141840A (en) * 2010-01-08 2011-07-21 Toshiba Corp Event notifying apparatus and event notifying method
CN102082855A (en) * 2010-12-30 2011-06-01 东莞宇龙通信科技有限公司 Method for realizing alarm clock reminding on electronic terminal and electronic terminal
CN102123204A (en) * 2011-02-17 2011-07-13 宇龙计算机通信科技(深圳)有限公司 Reminding method of events to be handled and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206734A (en) * 2006-12-22 2008-06-25 英业达股份有限公司 System and method for extracting time to automatic updating input data based on case
CN101957202A (en) * 2009-07-15 2011-01-26 常州市新科汽车电子有限公司 User to-be-handled event storing and reminding methods for navigator
CN101968865A (en) * 2010-11-17 2011-02-09 上海合合信息科技发展有限公司 Method for adding reminding event in electronic calendar

Also Published As

Publication number Publication date
CN102890801A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
US8923507B2 (en) Alpha character support and translation in dialer
US20170076181A1 (en) Converting text strings into number strings, such as via a touchscreen input
US20170249309A1 (en) Interpreting and Resolving Conditional Natural Language Queries
US7680816B2 (en) Method, system, and computer program product providing for multimodal content management
CN101595447B (en) Input prediction
TWI736535B (en) Information input method, device and smart terminal
US8909536B2 (en) Methods and systems for speech-enabling a human-to-machine interface
CN1333385C (en) Voice browser dialog enabler for a communication system
AU2013270485C1 (en) Input processing method and apparatus
WO2013010477A1 (en) Method and device for text reminder
US11934394B2 (en) Data query method supporting natural language, open platform, and user terminal
EP3074877A1 (en) Automatic task classification based upon machine learning
US8239202B2 (en) System and method for audibly outputting text messages
US20140109009A1 (en) Method and apparatus for text searching on a touch terminal
US8798237B2 (en) Voice dialing method and apparatus for mobile phone
CN105469789A (en) Voice information processing method and voice information processing terminal
CN108682421B (en) Voice recognition method, terminal equipment and computer readable storage medium
WO2015154452A1 (en) Method and terminal for remotely querying information about contact person
CN104978045B (en) A kind of Chinese character input method and device
JP5595252B2 (en) Cooperation support apparatus, program, cooperation support method, cooperation support system, and communication apparatus
WO2011160459A1 (en) Mobile telephone menu display method and mobile telephone
EP3193559B1 (en) Information processing method and device
WO2014180362A1 (en) Terminal and method thereof for managing multimedia notepad
TW200947241A (en) Database indexing algorithm and method and system for database searching using the same
WO2017071215A1 (en) Method and device for processing dialing of cell phone keyboard

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

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

Country of ref document: EP

Kind code of ref document: A1