CN112153219A - Alarm clock processing method and device, electronic equipment and readable storage medium - Google Patents
Alarm clock processing method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN112153219A CN112153219A CN202011027822.0A CN202011027822A CN112153219A CN 112153219 A CN112153219 A CN 112153219A CN 202011027822 A CN202011027822 A CN 202011027822A CN 112153219 A CN112153219 A CN 112153219A
- Authority
- CN
- China
- Prior art keywords
- preset
- information
- alarm clock
- user
- item
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/109—Time management, e.g. calendars, reminders, meetings or time accounting
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Economics (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请属于通信技术领域,具体涉及一种闹钟处理方法、装置、电子设备和可读存储介质。The present application belongs to the field of communication technologies, and in particular relates to an alarm clock processing method, apparatus, electronic device and readable storage medium.
背景技术Background technique
闹钟为电子设备的一项基本功能,用户可以针对待处理事项,在电子设备中建立闹钟提醒项,并设置闹钟提醒项的闹钟时间,在闹钟时间到达时,电子设备通过响铃和/或振动的方式提醒用户对待处理事项进行处理。The alarm clock is a basic function of an electronic device. The user can create an alarm reminder item in the electronic device for the to-be-processed item, and set the alarm time of the alarm reminder item. When the alarm time arrives, the electronic device will ring and/or vibrate way to remind the user to deal with the pending matter.
在实现本申请的过程中,发明人发现现有技术中至少存在如下问题:在设置闹钟提醒项的闹钟时间后,只能在闹钟时间提醒用户处理待处理事项,若用户在闹钟时间之前已经完成了待处理事项,在闹钟时间到达时电子设备仍然会通过响铃和/或振动的方式提醒用户,此时提醒用户不仅毫无作用,并且会影响用户正常使用电子设备。In the process of realizing the present application, the inventor found that there are at least the following problems in the prior art: after setting the alarm time of the alarm reminder item, the user can only be reminded to deal with the pending items at the alarm time, if the user has completed the work before the alarm time When the alarm time arrives, the electronic device will still remind the user by means of ringing and/or vibration. At this time, reminding the user is not only useless, but also affects the normal use of the electronic device by the user.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种闹钟处理方法、装置、电子设备和可读存储介质,能够解决闹钟提醒项影响用户正常使用电子设备的问题。The purpose of the embodiments of the present application is to provide an alarm clock processing method, apparatus, electronic device, and readable storage medium, which can solve the problem that the alarm reminder item affects the normal use of the electronic device by the user.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种闹钟处理方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for processing an alarm clock, the method comprising:
获取电子设备的屏幕上的显示信息;Obtain information displayed on the screen of the electronic device;
在所述显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在所述闹钟提醒项的闹钟时间到达时提醒用户处理与所述预设信息对应的待处理事项。In the case that the similarity between the display information and the preset information in the preset alarm reminder item is greater than or equal to a preset threshold, it is forbidden to remind the user to process the preset information when the alarm time of the alarm reminder item arrives The corresponding pending item.
第二方面,本申请实施例提供了一种闹钟处理装置,该装置包括:In a second aspect, an embodiment of the present application provides an alarm clock processing device, the device comprising:
获取模块,用于获取电子设备的屏幕上的显示信息;an acquisition module for acquiring display information on the screen of the electronic device;
确定模块,用于在所述显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在所述闹钟提醒项的闹钟时间到达时提醒用户处理与所述预设信息对应的待处理事项。The determining module is configured to, in the case where the similarity between the display information and the preset information in the preset alarm clock reminder item is greater than or equal to a preset threshold, forbid to remind the user to process and process the alarm when the alarm clock time of the alarm clock reminder item arrives. The to-be-processed item corresponding to the preset information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,电子设备获取电子设备的屏幕上的显示信息,在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。当用户在闹钟时间之前完成对应的待处理事项时,禁止在闹钟时间提醒用户,可以避免在闹钟时间到达时通过响铃和/或振动的方式提醒用户,从而可以避免影响用户正常使用电子设备。In the embodiment of the present application, the electronic device acquires the display information on the screen of the electronic device, and when the similarity between the display information and the preset information in the preset alarm reminder item is greater than or equal to the preset threshold, the alarm reminder is prohibited. When the alarm time of the item arrives, the user is reminded to deal with the pending items corresponding to the preset information. When the user completes the corresponding pending items before the alarm time, it is forbidden to remind the user at the alarm time, which can avoid reminding the user by ringing and/or vibration when the alarm time arrives, thereby avoiding affecting the normal use of the electronic device by the user.
附图说明Description of drawings
图1是本申请实施例中提供的一种闹钟处理方法的步骤流程图;Fig. 1 is a flow chart of the steps of a method for processing an alarm clock provided in an embodiment of the present application;
图2是本申请实施例中提供的另一种闹钟处理方法的步骤流程图;2 is a flowchart of steps of another method for processing an alarm clock provided in an embodiment of the present application;
图3是本申请实施例中提供的一种目标图像的示意图;3 is a schematic diagram of a target image provided in an embodiment of the present application;
图4是本申请实施例中提供的另一种目标图像的示意图;4 is a schematic diagram of another target image provided in an embodiment of the present application;
图5是本申请实施例中提供的一种闹钟处理装置的结构示意图;5 is a schematic structural diagram of an alarm clock processing apparatus provided in an embodiment of the present application;
图6是本申请实施例中提供的另一种闹钟处理装置的结构示意图;6 is a schematic structural diagram of another alarm clock processing device provided in an embodiment of the present application;
图7是本申请实施例中提供的一种电子设备的结构示意图;7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的闹钟处理方法进行详细地说明。The method for processing an alarm clock provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
图1是本申请实施例中提供的一种闹钟处理方法的步骤流程图,如图1所示,该方法包括:FIG. 1 is a flowchart of steps of a method for processing an alarm clock provided in an embodiment of the present application. As shown in FIG. 1 , the method includes:
步骤101、获取电子设备的屏幕上的显示信息。Step 101: Acquire display information on the screen of the electronic device.
其中,电子设备可以为手机、平板电脑、笔记本电脑和可穿戴设备等终端设备。电子设备中可以安装闹钟应用程序(Application,APP),用户可以针对待处理事项,预先在闹钟APP中设置对应的闹钟提醒项,并在闹钟提醒项中设置待处理事项对应的预设信息和闹钟时间。The electronic devices may be terminal devices such as mobile phones, tablet computers, notebook computers, and wearable devices. An alarm clock application (Application, APP) can be installed in the electronic device. The user can set the corresponding alarm clock reminder items in the alarm clock APP in advance for the pending items, and set the preset information and alarm clock corresponding to the pending items in the alarm clock reminder item. time.
示例的,待处理事项可以为在固定时间(例如14:00)与客户进行电话沟通的事项,用户可以针对电话沟通事项,将客户的电话号码作为预设信息,在闹钟APP中预先建立闹钟提醒项,并在闹钟提醒项中设置闹钟时间(14:00),同时添加客户的电话号码(例如6465353)。闹钟提醒项的具体建立过程可以根据需求设置,本实施例对此不做限制。For example, the to-be-processed item may be a matter of telephone communication with the customer at a fixed time (for example, 14:00). The user may use the customer's phone number as the preset information for the telephone communication item, and pre-establish an alarm clock reminder in the alarm clock APP. item, and set the alarm time (14:00) in the alarm reminder item, and add the customer's phone number (for example, 6465353). The specific establishment process of the alarm reminder item may be set according to requirements, which is not limited in this embodiment.
电子设备在用户设置闹钟提醒项并保存之后,可以对电子设备的屏幕进行监测,在检测到拨号APP被启动之后,开始检测屏幕中显示的字符串信息,以获取屏幕中显示的电话号码。电子设备获取显示信息的具体过程可以根据需求设置,本实施例对此不做限制。After the user sets the alarm reminder item and saves it, the electronic device can monitor the screen of the electronic device, and after detecting that the dial-up APP is activated, start to detect the string information displayed on the screen to obtain the phone number displayed on the screen. The specific process of acquiring the display information by the electronic device may be set according to requirements, which is not limited in this embodiment.
其中,预设信息也可以为屏幕中的文本和图像等显示信息,本实施例对预设信息的具体类型不做限制。The preset information may also be display information such as text and images on the screen, and the specific type of the preset information is not limited in this embodiment.
步骤102、在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。Step 102: In the case that the similarity between the display information and the preset information in the preset alarm reminder item is greater than or equal to the preset threshold, it is forbidden to remind the user to process the pending information corresponding to the preset information when the alarm time of the alarm reminder item arrives. deal with matters.
本实施例中,电子设备在检测到用户点击拨号按钮之后,可以获取到显示信息,可以比较获取到的显示信息和预设信息,以确定预设信息对应的待处理事项是否完成。结合上述举例,若电子设备获取到的电话号码为“6465353”可以确定闹钟提醒项中的电话号码与获取到的电话号码一致,即预设信息与显示信息的相似度为100%,可以确定显示信息与预设信息的相似度大于等于预设阈值(100%),从而可以确定用户已经拨出了闹钟提醒项中的电话号码(预设信息),用户已经完成了闹钟提醒项对应的待处理事项。In this embodiment, after detecting that the user clicks the dial button, the electronic device can obtain display information, and can compare the obtained display information with preset information to determine whether the pending item corresponding to the preset information is completed. Combining the above example, if the phone number obtained by the electronic device is "6465353", it can be determined that the phone number in the alarm reminder item is consistent with the obtained phone number, that is, the similarity between the preset information and the displayed information is 100%, and it can be determined that the display The similarity between the information and the preset information is greater than or equal to the preset threshold (100%), so it can be determined that the user has dialed the phone number (preset information) in the alarm reminder item, and the user has completed the pending processing corresponding to the alarm reminder item matter.
电子设备在确定用户已完成待处理事项的情况下,可以在闹钟时间到达时禁止提醒用户。结合上述举例,若在14:00点之前,电子设备确定用户已经完成与客户的电话沟通,当时间到达14:00时,电子设备可以禁止通过响铃和/或振动的方式提醒用户。When the electronic device determines that the user has completed the to-be-processed item, the electronic device may prohibit reminding the user when the alarm time arrives. Combining the above example, if the electronic device determines that the user has completed the telephone communication with the customer before 14:00, when the time reaches 14:00, the electronic device may prohibit reminding the user by ringing and/or vibrating.
需要说明的是,针对不同类型的预设信息,可以设置不同的预设阈值,例如预设信息为图像,可以设置预设阈值为90%,当获取到的图像与预设图像之间的相似度大于等于90%时,可以确定预设信息对应的待处理事项已经完成。It should be noted that different preset thresholds can be set for different types of preset information. For example, the preset information is an image, and the preset threshold can be set to 90%. When the obtained image is similar to the preset image When the degree is greater than or equal to 90%, it can be determined that the to-be-processed item corresponding to the preset information has been completed.
综上所述,本实施例中,电子设备获取电子设备的屏幕上的显示信息,在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。当用户在闹钟时间之前完成对应的待处理事项时,禁止在闹钟时间提醒用户,可以避免在闹钟时间到达时通过响铃和/或振动的方式提醒用户,从而可以避免影响用户正常使用电子设备。To sum up, in this embodiment, the electronic device obtains the display information on the screen of the electronic device, and when the similarity between the display information and the preset information in the preset alarm reminder items is greater than or equal to the preset threshold, prohibiting When the alarm time of the alarm reminder item arrives, the user is reminded to process the pending items corresponding to the preset information. When the user completes the corresponding pending items before the alarm time, it is forbidden to remind the user at the alarm time, which can avoid reminding the user by ringing and/or vibration when the alarm time arrives, thereby avoiding affecting the normal use of the electronic device by the user.
图2是本申请实施例中提供的另一种闹钟处理方法的步骤流程图,如图2所示,该方法可以包括:FIG. 2 is a flowchart of steps of another method for processing an alarm clock provided in an embodiment of the present application. As shown in FIG. 2 , the method may include:
步骤201、接收用户对闹钟列表界面的第一输入,响应于第一输入,显示闹钟设置界面。Step 201: Receive a first input from a user on an alarm clock list interface, and display an alarm clock setting interface in response to the first input.
本实施例中,在设置闹钟提醒项的过程中,用户首先可以在闹钟APP中建立闹钟提醒项,然后根据闹钟提醒项对应的闹钟设置界面,对闹钟提醒项进行设置。In this embodiment, in the process of setting the alarm clock reminder item, the user can first create an alarm clock reminder item in the alarm clock APP, and then set the alarm clock reminder item according to the alarm clock setting interface corresponding to the alarm clock reminder item.
示例的,用户可以点击电子设备的屏幕中显示的闹钟APP图标,以打开闹钟列表界面,闹钟列表界面中可以包括闹钟提醒项建立控件,闹钟提醒项建立控件例如新建按钮。电子设备可以响应于用户对新建按钮的点击操作,建立闹钟提醒项,并在闹钟列表界面中显示与新建立的闹钟提醒项对应闹钟标识。第一输入用于打开闹钟提醒项对应的闹钟设置界面,第一输入例如点击闹钟标识的点击操作。电子设备可以响应于用户点击闹钟标识的点击操作,显示闹钟提醒项对应的闹钟设置界面。For example, the user may click on the alarm clock APP icon displayed on the screen of the electronic device to open the alarm clock list interface. The alarm clock list interface may include an alarm reminder item creation control, such as a new button. The electronic device may create an alarm clock reminder item in response to the user's click operation on the newly created button, and display an alarm clock identifier corresponding to the newly created alarm clock reminder item in the alarm clock list interface. The first input is used to open the alarm setting interface corresponding to the alarm reminder item, and the first input is, for example, a click operation of clicking the alarm clock logo. The electronic device may display an alarm setting interface corresponding to the alarm reminder item in response to a click operation of the user clicking the alarm clock logo.
其中,用户建立闹钟提醒项的具体过程,闹钟提醒项在闹钟列表界面中的显示形式,以及打开闹钟设置界面的具体过程可参考现有技术,本实施例对此不做限制。The specific process for the user to create an alarm clock reminder item, the display form of the alarm clock reminder item in the alarm clock list interface, and the specific process for opening the alarm clock setting interface may refer to the prior art, which is not limited in this embodiment.
步骤202、在闹钟设置界面接收用户输入的预设信息,得到包括预设信息的闹钟提醒项。Step 202: Receive preset information input by the user on the alarm clock setting interface, and obtain an alarm clock reminder item including the preset information.
本实施例中,预设信息可以包括预设图像,用户可以选择电子设备中存储的图像,将图像作为闹钟提醒项中的预设图像。In this embodiment, the preset information may include a preset image, and the user may select an image stored in the electronic device, and use the image as the preset image in the alarm reminder item.
相应的,步骤202可以通过如下方式实现:Correspondingly, step 202 can be implemented in the following manner:
接收用户对闹钟设置界面的第二输入,响应于第二输入,显示图像列表界面;图像列表界面中包括至少一个图像;receiving a second input from the user on the alarm clock setting interface, and in response to the second input, displaying an image list interface; the image list interface includes at least one image;
接收用户对至少一个图像中的目标图像的第三输入,响应于第三输入,显示目标图像;receiving a third user input for a target image in the at least one image, and displaying the target image in response to the third input;
接收用户对目标对象的第四输入,响应于第四输入,将目标图像作为预设图像,得到包括预设图像的闹钟提醒项。A fourth input from the user to the target object is received, and in response to the fourth input, the target image is used as a preset image to obtain an alarm clock reminder item including the preset image.
示例的,闹钟设置界面中可以包括图像列表显示控件,图像列表显示控件例如按钮。第二输入例如点击图像列表显示控件的点击操作,电子设备可以响应于用户点击图像列表显示控件的点击操作,显示图像列表界面。图像列表界面例如手机中的相册界面,电子设备可以读取手机中存储的至少一张图像,在读取到多张图像的情况下,以缩略图的形式在图像列表界面中显示多张图像。For example, the alarm clock setting interface may include an image list display control, such as a button. The second input is, for example, a click operation of clicking the image list display control, and the electronic device may display the image list interface in response to the user clicking the click operation of the image list display control. The image list interface is, for example, an album interface in a mobile phone. The electronic device can read at least one image stored in the mobile phone, and when multiple images are read, display multiple images in the image list interface in the form of thumbnails.
第三输入例如用户点击图像列表界面中的某个缩略图的点击操作,电子设备可以响应于用户的点击操作,确定用户点击的图像为目标图像,并在屏幕中显示目标图像。如图3所示,图3是本申请实施例中提供的一种目标图像的示意图,电子设备可以响应于用户的点击操作,在屏幕中显示缩略图对应的图像,即目标图像。第四输入例如长按目标图像(目标图像为目标对象)的操作,或者点击保存按钮(保存按钮为目标对象)的操作,电子设备可以响应于用户的长按操作或点击操作,将屏幕中显示的目标图像作为闹钟提醒项中的预设图像,并保存预设图像。The third input is, for example, a click operation of the user clicking on a thumbnail in the image list interface. The electronic device may, in response to the user's click operation, determine that the image clicked by the user is the target image, and display the target image on the screen. As shown in FIG. 3 , which is a schematic diagram of a target image provided in an embodiment of the present application, the electronic device may display an image corresponding to the thumbnail, that is, the target image, on the screen in response to a user's click operation. The fourth input is, for example, the operation of long pressing the target image (the target image is the target object), or the operation of clicking the save button (the save button is the target object). The target image is used as the preset image in the alarm reminder item, and the preset image is saved.
可选的,预设信息中还可以包括与预设图像对应的位置信息。Optionally, the preset information may further include location information corresponding to the preset image.
在显示目标图像之后,电子设备可以接收用户对目标图像的第五输入,响应于第五输入,确定目标图像中的目标区域,并确定目标区域的位置信息。After displaying the target image, the electronic device may receive a fifth input from the user on the target image, determine a target area in the target image in response to the fifth input, and determine location information of the target area.
相应的,接收用户对目标对象的第四输入,响应于第四输入,将目标图像作为预设图像,得到包括预设图像的闹钟提醒项的步骤可以通过如下方式实现:Correspondingly, the step of receiving the fourth input from the user to the target object, and in response to the fourth input, using the target image as the preset image, and obtaining the alarm clock reminder item including the preset image can be implemented in the following manner:
接收用户对目标对象的第四输入,响应于第四输入,将目标区域对应的区域图像作为预设图像,并将目标区域的位置信息作为与预设图像对应的位置信息,得到包括预设图像和位置信息的闹钟提醒项。Receive a fourth input from the user to the target object, and in response to the fourth input, use the area image corresponding to the target area as the preset image, and use the position information of the target area as the position information corresponding to the preset image, and obtain the image including the preset image and location alarms.
本实施例中,用户可以将目标图像中某个具体区域的区域图像作为预设图像。如图3所示,若待处理事项为在每天早上8:00进行的打卡事项,用户可以在设置闹钟提醒项之前,进入打卡应用程序的打卡界面,并执行截屏操作,得到并保存如图3所示的图像。在设置闹钟提醒项的过程中,在显示如图3所示的目标图像之后,用户可以将图像中包括打卡按钮“已经签到”的区域图像作为预设图像。In this embodiment, the user may use an area image of a specific area in the target image as a preset image. As shown in Figure 3, if the to-be-processed item is a check-in item performed at 8:00 every morning, the user can enter the check-in interface of the check-in application before setting the alarm reminder item, and perform a screenshot operation to obtain and save as shown in Figure 3 image shown. In the process of setting the alarm reminder item, after the target image shown in FIG. 3 is displayed, the user may use the image of the area including the punch button "checked in" as the preset image.
其中,第五输入用于确定目标图像中的目标区域。示例的,如图4所示,图4是本申请实施例中提供的另一种目标图像的示意图,第五输入可以是沿顺时针或逆时针方向在电子设备的屏幕中画圈的操作,用户可以从显示屏的A位置开始,沿顺时针方向滑动至A位置,以确定一个封闭的区域。电子设备可以响应于用户的滑动操作,确定滑动操作的滑动轨迹401,并根据滑动轨迹的边缘确定目标区域402。如图4所示,滑动轨迹左侧边缘中最小的横坐标为100,右侧边缘中最大的横坐标为300,上侧边缘中最大的纵坐标为100,下侧边缘中最小的纵坐标为50,此时可以确定目标区域402的左下角的坐标为(100,50),右上角的坐标为(300,100),将目标区域的坐标信息(左下角的坐标和右上角的坐标)作为目标区域402的位置信息。位置信息的具体形式可以根据需求设置,本实施例对此不做限制。Among them, the fifth input is used to determine the target area in the target image. 4 is a schematic diagram of another target image provided in the embodiment of the present application, and the fifth input may be an operation of drawing a circle on the screen of the electronic device in a clockwise or counterclockwise direction, The user can start at position A on the display and swipe clockwise to position A to define an enclosed area. The electronic device may determine the sliding
相应的,电子设备可以根据目标区域402的位置信息,从目标图像中确定目标区域对应的区域图像,目标区域对应的区域图像例如为图4中虚线矩形框框选的区域图像。在接收到第四输入之后,电子设备可以响应于第四输入,从目标图像中截取目标区域对应的区域图像,将区域图像作为预设图像,并将目标区域的位置信息作为与预设图像对应的位置信息。电子设备从目标图像中获取区域图像的具体过程可以根据需求设置,本实施例对此不做限制。Correspondingly, the electronic device can determine the area image corresponding to the target area from the target image according to the position information of the
步骤203、在第一时间到达时,开始获取显示信息。Step 203: When the first time arrives, start acquiring display information.
本实施例中,用户可以在设置闹钟提醒项的过程中,在闹钟提醒项中添加第一时间,以使电子设备从第一时间开始,获取屏幕中的显示信息。示例的,闹钟设置界面中可以包括第一时间输入控件,第一时间输入控件例如输入框。电子设备可以通过输入框接收用户输入的第一时间,得到包括第一时间的闹钟提醒项。第一时间输入控件的具体形式可以根据需求设置,本实施例对此不做限制。In this embodiment, the user may add the first time to the alarm clock reminder item in the process of setting the alarm clock reminder item, so that the electronic device can obtain the display information on the screen from the first time. For example, the alarm clock setting interface may include a first time input control, such as an input box. The electronic device can receive the first time input by the user through the input box, and obtain the alarm reminder item including the first time. The specific form of the first time input control can be set according to requirements, which is not limited in this embodiment.
其中,第一时间位于闹钟时间之前,结合步骤202,第一时间可以为7:30。电子设备可以在时间到达7:30时,开始获取屏幕中的显示信息。Wherein, the first time is before the alarm clock time, and in combination with
本实施例中,若预设信息包括预设图像,电子设备在获取显示信息时,可以获取屏幕中的显示图像。例如,电子设备可以每隔预设时间,如每隔2秒对屏幕执行一次截屏操作,获取屏幕中显示的显示图像。或者,电子设备可以每隔2秒,直接获取输出到屏幕中的显示图像。电子设备获取显示图像的过程可参考现有技术,本实施例对此不做限制。In this embodiment, if the preset information includes a preset image, the electronic device may acquire the display image on the screen when acquiring the display information. For example, the electronic device may perform a screen capture operation on the screen every preset time, such as every 2 seconds, to obtain the display image displayed on the screen. Alternatively, the electronic device may directly acquire the display image output to the screen every 2 seconds. For the process of acquiring the display image by the electronic device, reference may be made to the prior art, which is not limited in this embodiment.
需要说明的是,当闹钟提醒项中未包括第一时间时,电子设备可以在建立闹钟提醒项之后,开始对电子设备的屏幕进行检测,以获取屏幕中的显示信息。或者,电子设备也可以在默认时间开始获取屏幕中的显示信息,例如电子设备可以在每天的6点开始,对电子设备的屏幕进行检测,获取屏幕中的显示信息。It should be noted that, when the first time is not included in the alarm clock reminder item, the electronic device may start to detect the screen of the electronic device after the alarm clock reminder item is established to obtain the display information on the screen. Alternatively, the electronic device may also start acquiring the display information on the screen at a default time. For example, the electronic device may start at 6:00 every day to detect the screen of the electronic device and acquire the display information on the screen.
步骤204、在显示信息与预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。
其中,预设信息可以包括预设图像,显示信息可以为显示图像,步骤204可以通过如下方式实现:The preset information may include a preset image, and the display information may be a display image. Step 204 may be implemented in the following manner:
在显示图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。In the case that the similarity between the displayed image and the preset image is greater than or equal to the preset threshold, it is prohibited to remind the user to handle the pending matters when the alarm time arrives.
本实施例中,在获取到预设图像之后,电子设备可以比较显示图像与预设图像,确定显示图像与预设图像的相似度。结合步骤202,若闹钟提醒项中包括如图3所示的预设图像,电子设备在每次获取到显示图像之后,可以比较显示图像与预设图像中的每个像素点,当颜色信息相同的像素点的个数超过预设阈值,例如超过90%时,可以确定用户进入了如图3所示的打卡界面,说明用户已经完成了打卡事项,在闹钟时间到达时,禁止提醒用户。其中,颜色信息例如可以通过RGB(Red,Green,Blue)颜色模型表示,颜色信息可以为每个像素点分别在R通道、G通道和B通道的值。电子设备比较显示图像与预设图像的相似度的方法可参考现有技术,本实施例对此不做限制。In this embodiment, after acquiring the preset image, the electronic device may compare the displayed image with the preset image, and determine the similarity between the displayed image and the preset image. Combined with
实际应用中,由于应用程序界面与待处理事项对应,例如打卡、购物和视频聊天,用户可以针对待处理事项,根据对应的应用程序界面,在闹钟提醒项中设置对应的预设图像。电子设备可以根据屏幕中的显示图像和预设图像确定预设信息对应的待处理事项是否完成。将预设图像作为闹钟提醒项中的预设信息,可以方便用户根据不同应用程序界面,设置针对不同待处理事项的闹钟提醒项。In practical applications, since the application program interface corresponds to the to-be-processed items, such as check-in, shopping, and video chat, the user can set the corresponding preset image in the alarm reminder item according to the corresponding application program interface for the to-be-processed items. The electronic device may determine whether the to-be-processed item corresponding to the preset information is completed according to the displayed image and the preset image on the screen. Using the preset image as the preset information in the alarm clock reminder item can facilitate the user to set the alarm clock reminder item for different to-be-processed items according to different application program interfaces.
可选的,当预设信息中包括与预设图像对应的位置信息时,在显示图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项的步骤可以通过如下方式实现:Optionally, when the preset information includes the position information corresponding to the preset image, in the case that the similarity between the displayed image and the preset image is greater than or equal to the preset threshold, it is forbidden to remind the user to process the pending processing when the alarm time arrives. The steps of the matter can be achieved in the following ways:
根据位置信息,从显示图像中确定目标区域图像;Determine the target area image from the displayed image according to the position information;
在目标区域图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。In the case that the similarity between the target area image and the preset image is greater than or equal to the preset threshold, it is prohibited to remind the user to process the pending items when the alarm time arrives.
本实施例中,当预设信息中包括与预设图像对应的位置信息时,电子设备在比较预设图像和显示图像时,首先可以根据位置信息从显示图像中确定目标区域图像。结合步骤202,电子设备在每次截屏得到屏幕图像之后,首先可以根据闹钟提醒项中包括的坐标信息,从屏幕图像中截取对应的目标区域图像(例如图4中矩形区域对应的图像),然后比较目标区域图像与闹钟提醒项中的预设图像(预设图像例如图3中的打卡按钮“已经签到”占用的区域图像),在目标区域图像与预设图像的相似度大于等于预设阈值时,确定用户完成打卡事项,禁止在闹钟时间到达时提醒用户打卡。In this embodiment, when the preset information includes position information corresponding to the preset image, when the electronic device compares the preset image and the displayed image, firstly, the target area image can be determined from the displayed image according to the position information. Combining with
实际应用中,针对电子设备屏幕中的图像,选择目标区域中的图像作为闹钟提醒项中的预设图像,在闹钟提醒项的运行过程中,根据位置信息确定目标区域图像,比较目标区域图像和预设图像,可以更准确的通过屏幕中的图像变化,确定待处理事项是否完成。In practical applications, for the image on the screen of the electronic device, the image in the target area is selected as the preset image in the alarm clock reminder item. During the operation of the alarm clock reminder item, the target area image is determined according to the position information, and the target area image and the target area image are compared. The preset image can more accurately determine whether the to-be-processed item is completed through the change of the image on the screen.
需要说明的是,当预设信息中未包括位置信息时,电子设备可以在获取到显示图像之后,直接比较显示图像与预设图像,当预设信息中包括位置信息时,电子设备在获取到显示图像之后,首先根据位置信息从显示图像中获取目标区域图像,然后比较目标区域图像和预设图像。It should be noted that when the location information is not included in the preset information, the electronic device can directly compare the display image with the preset image after acquiring the display image. After the image is displayed, the target area image is first obtained from the displayed image according to the position information, and then the target area image and the preset image are compared.
可选的,用户可以针对预设信息(例如预设图像),设置对应的预设阈值。例如,闹钟设置界面中可以包括阈值输入控件,阈值输入控件例如输入框,电子设备可以接收用户通过输入框输入的数值,例如80%,将输入框中的数值作为与预设信息对应的预设阈值。其中,设置预设阈值的过程可以根据需求设置,本实施例对此不做限制。Optionally, the user may set a corresponding preset threshold for preset information (eg, preset image). For example, the alarm clock setting interface may include a threshold input control, such as an input box, the electronic device may receive a value input by the user through the input box, such as 80%, and use the value in the input box as the preset corresponding to the preset information threshold. The process of setting the preset threshold may be set according to requirements, which is not limited in this embodiment.
可选的,该方法还可以包括:Optionally, the method may further include:
在第二时间之前或第二时间,若显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值,则在状态栏中显示第二提示信息,第二提示信息用于提醒用户已完成闹钟提醒项对应的待处理事项。Before the second time or at the second time, if the similarity between the displayed information and the preset information in the preset alarm clock reminder item is greater than or equal to the preset threshold, the second prompt information is displayed in the status bar, and the second prompt information uses To remind the user that the pending item corresponding to the alarm reminder item has been completed.
本实施例中,在第二时间之前或第二时间,在确定用户已完成待处理事项的情况下,电子设备可以通过状态栏提醒用户已经完成待处理事项。例如,若第二时间为8:30,电子设备在7:25确定显示图像与预设图像的相似度大于等于预设阈值,可以确定打卡事项已完成,电子设备可以在7:25通过状态栏显示第二提示信息“打卡事项已完成”,通过第二提示信息通知用户打卡事项已经完成。再例如,若电子设备在8:30确定显示图像与预设图像的相似度大于等于预设阈值,可以确定打卡事项已完成,电子设备可以分别在8:30通过状态栏显示第二提示信息“打卡事项已完成”。第二提示信息的具体形式可以根据需求设置,本实施例对此不做限制。In this embodiment, before or at the second time, when it is determined that the user has completed the to-be-processed item, the electronic device may remind the user through the status bar that the to-be-processed item has been completed. For example, if the second time is 8:30, and the electronic device determines at 7:25 that the similarity between the displayed image and the preset image is greater than or equal to the preset threshold, it can be determined that the check-in item has been completed, and the electronic device can pass the status bar at 7:25 A second prompt message "The check-in item has been completed" is displayed, and the user is notified through the second prompt message that the check-in item has been completed. For another example, if the electronic device determines that the similarity between the displayed image and the preset image is greater than or equal to the preset threshold at 8:30, it can be determined that the check-in item has been completed, and the electronic device can display the second prompt message through the status bar at 8:30. The check-in has been completed." The specific form of the second prompt information can be set according to requirements, which is not limited in this embodiment.
实际应用中,电子设备在确定待处理事项已完成的情况下,可以通过状态栏显示第二提示信息,通过第二提示信息提醒用户,在不打扰用户使用电子设备的情况下,可以方便用户知晓待处理事项的进展。In practical applications, when the electronic device determines that the to-be-processed item has been completed, the second prompt information can be displayed through the status bar, and the user can be reminded through the second prompt information, which can be convenient for the user to know without disturbing the user's use of the electronic device. The progress of pending items.
需要说明的是,电子设备在第一次确定待处理事项已完成的情况下,可以停止获取显示信息,以降低电子设备的功耗。It should be noted that, when the electronic device determines for the first time that the item to be processed has been completed, it may stop acquiring the display information, so as to reduce the power consumption of the electronic device.
步骤205、在显示信息与预设信息的相似度小于预设阈值的情况下,在第一时间至第二时间之间的时间段内,在状态栏中显示第一提示信息。
其中,第一提示信息用于提醒用户未完成闹钟提醒项对应的待处理事项。Wherein, the first prompt information is used to remind the user that the pending item corresponding to the alarm reminder item has not been completed.
本实施例中,在确定显示信息与预设信息之间的相似度小于预设阈值的情况下,可以确定用户未完成待处理事项。结合步骤204,若显示图像与预设图像之间的相似度小于90%,则可以确定用户未执行打卡事项,打卡事项未完成。在确定用户未完成待处理事项的情况下,电子设备可以通过状态栏提醒用户处理待处理事项。结合上述举例,电子设备在确定打卡事项未完成的情况下,可以在状态栏中显示第一提示信息“打卡事项未完成,请及时打卡”,以提醒用户及时进行打卡。第一提示信息的具体形式可以根据需求设置,本实施例对此不做限制。In this embodiment, when it is determined that the similarity between the displayed information and the preset information is less than the preset threshold, it can be determined that the user has not completed the pending items. In combination with
需要说明的是,若确定用户未完成待处理事项对应的时刻为闹钟时间,则可以在屏幕的整个区域,按照常规提醒的方式显示第一提示信息。在确定用户未完成待处理事项的情况下,电子设备可以在闹钟时间之前显示第一提示信息,也可以在闹钟时间之后显示第一提示信息,或者在第一时间和第二时间之间显示第一提示信息。It should be noted that, if it is determined that the time corresponding to the unfinished item to be processed by the user is the alarm clock time, the first prompt information may be displayed in the entire area of the screen in a conventional prompt manner. In the case that it is determined that the user has not completed the pending items, the electronic device may display the first prompt information before the alarm time, or display the first prompt information after the alarm time, or display the first prompt information between the first time and the second time. A prompt message.
实际应用中,在确定用户未完成待处理事项的情况下,通过状态栏提醒用户,可以避免用户忘记待处理事项,并且由于通过状态栏提醒用户时,不改变电子设备的运行状态,可以避免影响用户正常使用电子设备。In practical applications, when it is determined that the user has not completed the pending items, reminding the user through the status bar can prevent the user from forgetting the pending items, and because the running state of the electronic device is not changed when reminding the user through the status bar, the impact can be avoided. The user uses the electronic device normally.
可选的,该方法还可以包括:Optionally, the method may further include:
在显示信息与预设信息的相似度小于预设阈值的情况下,在第二时间到达时,在屏幕中显示提醒界面。In the case that the similarity between the displayed information and the preset information is less than the preset threshold, when the second time arrives, a reminder interface is displayed on the screen.
其中,提醒界面用于提醒用户未完成待处理事项,并用于提醒用户对闹钟提醒项进行设置。The reminder interface is used to remind the user of unfinished to-be-processed items, and to remind the user to set an alarm clock reminder item.
本实施例中,在到达第二时间时,若用户仍然未完成待处理事项,电子设备可以显示提醒界面,提醒用户对待处理事项进行处理,并且通过提醒界面提醒用户对闹钟提醒项进行重新设置。例如,提醒界面中可以包括延期控件,延期控件例如延期按钮,不同的延期按钮对应不同的延期时间。电子设备可以响应于用户点击延期按钮的操作,确定闹钟提醒项对应的延期时间。例如,若延期按钮对应的延期时间为一小时,电子设备在接收到用户点击延期按钮的操作之后,可以确定一小时的延期时间。In this embodiment, when the second time arrives, if the user still has not completed the pending items, the electronic device may display a reminder interface to remind the user to process the pending items, and remind the user to reset the alarm reminder item through the reminder interface. For example, the reminder interface may include a delay control, such as a delay button, and different delay buttons correspond to different delay times. The electronic device may determine the delay time corresponding to the alarm reminder item in response to the operation of the user clicking the delay button. For example, if the delay time corresponding to the delay button is one hour, the electronic device may determine the delay time of one hour after receiving the operation of the user clicking the delay button.
相应的,电子设备确定延期时间之后,可以从第二时间开始计时,当计时时长到达延期时间时,通过关闭闹钟提醒项。其中,电子设备可以在延期时间内,获取屏幕中的显示信息,在根据显示信息和预设信息确定用户未完成待处理事项的情况下,在延期时间内通过状态栏提醒用户。同理,在根据显示信息和预设信息确定用户已完成待处理事项的情况下,在到达延期时间时禁止提醒用户,避免影响用户使用电子设备。Correspondingly, after the electronic device determines the extension time, it can start timing from the second time, and when the timing reaches the extension time, the alarm reminder item can be turned off. The electronic device may acquire the display information on the screen within the extension time, and remind the user through the status bar within the extension time when it is determined that the user has not completed the pending items according to the display information and the preset information. Similarly, when it is determined that the user has completed the pending items according to the displayed information and the preset information, it is forbidden to remind the user when the extension time is reached, so as to avoid affecting the user's use of the electronic device.
可选的,提醒界面中还可以包括设置控件,设置控件例如设置按钮,电子设备可以响应于用户点击设置按钮的点击操作,显示闹钟设置界面,通过闹钟设置界面对闹钟提醒项的闹钟时间、第一时间、第二时间和预设信息等进行设置,通过闹钟设置界面对闹钟提醒项进行设置的具体过程可参考上述举例,本实施例对此不做赘述。Optionally, the reminder interface may also include a setting control, such as a setting button, and the electronic device may display an alarm clock setting interface in response to a click operation of the user clicking the setting button. The first time, the second time, the preset information, etc. are set, and the specific process of setting the alarm reminder item through the alarm clock setting interface may refer to the above example, which will not be repeated in this embodiment.
可选的,提醒界面中还可以包括关闭控件,关闭控件例如关闭按钮,电子设备可以响应于用户点击关闭按钮的点击操作,关闭该闹钟提醒项。在关闭闹钟提醒项之后,电子设备可以停止获取屏幕中的显示信息,结束闹钟提醒项的运行。Optionally, the reminder interface may further include a close control, such as a close button, and the electronic device may close the alarm reminder item in response to a click operation of the user clicking the close button. After the alarm clock reminder item is turned off, the electronic device may stop acquiring the display information on the screen, and end the operation of the alarm clock reminder item.
本实施例中,在确定待处理事项未完成的情况下,在到达第二时间时,电子设备显示提醒界面,通过提醒界面可以提醒用户处理待处理事项,并且可以提醒用户对闹钟提醒项进行设置,例如可以显示提醒界面,通过提醒界面中的延期控件、设置控件和关闭控件等对闹钟提醒项进行重新设置,在提醒用户处理待处理事项的同时,可以提醒用户对闹钟提醒项进行重新设置,方便用户对闹钟提醒项进行管理。电子设备提醒用户对闹钟提醒项进行设置的具体方法可以根据需求设置,本实施例对此不做限制。In this embodiment, when it is determined that the to-be-processed item is not completed, when the second time arrives, the electronic device displays a reminder interface, through which the user can be reminded to process the to-be-processed item, and the user can be reminded to set the alarm reminder item , for example, a reminder interface can be displayed, and the alarm reminder item can be reset through the delay control, setting control, and closing control in the reminder interface. While reminding the user to deal with the pending items, the user can be reminded to reset the alarm reminder item. It is convenient for users to manage alarm clock reminder items. The specific method for the electronic device to remind the user to set the alarm clock reminder item may be set according to requirements, which is not limited in this embodiment.
可选的,该方法还可以包括:在第二时间到达后,停止获取显示信息。Optionally, the method may further include: after the second time arrives, stopping acquiring the display information.
本实施例中,用户可以在设置闹钟提醒项的过程中,在闹钟提醒项中添加第二时间,以使电子设备从第二时间开始,停止获取屏幕中的显示信息。示例的,闹钟设置界面中可以包括第二时间输入控件,第二时间输入控件例如输入框,用户可以通过输入框输入第二时间。电子设备可以接收用户输入的第二时间,得到包括第二时间的闹钟提醒项。其中,第二时间位于闹钟时间之后,结合上述举例,第二时间可以为8:30。电子设备可以检测电子设备中的时间,在时间到达8:30时,停止获取屏幕中的显示图像。In this embodiment, the user may add a second time to the alarm clock reminder item in the process of setting the alarm clock reminder item, so that the electronic device stops acquiring the display information on the screen from the second time. For example, the alarm clock setting interface may include a second time input control, and the second time input control is, for example, an input box, and the user can input the second time through the input box. The electronic device may receive the second time input by the user, and obtain an alarm clock reminder item including the second time. Wherein, the second time is located after the alarm clock time, and in combination with the above example, the second time may be 8:30. The electronic device can detect the time in the electronic device, and when the time reaches 8:30, stop acquiring the display image in the screen.
实际应用中,电子设备可以从第一时间开始获取显示图像,并第二时间之后停止获取显示图像,可以避免频繁的获取屏幕中的显示信息,降低电子设备的功耗。In practical applications, the electronic device may start acquiring the display image from the first time, and stop acquiring the display image after the second time, which can avoid frequently acquiring the display information on the screen and reduce the power consumption of the electronic device.
综上所述,本实施例中,电子设备在确定用户已完成年后总闹钟提醒项对应的待处理事项的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项,并且在确定用户未完成待处理事项的情况下,可以通过状态栏提醒用户。当用户在闹钟时间之前已经完成了待处理事项时,可以避免在闹钟时间到达时通过响铃和/或振动的方式提醒用户,避免影响用户正常使用电子设备。同时,在用户未完成待处理事项时,可以通过状态栏提醒用户,避免用户忘记待处理事项。To sum up, in this embodiment, when the electronic device determines that the user has completed the pending items corresponding to the total alarm clock reminder items after the year, it is forbidden to remind the user to process corresponding to the preset information when the alarm time of the alarm clock reminder item arrives. , and if it is determined that the user has not completed the pending items, the user can be reminded through the status bar. When the user has completed the to-be-processed items before the alarm time, it can be avoided to remind the user by means of ringing and/or vibration when the alarm time arrives, so as to avoid affecting the normal use of the electronic device by the user. At the same time, when the user has not completed the pending items, the user can be reminded through the status bar to prevent the user from forgetting the pending items.
可选的,闹钟提醒项包括多个预设信息;Optionally, the alarm reminder item includes multiple preset information;
相应的,电子设备在获取显示信息时,可以获取每个预设信息分别对应的显示信息。Correspondingly, when acquiring the display information, the electronic device may acquire the display information corresponding to each preset information.
相应的,步骤204可以通过如下方式实现:Correspondingly, step 204 can be implemented as follows:
在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。When the similarity between each preset information and the display information corresponding to the preset information is greater than or equal to the preset threshold corresponding to the preset information, it is prohibited to remind the user to process the pending items corresponding to the preset information when the alarm time arrives.
本实施例中,用户可以针对多个待处理事项,设置闹钟提醒项,并且在闹钟提醒项中设置每个待处理事项分别对应的预设信息。例如,闹钟提醒项对应待处理事项A、待处理事项B和待处理事项C,待处理事项A为在7:00与客户A进行电话沟通,待处理事项B为在7:05与客户B进行电话沟通,待处理事项C为在7:10与客户C进行电话沟通。用户可以设置闹钟提醒项,并在闹钟提醒项中分别添加客户A、客户B和客户C的电话号码,以及设置每个电话号码分别对应的闹钟时间。In this embodiment, the user may set an alarm clock reminder item for a plurality of items to be processed, and set preset information corresponding to each item to be processed in the alarm clock reminder item. For example, the alarm reminder item corresponds to pending item A, pending item B and pending item C, pending item A is for telephone communication with customer A at 7:00, and pending item B is for communication with customer B at 7:05 Telephone communication, pending item C is to have telephone communication with customer C at 7:10. The user can set an alarm clock reminder item, and add the phone numbers of customer A, customer B, and customer C to the alarm clock reminder item, and set the alarm clock time corresponding to each phone number.
电子设备可以在第一时间到达时,对屏幕进行检测,若屏幕中显示的电话号码与客户C的电话号码一致(相似度大于等于预设阈值100%),则可以确定待处理事项C已经完成,同理若屏幕中显示的电话号码与客户A的电话号码一致,可以确定待处理事项A已经完成。当确定待处理事项A、待处理事项B和待处理事项C都完成时,可以确用户完成了闹钟提醒项对应的所有待处理事项。The electronic device can detect the screen when it arrives at the first time. If the phone number displayed on the screen is consistent with the phone number of customer C (the similarity is greater than or equal to the preset threshold of 100%), it can be determined that the pending item C has been completed. , and similarly, if the phone number displayed on the screen is the same as that of customer A, it can be determined that the pending item A has been completed. When it is determined that the to-be-processed item A, the to-be-processed item B, and the to-be-processed item C are all completed, it can be determined that the user has completed all the to-be-processed items corresponding to the alarm reminder item.
需要说明的是,当预设信息为电话号码等预设信息时,每个预设信息对应的预设阈值可以相同,即都为100%,当预设信息为预设图像等信息时,可以针对每个预设图像分别设置不同的预设阈值,预设阈值的设置过程可参考上述举例。It should be noted that, when the preset information is preset information such as phone numbers, the preset thresholds corresponding to each preset information may be the same, that is, they are all 100%, and when the preset information is information such as preset images, you can Different preset thresholds are respectively set for each preset image. For the process of setting the preset thresholds, reference may be made to the above examples.
本实施例中,闹钟提醒项中可以包括多个预设信息,从而可以使闹钟提醒项同时对多个待处理事项进行提醒,可以方便用户同时对多个待处理事项进行管理。In this embodiment, the alarm reminder item may include multiple preset information, so that the alarm clock reminder item can simultaneously remind multiple items to be processed, which can facilitate the user to manage multiple items to be processed at the same time.
可选的,闹钟提醒项还可以包括预设顺序;Optionally, the alarm reminder item may also include a preset sequence;
相应的,在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理与预设信息对应的待处理事项的步骤可以通过如下方式实现:Correspondingly, when the similarity between each preset information and the display information corresponding to the preset information is greater than or equal to the preset threshold corresponding to the preset information, it is forbidden to remind the user to process the pending information corresponding to the preset information when the alarm time arrives. The steps to deal with the matter can be implemented as follows:
在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,确定预设信息对应的待处理事项已完成;In the case where the similarity between each preset information and the display information corresponding to the preset information is greater than or equal to the preset threshold value corresponding to the preset information, it is determined that the pending item corresponding to the preset information has been completed;
在每个预设信息对应的待处理事项的完成顺序均符合预设顺序的情况下,禁止在闹钟时间到达时提醒用户处理预设信息对应的待处理事项。In the case that the completion order of the pending items corresponding to each preset information conforms to the preset order, it is prohibited to remind the user to process the pending items corresponding to the preset information when the alarm clock time arrives.
本实施例中,当闹钟提醒项对应多个待处理事项时,用户设置多个待处理事项之间的顺序关系,得到包括预设顺序的闹钟提醒项。示例的,针对待处理事项A、待处理事项B和待处理事项C,闹钟提醒项中包括客户A、客户B和客户C的电话号码,用户可以在闹钟设置界面中设置三个电话号码之间的顺序关系,该顺序关系对应待处理事项A、待处理事项B和待处理事项C之间的顺序关系。例如,可以为每个客户的电话号码分别对应的顺序标识,如设置客户A的电话号码的顺序标识为1,表示客户A的电话号码在客户B和客户C的电话号码之前;设置客户B的电话号码的顺序标识为2,表示客户B的电话号码在客户C的电话号码之前,以及设置客户C的电话号码的顺序标识为3。预设顺序的具体形式可以根据需求设置,本实施例对此不做限制。In this embodiment, when an alarm clock reminder item corresponds to a plurality of items to be processed, the user sets a sequence relationship between the multiple items to be processed to obtain an alarm clock reminder item including a preset order. For example, for the to-be-processed item A, the to-be-processed item B, and the to-be-processed item C, the alarm reminder item includes the phone numbers of customer A, customer B, and customer C, and the user can set the alarm clock setting interface between the three phone numbers. The sequence relationship corresponds to the sequence relationship between the to-be-processed item A, the to-be-processed item B, and the to-be-processed item C. For example, a sequence identifier corresponding to each customer's phone number can be set, for example, the sequence identifier of customer A's phone number is set to 1, indicating that customer A's phone number precedes the phone numbers of customer B and customer C; setting customer B's phone number The sequence identifier of the phone numbers is 2, which means that the phone number of customer B is before the phone number of customer C, and the sequence identifier of the phone number of customer C is set to 3. The specific form of the preset sequence can be set according to requirements, which is not limited in this embodiment.
电子设备获取到屏幕中显示的电话号码之后,分别与客户A的电话号码、客户B的电话号码和客户C的电话号码进行比较,在确定待处理事项A、待处理事项B和待处理事项C完成的过程中,可以确定待处理事项A、待处理事项B和待处理事项C之间的完成顺序。若完成顺序为1-2-3,即先完成待处理事项A,然后待处理事项B,最后完后待处理事项C,可以确定每个待处理事项的完成顺序均符合预设顺序,从而可以确定用户完成了闹钟提醒项对应的所有待处理事项,并且每个待处理事项的完成顺序符合预设顺序,则禁止在闹钟时间到达时提醒用户处理待处理事项。After the electronic device obtains the phone number displayed on the screen, it compares it with the phone number of customer A, the phone number of customer B, and the phone number of customer C respectively, and then determines the pending item A, pending item B and pending item C. In the process of completion, the completion sequence of the to-be-processed item A, the to-be-processed item B, and the to-be-processed item C can be determined. If the completion order is 1-2-3, that is to say, the pending item A is completed first, then the pending item B, and finally the pending item C. It can be determined that the completion order of each pending item conforms to the preset order, so that the If it is determined that the user has completed all pending items corresponding to the alarm reminder item, and the completion order of each pending item conforms to the preset order, it is prohibited to remind the user to process the pending items when the alarm time arrives.
相反的,若完成顺序为2-1-3、1-3-2或者3-2-1,即待处理事项B在完成待处理事项A之前完成,和/或待处理事项C在完成待处理事项A和待处理事项B之前完成,可以确定存在完成顺序不符合预设顺序的待处理事项,此时在闹钟时间到达时继续提醒用户。Conversely, if the order of completion is 2-1-3, 1-3-2, or 3-2-1, that is, pending item B is completed before pending item A is completed, and/or pending item C is completed before pending processing is completed. Item A and pending item B have been completed before, and it can be determined that there are pending items whose completion order does not conform to the preset order. In this case, the user is continuously reminded when the alarm clock time arrives.
需要说明的是,若闹钟提醒项对应多个待处理事项,并包括多个待处理事项分别对应的预设信息时,可以只针对部分预设信息设置预设顺序,在闹钟提醒项的运行过程中,只根据预设顺序确定部分预设信息对应的待处理事项的完成顺序。针对未设置预设顺序的预设信息,可以不确定完成顺序。例如,可以只设置客户A的电话号码和客户B的电话号码的顺序标识,不设置客户B的电话号码的顺序标识。电子设备在执行闹钟提醒项时,若屏幕中出现客户C的电话号码,即可确定待处理事项C已完成,待处理事项C的确定与待处理事项A和待处理事项B的完成顺序无关。It should be noted that, if the alarm reminder item corresponds to multiple items to be processed and includes preset information corresponding to the multiple items to be processed, the preset order may be set only for some of the preset information. , the completion order of to-be-processed items corresponding to some of the preset information is determined only according to the preset order. For the preset information for which the preset sequence is not set, the completion sequence may not be determined. For example, only the sequence identifiers of customer A's phone number and customer B's phone number may be set, and the sequence identifier of customer B's phone number may not be set. When the electronic device executes the alarm clock reminder item, if the phone number of customer C appears on the screen, it can be determined that the pending item C has been completed. The determination of the pending item C has nothing to do with the completion order of the pending item A and the pending item B.
本实施例中,用户可以针对多个待处理事项,设置多个待处理事项的处理顺序,得到预设顺序。电子设备可以在确定每个预设信息对应的待处理事项的完成顺序均符合预设顺序时,确定闹钟提醒项对应的所有待处理事项已完成。当某个待处理事项的完成顺序不符合预设顺序时,确定该用户待处理实现未完成。通过预设顺序的设置,可以提醒用户顺序处理多个待处理事项。In this embodiment, the user may set the processing order of the plurality of to-be-processed matters to obtain the preset order. The electronic device may determine that all pending items corresponding to the alarm reminder item have been completed when it is determined that the completion order of the items to be processed corresponding to each preset information conforms to the preset order. When the completion order of a certain to-be-processed item does not conform to the preset order, it is determined that the to-be-processed implementation of the user is not completed. By setting the preset sequence, the user can be reminded to process multiple to-be-processed items in sequence.
可选的,该方法还可以包括:Optionally, the method may further include:
在预设信息对应的待处理事项的完成顺序不符合预设顺序的情况下,电子设备可以通知用户多个待处理事项的完成顺序错误。示例的,电子设备可以通过状态栏提醒用户多个待处理事项的完成顺序错误。电子设备通知用户多个待处理事项的完成顺序错误的方法可以根据需求设置,本实施例对此不做限制。In the case that the completion sequence of the items to be processed corresponding to the preset information does not conform to the preset sequence, the electronic device may notify the user that the completion sequence of the multiple items to be processed is wrong. For example, the electronic device may remind the user through the status bar that the completion sequence of the multiple to-be-processed items is incorrect. The method for the electronic device to notify the user that the completion sequence of multiple items to be processed is incorrect may be set according to requirements, which is not limited in this embodiment.
可选的,该方法还可以包括:Optionally, the method may further include:
在目标待处理事项的完成顺序不符合预设顺序的情况下,确定目标待处理事项未完成,提醒用户对目标待处理事项进行处理,目标待处理事项为任意一个预设信息对应的待处理事项。If the completion order of the target pending items does not conform to the preset order, it is determined that the target pending items are not completed, and the user is reminded to process the target pending items, and the target pending items are the pending items corresponding to any preset information. .
结合上述举例,若待处理事项B在待处理事项A完成之前完成,可以确定待处理事项B未完成。此时,电子设备可以提醒用户对待处理事项B进行处理。提醒用户对目标待处理事项进行处理的方法可以根据需求设置,本实施例对此不做限制。Combining the above example, if the to-be-processed item B is completed before the to-be-processed item A is completed, it can be determined that the to-be-processed item B is not completed. At this time, the electronic device can remind the user to process the to-be-processed matter B. The method for reminding the user to process the target to-be-processed item may be set according to requirements, which is not limited in this embodiment.
可选的,当预设信息包括预设图像时,用户可以直接打开APP,选择APP中的应用程序界面,将应用程序界面对应的图像作为预设图像。Optionally, when the preset information includes a preset image, the user can directly open the APP, select an application program interface in the APP, and use the image corresponding to the application program interface as the preset image.
相应的,步骤202还可以通过如下方式实现:Correspondingly, step 202 can also be implemented in the following manner:
接收用户对闹钟设置界面的第二输入,响应于第二输入,显示应用程序列表界面;应用程序列表界面中包括至少一个应用程序标识;receiving a second input from the user on the alarm clock setting interface, and in response to the second input, displaying an application program list interface; the application program list interface includes at least one application program identifier;
接收用户对至少一个应用程序标识中的目标应用程序标识的第三输入,响应于第三输入,打开目标应用程序标识对应的目标应用程序;receiving a third input from the user on the target application identifier in the at least one application identifier, and in response to the third input, opening the target application corresponding to the target application identifier;
接收用户对目标对象的第四输入,响应于第四输入,将应用程序界面对应的图像作为预设图像,得到包括预设图像的闹钟提醒项。A fourth input from the user to the target object is received, and in response to the fourth input, an image corresponding to the application program interface is used as a preset image, and an alarm clock reminder item including the preset image is obtained.
示例的,闹钟设置界面中可以包括程序列表显示控件,程序列表显示控件例如按钮。第二输入例如点击程序列表显示控件的点击操作,电子设备可以响应于用户点击程序列表显示控件的点击操作,显示应用程序列表界面,程序列表界面的具体形式可以参考图像列表界面,应用程序列表界面可以以缩略图的形式显示多个应用程序标识。For example, the alarm clock setting interface may include a program list display control, such as a button. The second input is, for example, a click operation of clicking on the program list display control. The electronic device may display the application program list interface in response to the user's click operation on the program list display control. The specific form of the program list interface can refer to the image list interface, the application program list interface Multiple application IDs can be displayed as thumbnails.
第三输入例如点击应用程序列表界面中的某个缩略图的点击操作,电子设备可以响应于用户的点击操作,确定用户点击的应用程序标识为目标应用程序标识,打开目标应用程序标识对应的应用程序。在打开应用程序之后,用户可以操作应用程序,切换到如图3所示的应用程序界面。第四输入例如长按应用程序界面(应用程序界面作为目标对象)的操作,电子设备可以响应于用户的长按操作,对屏幕执行截屏操作,获取屏幕图像(应用程序界面对应的图像),将截屏得到的屏幕图像作为闹钟提醒项中的预设图像,并保存预设图像。The third input is, for example, a click operation of clicking on a thumbnail in the application list interface, the electronic device can respond to the user's click operation, determine the application identifier clicked by the user as the target application identifier, and open the application corresponding to the target application identifier. program. After opening the application, the user can operate the application and switch to the application interface as shown in FIG. 3 . The fourth input is, for example, an operation of long-pressing the application program interface (the application program interface is used as the target object), and the electronic device can perform a screen capture operation on the screen in response to the user's long-pressing operation, obtain the screen image (the image corresponding to the application program interface), The screen image obtained by the screenshot is used as the preset image in the alarm reminder item, and the preset image is saved.
本实施例中,预设信息中包括与预设图像对应的位置信息时,电子设备可以接收用户对应用程序界面的第五输入,响应于第五输入,确定应用程序界面中的目标区域,并确定目标区域的位置信息。In this embodiment, when the preset information includes location information corresponding to the preset image, the electronic device may receive a fifth input from the user on the application program interface, determine the target area in the application program interface in response to the fifth input, and Determine the location information of the target area.
相应的,接收用户对目标应用程序中的应用程序界面的第四输入,响应于第四输入,将应用程序界面对应的图像作为预设图像,得到包括预设图像的闹钟提醒项的步骤可以通过如下方式实现:Correspondingly, the fourth input from the user to the application program interface in the target application program is received, and in response to the fourth input, the image corresponding to the application program interface is used as the preset image, and the step of obtaining the alarm clock reminder item including the preset image can be performed by: It is implemented as follows:
接收用户对目标对象的第四输入,响应于第四输入,将目标区域对应的区域图像作为预设图像,并将目标区域的位置信息作为预设图像的位置信息,得到包括预设图像和位置信息的闹钟提醒项。Receive a fourth input from the user to the target object, and in response to the fourth input, take the area image corresponding to the target area as the preset image, and use the location information of the target area as the location information of the preset image, and obtain the image including the preset image and the location Alarm reminder item for message.
结合上述举例,第五输入用于确定应用程序界面中的目标区域,电子设备可以响应于用户的滑动操作,确定滑动操作的滑动轨迹,并根据滑动轨迹的边缘确定应用程序界面中的目标区域。相应的,电子设备可以根据目标区域的位置信息,从应用程序界面中确定目标区域对应的区域图像。例如,电子设备可以根据目标区域的位置信息,从截屏得到的屏幕图像中,截取目标区域对应的区域图像。在接收到第四输入之后,电子设备可以响应于第四输入,将区域图像作为预设图像,并将目标区域的位置信息作为与预设图像对应的位置信息。Combining the above examples, the fifth input is used to determine the target area in the application program interface. The electronic device can determine the sliding trajectory of the sliding operation in response to the user's sliding operation, and determine the target area in the application program interface according to the edge of the sliding trajectory. Correspondingly, the electronic device can determine the area image corresponding to the target area from the application program interface according to the location information of the target area. For example, the electronic device may capture an area image corresponding to the target area from the screen image obtained by the screen capture according to the location information of the target area. After receiving the fourth input, the electronic device may, in response to the fourth input, use the area image as the preset image, and use the location information of the target area as the location information corresponding to the preset image.
需要说明的是,当预设信息中包括预设图像时,电子设备获取预设图像的方法包括但不限于通过图像列表界面和应用程序界面的方式获取。It should be noted that, when the preset information includes a preset image, the method for obtaining the preset image by the electronic device includes, but is not limited to, obtaining through an image list interface and an application program interface.
需要说明的是,本申请实施例提供的闹钟处理方法,执行主体可以为闹钟处理装置,或者该闹钟处理装置中的用于执行闹钟处理方法的控制模块。本申请实施例中以闹钟处理装置执行闹钟处理方法为例,说明本申请实施例提供的闹钟处理方法。It should be noted that, in the alarm clock processing method provided by the embodiments of the present application, the execution body may be an alarm clock processing apparatus, or a control module in the alarm clock processing apparatus for executing the alarm clock processing method. In the embodiments of the present application, an alarm clock processing method performed by an alarm clock processing apparatus is used as an example to describe the alarm clock processing method provided by the embodiments of the present application.
图5是本申请实施例中提供的一种闹钟处理装置的结构示意图,如图5所示,闹钟处理装置500包括:获取模块501和确定模块502。FIG. 5 is a schematic structural diagram of an alarm clock processing apparatus provided in an embodiment of the present application. As shown in FIG. 5 , the alarm
获取模块501用于获取电子设备的屏幕上的显示信息。The obtaining
确定模块502用于在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。The
综上所述,本实施例中,电子设备获取电子设备的屏幕上的显示信息,在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。当用户在闹钟时间之前完成待处理事项时,禁止在闹钟时间提醒用户,可以避免在闹钟时间到达时通过响铃和/或振动的方式提醒用户,从而可以避免影响用户正常使用电子设备。To sum up, in this embodiment, the electronic device obtains the display information on the screen of the electronic device, and when the similarity between the display information and the preset information in the preset alarm reminder items is greater than or equal to the preset threshold, prohibiting When the alarm time of the alarm reminder item arrives, the user is reminded to process the pending items corresponding to the preset information. When the user completes the pending items before the alarm time, it is forbidden to remind the user at the alarm time, which can avoid reminding the user by means of ringing and/or vibration when the alarm time arrives, so as to avoid affecting the normal use of the electronic device by the user.
可选的,预设信息包括预设图像。Optionally, the preset information includes a preset image.
获取模块501具体用于获取电子设备的屏幕上的显示图像。The acquiring
确定模块502具体用于在显示图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。The determining
可选的,预设信息还包括与预设图像对应的位置信息。Optionally, the preset information further includes location information corresponding to the preset image.
确定模块502具体用于根据位置信息,从显示图像中确定目标区域图像;在目标区域图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。The determining
可选的,闹钟提醒项还包括第一时间,第一时间位于闹钟时间之前。Optionally, the alarm reminder item further includes a first time, and the first time is before the alarm time.
获取模块501具体用于在第一时间到达时,开始获取显示信息。The acquiring
可选的,闹钟提醒项还包括第二时间,第二时间位于闹钟时间之后。Optionally, the alarm reminder item further includes a second time, and the second time is located after the alarm time.
获取模块501还用于在第二时间到达后,停止获取显示信息。The acquiring
可选的,确定模块502还用于在显示信息与预设信息的相似度小于预设阈值的情况下,在第一时间至第二时间之间的时间段内,在状态栏中显示第一提示信息;和/或,在第二时间到达时,在屏幕中显示提醒界面;Optionally, the determining
其中,第一提示信息用于提醒用户未完成待处理事项,提醒界面用于提醒用户未完成待处理事项,并用于提醒用户对闹钟提醒项进行设置。The first prompt information is used to remind the user of unfinished items to be processed, and the reminder interface is used to remind the user of unfinished items to be processed, and used to remind the user to set the alarm reminder item.
可选的,闹钟提醒项包括多个预设信息。Optionally, the alarm reminder item includes multiple preset information.
获取模块501具体用于获取每个预设信息分别对应的显示信息。The obtaining
确定模块502具体用于在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。The determining
图6是本申请实施例中提供的另一种闹钟处理装置的结构示意图,如图6所示,确定模块502包括确定单元5021和禁止单元5022。FIG. 6 is a schematic structural diagram of another alarm clock processing apparatus provided in an embodiment of the present application. As shown in FIG. 6 , the
确定单元5021用于在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,确定预设信息对应的待处理事项已完成。The determining
禁止单元5022用于在每个预设信息对应的待处理事项的完成顺序均符合预设顺序的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。The prohibiting
本申请实施例中的闹钟处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The alarm clock processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.
本申请实施例中的闹钟处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The alarm clock processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的闹钟处理装置能够实现图1至图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。The alarm clock processing apparatus provided by the embodiments of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 2 , and to avoid repetition, details are not repeated here.
可选的,如图7所示,图7是本申请实施例中提供的一种电子设备的结构示意图,电子设备700包括处理器701和存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述闹钟处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 7, FIG. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
处理器810,用于获取电子设备的屏幕上的显示信息;a
在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。When the similarity between the display information and the preset information in the preset alarm reminder item is greater than or equal to the preset threshold, it is prohibited to remind the user to process the pending items corresponding to the preset information when the alarm time of the alarm reminder item arrives.
综上所述,本实施例中,电子设备获取电子设备的屏幕上的显示信息,在显示信息与预先设置的闹钟提醒项中的预设信息的相似度大于等于预设阈值的情况下,禁止在闹钟提醒项的闹钟时间到达时提醒用户处理与预设信息对应的待处理事项。当用户在闹钟时间之前完成对应的待处理事项时,禁止在闹钟时间提醒用户,可以避免在闹钟时间到达时通过响铃和/或振动的方式提醒用户,从而可以避免影响用户正常使用电子设备。To sum up, in this embodiment, the electronic device obtains the display information on the screen of the electronic device, and when the similarity between the display information and the preset information in the preset alarm reminder items is greater than or equal to the preset threshold, prohibiting When the alarm time of the alarm reminder item arrives, the user is reminded to process the pending items corresponding to the preset information. When the user completes the corresponding pending items before the alarm time, it is forbidden to remind the user at the alarm time, which can avoid reminding the user by ringing and/or vibration when the alarm time arrives, thereby avoiding affecting the normal use of the electronic device by the user.
可选的,处理器810,具体用于获取电子设备的屏幕上的显示图像;Optionally, the
在显示图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。In the case that the similarity between the displayed image and the preset image is greater than or equal to the preset threshold, it is prohibited to remind the user to handle the pending matters when the alarm time arrives.
实际应用中,由于应用程序界面与待处理事项对应,例如打卡、购物和视频聊天,用户可以针对待处理事项对应的应用程序界面,在闹钟提醒项中设置与待处理事项对应的预设图像,电子设备可以根据屏幕中的显示图像和预设图像确定预设信息对应的待处理事项是否完成。将预设图像作为闹钟提醒项中的预设信息,可以方便用户根据不同应用程序,设置针对不同待处理事项的闹钟提醒项。In practical applications, since the application program interface corresponds to the to-be-processed items, such as check-in, shopping, and video chat, the user can set a preset image corresponding to the to-be-processed item in the alarm reminder item for the application program interface corresponding to the to-be-processed item. The electronic device may determine whether the to-be-processed item corresponding to the preset information is completed according to the displayed image and the preset image on the screen. Using the preset image as the preset information in the alarm clock reminder item can facilitate the user to set the alarm clock reminder item for different to-be-processed items according to different applications.
可选的,处理器810,具体用于根据位置信息,从显示图像中确定目标区域图像;在目标区域图像与预设图像的相似度大于等于预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。Optionally, the
实际应用中,针对电子设备屏幕中的图像,选择目标区域中的图像作为闹钟提醒项中的预设图像,在闹钟提醒项的运行过程中,根据位置信息确定目标区域图像,比较目标区域图像和预设图像,可以更准确的通过屏幕中的图像变化,确定待处理事项是否完成。In practical applications, for the image on the screen of the electronic device, the image in the target area is selected as the preset image in the alarm clock reminder item. During the operation of the alarm clock reminder item, the target area image is determined according to the position information, and the target area image and the target area image are compared. The preset image can more accurately determine whether the to-be-processed item is completed through the change of the image on the screen.
可选的,闹钟提醒项还包括第一时间,第一时间位于闹钟时间之前;Optionally, the alarm reminder item further includes a first time, and the first time is before the alarm time;
处理器810,具体用于在第一时间到达时,开始获取显示信息。The
可选的,闹钟提醒项还包括第二时间,第二时间位于闹钟时间之后;Optionally, the alarm reminder item further includes a second time, and the second time is located after the alarm time;
处理器810,具体用于在第二时间到达后,停止获取显示信息。The
实际应用中,电子设备可以从第一时间开始获取显示图像,并第二时间之后停止获取显示图像,可以避免频繁的获取屏幕中的显示信息,降低电子设备的功耗。In practical applications, the electronic device may start acquiring the display image from the first time, and stop acquiring the display image after the second time, which can avoid frequently acquiring the display information on the screen and reduce the power consumption of the electronic device.
可选的,处理器810,还用于在显示信息与预设信息的相似度小于预设阈值的情况下,在第一时间至第二时间之间的时间段内,在状态栏中显示第一提示信息;和/或,在第二时间到达时,在屏幕中显示提醒界面;Optionally, the
其中,第一提示信息用于提醒用户未完成闹钟提醒项对应的待处理事项,提醒界面用于提醒用户未完成待处理事项,并用于提醒用户对闹钟提醒项进行设置。The first prompt information is used to remind the user that the pending items corresponding to the alarm reminder items have not been completed, and the reminder interface is used to remind the user that the pending items have not been completed, and is used to remind the user to set the alarm reminder items.
实际应用中,在确定用户未完成待处理事项的情况下,通过状态栏提醒用户,可以避免用户忘记待处理事项,并且由于通过状态栏提醒用户时,不改变电子设备的运行状态,可以避免影响用户正常使用电子设备。In practical applications, when it is determined that the user has not completed the pending items, reminding the user through the status bar can prevent the user from forgetting the pending items, and because the running state of the electronic device is not changed when reminding the user through the status bar, the impact can be avoided. The user uses the electronic device normally.
同时,在确定待处理事项未完成的情况下,在到达第二时间时,电子设备显示提醒界面,通过提醒界面可以提醒用户处理待处理事项,并且可以提醒用户对闹钟提醒项进行设置,例如可以显示提醒界面,通过提醒界面中的延期控件、设置控件和关闭控件等对闹钟提醒项进行重新设置,在提醒用户处理待处理事项的同时,可以提醒用户对闹钟提醒项进行重新设置,方便用户对闹钟提醒项进行管理。At the same time, when it is determined that the pending items are not completed, when the second time arrives, the electronic device displays a reminder interface, through which the user can be reminded to process the pending items, and the user can be reminded to set the alarm reminder item, for example, you can Display the reminder interface, and reset the alarm reminder item through the delay control, setting control and closing control in the reminder interface. While reminding the user to deal with the pending items, it can remind the user to reset the alarm reminder item, which is convenient for the user to Alarm reminder items are managed.
可选的,闹钟提醒项包括多个预设信息;Optionally, the alarm reminder item includes multiple preset information;
处理器810,具体用于获取每个预设信息分别对应的显示信息;The
在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,禁止在闹钟时间到达时提醒用户处理待处理事项。In the case that the similarity between each preset information and the displayed information corresponding to the preset information is greater than or equal to the preset threshold value corresponding to the preset information, it is prohibited to remind the user to process the pending items when the alarm time arrives.
本实施例中,闹钟提醒项中可以包括多个预设信息,从而可以使闹钟提醒项同时对多个待处理事项进行提醒,可以方便用户同时对多个待处理事项进行管理。In this embodiment, the alarm reminder item may include multiple preset information, so that the alarm clock reminder item can simultaneously remind multiple items to be processed, which can facilitate the user to manage multiple items to be processed at the same time.
可选的,处理器810,具体用于在每个预设信息与预设信息对应的显示信息的相似度大于等于预设信息对应的预设阈值的情况下,确定预设信息对应的待处理事项已完成;Optionally, the
在每个预设信息对应的待处理事项的完成顺序均符合预设顺序的情况下,禁止在闹钟时间到达时提醒用户处理预设信息对应的待处理事项。In the case that the completion order of the pending items corresponding to each preset information conforms to the preset order, it is prohibited to remind the user to process the pending items corresponding to the preset information when the alarm clock time arrives.
本实施例中,用户可以针对多个待处理事项,设置多个待处理事项的处理顺序,得到预设顺序。电子设备可以在确定每个预设信息对应的待处理事项的完成顺序均符合预设顺序时,确定闹钟提醒项对应的所有待处理事项已完成。当某个待处理事项的完成顺序不符合预设顺序时,确定该用户待处理实现未完成。通过预设顺序的设置,可以提醒用户顺序处理多个待处理事项。In this embodiment, the user may set the processing order of the plurality of to-be-processed matters to obtain the preset order. The electronic device may determine that all pending items corresponding to the alarm reminder item have been completed when it is determined that the completion order of the items to be processed corresponding to each preset information conforms to the preset order. When the completion order of a certain to-be-processed item does not conform to the preset order, it is determined that the to-be-processed implementation of the user is not completed. By setting the preset sequence, the user can be reminded to process multiple to-be-processed items in sequence.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(GraphicsProcessing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。It should be understood that, in this embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述闹钟处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the method for processing an alarm clock can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述闹钟处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above-mentioned embodiments of the alarm clock processing method. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. In addition, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011027822.0A CN112153219B (en) | 2020-09-25 | 2020-09-25 | Alarm clock processing method, device, electronic device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011027822.0A CN112153219B (en) | 2020-09-25 | 2020-09-25 | Alarm clock processing method, device, electronic device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112153219A true CN112153219A (en) | 2020-12-29 |
CN112153219B CN112153219B (en) | 2021-06-15 |
Family
ID=73897603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011027822.0A Active CN112153219B (en) | 2020-09-25 | 2020-09-25 | Alarm clock processing method, device, electronic device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112153219B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114422641A (en) * | 2021-09-27 | 2022-04-29 | 深圳小辣椒科技有限责任公司 | Familiarity alarm clock telephone system and method for caring for old people |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7836400B2 (en) * | 2006-03-31 | 2010-11-16 | Research In Motion Limited | Snooze support for event reminders |
CN102868825A (en) * | 2012-09-24 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and system for realizing an alarm clock of a mobile terminal |
CN104917879A (en) * | 2015-04-27 | 2015-09-16 | 努比亚技术有限公司 | Method for canceling alarm clock prompt, device for canceling alarm clock prompt and mobile terminal |
CN105306720A (en) * | 2015-11-03 | 2016-02-03 | 中科创达软件股份有限公司 | Alarm clock and implementation method thereof |
CN106850981A (en) * | 2017-01-15 | 2017-06-13 | 姚广宇 | A kind of quarter-bell method for closing and device |
-
2020
- 2020-09-25 CN CN202011027822.0A patent/CN112153219B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7836400B2 (en) * | 2006-03-31 | 2010-11-16 | Research In Motion Limited | Snooze support for event reminders |
CN102868825A (en) * | 2012-09-24 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and system for realizing an alarm clock of a mobile terminal |
CN104917879A (en) * | 2015-04-27 | 2015-09-16 | 努比亚技术有限公司 | Method for canceling alarm clock prompt, device for canceling alarm clock prompt and mobile terminal |
CN105306720A (en) * | 2015-11-03 | 2016-02-03 | 中科创达软件股份有限公司 | Alarm clock and implementation method thereof |
CN106850981A (en) * | 2017-01-15 | 2017-06-13 | 姚广宇 | A kind of quarter-bell method for closing and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114422641A (en) * | 2021-09-27 | 2022-04-29 | 深圳小辣椒科技有限责任公司 | Familiarity alarm clock telephone system and method for caring for old people |
Also Published As
Publication number | Publication date |
---|---|
CN112153219B (en) | 2021-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11416112B2 (en) | Method and device for displaying an application interface | |
US12321580B2 (en) | Wallpaper display control method and apparatus and electronic device | |
CN111866270B (en) | Application program control method and device and electronic equipment | |
WO2022022566A1 (en) | Graphic code identification method and apparatus and electronic device | |
CN112099685B (en) | Notification message display control method and device, electronic equipment and readable storage medium | |
CN111917628B (en) | Message processing method, device and electronic device | |
WO2023005828A1 (en) | Message display method and apparatus, and electronic device | |
WO2023025060A1 (en) | Interface display adaptation processing method and apparatus, and electronic device | |
CN111897476A (en) | Anti-mistouch setting method and device | |
CN111694490B (en) | Setting method, device and electronic equipment | |
WO2022135290A1 (en) | Screenshot capturing method and apparatus, and electronic device | |
WO2022213945A1 (en) | Application reminding method and apparatus, and electronic device | |
CN113794795B (en) | Information sharing method, device, electronic device and readable storage medium | |
CN113296649A (en) | Icon display method and device and electronic equipment | |
CN113835577A (en) | Display method, display device, electronic equipment and storage medium | |
CN113114845A (en) | Notification message display method and device | |
CN112764611A (en) | Application program control method and device and electronic equipment | |
WO2023030129A1 (en) | Message display method, apparatus and electronic device | |
CN112148406A (en) | Page switching method and device, electronic equipment and readable storage medium | |
CN113709306B (en) | Session processing method, device and electronic device | |
CN113596238B (en) | Information display methods, devices, electronic equipment and media | |
CN112153219A (en) | Alarm clock processing method and device, electronic equipment and readable storage medium | |
CN111930296A (en) | Electronic equipment control method and device and electronic equipment | |
WO2023125238A1 (en) | Unlocking control method and apparatus, electronic device, and readable storage medium | |
CN114115655B (en) | Shortcut reminding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |