WO2016192184A1 - 一种对文本内时间信息进行日程安排时的提示方法和装置 - Google Patents

一种对文本内时间信息进行日程安排时的提示方法和装置 Download PDF

Info

Publication number
WO2016192184A1
WO2016192184A1 PCT/CN2015/084608 CN2015084608W WO2016192184A1 WO 2016192184 A1 WO2016192184 A1 WO 2016192184A1 CN 2015084608 W CN2015084608 W CN 2015084608W WO 2016192184 A1 WO2016192184 A1 WO 2016192184A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
time period
time
schedule
field
Prior art date
Application number
PCT/CN2015/084608
Other languages
English (en)
French (fr)
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 WO2016192184A1 publication Critical patent/WO2016192184A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present invention relates to a schedule management technique, and more particularly to a prompting method and apparatus for scheduling time information in a text.
  • things that need to be processed can be added to the schedule in chronological order, so that the efficiency of handling multiple things can be improved according to the schedule prompts.
  • the time field in the text may be time point information, such as "3 pm tomorrow"; the time field in the text may also be time period information, such as "March 7".
  • time field When the time field is included in the text, it sometimes means that the task needs to be processed in the corresponding time.
  • the content of the task to be processed is usually reflected in the text content. For example, the text content is “Meeting at 3 pm tomorrow”.
  • the text contains a time field
  • the time field in the text is usually marked, for example, underlined; after the time field in the text is marked, the user can choose to add the text content as a schedule.
  • the user since the user does not know whether the schedule has been scheduled within the corresponding time period, the user needs to view the schedule before adding the text content as a schedule; after confirming that there is no schedule conflicting with the time field in the above text, This text content can be added as a schedule. This will increase the number of steps and reduce the user experience.
  • the embodiment of the present invention is intended to provide a prompting method and apparatus for scheduling time information in a text, thereby improving the efficiency of the schedule.
  • the embodiment of the invention provides a prompting method for scheduling time information in a text, including:
  • the set time period includes a time point corresponding to the time field in the text, or a time corresponding to the time field in the text segment;
  • a corresponding prompt is given based on the judgment result of whether there is a schedule within the set time period.
  • determining whether there is a schedule in the set time period includes: determining, when the time field exists in the text, whether the time field in the text satisfies the setting Conditions, when the set conditions are met, determine whether there is a schedule within the set time period.
  • the setting condition is that the time field in the text is clicked or called by the program.
  • the time field in the text includes a character for indicating a time point, and the time point corresponding to the time field in the text is a start time or an intermediate time of the set time period.
  • the time field in the text only includes characters for indicating the time period, and the time period corresponding to the time field in the text is part of the set time period or the set time period.
  • the determining whether there is a schedule within a set time period includes:
  • the presenting the corresponding prompt based on the judgment result of whether there is a schedule in the set time period including: prompting the set time period memory if there is a schedule in the set time period In the schedule; if there is no schedule within the set time period, no prompt or prompt is given to the schedule within the set time period.
  • the method before determining whether there is a schedule within the set time period, the method further includes:
  • the embodiment of the invention further provides a prompting device for scheduling the time information in the text, comprising: a first determining module and a prompting module; wherein
  • a first determining module configured to determine whether there is a schedule in the set time period when the time field exists in the text; the set time period includes a time point corresponding to the time field in the text, or includes the The time period corresponding to the time field in the text;
  • the prompting module is configured to give a corresponding prompt based on a judgment result of whether there is a schedule in the set time period.
  • the first determining module is configured to determine whether the time field in the text satisfies the setting condition when the time field exists in the text, and if the setting condition is met, determine whether the setting time period is There are schedules.
  • the setting condition is that the time field in the text is clicked or called by the program.
  • a time point corresponding to the time field in the text is a start time or an intermediate time of the set time period
  • the time period corresponding to the time field in the text is part of the set time period or the set time period.
  • the first determining module is configured to determine whether the existing schedule conflicts with the set time period. If a time conflict occurs, it indicates that there is a schedule within the set time period; if no time conflict occurs, It means there is no schedule within the set time period.
  • the prompting module is configured to prompt a schedule in the set time period when there is a schedule in the set time period; there is no schedule in the set time period When scheduling, there is no schedule within the set time period without prompting or prompting.
  • the device further includes a second determining module, configured to determine whether there is a character for indicating a time point or a time period for indicating the time period before determining whether there is a schedule within the set time period.
  • Character if there is a character in the text to represent the point in time or a character used to represent the time period, there is a time field in the text.
  • the embodiment of the present invention further provides a computer storage medium, the storage medium includes a set of computer executable instructions, and the instructions are used to execute a prompting method for scheduling time information in a text according to an embodiment of the present invention. .
  • the method and device for prompting the scheduling of the time information in the text provided by the embodiment of the present invention determine whether there is a schedule in the time period corresponding to the time field in the text, and corresponding prompts are given according to the judgment result. In this way, the user can effectively help the user to reduce the operation steps in the schedule, so that the user saves time and cost.
  • FIG. 1 is a flowchart of a first embodiment of a prompting method for scheduling time information in a text according to the present invention
  • FIG. 2 is a flowchart of a second embodiment of a prompting method for scheduling time information in a text according to the present invention
  • FIG. 3 is a schematic diagram of marking a time field in a short message in a second embodiment of a method for prompting time information in a text according to the present invention
  • FIG. 4 is a flowchart of a third embodiment of a method for prompting time information in a text according to the present invention.
  • FIG. 5 is a schematic diagram showing a presence schedule in a third embodiment of a method for prompting time information in a text according to the present invention.
  • FIG. 6 is a schematic structural diagram of a component of a prompting apparatus for scheduling time information in a text according to an embodiment of the present invention.
  • the text may be text displayed on the mobile terminal or text displayed on the fixed terminal.
  • the text displayed on the mobile terminal includes, but is not limited to, a short message, a document stored on the mobile terminal local, and text displayed on the communication software.
  • FIG. 1 is a flowchart of a first embodiment of a method for prompting time information in a text according to the present invention. As shown in FIG. 1, the method includes:
  • Step 100 When there is a time field in the text, determine whether there is a schedule in the set time period; the set time period includes a time point corresponding to the time field in the text, or includes a time field corresponding to the text period.
  • the text can be received in advance from the outside or can be generated by editing.
  • the text when the text is a short message of the mobile terminal, the text may be a short message sent by another person, or may be a short message or a sent short message to be sent after editing.
  • determining whether the time field exists in the text includes: determining whether there is a character for representing the time point or a character for indicating the time period in the text.
  • the characters for indicating the time point include, but are not limited to, point A, point B half, point C, and point E, where A, B, C, D, E, and F are integers, A
  • B, C, and E are all from 0 to 24, the range of D is from 1 to 4, and the range of F is from 0 to 60.
  • the character for indicating the time period includes at least one of the following characters: a character for indicating one day and a character for indicating a sub-day time period, and characters for indicating one day include, but are not limited to, today, tomorrow, The day after tomorrow, the day before yesterday, the day b, and the month d, where a, b, c, and d are integers, and the values of a and c range from 1 to 12, and the ranges of b and d are all 1 To 31.
  • Each time period corresponding to the character representing the day may be 0 to 24 points of the corresponding day, or may be a set sub-period corresponding to the day, for example, corresponding to 6 to 18 of the day.
  • each time period corresponding to the character representing the neutron time period of the day may be a preset time period, for example, The corresponding time period in the morning can be from 8:30 to 12:00.
  • the time field when the time field exists in the text, it may further continue to determine whether the time field in the text satisfies the set condition, and if the set condition is met, determine whether the set time period has a schedule; If the set condition is not satisfied, a wait is made until the time field in the text satisfies the set condition.
  • the time field in the text can be marked, so that the user can find or click the time information in the text.
  • the time field in the text is marked in an underlined manner.
  • the time field in the short message includes a character for indicating a time point
  • the time field in the short message corresponds to a time point. If the time field in the short message contains only characters for representing the time period, the time field in the text corresponds to a time period.
  • the length of the set time period may be arbitrarily taken from 15 minutes to 24 hours; if the time field in the text contains characters for indicating the time point, the time point corresponding to the time field in the text is Set the start time or middle time of the time period. For example, the time field in the text is 4:20 tomorrow, and the length of the set time period is 30 minutes. The set time period can be 4:20 tomorrow to 4:50 tomorrow, or 4:10 tomorrow. It will be divided into 4:40 tomorrow. It should be noted that if the time field in the text only contains characters for representing the time point and does not include characters for representing the time period, the current time point corresponding to the time field in the text may be defaulted to one day. For example, the time field in the text is 4:20. Then the time point corresponding to the time field in the text is 4:20 today.
  • the time period corresponding to the time field in the text is part of the set time period or the set time period.
  • the time field in the text is today afternoon, and the corresponding time period in the afternoon is 1 to 5:30, and the set time period may be 1 to 5:30, or 1 to 6 o.
  • the setting condition may be that the time field in the text is clicked or called by the program. For example, when the text is a short message of the mobile terminal, if the user clicks the time field in the short message, the time field in the short message satisfies the setting. Set the conditions.
  • determining whether there is a schedule in the set time period includes: determining whether the existing schedule conflicts with the set time period, and if a time conflict occurs, indicating that there is a schedule within the set time period; if not occurs Time conflicts indicate that there is no schedule within the set time period.
  • the set time period is from 9:00 to 11:00 on July 8th. If other tasks need to be processed between 9:00 and 11:00 on July 8 according to the existing schedule, it is stated on July 8th. There is a schedule between 11 and 11 o'clock; on the other hand, if there is no need to process other tasks between 9:00 and 11:00 on July 8 according to the existing schedule, it will be 9:00 to 11:00 on July 8th. There is no schedule between.
  • the existing schedule is usually a schedule that is set in advance, and the existing schedule is usually stored locally, for example, in the mobile terminal.
  • Step 101 Based on the judgment result of whether there is a schedule in the set time period, a corresponding prompt is given.
  • the schedule is indicated in the set time period. If there is no schedule within the set time period, no prompt is given or the schedule is not present within the set time period.
  • the scheduling may be prompted in the following manner: changing the character color of the time field in the text, or popping up a dialog box prompting that the set time period exists Schedule; for example, a pop-up dialog box showing "Present Schedule” or "Busy” in the dialog box.
  • a dialog box prompting that the set time period exists Schedule; for example, a pop-up dialog box showing "Present Schedule” or "Busy” in the dialog box.
  • the content of the text may be added to the schedule.
  • a sentence or a paragraph containing the time field in the text can be added to the task of the schedule.
  • the text is a short message of the mobile terminal as an example.
  • FIG. 2 is a flow chart of a second embodiment of a method for prompting time information in a text according to the present invention. As shown in FIG. 2, the method includes:
  • Step 200 Determine whether there are consecutive characters in the obtained short message, which are composed of the following three types of characters or any two of the following three types of characters: a character for indicating a time point, a character for expressing a day, or a day for indicating The character of the neutron time period.
  • the obtained short message may be a short message sent by another person, or may be a short message or a sent short message to be sent after editing.
  • the time field exists in the short message;
  • the consecutive characters correspond to a point in time. For example, the consecutive characters in the text message are tomorrow at 3:22 pm.
  • the time exists in the short message. Field; at this time, the corresponding continuous character corresponds to a time point, for example, the continuous character in the short message is 15:20 pm.
  • the corresponding continuous character does not include a character for indicating a time point, it means that there is time in the short message. Field; at this time, the corresponding consecutive characters correspond to a time period, for example, the consecutive characters in the short message are today.
  • Step 201 When there is a time field in the short message, determine whether the time field in the short message is clicked. If the time field in the short message is clicked, determine whether there is a schedule in the set time period; the setting The time period includes a time point corresponding to the time field in the short message, or a time period corresponding to the time field in the short message.
  • FIG. 3 is a schematic diagram of marking a short message time field in a second embodiment of a method for prompting time information in a text according to the present invention.
  • the time field in the short message may be marked with an underline, so that the user can find or click the time information in the text.
  • the intent interface invoked can be, but is not limited to, the following:
  • Step 202 is basically the same as step 101. The difference is that the text in step 101 is replaced by a short message.
  • the text is a short message of the mobile terminal as an example. Description.
  • FIG. 4 is a flowchart of a third embodiment of a method for prompting time information in a text according to the present invention. As shown in FIG. 4, the method includes:
  • Step 400 is completely consistent with step 200, and details are not described herein again.
  • Step 401 is substantially the same as step 201. The difference is that when there is a time field in the text, it is directly determined whether there is a schedule in the set time period; the set time period includes a time corresponding to the time field in the text. A point, or a time period corresponding to the time field in the text.
  • Step 402 is completely consistent with step 202, and details are not described herein again.
  • FIG. 5 is a schematic diagram showing a presence schedule in a third embodiment of a method for prompting time information in a text according to the present invention.
  • a secondary interface may also be popped up, and the user is prompted to set a schedule within the time interval, for example, in the “Add to schedule” option. "Busy" is displayed behind.
  • the content of the short message is added to the schedule.
  • the content of the corresponding entire short message may be added to the task of the schedule.
  • FIG. 6 is a schematic structural diagram of a component of a prompting apparatus for scheduling time information in a text according to an embodiment of the present invention.
  • the device includes: a first determining module 600, a prompting module 601, and a second determining module 602;
  • the first determining module 600 is configured to determine whether there is a schedule in the set time period when the time field exists in the text; the set time period includes a time point corresponding to the time field in the text, or includes a location The time period corresponding to the time field in the text.
  • the setting condition is that the time field in the text is clicked or called by the program.
  • the first determining module 600 is configured to determine that the time field exists in the text Whether the time field in the text satisfies the set condition, and when the set condition is satisfied, it is determined whether there is a schedule within the set time period.
  • the time field in the text contains a character for indicating a time point
  • the time point corresponding to the time field in the text is the start time or the intermediate time of the set time period; if the time in the text
  • the field only contains characters for indicating the time period, and the time period corresponding to the time field in the text is part of the set time period or the set time period.
  • the prompting module 601 is configured to give a corresponding prompt based on a judgment result of whether there is a schedule in the set time period.
  • the prompting module 601 is configured to prompt a schedule in the set time period when there is a schedule in the set time period; there is no schedule in the set time period When there is no prompt or prompt, there is no schedule within the set time period.
  • the second determining module 602 is configured to determine, before determining whether there is a schedule within the set time period, whether there is a character for indicating a time point or a character for indicating a time period in the text, if the text exists for A character that represents a point in time or a character that represents a time period indicates that there is a time field in the text.
  • the first determining module 600 is configured to determine whether the existing schedule conflicts with the set time period. If a time conflict occurs, it indicates that there is a schedule within the set time period; if no time conflict occurs, the setting is set. There is no schedule for a fixed time.
  • the first determining module 600 is further configured to mark a time field in the text when a time field exists in the text.
  • the first determining module 600, the prompting module 601, and the second determining module 602 may each be a central processing unit (CPU), a microprocessor (Micro Processor Unit, MPU) located in the terminal, Digital signal processor (DSP), or Field Programmable Gate Array (FPGA) implementation.
  • CPU central processing unit
  • MPU Micro Processor Unit
  • DSP Digital signal processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, Or a computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • an embodiment of the present invention further provides a computer storage medium, where the storage medium includes a set of computer executable instructions for performing scheduling of time information in a text according to an embodiment of the present invention. Prompt method.
  • the method and device for prompting the scheduling of the time information in the text provided by the embodiment of the present invention determine whether there is a schedule in the time period corresponding to the time field in the text, and corresponding prompts are given according to the judgment result. In this way, the user can effectively help the user to reduce the operation steps in the schedule, so that the user saves time and cost.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种对文本内时间信息进行日程安排时的提示方法、装置和计算机存储介质,该方法包括:当所述文本中存在时间字段时,判断设定时间段内是否有日程安排(100);所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段;基于对所述设定时间段内是否有日程安排的判断结果,给出对应的提示(101)。

Description

一种对文本内时间信息进行日程安排时的提示方法和装置 技术领域
本发明涉及日程安排管理技术,尤其涉及一种对文本内时间信息进行日程安排时的提示方法和装置。
背景技术
目前,为了能够快速有序地处理多件事情,可以将需要处理的事情按时间先后顺序添加到日程中,这样,根据日程的提示,就可以提高处理多件事情的效率。
在日常使用的文本如短信中,有时会包含一些时间字段。文本中的时间字段可以是时间点信息,例如“明天下午3点”;文本中的时间字段也可以是时间段信息,例如“3月7日”。当文本中包含时间字段时,有时意味着对应时间内需要处理任务,需要处理的任务的内容通常都会在文本内容中进行体现,例如,文本内容为“明天下午3点开会”。
由此可以看出,当文本中包含时间字段时,有必要将相关的文本内容添加到日程中。在现有技术中,通常将文本中的时间字段进行标记,例如以下划线的方式进行标记;在标记出文本中的时间字段后,用户可以选择将文本内容添加为日程。但是,由于用户不知道对应的时间段内是否已经安排了日程,因此用户在将该文本内容添加为日程之前,需要查看日程;在确认没有与上述文本中的时间字段相冲突的日程安排后,才能将该文本内容添加为日程。这样,会增加操作步骤,并降低用户体验。
发明内容
为解决上述技术问题,本发明实施例期望提供一种对文本内时间信息进行日程安排时的提示方法和装置,提升日程安排的效率。
本发明的技术方案是这样实现的:
本发明实施例提供了一种对文本内时间信息进行日程安排时的提示方法,包括:
当所述文本中存在时间字段时,判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段;
基于对设定时间段内是否有日程安排的判断结果,给出对应的提示。
上述方案中,所述当所述文本中存在时间字段时,判断设定时间段内是否有日程安排,包括:当所述文本中存在时间字段时,判断所述文本中时间字段是否满足设定条件,满足设定条件时,再判断设定时间段内是否有日程安排。
上述方案中,所述设定条件为所述文本中时间字段受到点击或被程序调用。
上述方案中,所述文本中时间字段包含用于表示时间点的字符,则所述文本中时间字段对应的时间点为所述设定时间段的起始时刻或中间时刻。
上述方案中,所述文本中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段对应的时间段为所述设定时间段或所述设定时间段的一部分。
上述方案中,所述判断设定时间段内是否有日程安排,包括:
判断现有的日程是否与设定时间段发生时间冲突,如果发生时间冲突,则说明设定时间段内有日程安排;如果不发生时间冲突,则说明设定时间内没有日程安排。
上述方案中,所述基于对设定时间段内是否有日程安排的判断结果,给出对应的提示,包括:如果所述设定时间段内有日程安排,则提示所述设定时间段内存在日程安排;如果在所述设定时间段内没有日程安排,则不进行提示或提示所述设定时间段内不存在日程安排。
上述方案中,在判断所述设定时间段内是否有日程安排之前,所述方法还包括:
判断所述文本中是否存在用于表示时间点的字符或用于表示时间段的字符,如果存在,则说明所述文本中存在时间字段。
本发明实施例还提供了一种对文本内时间信息进行日程安排时的提示装置,包括:第一判断模块和提示模块;其中,
第一判断模块,配置为在所述文本中存在时间字段时,判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段;
提示模块,配置为基于对设定时间段内是否有日程安排的判断结果给出对应的提示。
上述方案中,所述第一判断模块,配置为在所述文本中存在时间字段时,判断所述文本中时间字段是否满足设定条件,满足设定条件时,再判断设定时间段内是否有日程安排。
上述方案中,所述设定条件为所述文本中时间字段受到点击或被程序调用。
上述方案中,如果所述文本中的时间字段包含用于表示时间点的字符,则所述文本中时间字段对应的时间点为所述设定时间段的起始时刻或中间时刻;
如果所述文本中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段对应的时间段为所述设定时间段或所述设定时间段的一部分。
上述方案中,所述第一判断模块,配置为判断现有的日程是否与设定时间段发生时间冲突,如果发生时间冲突,则说明设定时间段内有日程安排;如果不发生时间冲突,则说明设定时间段内没有日程安排。
上述方案中,所述提示模块,配置为在所述设定时间段内有日程安排时,提示所述设定时间段内存在日程安排;在所述设定时间段内没有日程 安排时,不进行提示或提示所述设定时间段内不存在日程安排。
上述方案中,所述装置还包括第二判断模块,配置为在判断所述设定时间段内是否有日程安排之前,判断文本中是否存在用于表示时间点的字符或用于表示时间段的字符,如果文本中存在用于表示时间点的字符或用于表示时间段的字符,则说明文本中存在时间字段。
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行本发明实施例所述的对文本内时间信息进行日程安排时的提示方法。
本发明实施例提供的一种对文本内时间信息进行日程安排时的提示方法和装置,判断文本中时间字段对应的时间段内是否存在日程安排,根据判断结果给出相应提示。如此,可以有效地帮助用户减少日程安排时的操作步骤,使用户节约时间成本。
附图说明
图1为本发明对文本内时间信息进行日程安排时的提示方法的第一实施例的流程图;
图2为本发明对文本内时间信息进行日程安排时的提示方法的第二实施例的流程图;
图3为本发明对文本内时间信息进行日程安排时的提示方法的第二实施例中对短信中时间字段进行标记的示意图;
图4为本发明对文本内时间信息进行日程安排时的提示方法的第三实施例的流程图;
图5为本发明对文本内时间信息进行日程安排时的提示方法的第三实施例中提示存在日程安排的示意图;
图6为本发明实施例对文本内时间信息进行日程安排时的提示装置的组成结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
本发明的各种实施例中,文本可以是移动终端上显示的文本,也可以是固定终端上显示的文本。这里,移动终端上显示的文本包括但不限于:短信、保存在移动终端本地的文档和通讯软件上显示的文本。
第一实施例
图1为本发明对文本内时间信息进行日程安排时的提示方法的第一实施例的流程图,如图1所示,该方法包括:
步骤100:当文本中存在时间字段时,判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段。
这里,文本可以预先从外部接收,也可以经编辑生成。例如,当文本为移动终端的短信时,文本可以是他人发送的短信,也可以是自己编辑后待发送的短信或已发送的短信。
显然,本步骤中,需要先判断文本中是否存在时间字段;判断文本中是否存在时间字段包括:判断文本中是否存在用于表示时间点的字符或用于表示时间段的字符。
这里,该用于表示时间点的字符包括但不限于A点、B点半、C点D刻、以及E点F分,其中,A、B、C、D、E、F均为整数,A、B、C和E的取值范围均为0至24,D的取值范围为1至4,F的取值范围为0至60。
这里,该用于表示时间段的字符包括至少以下一种字符:用于表示一天的字符和用于表示一天中子时间段的字符,该用于表示一天的字符包括但不限于今天、明天、后天、前天、a月b日、及c月d号,其中,a、b、c和d均为整数,a和c的取值范围均为1至12,b和d的取值范围均为1 至31。每个表示一天的字符对应的时间段可以是对应一天的0点至24点,也可以是对应一天的设定的子时间段,例如,对应一天的6点至18点。
上述用于表示一天中子时间段的字符包括但不限于上午、下午、中午、早晨、及晚上;每个表示一天中子时间段的字符对应的时间段可以是预先设定的时间段,例如,上午对应的时间段可以是8点30分至12点整。
这里,如果文本中存在用于表示时间点的字符或用于表示时间段的字符,则说明文本中存在时间字段;否则,文本中不存在时间字段,此时自然不需要将文本内容添加到日程中。
在一可实施方式中,当所述文本中存在时间字段时,还可以继续判断所述文本中时间字段是否满足设定条件,如果满足设定条件,则判断设定时间段是否有日程安排;如果不满足设定条件,则进行等待,直至所述文本中时间字段满足设定条件。
本步骤中,当文本中存在时间字段时,可以对所述文本中时间字段进行标记,这样便于用户发现或点击文本中的时间信息。例如,以下划线的方式对所述文本中时间字段进行标记。
本步骤中,如果所述短信中的时间字段包含用于表示时间点的字符,则短信中时间字段与一个时间点相对应。如果所述短信中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段与一个时间段相对应。
本步骤中,设定时间段的长度可以在15分钟至24小时任意取值;如果所述文本中的时间字段包含用于表示时间点的字符,则文本中时间字段对应的时间点为所述设定时间段的起始时刻或中间时刻。例如,文本中的时间字段为明天4点20分,设定时间段的长度为30分,则设定时间段可以是明天4点20分至明天4点50分,也可以是明天4点10分至明天4点40分。需要说明的是,如果所述文本中的时间字段只包含用于表示时间点的字符,不包含用于表示时间段的字符,可以默认将今天作为文本中时间字段对应的时间点所处在的一天。例如,文本中的时间字段为4点20分, 则文本中时间字段对应的时间点为今天4点20分。
这里,如果所述文本中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段对应的时间段为所述设定时间段或所述设定时间段的一部分。例如,文本中的时间字段为今天下午,而下午对应的时间段是1点至5点30分,则设定时间段可以是1点至5点30分,也可以是1点至6点。
本步骤中,设定条件可以是所述文本中时间字段受到点击或被程序调用,例如,当文本是移动终端的短信时,如果用户点击短信中的时间字段,则短信中的时间字段满足设定条件。
本步骤中,判断设定时间段内是否有日程安排包括:判断现有的日程是否与设定时间段发生时间冲突,如果发生时间冲突,则说明设定时间段内有日程安排;如果不发生时间冲突,则说明设定时间段内没有日程安排。例如,设定时间段为7月8号9点至11点,如果根据现有的日程安排,在7月8号9点至11点之间需要处理其他任务,则说明在7月8号9点至11点之间有日程安排;反之,如果根据现有的日程安排,在7月8号9点至11点之间不需要处理其他任务,则说明在7月8号9点至11点之间没有日程安排。
需要说明的是,现有的日程通常是预先设定完成的日程,现有的日程通常存储在本地,例如存储在移动终端内。
步骤101:基于对设定时间段内是否有日程安排的判断结果,给出对应的提示。
如果所述设定时间段内有日程安排,则提示所述设定时间段内存在日程安排。如果在所述设定时间段内没有日程安排,则不进行提示或提示所述设定时间段内不存在日程安排。
这里,可以采用如下方式提示所述设定时间段内存在日程安排:改变文本中时间字段的字符颜色,或者弹出对话框提示所述设定时间段内存在 日程安排;例如,弹出对话框,在对话框里显示“存在日程安排”或“忙”。用户查看短信时,可以事先获知是否能够将该短信内容添加到日程。
需要说明的是,如果在所述设定时间段内没有日程安排,则可以将所述文本的内容添加至日程中。在将所述文本的内容添加至日程中时,可以将包含文本中时间字段的一句话或一段话添加到日程的任务中。
第二实施例
为了能更加体现本发明的目的,在本发明第一实施例的基础上,进行进一步的举例说明。在第二实施例中,以文本是移动终端的短信为例进行说明。
图2是本发明对文本内时间信息进行日程安排时的提示方法的第二实施例的流程图,如图2所示,该方法包括:
步骤200:判断获取的短信中是否存在由以下三类字符或以下三类字符中的任意两类字符组成的连续字符:用于表示时间点的字符、用于表示一天的字符或用于表示一天中子时间段的字符。
如果该获取的短信中存在由以上三类字符或以上三类字符中的任意两类字符组成的连续字符,则说明短信中存在时间字段,跳至步骤201;否则,结束流程。
这里,获取的短信可以是他人发送的短信,也可以是自己编辑后待发送的短信或已发送的短信。
如果获取的短信中存在由用于表示时间点的字符、用于表示一天的字符、以及用于表示一天中子时间段的字符组成的连续字符,则说明短信中存在时间字段;此时,对应的连续字符与一个时间点相对应,例如,短信中的连续字符为明天下午3点22分。
如果获取的短信中存在由用于表示时间点的字符和用于表示一天的字符组成的连续字符,且对应的连续字符不包含用于表示一天中子时间段的字符,则说明短信中存在时间字段;此时,对应的连续字符与一个时间点 相对应,例如,短信中的连续字符为4月18日7点。
如果获取的短信中存在由用于表示时间点的字符和用于表示一天中子时间段的字符,且对应的连续字符不包含用于表示一天的字符组成的连续字符,则说明短信中存在时间字段;此时,对应的连续字符与一个时间点相对应,例如,短信中的连续字符为下午15点20分。
如果获取的短信中存在由用于表示一天的字符组成的连续字符和用于表示一天中子时间段的字符,且对应的连续字符不包含用于表示时间点的字符,则说明短信中存在时间字段;此时,对应的连续字符与一个时间段相对应,例如,短信中的连续字符为今天晚上。
需要说明的是,如果获取的短信中存在由以下三类字符或以下三类字符中的任意两类字符组成的连续字符:用于表示时间点的字符、用于表示一天的字符或用于表示一天中子时间段的字符,但短信中对应的任意两类连续字符不相邻,则可以认为短信中不存在时间字段。
步骤201:当所述短信中存在时间字段时,判断所述短信中时间字段是否受到点击,如果所述短信中时间字段受到点击,则判断设定时间段内是否有日程安排;所述设定时间段包含所述短信中时间字段对应的时间点,或包含所述短信中时间字段对应的时间段。
这里,如果所述短信中时间字段未受到点击,则进行等待,直至所述文本中时间字段受到点击。
图3为本发明对文本内时间信息进行日程安排时的提示方法的第二实施例中对短信时间字段进行标记的示意图。如图3所示,当短信中存在时间字段时,可以采用下划线对所述短信中时间字段进行标记,这样便于用户发现或点击文本中的时间信息。
这里,在判断设定时间段内是否有日程安排时,可以通过调用移动终端日历模块的intent接口来判断设定时间段内是否有日程安排。这里,调用的intent接口可以是但不限于如下内容:
Figure PCTCN2015084608-appb-000001
步骤202与步骤101基本一致,区别点在于,用短信代替步骤101中的文本。
第三实施例
为了能更加体现本发明的目的,在本发明第一实施例的基础上,进行进一步的举例说明。在第三实施例中,以文本是移动终端的短信为例进行 说明。
图4是本发明对文本内时间信息进行日程安排时的提示方法的第三实施例的流程图,如图4所示,该方法包括:
步骤400与步骤200完全一致,这里不再赘述。
步骤401与步骤201基本一致,区别点在于,当所述文本中存在时间字段时,直接判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段。
步骤402与步骤202完全一致,这里不再赘述。
图5为本发明对文本内时间信息进行日程安排时的提示方法的第三实施例中提示存在日程安排的示意图。如图5所示,当所述短信中时间字段受到用户点击后,还可以弹出二级界面,在该二级界面上提示用户设定时间段内有日程安排,例如在“添加到日程”选项后边显示“忙”。
需要说明的是,如果在所述设定时间段内没有日程安排,则将所述短信的内容添加至日程中。此时,在将所述短信的内容添加至日程中时,可以将对应的整条短信的内容添加到日程的任务中。
第四实施例
针对本发明实施例的方法,本发明实施例还提出了一种对文本内时间信息进行日程安排时的提示装置。图6为本发明实施例对文本内时间信息进行日程安排时的提示装置的组成结构示意图。如图6所示,该装置包括:第一判断模块600、提示模块601和第二判断模块602;其中,
第一判断模块600,配置为在所述文本中存在时间字段时,判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段。这里,所述设定条件为所述文本中时间字段受到点击或被程序调用。
所述第一判断模块600,配置为在所述文本中存在时间字段时,判断所 述文本中时间字段是否满足设定条件,满足设定条件时,再判断设定时间段内是否有日程安排。
如果所述文本中的时间字段包含用于表示时间点的字符,则所述文本中时间字段对应的时间点为所述设定时间段的起始时刻或中间时刻;如果所述文本中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段对应的时间段为所述设定时间段或所述设定时间段的一部分。
提示模块601,配置为基于对设定时间段内是否有日程安排的判断结果给出对应的提示。在一实施方式中,所述提示模块601,配置为在所述设定时间段内有日程安排时,提示所述设定时间段内存在日程安排;在所述设定时间段内没有日程安排时,不进行提示或提示所述设定时间段内不存在日程安排。
第二判断模块602,配置为在判断所述设定时间段内是否有日程安排之前,判断文本中是否存在用于表示时间点的字符或用于表示时间段的字符,如果文本中存在用于表示时间点的字符或用于表示时间段的字符,则说明文本中存在时间字段。
所述第一判断模块600,配置为判断现有的日程是否与设定时间段发生时间冲突,如果发生时间冲突,则说明设定时间段内有日程安排;如果不发生时间冲突,则说明设定时间内没有日程安排。
所述第一判断模块600,还配置为在所述文本中存在时间字段时,对所述文本中时间字段进行标记。
在实际应用中,所述第一判断模块600、提示模块601和第二判断模块602均可由位于终端中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、 或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
鉴于此,本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行本发明实施例所述的对文本内时间信息进行日程安排时的提示方法。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例提供的一种对文本内时间信息进行日程安排时的提示方法和装置,判断文本中时间字段对应的时间段内是否存在日程安排,根据判断结果给出相应提示。如此,可以有效地帮助用户减少日程安排时的操作步骤,使用户节约时间成本。

Claims (16)

  1. 一种对文本内时间信息进行日程安排时的提示方法,所述方法包括:
    当文本中存在时间字段时,判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段;
    基于对设定时间段内是否有日程安排的判断结果,给出对应的提示。
  2. 根据权利要求1所述的方法,其中,所述当所述文本中存在时间字段时,判断设定时间段内是否有日程安排,包括:当所述文本中存在时间字段时,判断所述文本中时间字段是否满足设定条件,满足设定条件时,再判断设定时间段内是否有日程安排。
  3. 根据权利要求2所述的方法,其中,所述设定条件为所述文本中时间字段受到点击或被程序调用。
  4. 根据权利要求1或2所述的方法,其中,所述文本中时间字段包含用于表示时间点的字符,则所述文本中时间字段对应的时间点为所述设定时间段的起始时刻或中间时刻。
  5. 根据权利要求1或2所述的方法,其中,所述文本中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段对应的时间段为所述设定时间段或所述设定时间段的一部分。
  6. 根据权利要求1至3任一项所述的方法,其中,所述判断设定时间段内是否有日程安排,包括:
    判断现有的日程是否与设定时间段发生时间冲突,如果发生时间冲突,则说明设定时间段内有日程安排;如果不发生时间冲突,则说明设定时间内没有日程安排。
  7. 根据权利要求1至3任一项所述的方法,其中,所述基于对设定 时间段内是否有日程安排的判断结果,给出对应的提示,包括:如果所述设定时间段内有日程安排,则提示所述设定时间段内存在日程安排;如果所述设定时间段内没有日程安排,则不进行提示或提示所述设定时间段内不存在日程安排。
  8. 根据权利要求1至3任一项所述的方法,其中,在判断所述设定时间段内是否有日程安排之前,所述方法还包括:
    判断所述文本中是否存在用于表示时间点的字符或用于表示时间段的字符,如果存在,则说明所述文本中存在时间字段。
  9. 一种对文本内时间信息进行日程安排时的提示装置,所述装置包括:第一判断模块和提示模块;其中,
    第一判断模块,配置为在文本中存在时间字段时,判断设定时间段内是否有日程安排;所述设定时间段包含所述文本中时间字段对应的时间点,或包含所述文本中时间字段对应的时间段;
    提示模块,配置为基于对设定时间段内是否有日程安排的判断结果给出对应的提示。
  10. 根据权利要求9所述的装置,其中,所述第一判断模块,配置为在所述文本中存在时间字段时,判断所述文本中时间字段是否满足设定条件,满足设定条件时,再判断设定时间段内是否有日程安排。
  11. 根据权利要求10所述的装置,其中,所述设定条件为所述文本中时间字段受到点击或被程序调用。
  12. 根据权利要求9或10所述的装置,其中,如果所述文本中的时间字段包含用于表示时间点的字符,则所述文本中时间字段对应的时间点为所述设定时间段的起始时刻或中间时刻;
    如果所述文本中的时间字段只包含用于表示时间段的字符,则所述文本中时间字段对应的时间段为所述设定时间段或所述设定时间段的一部分。
  13. 根据权利要求9至11任一项所述的装置,其中,所述第一判断模块,配置为判断现有的日程是否与设定时间段发生时间冲突,如果发生时间冲突,则说明设定时间段内有日程安排;如果不发生时间冲突,则说明设定时间段内没有日程安排。
  14. 根据权利要求9至11任一项所述的装置,其中,所述提示模块,配置为在所述设定时间段内有日程安排时,提示所述设定时间段内存在日程安排;在所述设定时间段内没有日程安排时,不进行提示或提示所述设定时间段内不存在日程安排。
  15. 根据权利要求9至11任一项所述的装置,其中,所述装置还包括第二判断模块,配置为在判断所述设定时间段内是否有日程安排之前,判断文本中是否存在用于表示时间点的字符或用于表示时间段的字符,如果文本中存在用于表示时间点的字符或用于表示时间段的字符,则说明文本中存在时间字段。
  16. 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求1-8任一项所述的对文本内时间信息进行日程安排时的提示方法。
PCT/CN2015/084608 2015-06-05 2015-07-21 一种对文本内时间信息进行日程安排时的提示方法和装置 WO2016192184A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510306875.9A CN106296108A (zh) 2015-06-05 2015-06-05 一种对文本内时间信息进行日程安排时的提示方法和装置
CN201510306875.9 2015-06-05

Publications (1)

Publication Number Publication Date
WO2016192184A1 true WO2016192184A1 (zh) 2016-12-08

Family

ID=57440029

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084608 WO2016192184A1 (zh) 2015-06-05 2015-07-21 一种对文本内时间信息进行日程安排时的提示方法和装置

Country Status (2)

Country Link
CN (1) CN106296108A (zh)
WO (1) WO2016192184A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162720A (zh) * 2020-09-29 2021-01-01 星络智能科技有限公司 一种信息提醒方法、计算机设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080214217A1 (en) * 2007-03-01 2008-09-04 Keping Chen Method for processing short message and communication terminal
CN102231775A (zh) * 2011-06-22 2011-11-02 中兴通讯股份有限公司 一种在通信终端上进行消息提醒的方法及系统
CN102831188A (zh) * 2012-08-02 2012-12-19 北京百纳威尔科技有限公司 提醒信息设置方法及终端
CN104038621A (zh) * 2013-03-06 2014-09-10 三星电子(中国)研发中心 在通信终端中管理事件信息的装置及方法
CN104484116A (zh) * 2014-12-09 2015-04-01 魅族科技(中国)有限公司 一种信息输入方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093706A1 (en) * 2001-11-15 2003-05-15 Intel Corporation Personal scheduling apparatus and method
CN102769702B (zh) * 2012-07-13 2013-11-13 青岛海信传媒网络技术有限公司 基于短信设置移动电话闹钟的方法及装置
CN102867248A (zh) * 2012-09-10 2013-01-09 深圳天珑无线科技有限公司 预约处理方法及终端
CN104079609A (zh) * 2013-03-29 2014-10-01 华为技术有限公司 日程信息处理方法及设备
CN104240067A (zh) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 提醒设置方法、装置及电子设备
CN104376451A (zh) * 2013-08-13 2015-02-25 中兴通讯股份有限公司 一种待提醒事件的提醒方法及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080214217A1 (en) * 2007-03-01 2008-09-04 Keping Chen Method for processing short message and communication terminal
CN102231775A (zh) * 2011-06-22 2011-11-02 中兴通讯股份有限公司 一种在通信终端上进行消息提醒的方法及系统
CN102831188A (zh) * 2012-08-02 2012-12-19 北京百纳威尔科技有限公司 提醒信息设置方法及终端
CN104038621A (zh) * 2013-03-06 2014-09-10 三星电子(中国)研发中心 在通信终端中管理事件信息的装置及方法
CN104484116A (zh) * 2014-12-09 2015-04-01 魅族科技(中国)有限公司 一种信息输入方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162720A (zh) * 2020-09-29 2021-01-01 星络智能科技有限公司 一种信息提醒方法、计算机设备及可读存储介质

Also Published As

Publication number Publication date
CN106296108A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
US10845959B2 (en) Gesture-based workflow progression
JP6946746B2 (ja) スマートな通知スケジューリング及びモダリティ選択の方法、システム、及び非一時的なコンピュータ可読媒体
US10158734B2 (en) Trigger associated notification delivery in an enterprise system
US20170330120A1 (en) Method and system for task processing
US10757059B2 (en) Modification of delivered email content
US20130010575A1 (en) Systems and methods of managing electronic calendar applications
US20150363733A1 (en) Project workspace prioritization
CN108292383B (zh) 与通信相关联的任务的自动提取
CN113128947A (zh) 用以完成被中断任务的选择性提醒
US20140006993A1 (en) Task timer
US9904683B2 (en) Displaying at least one categorized message based on a percentage
US20130086178A1 (en) Delivering an in-application message
WO2007090161A3 (en) Workflow applications
WO2012103329A3 (en) Method and apparatus for triggering workflow deployment and/or execution
US8380794B2 (en) Generating context aware data and conversation's mood level to determine the best method of communication
US20170372253A1 (en) Identifying task assignments
US20160104069A1 (en) Automatic anomaly alerts for scheduled posts
US20210065133A1 (en) Quiet day inference for users
WO2017161752A1 (zh) 日历新建事件数据提取方法及装置
WO2017041377A1 (zh) 用于生成日历提醒信息的方法和装置
WO2018125331A1 (en) Techniques for enhanced pasteboard usage
WO2016192184A1 (zh) 一种对文本内时间信息进行日程安排时的提示方法和装置
Zakrzewski Top tech firms sign White House pledge to identify AI-generated images.
US11556957B2 (en) Email-based promotion for user adoption
US20180349787A1 (en) Analyzing communication and determining accuracy of analysis based on scheduling signal

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

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

Country of ref document: EP

Kind code of ref document: A1