Movatterモバイル変換


[0]ホーム

URL:


CN117201593A - Message push method, device and electronic equipment - Google Patents

Message push method, device and electronic equipment
Download PDF

Info

Publication number
CN117201593A
CN117201593ACN202311223202.8ACN202311223202ACN117201593ACN 117201593 ACN117201593 ACN 117201593ACN 202311223202 ACN202311223202 ACN 202311223202ACN 117201593 ACN117201593 ACN 117201593A
Authority
CN
China
Prior art keywords
time
time period
message
terminal
information
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.)
Pending
Application number
CN202311223202.8A
Other languages
Chinese (zh)
Inventor
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202311223202.8ApriorityCriticalpatent/CN117201593A/en
Publication of CN117201593ApublicationCriticalpatent/CN117201593A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本申请公开了一种消息推送方法、装置及电子设备,属于通信技术领域。其中,该方法包括:在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;在待推送消息的消息推送时间到达的情况下,终端显示待推送消息;其中,终端信息包括第一类终端信息或第二类终端信息,其中,第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。

This application discloses a message push method, device and electronic equipment, which belongs to the field of communication technology. Wherein, the method includes: when the terminal information meets the message delay condition, the terminal caches the message to be pushed; when the message push time of the message to be pushed arrives, the terminal displays the message to be pushed; wherein the terminal information includes the first category Terminal information or second type terminal information, where the first type of terminal information includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; the second type of terminal information includes at least one of the following: user input The message push time period and message push location.

Description

Translated fromChinese
消息推送方法、装置及电子设备Message push method, device and electronic equipment

技术领域Technical field

本申请属于通信技术领域,具体涉及一种消息推送方法、装置及电子设备。This application belongs to the field of communication technology, and specifically relates to a message push method, device and electronic equipment.

背景技术Background technique

随着用户的电子设备中安装的应用的不断增加,每天都会接收到多个应用推送的大量的推送消息,推送消息首先由推送服务器发出,然后推送消息到达电子设备端的推送引擎,接着电子设备调用通知栏接口,最后将配置好的推送消息显示于屏幕显示区域的通知栏中。As the number of applications installed in users' electronic devices continues to increase, a large number of push messages from multiple applications are received every day. The push messages are first sent by the push server, and then the push messages reach the push engine on the electronic device, and then the electronic device calls Notification bar interface, finally displays the configured push message in the notification bar in the screen display area.

目前,由于用户不会实时查看通知栏,所以无法及时查看推送消息,待用户有时间查看通知栏时,面对通知栏中的大量未读的推送消息,用户经常无法一一查看,甚至有的推送消息会被直接清除,从而导致推送消息很容易被用户遗漏阅读。Currently, because users do not view the notification bar in real time, they cannot view push messages in a timely manner. When users have time to view the notification bar, they are often faced with a large number of unread push messages in the notification bar and are often unable to view them one by one, or even some of them. Push messages will be cleared directly, causing push messages to be easily missed and read by users.

发明内容Contents of the invention

本申请实施例的目的是提供一种消息推送方法、装置及电子设备,能够考虑时区变化信息、日程信息、闹钟信息、终端使用时间段、用户输入的消息推送时间段或者消息推送位置,确定推送消息的合适时机,实现了在合适的消息推送时间,显示待推送消息,从而提高了待推送消息的查看率,有效避免了推送消息被用户遗漏阅读。The purpose of the embodiments of the present application is to provide a message push method, device and electronic device that can consider time zone change information, schedule information, alarm clock information, terminal use time period, user input message push time period or message push location to determine the push The appropriate timing of the message enables the display of the message to be pushed at the appropriate message push time, thereby increasing the viewing rate of the message to be pushed and effectively preventing the push message from being missed by the user.

第一方面,本申请实施例提供了一种消息推送方法,该方法包括:In a first aspect, embodiments of the present application provide a message push method, which method includes:

在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;When the terminal information meets the message delay condition, the terminal caches the message to be pushed;

在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息;When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed;

其中,所述终端信息包括第一类终端信息或第二类终端信息,其中,所述第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;所述第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。Wherein, the terminal information includes the first type of terminal information or the second type of terminal information, wherein the first type of terminal information includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; The second type of terminal information includes at least one of the following: message push time period and message push location input by the user.

第二方面,本申请实施例提供了一种消息推送装置,该方法包括:In a second aspect, embodiments of the present application provide a message push device. The method includes:

处理模块,用于在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;The processing module is used for the terminal to cache the message to be pushed when the terminal information meets the message delay condition;

显示模块,用于在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息;A display module configured to cause the terminal to display the message to be pushed when the message push time of the message to be pushed arrives;

其中,所述终端信息包括第一类终端信息或第二类终端信息,其中,所述第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;所述第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。Wherein, the terminal information includes the first type of terminal information or the second type of terminal information, wherein the first type of terminal information includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; The second type of terminal information includes at least one of the following: message push time period and message push location input by the user.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the first aspect are implemented.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.

第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.

在本申请的实施例中,通过在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;其中,终端信息包括第一类终端信息或第二类终端信息,其中,第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。这里,可以将消息延迟条件的待推送消息先进行缓存,避免了由于将接收到的待推送消息直接推送给用户,导致的对用户造成打扰以及待推送消息的查看率低的问题;在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,能够考虑时区变化信息、日程信息、闹钟信息、终端使用时间段、用户输入的消息推送时间段或者消息推送位置,确定推送消息的合适时机,实现了在合适的消息推送时间,显示待推送消息,从而提高了待推送消息的查看率,有效避免了推送消息被用户遗漏阅读。In the embodiment of the present application, when the terminal information satisfies the message delay condition, the terminal caches the message to be pushed; wherein the terminal information includes the first type of terminal information or the second type of terminal information, where the first type of terminal information It includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; the second type of terminal information includes at least one of the following: message push time period and message push location input by the user. Here, the message to be pushed under the message delay condition can be cached first to avoid the problem of disturbing the user and low viewing rate of the message to be pushed due to pushing the received message to be pushed directly to the user; When the message push time arrives, the terminal displays the message to be pushed and can consider time zone change information, schedule information, alarm clock information, terminal usage time period, user input message push time period or message push location to determine the appropriate push message The timing enables the message to be pushed to be displayed at the appropriate message push time, thereby increasing the viewing rate of the message to be pushed and effectively preventing the push message from being missed by users.

附图说明Description of the drawings

图1是本申请的一些实施例提供的消息推送方法的流程图;Figure 1 is a flow chart of a message push method provided by some embodiments of the present application;

图2(a)是本申请的一些实施例提供的设置选项的界面示意图;Figure 2(a) is a schematic interface diagram of setting options provided by some embodiments of the present application;

图2(b)是本申请的一些实施例提供的基于用户行为的设置选项的界面示意图;Figure 2(b) is a schematic interface diagram of setting options based on user behavior provided by some embodiments of the present application;

图3是本申请的一些实施例提供的时区变化信息的界面示意图;Figure 3 is a schematic interface diagram of time zone change information provided by some embodiments of the present application;

图4是本申请的一些实施例提供的日程信息的界面示意图;Figure 4 is a schematic interface diagram of schedule information provided by some embodiments of the present application;

图5是本申请的一些实施例提供的闹钟提醒信息的界面示意图;Figure 5 is a schematic interface diagram of alarm clock reminder information provided by some embodiments of the present application;

图6是本申请的一些实施例提供的终端使用时间段的界面示意图;Figure 6 is a schematic interface diagram of the terminal usage time period provided by some embodiments of the present application;

图7(a)是本申请的一些实施例提供的自定义策略的界面示意图;Figure 7(a) is a schematic interface diagram of a custom policy provided by some embodiments of the present application;

图7(b)是本申请的一些实施例提供的基于自定义策略的设置选项的界面示意图;Figure 7(b) is a schematic interface diagram of setting options based on custom policies provided by some embodiments of the present application;

图8(a)是本申请的一些实施例提供的基于自定义策略的设置选项的界面示意图;Figure 8(a) is a schematic interface diagram of setting options based on custom policies provided by some embodiments of the present application;

图8(b)是本申请的一些实施例提供的消息推送位置和消息推送时间段的界面示意图;Figure 8(b) is a schematic interface diagram of the message push location and message push time period provided by some embodiments of the present application;

图9(a)是本申请的一些实施例提供的跳转显示地图应用的界面示意图;Figure 9(a) is a schematic interface diagram of a jump display map application provided by some embodiments of the present application;

图9(b)是本申请的一些实施例提供的目标位置标识的界面示意图;Figure 9(b) is a schematic interface diagram of target location identification provided by some embodiments of the present application;

图10是本申请的一些实施例提供的消息推送装置的结构图;Figure 10 is a structural diagram of a message push device provided by some embodiments of the present application;

图11是本申请的一些实施例的电子设备的硬件结构示意图;Figure 11 is a schematic diagram of the hardware structure of an electronic device according to some embodiments of the present application;

图12是本申请的一些实施例的电子设备的硬件结构示意图。Figure 12 is a schematic diagram of the hardware structure of an electronic device according to some embodiments of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例的附图,对本申请实施例的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the embodiments of the present application will be clearly described below with reference to the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.

本申请的说明书和权利要求书的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个,第二对象是多个,即第一对象是至少两个。此外,说明书以及权利要求中字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this 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 figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or multiple, and the second object may be multiple, that is, there are at least two first objects. In addition, the character "/" in the description and claims generally indicates that the related objects are in an "or" relationship.

本申请实施例提供的消息推送方法至少可以应用于下述应用场景中,下面进行说明。The message push method provided by the embodiments of this application can be applied to at least the following application scenarios, which will be described below.

目前,当电子设备接收到推送消息时,就立刻将推送消息显示在通知栏中,由于用户不会实时查看通知栏,所以无法及时查看推送消息,待用户有时间查看通知栏时,面对通知栏中的大量未读的推送消息,用户经常无法一一查看,甚至有的推送消息会被直接清除。Currently, when an electronic device receives a push message, it immediately displays the push message in the notification bar. Since the user does not view the notification bar in real time, the push message cannot be viewed in time. When the user has time to view the notification bar, the user will be faced with the notification. There are a large number of unread push messages in the column, and users often cannot view them one by one, and some push messages are even cleared directly.

而且,当电子设备接收到推送消息时,直接对接收到的推送消息进行推送,在推送消息设置有提示音的情况下,推送消息的提示音会对用户造成打扰,影响用户体验。Moreover, when the electronic device receives the push message, it directly pushes the received push message. When the push message is set with a prompt sound, the prompt sound of the push message will disturb the user and affect the user experience.

由于用户从A城市旅游到东京,A城市和东京所在时区不同,导致用户在接收到推送消息时的使用信息会有差别,例如用户所在的时区目前刚好在处于休息时间;或者,接收到推送消息的时刻恰好处于用户的睡眠时间;或者,接收到推送消息的时刻恰好处于用户的日程时间段,日程时间段例如:会议时间段、出游时间段或者出差时间段;或者,接收到推送消息的时刻恰好处于用户的上班时间段中,基于用户的使用习惯,用户上班时查看电子设备的时间不是很多。在上述场景中,推送消息到达以后,不能被用户及时点击,即用户无法及时查看该推送消息。Since the user travels from city A to Tokyo, and city A and Tokyo are in different time zones, the user's usage information will be different when receiving push messages. For example, the time zone where the user is located is currently during rest time; or, when a push message is received The time when the push message is received happens to be during the user's sleep time; or, the time when the push message is received happens to be during the user's schedule time period, such as: meeting time period, travel time period or business trip time period; or, the time when the push message is received It happens to be during the user's working hours. Based on the user's usage habits, the user does not spend much time checking electronic devices when working. In the above scenario, after the push message arrives, it cannot be clicked by the user in time, that is, the user cannot view the push message in time.

例如基于上述场景,用户不希望在休息的时间内或者有事情的时间内被打扰,但是还希望能够接收到推送消息,基于用户这样的需求,本申请实施例提供一种消息推送方法、装置及电子设备,能够提升待推送消息的查看率。For example, based on the above scenario, the user does not want to be disturbed during rest time or busy time, but also hopes to receive push messages. Based on the user's needs, embodiments of the present application provide a message push method, device and Electronic devices can increase the viewing rate of messages to be pushed.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息推送方法进行详细地说明。The message push method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.

图1为本申请实施例提供的一种消息推送方法的流程图。Figure 1 is a flow chart of a message pushing method provided by an embodiment of the present application.

如图1所示,该消息推送方法可以包括步骤110-步骤120,该方法应用于消息推送装置,具体如下所示:As shown in Figure 1, the message push method may include steps 110 to 120. The method is applied to the message push device, specifically as follows:

步骤110,在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;Step 110: When the terminal information meets the message delay condition, the terminal caches the message to be pushed;

其中,终端信息包括第一类终端信息或第二类终端信息,其中,第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。The terminal information includes the first type of terminal information or the second type of terminal information, wherein the first type of terminal information includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; the second type of terminal information Include at least one of the following: message push time period and message push location input by the user.

终端信息用于确定消息延迟条件,即终端信息是判断每一条待推送消息是否延迟推送的判断因素。Terminal information is used to determine message delay conditions, that is, terminal information is a factor in determining whether each message to be pushed is delayed.

在终端信息为时区变化信息的情况下,判断待推送消息是否延迟推送的判断因素是时区变化信息;即时区变化后的终端的系统时间是否位于基于时区变化信息确定的消息推送时间之外;When the terminal information is time zone change information, the factor that determines whether the message to be pushed is delayed is the time zone change information; that is, whether the system time of the terminal after the zone change is outside the message push time determined based on the time zone change information;

在终端信息为日程信息的情况下,判断待推送消息是否延迟推送的判断因素是日程信息;即终端的系统时间是否位于基于日程信息确定的消息推送时间之外;When the terminal information is schedule information, the factor that determines whether the message to be pushed is delayed is the schedule information; that is, whether the system time of the terminal is outside the message push time determined based on the schedule information;

在终端信息为闹钟信息的情况下,判断待推送消息是否延迟推送的判断因素是闹钟信息;即终端的系统时间是否位于基于闹钟信息确定的消息推送时间之外;When the terminal information is alarm clock information, the determining factor for determining whether the message to be pushed is delayed is the alarm clock information; that is, whether the system time of the terminal is outside the message push time determined based on the alarm clock information;

在终端信息为终端使用时间段的情况下,判断待推送消息是否延迟推送的判断因素是终端使用时间段;即终端的系统时间是否位于基于终端使用时间段确定的消息推送时间之外;When the terminal information is the terminal usage time period, the determining factor for determining whether the message to be pushed is delayed is the terminal usage time period; that is, whether the system time of the terminal is outside the message push time determined based on the terminal usage time period;

在终端信息为用户输入的消息推送时间段的情况下,判断待推送消息是否延迟推送的判断因素是用户输入的消息推送时间段;即终端的系统时间是否位于用户输入的消息推送时间段之外;When the terminal information is the message push time period input by the user, the factor to determine whether the message to be pushed is delayed is the message push time period input by the user; that is, whether the system time of the terminal is outside the message push time period input by the user. ;

在终端信息为消息推送位置的情况下,判断待推送消息是否延迟推送的判断因素是消息推送位置息;即终端的位置是否位于消息推送位置之外。When the terminal information is the message push location, the factor that determines whether the message to be pushed is delayed is the message push location information; that is, whether the terminal's location is outside the message push location.

在终端信息满足消息延迟条件的情况下,通过缓存待推送消息,等待合适的时机进行待推送消息的推送,即消息推送时间到达时,进行待推送消息的推送。When the terminal information meets the message delay condition, the message to be pushed is cached and the message to be pushed is waited for the appropriate time, that is, when the message push time is reached, the message to be pushed is pushed.

在本申请的一些实施例中,还可以包括以下步骤:In some embodiments of the present application, the following steps may also be included:

显示至少两个终端信息设置选项,其中,至少两个终端信息设置选项包括以下至少两项:时区变化信息设置选项、日程信息设置选项、闹钟信息设置选项和终端使用时间段设置选项;Display at least two terminal information setting options, wherein the at least two terminal information setting options include at least two of the following: time zone change information setting options, schedule information setting options, alarm clock information setting options and terminal use time period setting options;

接收用户对至少两个终端信息设置选项中的目标终端信息设置选项的选择输入,其中,目标终端信息设置选项包括至少两个终端信息设置选项中的至少一项;Receive user selection input for a target terminal information setting option among at least two terminal information setting options, wherein the target terminal information setting option includes at least one of the at least two terminal information setting options;

响应于选择输入,将目标终端信息设置选项指示的终端信息确定为第一类终端信息,并根据第一类终端信息,确定消息延迟条件。In response to the selection input, the terminal information indicated by the target terminal information setting option is determined as the first type of terminal information, and the message delay condition is determined based on the first type of terminal information.

其中,显示至少两个终端信息设置选项的步骤之前,还可以包括:Before the step of displaying at least two terminal information setting options, it may also include:

显示用户行为设置选项和自定义策略选项;Display user behavior setting options and custom policy options;

响应于对用户行为设置选项的选中输入,显示至少两个终端信息设置选项。In response to a selected input of the user behavior setting option, at least two terminal information setting options are displayed.

其中,“智能通知”设置界面,包括用户行为设置选项和自定义策略选项。Among them, the "Smart Notification" setting interface includes user behavior setting options and custom policy options.

如图2(a)所示,在“智能通知”设置界面,包括:用户行为设置选项和自定义策略选项,响应于对用户行为设置选项的选中输入,如图2(b)所示,可以显示用户行为设置选项对应的终端信息设置选项,具体包括:时区变化信息设置选项210、日程信息设置选项220、闹钟信息设置选项230和终端使用时间段设置选项240。As shown in Figure 2(a), the "Smart Notification" setting interface includes: user behavior setting options and custom policy options. In response to the selected input of the user behavior setting options, as shown in Figure 2(b), you can The terminal information setting options corresponding to the user behavior setting options are displayed, specifically including: time zone change information setting option 210, schedule information setting option 220, alarm clock information setting option 230, and terminal usage time period setting option 240.

显示至少两个终端信息设置选项,可以显示两个终端信息设置选项、三个终端信息设置选项,或者四个终端信息设置选项。At least two terminal information setting options are displayed, and two terminal information setting options, three terminal information setting options, or four terminal information setting options may be displayed.

例如,显示闹钟信息设置选项230和终端使用时间段设置选项240。For example, the alarm clock information setting option 230 and the terminal usage time period setting option 240 are displayed.

接收用户对至少两个终端信息设置选项中的目标终端信息设置选项的选择输入,选择输入用于选择一个终端信息设置选项,即选择判断每一条待推送消息是否延迟推送的判断因素。Receive the user's selection input for the target terminal information setting option among at least two terminal information setting options. The selection input is used to select one terminal information setting option, that is, to select the judgment factors for judging whether each message to be pushed is delayed.

目标终端信息设置选项可以为一个终端信息设置选项、两个终端信息设置选项、三个终端信息设置选项,或者四个终端信息设置选项。The target terminal information setting options may be one terminal information setting option, two terminal information setting options, three terminal information setting options, or four terminal information setting options.

例如,接收到选择输入的目标终端信息设置选项为终端使用时间段设置选项240。For example, the target terminal information setting option that receives the selection input is the terminal use time period setting option 240 .

响应于选择输入,将终端使用时间段设置选项240指示的终端信息确定为第一类终端信息,因此第一类终端信息为终端使用时间段设置选项240指示的终端使用时间段。In response to the selection input, the terminal information indicated by the terminal use time period setting option 240 is determined as the first type of terminal information, so the first type of terminal information is the terminal use time period indicated by the terminal use time period setting option 240 .

具体地,如图2(b)所示,接收用户对时区变化信息设置选项210的开关控件211的点击输入,响应于用户对时区变化信息设置选项210的开关控件211的点击输入,将时区变化信息设置选项210指示的终端信息确定为第一类终端信息;Specifically, as shown in FIG. 2(b), the user's click input on the switch control 211 of the time zone change information setting option 210 is received, and in response to the user's click input on the switch control 211 of the time zone change information setting option 210, the time zone change is The terminal information indicated by the information setting option 210 is determined to be the first type of terminal information;

接收用户对日程信息设置选项220的开关控件221的点击输入,响应于用户对日程信息设置选项220的开关控件221的点击输入,将日程信息设置选项220指示的终端信息确定为第一类终端信息;Receive the user's click input on the switch control 221 of the schedule information setting option 220, and determine the terminal information indicated by the schedule information setting option 220 as the first type of terminal information in response to the user's click input on the switch control 221 of the schedule information setting option 220. ;

接收用户对闹钟信息设置选项230的开关控件231的点击输入,响应于用户对闹钟信息设置选项230的开关控件231的点击输入,将闹钟信息设置选项230指示的终端信息确定为第一类终端信息;Receive the user's click input on the switch control 231 of the alarm clock information setting option 230, and in response to the user's click input on the switch control 231 of the alarm clock information setting option 230, determine the terminal information indicated by the alarm clock information setting option 230 as the first type of terminal information ;

接收用户对终端使用时间段设置选项240的开关控件241的点击输入,响应于用户对终端使用时间段设置选项240的开关控件241的点击输入,将终端使用时间段设置选项240指示的终端信息确定为第一类终端信息。Receive the user's click input on the switch control 241 of the terminal use time period setting option 240, and determine the terminal information indicated by the terminal use time period setting option 240 in response to the user's click input on the switch control 241 of the terminal use time period setting option 240. It is the first type of terminal information.

由此,响应于用户对至少两个终端信息设置选项中的目标终端信息设置选项的选择输入,将目标终端信息设置选项指示的终端信息确定为第一类终端信息,可以根据用户的使用需求,根据用户选择目标终端信息设置选项指示的终端信息确定为第一类终端信息,并根据用户选择的第一类终端信息,确定消息延迟条件,由此,能够基于用户的使用需求确定消息延迟条件,在合适的时机,对待推送消息进行缓存,以暂缓推送。Thus, in response to the user's selection input of the target terminal information setting option among the at least two terminal information setting options, the terminal information indicated by the target terminal information setting option is determined as the first type of terminal information, which can be based on the user's usage needs. The terminal information indicated by the user's selection of the target terminal information setting option is determined as the first type of terminal information, and the message delay condition is determined based on the first type of terminal information selected by the user. Thus, the message delay condition can be determined based on the user's usage needs. At the right time, cache the message to be pushed to postpone the push.

步骤120,在待推送消息的消息推送时间到达的情况下,终端显示待推送消息;Step 120: When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed;

在本申请的一些实施例中,步骤110中,具体可以包括以下步骤:In some embodiments of the present application, step 110 may specifically include the following steps:

终端将待推送消息和待推送消息的消息推送时间段关联存储至延迟消息存储空间;The terminal associates and stores the message to be pushed and the message push time period of the message to be pushed into the delayed message storage space;

在确定终端信息满足消息延迟条件的情况下,终端确定消息推送时间段,并且将待推送消息和待推送消息的消息推送时间段关联存储至延迟消息存储空间,便于后续基于消息推送时间段确定在待推送消息的消息推送时间到达的情况下,终端从延迟消息存储空间中获取待推送消息并显示待推送消息,由此,能够便于终端快速获取待推送消息,并显示待推送消息。When it is determined that the terminal information meets the message delay condition, the terminal determines the message push time period, and associates and stores the message to be pushed and the message push time period of the message to be pushed in the delayed message storage space, so as to facilitate subsequent determination of the message push time period based on the message push time period. When the message push time of the message to be pushed arrives, the terminal obtains the message to be pushed from the delayed message storage space and displays the message to be pushed. This facilitates the terminal to quickly obtain the message to be pushed and display the message to be pushed.

相应地,步骤120中,具体可以包括以下步骤:Accordingly, step 120 may specifically include the following steps:

在终端的系统时间到达消息推送时间段的起始时刻的情况下,终端确定消息推送时间段内的消息推送时刻;When the system time of the terminal reaches the starting time of the message push time period, the terminal determines the message push time within the message push time period;

在终端的系统时间到达消息推送时刻的情况下,终端确定待推送消息的消息推送时间到达,并从延迟消息存储空间中,获取待推送消息,并显示待推送消息。When the system time of the terminal reaches the message push time, the terminal determines that the message push time of the message to be pushed has arrived, obtains the message to be pushed from the delayed message storage space, and displays the message to be pushed.

其中,消息推送时间段是一段时间,该段时间为用户方便查看消息的时间,消息推送时间段的起始时刻,也就是用户方便查看消息的起始时刻,在终端的系统时间到达消息推送时间段的起始时刻的情况下,说明从该系统时间起之后的一段时间内,用户都方便查看消息。此时确定消息推送时间段内的消息推送时刻,因此,在终端的系统时间到达消息推送时刻的情况下,从延迟消息存储空间中,获取待推送消息,并显示待推送消息,能够在用户方便查看消息的时刻显示待推送消息,能够提升推送消息的点击率。Among them, the message push time period is a period of time, which is the time when the user can easily view the message. The starting time of the message push time period is the starting time when the user can easily view the message. The message push time is reached at the system time of the terminal. In the case of the starting time of the segment, it means that users can easily view messages within a period of time starting from the system time. At this time, the message push time within the message push time period is determined. Therefore, when the system time of the terminal reaches the message push time, the message to be pushed is obtained from the delayed message storage space and the message to be pushed is displayed, which can be convenient for the user. Displaying messages to be pushed when viewing messages can increase the click-through rate of push messages.

例如,消息推送时间段为11:00-12:00,消息推送时间段的起始时刻为11:00,在终端的系统时间到达消息推送时间段的起始时刻的情况下,终端确定消息推送时间段内的消息推送时刻,消息推送时间段内的消息推送时刻为11:10,在终端的系统时间到达消息推送时刻11:10的情况下,终端确定待推送消息的消息推送时间到达。For example, the message push time period is 11:00-12:00, and the starting time of the message push time period is 11:00. When the system time of the terminal reaches the starting time of the message push time period, the terminal determines the message push The message push time within the time period is 11:10. When the system time of the terminal reaches the message push time 11:10, the terminal determines that the message push time of the message to be pushed has arrived.

由此,在终端的系统时间到达消息推送时刻的情况下,终端确定待推送消息的消息推送时间到达,此时为用户方便查看消息的时间,此时从延迟消息存储空间中,获取待推送消息,并显示待推送消息,用户查看待推送消息的概率较大,从而提升推送消息的点击率。Therefore, when the system time of the terminal reaches the message push time, the terminal determines that the message push time of the message to be pushed has arrived. At this time, it is convenient for the user to view the message. At this time, the message to be pushed is obtained from the delayed message storage space. , and displays the message to be pushed, the user is more likely to view the message to be pushed, thereby increasing the click-through rate of the push message.

下面,对如何确定消息推送时间段内的消息推送时刻进行说明:Below is an explanation of how to determine the message push moment within the message push time period:

其中,上述涉及到的终端确定消息推送时间段内的消息推送时刻的步骤中,具体可以包括以下步骤:Among them, the above-mentioned steps for the terminal to determine the message push time within the message push time period may specifically include the following steps:

在消息推送时间段内,终端监测用户是否在使用终端程序功能,在终端监测到用户正在使用终端程序功能的情况下,终端将消息推送时间段内的第二时刻确定为待推送消息的消息推送时刻,其中,第二时刻为晚于监测到用户正在使用终端程序功能的第一时刻且与第一时刻间隔第一时长的时刻;During the message push time period, the terminal monitors whether the user is using the terminal program function. When the terminal detects that the user is using the terminal program function, the terminal determines the second moment within the message push time period as the message push of the message to be pushed. time, wherein the second time is a time later than the first time when it is detected that the user is using the terminal program function and separated from the first time by a first length of time;

或者,在消息推送时间段内,终端监测终端的网速,在终端监测到终端的网速大于网速阈值的情况下,终端将消息推送时间段内的第四时刻确定为待推送消息的消息推送时刻,其中,第四时刻为晚于监测到终端的网速大于网速阈值的第三时刻且与第三时刻间隔第二时长的时刻;Alternatively, during the message push time period, the terminal monitors the network speed of the terminal. When the terminal detects that the network speed of the terminal is greater than the network speed threshold, the terminal determines the fourth moment in the message push time period as the message to be pushed. Push time, wherein the fourth time is later than the third time when the terminal's network speed is detected to be greater than the network speed threshold and is separated by a second length of time from the third time;

或者,将消息推送时间段内的第五时刻确定为待推送消息的消息推送时刻,其中,第五时刻为晚于消息推送时间段的起始时刻且与起始时刻间隔第三时长的时刻。Alternatively, the fifth time within the message push time period is determined as the message push time of the message to be pushed, where the fifth time is a time later than the start time of the message push time period and separated by a third time period from the start time.

其中,终端监测用户是否在使用终端程序功能,可以为基于每10秒一次的频率进行监测,对亮屏状态下的电子设备的前台应用进行监测,以及对用户的触控输入进行监测。Among them, the terminal monitors whether the user is using the terminal program function, which can be based on a frequency of once every 10 seconds, monitoring the foreground application of the electronic device in the bright screen state, and monitoring the user's touch input.

例如,在监测到亮屏状态下的电子设备显示有视频应用的情况下,确定用户正在使用视频应用的功能。在监测到用户对会话应用的触控输入的情况下,确定用户正在使用会话应用的功能。For example, when it is detected that a video application is displayed on the electronic device with the screen turned on, it is determined that the user is using the function of the video application. When the user's touch input to the conversational application is detected, it is determined that the user is using a function of the conversational application.

一方面,在消息推送时间段内,终端监测用户是否在使用终端程序功能,在终端监测到用户正在使用终端程序功能的情况下,终端将消息推送时间段内的第二时刻确定为待推送消息的消息推送时刻,其中,第二时刻为晚于监测到用户正在使用终端程序功能的第一时刻且与第一时刻间隔第一时长的时刻。On the one hand, during the message push time period, the terminal monitors whether the user is using the terminal program function. When the terminal detects that the user is using the terminal program function, the terminal determines the second moment within the message push time period as the message to be pushed. The message push time, wherein the second time is later than the first time when it is detected that the user is using the terminal program function and is separated by a first time period from the first time.

例如,消息推送时间段为11:00-12:00,终端监测用户是否在使用终端程序功能,若用户在使用终端程序功能,则说明用户可以及时查看到待推送消息;若用户没有在使用终端程序功能,则说明用户可能无法及时查看到待推送消息。For example, the message push time period is 11:00-12:00, and the terminal monitors whether the user is using the terminal program function. If the user is using the terminal program function, it means that the user can view the message to be pushed in time; if the user is not using the terminal program function, it means that users may not be able to view the messages to be pushed in time.

在消息推送时间段内,在终端监测到用户正在使用终端程序功能的情况下,确定监测到用户正在使用终端程序功能的第一时刻,第一时刻例如为11:10;具体地,可以将为晚于监测到用户正在使用终端程序功能的第一时刻且与第一时刻间隔第一时长的第二时刻定为待推送消息的消息推送时刻,例如,第一时长为10分钟,则第二时刻为11:20。During the message push time period, when the terminal detects that the user is using the terminal program function, the first time when the user is detected to be using the terminal program function is determined. The first time is, for example, 11:10; specifically, it may be The second time that is later than the first time when it is detected that the user is using the terminal program function and is separated by a first time period from the first time is determined as the message push time of the message to be pushed. For example, if the first time time is 10 minutes, then the second time time It's 11:20.

这里,由于11:10时用户在使用终端程序功能,说明此时用户正在查看电子设备的显示界面,用户具备及时查看消息的条件,在11:10-11:20的时间段内,预计用户已经使用完成终端程序功能,例如11:10-11:20的时间段内,用户已经回复完联系人的消息,用户在11:20时处于空闲且正在查看电子设备显示界面的状态,由此,在晚于监测到用户正在使用终端程序功能的第一时刻且与第一时刻间隔第一时长的第二时刻,即在11:20对待推送消息进行推送,查看待推送消息的概率较大,能够提升推送消息的点击率。Here, since the user is using the terminal program function at 11:10, it means that the user is viewing the display interface of the electronic device at this time, and the user has the conditions to view the message in time. During the time period of 11:10-11:20, the user is expected to have Use the terminal program function to complete, for example, within the time period from 11:10 to 11:20, the user has finished replying to the contact's message, and the user is idle and viewing the display interface of the electronic device at 11:20. Therefore, in The second time that is later than the first time when it is detected that the user is using the terminal program function and is separated by a first time period from the first time, that is, at 11:20, the message to be pushed is pushed. The probability of viewing the message to be pushed is relatively high, which can improve Click-through rate of push messages.

在消息推送时间段内,在终端监测到用户正在使用终端程序功能的情况下,确定监测到用户正在使用终端程序功能的第一时刻,第一时刻例如为11:30;具体地,可以将为晚于监测到用户正在使用终端程序功能的第一时刻且与第一时刻间隔第一时长的第二时刻定为待推送消息的消息推送时刻,例如,第一时长为10分钟,则第二时刻为11:40。During the message push time period, when the terminal detects that the user is using the terminal program function, the first time when the user is detected to be using the terminal program function is determined. The first time is, for example, 11:30; specifically, it may be The second time that is later than the first time when it is detected that the user is using the terminal program function and is separated by a first time period from the first time is determined as the message push time of the message to be pushed. For example, if the first time time is 10 minutes, then the second time time It's 11:40.

由此,在终端监测到用户正在使用终端程序功能的情况下,用户正在使用终端程序功能的第一时刻之后的一段时间段内用户查看待推送消息的概率较大,将晚于第一时刻且与第一时刻间隔第一时长的第二时刻,确定为待推送消息的消息推送时刻,在该消息推送时刻对待推送消息进行推送,能够提升推送消息的点击率。Therefore, when the terminal detects that the user is using the terminal program function, the probability that the user views the message to be pushed in a period of time after the first moment when the user is using the terminal program function is relatively high, and will be later than the first moment and The second moment separated by a first time period from the first moment is determined as the message push time of the message to be pushed. Pushing the message to be pushed at this message push moment can increase the click-through rate of the push message.

另一方面,在消息推送时间段内,终端监测终端的网速,在终端监测到终端的网速大于网速阈值的情况下,终端将消息推送时间段内的第四时刻确定为待推送消息的消息推送时刻,其中,第四时刻为晚于监测到终端的网速大于网速阈值的第三时刻且与第三时刻间隔第二时长的时刻;On the other hand, during the message push time period, the terminal monitors the network speed of the terminal. When the terminal detects that the network speed of the terminal is greater than the network speed threshold, the terminal determines the fourth moment in the message push time period as the message to be pushed. The message push time, wherein the fourth time is later than the third time when the network speed of the terminal is detected to be greater than the network speed threshold and is separated by a second time period from the third time;

例如,消息推送时间段为11:00-12:00,监测到终端的网速大于网速阈值的第三时刻为11:10,第二时长为1分钟,与第三时刻间隔第二时长的第四时刻为11:11,此时,网络顺畅且用户查看待推送消息的概率较大,能够迅速加载待推送消息,便于用户查看;For example, the message push time period is 11:00-12:00, the third time when the terminal's network speed is detected to be greater than the network speed threshold is 11:10, the second time is 1 minute, and the third time is separated by the second time. The fourth moment is 11:11. At this time, the network is smooth and the probability of users viewing the messages to be pushed is high. The messages to be pushed can be quickly loaded for users to view;

例如,消息推送时间段为11:00-12:00,监测到终端的网速大于网速阈值的第三时刻为11:30,第二时长为1分钟,与第三时刻间隔第二时长的第四时刻为11:31,此时,网络顺畅且用户查看待推送消息的概率较大,能够迅速加载待推送消息,便于用户查看。For example, the message push time period is 11:00-12:00, the third time when the terminal's network speed is detected to be greater than the network speed threshold is 11:30, the second time is 1 minute, and the third time is separated by the second time. The fourth moment is 11:31. At this time, the network is smooth and the user has a high probability of viewing the message to be pushed. The message to be pushed can be quickly loaded for users to view.

由于终端的网速大于网速阈值时,推送消息的加载速度较快,网页加载速度和视频加载速度都比较快,能够迅速加载待推送消息,便于用户查看,将监测到终端的网速大于网速阈值的第三时刻且与第三时刻间隔第二时长的时刻,确定为待推送消息的消息推送时刻,在该消息推送时刻对待推送消息进行推送,能够迅速加载待推送消息,便于用户查看,提升用户体验。Because when the network speed of the terminal is greater than the network speed threshold, the push message loading speed is faster, the web page loading speed and the video loading speed are faster, and the messages to be pushed can be loaded quickly to facilitate the user's viewing. It will be monitored that the terminal's network speed is greater than the network speed. The third time of the speed threshold and the second time interval from the third time is determined as the message push time of the message to be pushed. At this message push time, the message to be pushed is pushed, and the message to be pushed can be quickly loaded for easy viewing by the user. Improve user experience.

又一方面,将消息推送时间段内的第五时刻确定为待推送消息的消息推送时刻,其中,第五时刻为晚于消息推送时间段的起始时刻且与起始时刻间隔第三时长的时刻。On the other hand, the fifth moment in the message push time period is determined as the message push moment of the message to be pushed, wherein the fifth moment is later than the start time of the message push time period and separated by a third time period from the start time. time.

例如,消息推送时间段为11:00-12:00,消息推送时间段的起始时刻为11:00,第三时长为10分钟,第五时刻为11:10,在终端的系统时间到达消息推送时刻11:10的情况下,终端确定待推送消息的消息推送时间到达。For example, the message push time period is 11:00-12:00, the starting time of the message push time period is 11:00, the third time is 10 minutes, the fifth time is 11:10, and the message arrives at the system time of the terminal When the push time is 11:10, the terminal determines that the message push time of the message to be pushed has arrived.

由此,在终端的系统时间到达消息推送时刻的情况下,终端确定待推送消息的消息推送时间到达,此时为用户方便查看消息的时间,此时从延迟消息存储空间中,获取待推送消息,并显示待推送消息,用户查看待推送消息的概率较大,从而提升推送消息的点击率。Therefore, when the system time of the terminal reaches the message push time, the terminal determines that the message push time of the message to be pushed has arrived. At this time, it is convenient for the user to view the message. At this time, the message to be pushed is obtained from the delayed message storage space. , and displays the message to be pushed, the user is more likely to view the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括第一类终端信息且第一类终端信息为时区变化信息的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is time zone change information, the time zone change information includes instructions for switching the positioning position of the terminal from the first time zone to the third time zone. Second time zone information;

步骤120之前,还可以包括以下步骤:Before step 120, the following steps may also be included:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the message push time period for the message to be pushed;

其中,消息延迟条件为终端的系统时间位于消息推送时间段之外。Among them, the message delay condition is that the system time of the terminal is outside the message push time period.

具体地,时区变化信息包括系统提示信息或时区标识,其中,系统提示信息为提示从一个时区切换到另一个时区的描述信息,时区标识为指示切换前的时区和切换后的时区的字符串,字符串可以为数字或字母,或者数字和字母的组合。Specifically, the time zone change information includes system prompt information or time zone identification, where the system prompt information is description information prompting switching from one time zone to another time zone, and the time zone identification is a string indicating the time zone before switching and the time zone after switching, Strings can be numbers or letters, or a combination of numbers and letters.

例如,时区变化信息可以为系统提示信息“您已从第一时区来到第二时区”,时区变化信息可以为时区标识“00-01”,“00”可以用于指示第一时区,“01”用于指示第二时区,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息。For example, the time zone change information can be the system prompt information "You have come from the first time zone to the second time zone", the time zone change information can be the time zone identifier "00-01", "00" can be used to indicate the first time zone, and "01" ” is used to indicate the second time zone, and the time zone change information includes information used to indicate that the positioning position of the terminal is switched from the first time zone to the second time zone.

如图3所示,用户可以自行选择当前所处的第二时区“东八区”;系统也可以自行检测终端的定位位置所处的第二时区。As shown in Figure 3, the user can select the second time zone "Dongba District" where he is currently located; the system can also detect the second time zone where the terminal's positioning location is located.

例如,用户从东八区的北京前往东九区的东京去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至东九区的信息,东九区比东八区要晚一个小时,即第一时区为东八区,第二时区为东九区,时差为1小时。For example, if a user goes on a business trip from Beijing in East Eighth District to Tokyo in East Nineth District, the time zone change information includes information indicating that the terminal's positioning location is switched from East Eighth District to East Nine District, and East Nine District is later than East Eighth District. One hour, that is, the first time zone is East 8th District, the second time zone is East 9th District, and the time difference is 1 hour.

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段,第二时区的白天时间段为08:00-20:00。收到待推送消息的系统时间为北京的08:00,此时,东京为07:00,收到待推送消息用户正在休息。这里,终端的系统时间位于消息推送时间段之外,先缓存待推送消息。Based on the time difference, the daytime period in the second time zone is determined as the message push time period for the message to be pushed, and the daytime period in the second time zone is 08:00-20:00. The system time when the message to be pushed is received is 08:00 in Beijing. At this time, it is 07:00 in Tokyo. The user who receives the message to be pushed is taking a rest. Here, the system time of the terminal is outside the message push time period, and the message to be pushed is cached first.

待东京为08:00时,位于第二时区的白天时间段为08:00-20:00,终端的系统时间位于消息推送时间段之内,此时可以对待推送消息进行推送。When it is 08:00 in Tokyo, the daytime period in the second time zone is 08:00-20:00, and the system time of the terminal is within the message push time period. At this time, the push message can be pushed.

例如,用户从东八区的深圳前往西五区的多伦多去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至西五区的信息,西五区比东八区要晚12小时,即第一时区为东八区,第二时区为西五区,时差为12小时。For example, if a user goes on a business trip from Shenzhen in the East Eighth District to Toronto in the West Fifth District, the time zone change information includes information indicating that the terminal's positioning location is switched from the East Eighth District to the West Five District. The West Fifth District is later than the East Eighth District. 12 hours, that is, the first time zone is the East 8th District, and the second time zone is the West 5th District. The time difference is 12 hours.

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段,第二时区的白天时间段为08:00-20:00。收到待推送消息的系统时间为深圳的2023年9月11日的10:00,此时,多伦多为2023年9月10日的22:00,收到待推送消息用户正在休息。这里,终端的系统时间位于消息推送时间段之外,先缓存待推送消息。Based on the time difference, the daytime period in the second time zone is determined as the message push time period for the message to be pushed, and the daytime period in the second time zone is 08:00-20:00. The system time when the message to be pushed is received is 10:00 on September 11, 2023 in Shenzhen. At this time, it is 22:00 on September 10, 2023 in Toronto. The user who receives the message to be pushed is taking a break. Here, the system time of the terminal is outside the message push time period, and the message to be pushed is cached first.

待多伦多为8:00时,位于第二时区的白天时间段为08:00-20:00,终端的系统时间位于消息推送时间段之内,此时可以对待推送消息进行推送。When it is 8:00 in Toronto, the daytime period in the second time zone is 08:00-20:00, and the system time of the terminal is within the message push time period. At this time, the message to be pushed can be pushed.

由此,通过调整消息推送的时间,使得消息推送时间避开了第二时区的夜晚时间段,将第二时区的白天时间段确定为待推送消息的消息推送时间段,也就是在第二时区的白天时间段进行消息的推送,从而在合适的时间段进行消息的推送,避免了影响用户休息或者打扰到用户的重要工作。Therefore, by adjusting the time of message push, the message push time avoids the night time period of the second time zone, and the day time period of the second time zone is determined as the message push time period of the message to be pushed, that is, in the second time zone Push messages during the daytime period, so as to push messages at the appropriate time period, avoiding affecting the user's rest or disturbing the user's important work.

在一种可能的实施例中,在终端信息包括第一类终端信息且第一类终端信息为日程信息的情况下,日程信息包括用户日程安排的时间信息;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is schedule information, the schedule information includes time information of the user's schedule;

步骤120之前,还可以包括以下步骤:Before step 120, the following steps may also be included:

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

将第一时间段确定为待推送消息的消息推送时间段,其中,第一时间段的起始时刻与日程安排时间段的结束时刻相同,或者晚于日程安排时间段的结束时刻;第一时间段的结束时刻与第一时间段的起始时刻间隔第四时长;Determine the first time period as the message push time period for the message to be pushed, where the starting time of the first time period is the same as the end time of the scheduled time period, or later than the end time of the scheduled time period; the first time The end time of the segment is separated by a fourth period of time from the start time of the first time segment;

或者,在终端的系统时间到达日程时间段的结束时刻,且用户的日程未结束的情况下,确定日程延迟时间段,将第二时间段确定为待推送消息的消息推送时间段,其中,第二时间段的起始时刻与日程延迟时间段的结束时刻相同,或者晚于日程延迟时间段的结束时刻;第二时间段的结束时刻与第二时间段的起始时刻间隔第五时长;Or, when the terminal's system time reaches the end of the schedule time period and the user's schedule has not ended, determine the schedule delay time period, and determine the second time period as the message push time period for the message to be pushed, where the first The start time of the second time period is the same as the end time of the schedule delay time period, or is later than the end time of the schedule delay time period; the end time of the second time period is separated from the start time of the second time period by a fifth length of time;

其中,消息延迟条件为终端的系统时间位于消息推送时间段之外。Among them, the message delay condition is that the system time of the terminal is outside the message push time period.

其中,日程信息包括用户日程安排的时间信息。The schedule information includes time information scheduled by the user.

示例性地,日程信息为开会,如图4所示,日程安排时间段:2023/04/05 10:00--2023/04/05 12:00;日程主题:AI技术研讨会;日程地点:重庆。For example, the schedule information is a meeting, as shown in Figure 4, the schedule time period: 2023/04/05 10:00--2023/04/05 12:00; schedule topic: AI technology seminar; schedule location: Chongqing.

这里,说明2023/04/05的10:00--12:00,用户需要前往重庆地,进行AI技术研讨会,在该日程安排时间段内,用户没有充足的时间查看消息。Here, it is explained that from 10:00 to 12:00 on 2023/04/05, the user needs to go to Chongqing for an AI technology seminar. During this scheduled time period, the user does not have enough time to view the message.

可以根据日程安排时间段的结束时刻确定第一时间段的起始时刻,将第一时间段确定为待推送消息的消息推送时间段,具体包括下述情况:The starting time of the first time period can be determined based on the end time of the scheduled time period, and the first time period can be determined as the message push time period for the message to be pushed, including the following situations:

第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则第一时间段的起始时刻为12:00。The start time of the first time period is the same as the end time of the scheduled time period. For example, if the end time of the scheduled time period is 12:00, then the start time of the first time period is 12:00.

或者,将第一时间段的结束时刻和第四时长确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,第四时长为10分钟,则第一时间段的起始时刻为12:10。用户在会议结束后,可能不会立刻查看电子设备,所以将晚于日程安排时间段的结束时刻第四时长的时刻确定为第一时间段的起始时刻,将该第一时间段确定为待推送消息的消息推送时间段,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。Alternatively, the end time of the first time period and the fourth duration are used to determine the start time of the first time period. For example, if the end time of the scheduled time period is 12:00 and the fourth duration is 10 minutes, then the first time period The starting time is 12:10. The user may not check the electronic device immediately after the meeting, so the time that is fourth time later than the end time of the scheduled time period is determined as the starting time of the first time period, and the first time period is determined as the waiting time. The message push time period of push messages can increase the probability that users will view the messages to be pushed, thereby increasing the click-through rate of push messages.

示例性地,日程信息为去医院,日程安排时间段:2023/04/05 10:00--2023/04/0512:00;日程主题:看病,日程地点:医院。For example, the schedule information is going to the hospital, schedule time period: 2023/04/05 10:00--2023/04/0512:00; schedule topic: seeing a doctor, schedule location: hospital.

这里,说明2023/04/05的10:00--12:00,用户需要前往医院看病,在该日程安排时间段内,用户没有充足的时间查看消息。Here, it is explained that from 10:00 to 12:00 on 2023/04/05, the user needs to go to the hospital for medical treatment. During this scheduled time period, the user does not have enough time to view the message.

可以根据日程安排时间段的结束时刻确定第一时间段的起始时刻,将第一时间段确定为待推送消息的消息推送时间段,具体包括下述情况:The starting time of the first time period can be determined based on the end time of the scheduled time period, and the first time period can be determined as the message push time period for the message to be pushed, including the following situations:

第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则第一时间段的起始时刻为12:00。The start time of the first time period is the same as the end time of the scheduled time period. For example, if the end time of the scheduled time period is 12:00, then the start time of the first time period is 12:00.

或者,根据第一时间段的结束时刻和第四时长确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,第四时长为10分钟,则第一时间段的起始时刻为12:10。Or, determine the start time of the first time period based on the end time of the first time period and the fourth duration. For example, if the end time of the scheduled time period is 12:00 and the fourth duration is 10 minutes, then the first time period The starting time is 12:10.

用户在看病结束后,可能不会立刻查看电子设备,所以将晚于日程安排时间段的结束时刻第四时长的时刻确定为第一时间段的起始时刻,将该第一时间段确定为待推送消息的消息推送时间段,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。The user may not check the electronic device immediately after seeing a doctor, so the time that is fourth time later than the end time of the scheduled time period is determined as the starting time of the first time period, and the first time period is determined as the waiting time. The message push time period of push messages can increase the probability that users will view the messages to be pushed, thereby increasing the click-through rate of push messages.

或者,在终端的系统时间到达日程时间段的结束时刻,且用户的日程未结束的情况下,确定日程延迟时间段。Or, when the system time of the terminal reaches the end time of the schedule time period and the user's schedule has not ended, the schedule delay time period is determined.

其中,可以通过检测环境人声的音量来确定用户的日程是否结束,在环境人声的音量大于第一阈值的情况下,确定用户的日程未结束;日程延迟时间段内的环境人声的音量大于第一阈值,第一阈值的取值范围为30分贝-60分贝。Among them, it is possible to determine whether the user's schedule has ended by detecting the volume of the ambient vocals. When the volume of the ambient vocals is greater than the first threshold, it is determined that the user's schedule has not ended; the volume of the ambient vocals within the schedule delay period is greater than the first threshold, and the value of the first threshold ranges from 30 decibels to 60 decibels.

例如,第一阈值为40分贝,日程安排时间段的结束时刻为12:00,在这之后,检测到环境人声的音量大于40分贝,则说明日程可能还未结束,持续检测环境人声的音量,在检测到环境人声的音量小于第二阈值的情况下,确定用户的日程实际结束,将该检测到环境人声的音量小于第二阈值的时刻确定为日程延迟时间段的结束时刻。For example, if the first threshold is 40 decibels and the end time of the scheduled time period is 12:00, and after that, if the volume of ambient vocal sounds is detected to be greater than 40 decibels, it means that the schedule may not be over yet, and the ambient vocal volume continues to be detected. Volume, when the volume of the ambient human voice is detected to be less than the second threshold, it is determined that the user's schedule actually ends, and the time when the volume of the ambient human voice is detected to be less than the second threshold is determined as the end time of the schedule delay period.

或者,在接收到用户对日程信息的延迟输入的情况下,确定用户的日程未结束,在接收到用户对日程信息的结束确认输入的情况下,确定用户的日程实际结束,将该接收到用户对日程信息的结束确认输入的时刻确定为日程延迟时间段的结束时刻。Alternatively, when the user's delayed input of the schedule information is received, it is determined that the user's schedule has not ended; when the user's end confirmation input of the schedule information is received, it is determined that the user's schedule has actually ended, and the user's schedule is actually ended. The time when the end confirmation of the schedule information is input is determined as the end time of the schedule delay period.

将第二时间段确定为待推送消息的消息推送时间段,其中,第二时间段的起始时刻与日程延迟时间段的结束时刻相同,或者晚于日程延迟时间段的结束时刻;第二时间段的结束时刻与第二时间段的起始时刻间隔第五时长。Determine the second time period as the message push time period for the message to be pushed, where the starting time of the second time period is the same as the end time of the schedule delay time period, or later than the end time of the schedule delay time period; the second time The end time of the segment is separated by a fifth time period from the start time of the second time segment.

第二时间段的起始时刻与日程延迟时间段的结束时刻相同,例如,日程延迟时间段的结束时刻为13:00,则第二时间段的起始时刻为13:00。The start time of the second time period is the same as the end time of the schedule delay time period. For example, if the end time of the schedule delay time period is 13:00, then the start time of the second time period is 13:00.

或者,根据日程延迟时间段的结束时刻和第五时长确定第二时间段的起始时刻,例如,日程延迟时间段的结束时刻为13:00,第五时长为10分钟,则第二时间段的起始时刻为13:10。Or, determine the start time of the second time period based on the end time of the schedule delay time period and the fifth duration. For example, if the end time of the schedule delay time period is 13:00 and the fifth duration is 10 minutes, then the second time period The starting time is 13:10.

由此,通过调整消息推送的时间,使得消息推送时间避开了日程安排时间段,根据日程安排时间段的结束时刻确定第一时间段的起始时刻,将第一时间段确定为待推送消息的消息推送时间段,也就是在日程安排时间段结束之后进行待推送消息的推送,从而在合适的时间段进行消息的推送,避免了打扰到用户的重要工作,而且能够提升推送消息的点击率。Therefore, by adjusting the time of message push, the message push time avoids the scheduled time period, the starting time of the first time period is determined based on the end time of the scheduled time period, and the first time period is determined as the message to be pushed. The message push time period is to push the message to be pushed after the scheduled time period ends, so that the message is pushed at the appropriate time period, avoiding disturbing the user's important work, and improving the click-through rate of the push message. .

在一种可能的实施例中,在终端信息包括第一类终端信息且第一类终端信息为闹钟提醒信息的情况下,闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is alarm clock reminder information, the alarm clock reminder information includes the alarm clock reminder time;

步骤120之前,还可以包括以下步骤:Before step 120, the following steps may also be included:

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三时间段确定为待推送消息的消息推送时间段,其中,第三时间段的起始时刻与睡眠时间段的结束时刻相同,或者晚于睡眠时间段的结束时刻;第三时间段的结束时刻与第三时间段的起始时刻间隔第六时长;When the user's delay reminder control input for the alarm clock is not received, the third time period is determined as the message push time period of the message to be pushed, wherein the starting time of the third time period is the same as the end time of the sleep time period. , or later than the end time of the sleep time period; the end time of the third time period is separated from the start time of the third time period by a sixth length of time;

在接收到用户对闹钟的延迟提醒输入的情况下,确定延迟提醒输入对应的闹钟延迟时间段,将第四时间段确定为待推送消息的消息推送时间段,其中,第四时间段的起始时刻与闹钟延迟时间段的结束时刻相同,或者晚于闹钟延迟时间段的结束时刻;第四时间段的结束时刻与第四时间段的起始时刻间隔第七时长;After receiving the user's delayed reminder input for the alarm clock, determine the alarm clock delay time period corresponding to the delayed reminder input, and determine the fourth time period as the message push time period for the message to be pushed, where the start of the fourth time period The time is the same as the end time of the alarm delay time period, or is later than the end time of the alarm delay time period; the end time of the fourth time period is separated from the start time of the fourth time period by a seventh period of time;

其中,消息延迟条件为终端的系统时间位于消息推送时间段之外。Among them, the message delay condition is that the system time of the terminal is outside the message push time period.

闹钟提醒信息包括闹钟提醒时刻,如图5所示,闹钟提醒时刻包括晚上的闹钟510,和白天的闹钟520。The alarm reminder information includes an alarm reminder time. As shown in Figure 5, the alarm reminder time includes an alarm clock 510 at night and an alarm clock 520 during the day.

晚上的闹钟510,为22:00,可以用于提示用户去休息;白天的闹钟520,为07:00,可以用于提示用户起床;The alarm clock 510 at night is 22:00 and can be used to remind the user to go to rest; the alarm clock 520 during the day is 07:00 and can be used to remind the user to get up;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟,其中,若闹钟提醒时刻所属的时间段为20:00-24:00,则闹钟类型为晚上的闹钟;若闹钟提醒时刻所属的时间段为06:00-20:00,则闹钟类型为白天的闹钟。The alarm clock type is determined according to the time period to which the alarm reminder moment belongs. The alarm clock type includes a daytime alarm clock or a night alarm clock. If the alarm clock reminder moment belongs to a time period of 20:00-24:00, the alarm clock type is night. alarm clock; if the time period to which the alarm reminder time belongs is 06:00-20:00, the alarm clock type is a daytime alarm clock.

其中,白天的闹钟包括:用于提示早上起床的闹钟,和用于提示午休结束的闹钟。Among them, the alarm clocks during the day include: an alarm clock used to remind you to get up in the morning, and an alarm clock used to remind you that the lunch break is over.

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段。The user's sleep time period is determined based on the alarm reminder time and alarm type in the alarm reminder information.

若闹钟类型为白天的闹钟,且闹钟提醒时刻为06:00,闹钟提醒时刻位于用于提示早上起床的闹钟时间段07:00-10:00中,则可以确定该闹钟为用于提示早上起床的闹钟,相应地,用户的睡眠时间段可以为22:00-06:00。If the alarm clock type is a daytime alarm clock, and the alarm clock reminder time is 06:00, and the alarm clock reminder time is in the alarm time period 07:00-10:00 used to remind you to get up in the morning, you can determine that the alarm clock is used to remind you to get up in the morning. alarm clock, correspondingly, the user's sleep time period can be 22:00-06:00.

若闹钟类型为白天的闹钟,且闹钟提醒时刻为14:00,闹钟提醒时刻位于用于提示午休结束的闹钟时间段13:00-15:00中,则可以确定该闹钟为用于提示午休结束的闹钟,相应地,用户的睡眠时间段可以为12:00-14:00。If the alarm clock type is a daytime alarm clock, and the alarm clock reminder time is 14:00, and the alarm clock reminder time is in the alarm time period 13:00-15:00 used to remind the end of the lunch break, then it can be determined that the alarm clock is used to remind the end of the lunch break alarm clock, correspondingly, the user's sleep time period can be 12:00-14:00.

若闹钟类型为晚上的闹钟,且闹钟提醒时刻为22:00,闹钟提醒时刻位于用于提示用户去休息的闹钟时间段20:00-24:00中,则可以确定该闹钟为用于提示用户去休息的闹钟,相应地,用户的睡眠时间段可以为22:00-06:00。If the alarm clock type is a night alarm clock, and the alarm clock reminder time is 22:00, and the alarm clock reminder time is in the alarm time period 20:00-24:00 used to remind the user to take a rest, it can be determined that the alarm clock is used to remind the user to take a rest. To set the alarm clock for rest, the user's sleep time period can be 22:00-06:00.

可以根据睡眠时间段的结束时刻确定第三时间段的起始时刻,将第三时间段确定为待推送消息的消息推送时间段,具体包括下述情况:The starting moment of the third time period can be determined based on the end moment of the sleep period, and the third time period can be determined as the message push time period for the message to be pushed, including the following situations:

一方面,在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三时间段确定为待推送消息的消息推送时间段,其中,第三时间段的起始时刻与睡眠时间段的结束时刻相同。On the one hand, without receiving the user's delay reminder control input on the alarm clock, the third time period is determined as the message push time period for the message to be pushed, where the starting time of the third time period is the same as the sleep time period. The end time is the same.

例如,睡眠时间段的结束时刻为8:00,则第三时间段的起始时刻为8:00,第六时长为10分钟,第三时间段的结束时刻为8:10,第三时间段为8:00-8:10,。将第三时间段确定为待推送消息的消息推送时间段。For example, if the end time of the sleep time period is 8:00, then the start time of the third time period is 8:00, the sixth time period is 10 minutes, the end time of the third time period is 8:10, and the third time period It's 8:00-8:10. The third time period is determined as the message push time period of the message to be pushed.

另一方面,在未接收到用户对闹钟的延迟提醒控制输入的情况下,第三时间段的起始时刻晚于睡眠时间段的结束时刻;第三时间段的结束时刻与第三时间段的起始时刻间隔第六时长。On the other hand, without receiving the user's delay reminder control input for the alarm clock, the starting time of the third time period is later than the end time of the sleep time period; the end time of the third time period is the same as the end time of the third time period. The starting time interval is the sixth duration.

例如,睡眠时间段的结束时刻为8:00,第三时间段的起始时刻为8:10,第六时长为10分钟,第三时间段的结束时刻为8:20。在该场景中,用户睡眠时间段的结束时刻为8:00,第三时间段为8:10-8:20,将第三时间段确定为待推送消息的消息推送时间段。For example, the end time of the sleep time period is 8:00, the start time of the third time period is 8:10, the sixth time period is 10 minutes, and the end time of the third time period is 8:20. In this scenario, the end time of the user's sleep time period is 8:00, and the third time period is 8:10-8:20. The third time period is determined as the message push time period for the message to be pushed.

用户在睡眠时间段结束后,可能不会立刻查看电子设备,所以将晚于睡眠时间段的结束时刻的时刻确定为第三时间段的起始时刻,将该第三时间段确定为待推送消息的消息推送时间段,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。The user may not check the electronic device immediately after the sleep time period ends, so the time later than the end time of the sleep time period is determined as the starting time of the third time period, and the third time period is determined as the message to be pushed The message push time period can increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

具体地,在接收到用户对闹钟的延迟提醒输入的情况下,确定延迟提醒输入对应的闹钟延迟时间段,根据闹钟提醒时刻和闹钟延迟时间段确定第四时间段,将第四时间段确定为待推送消息的消息推送时间段。Specifically, upon receiving the user's delayed reminder input for the alarm clock, the alarm clock delay time period corresponding to the delayed reminder input is determined, the fourth time period is determined based on the alarm reminder time and the alarm delay time period, and the fourth time period is determined as The message push time period for the message to be pushed.

例如,闹钟提醒时刻为08:00,在接收到用户对闹钟的延迟提醒输入的情况下,确定延迟提醒输入对应的闹钟延迟时间段,闹钟延迟时间段为10分钟。For example, if the alarm clock reminder time is 08:00, and upon receiving the user's delay reminder input for the alarm clock, the alarm clock delay time period corresponding to the delay reminder input is determined, and the alarm clock delay time period is 10 minutes.

根据闹钟延迟时间段确定第四时间段,将第四时间段确定为待推送消息的消息推送时间段,可以包括下述情况:The fourth time period is determined based on the alarm delay time period, and the fourth time period is determined as the message push time period for the message to be pushed, which may include the following situations:

一方面,在接收到用户对闹钟的延迟提醒输入的情况下,将第四时间段确定为待推送消息的消息推送时间段,其中,第四时间段的起始时刻与闹钟延迟时间段的结束时刻相同;第四时间段的结束时刻与第四时间段的起始时刻间隔第七时长。On the one hand, upon receiving the user's delay reminder input for the alarm clock, the fourth time period is determined as the message push time period for the message to be pushed, where the starting time of the fourth time period is the same as the end of the alarm clock delay time period. The time is the same; the end time of the fourth time period and the start time of the fourth time period are separated by a seventh period of time.

例如,闹钟延迟时间段的结束时刻为08:10,第四时间段的起始时刻为08:10,第七时长为10分钟,则第四时间段为08:10-08:20。For example, if the end time of the alarm delay time period is 08:10, the start time of the fourth time period is 08:10, and the seventh time period is 10 minutes, then the fourth time period is 08:10-08:20.

例如,闹钟延迟时间段的结束时刻为09:10,第四时间段的起始时刻为09:10,第七时长为10分钟,则第四时间段为09:10-09:20。For example, if the end time of the alarm delay time period is 09:10, the start time of the fourth time period is 09:10, and the seventh time period is 10 minutes, then the fourth time period is 09:10-09:20.

在该场景中,在闹钟提醒时刻到达时,用户听到闹钟响铃后可能不想立即起床,此时可以对闹钟进行延迟提醒输入,在接收到用户对闹钟的延迟提醒输入的情况下,将闹钟延迟时间段的结束时刻确定为第四时间段的起始时刻,将第四时间段确定为待推送消息的消息推送时间段。In this scenario, when the alarm clock reminder time arrives, the user may not want to get up immediately after hearing the alarm clock. At this time, the alarm clock can be delayed to remind the input. After receiving the user's delayed reminder input to the alarm clock, the alarm clock The end time of the delay time period is determined as the starting time of the fourth time period, and the fourth time period is determined as the message push time period of the message to be pushed.

由此,能够充分考虑用户的实际使用需求,更准确地确定用户的实际睡眠时间段的结束时刻,即闹钟延迟时间段的结束时刻,由此,基于闹钟延迟时间段的结束时刻确定第四时间段,将第四时间段确定为待推送消息的消息推送时间段,能够在用用户的实际睡眠时间段结束时进行消息推送,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the user's actual usage needs can be fully considered, and the end time of the user's actual sleep time period, that is, the end time of the alarm delay time period, can be determined more accurately. Thus, the fourth time is determined based on the end time of the alarm delay time period. period, the fourth time period is determined as the message push time period of the message to be pushed, the message can be pushed at the end of the user's actual sleep period, and the probability of the user viewing the message to be pushed can be increased, thereby increasing the click rate of the push message. Rate.

另一方面,在接收到用户对闹钟的延迟提醒输入的情况下,第四时间段的起始时刻晚于闹钟延迟时间段的结束时刻;第四时间段的结束时刻与第四时间段的起始时刻间隔第七时长。On the other hand, when the user's delay reminder input for the alarm clock is received, the start time of the fourth time period is later than the end time of the alarm delay time period; the end time of the fourth time period is the same as the start time of the fourth time period. The start time interval is the seventh duration.

例如,闹钟延迟时间段的结束时刻为08:10,第四时间段的起始时刻晚于闹钟延迟时间段的结束时刻,第四时间段的起始时刻为08:20,第七时长为10分钟,则第四时间段为08:20-08:30。For example, the end time of the alarm delay time period is 08:10, the start time of the fourth time period is later than the end time of the alarm delay time period, the start time of the fourth time period is 08:20, and the seventh duration is 10 minutes, then the fourth time period is 08:20-08:30.

例如,闹钟延迟时间段的结束时刻为09:10,第四时间段的起始时刻晚于闹钟延迟时间段的结束时刻,第四时间段的起始时刻为09:20,第七时长为10分钟,则第四时间段为09:20-09:30。For example, the end time of the alarm delay time period is 09:10, the start time of the fourth time period is later than the end time of the alarm delay time period, the start time of the fourth time period is 09:20, and the seventh duration is 10 minutes, then the fourth time period is 09:20-09:30.

在该场景中,在闹钟提醒时刻到达时,用户听到闹钟响铃后可能不想立即起床,此时可以对闹钟进行延迟提醒输入,在接收到用户对闹钟的延迟提醒输入的情况下,根据闹钟延迟时间段的结束时刻确定第四时间段的起始时刻,第四时间段的起始时刻晚于闹钟延迟时间段的结束时刻。将第四时间段确定为待推送消息的消息推送时间段。In this scenario, when the alarm clock reminder time arrives, the user may not want to get up immediately after hearing the alarm clock. At this time, the alarm clock can be delayed to remind the input. After receiving the user's delayed reminder input to the alarm clock, the alarm clock will The end time of the delay time period determines the start time of the fourth time period, and the start time of the fourth time period is later than the end time of the alarm delay time period. The fourth time period is determined as the message push time period of the message to be pushed.

由此,能够充分考虑用户的实际使用需求,更准确地确定用户的实际睡眠时间段的结束时刻,即闹钟延迟时间段的结束时刻,由此,基于闹钟延迟时间段的结束时刻确定位于闹钟延迟时间段的结束时刻之后的第四时间段,将第四时间段确定为待推送消息的消息推送时间段,能够在用用户的实际睡眠时间段结束之后进行消息推送,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the user's actual usage needs can be fully considered, and the end time of the user's actual sleep time period, that is, the end time of the alarm delay time period, can be determined more accurately. Therefore, the end time of the alarm delay time period is determined based on the alarm delay time period. The fourth time period after the end of the time period is determined as the message push time period for the message to be pushed. The message can be pushed after the user's actual sleep time period ends, which can improve the user's view of the message to be pushed. message probability, thereby increasing the click-through rate of push messages.

由此,通过调整消息推送的时间,使得消息推送时间避开了睡眠时间段,根据睡眠时间段的结束时刻确定第三时间段的起始时刻,将第三时间段确定为待推送消息的消息推送时间段,也就是在睡眠时间段结束之后进行待推送消息的推送,从而在合适的时间段进行消息的推送,避免了打扰到用户的睡眠,而且能够提升推送消息的点击率。Therefore, by adjusting the time of message push, the message push time avoids the sleep time period, the starting time of the third time period is determined based on the end time of the sleep time period, and the third time period is determined as the message to be pushed. Push time period, that is, push the message to be pushed after the sleep period ends, so that the message is pushed at the appropriate time period, avoiding disturbing the user's sleep, and improving the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括第一类终端信息且第一类终端信息为终端使用时间段的情况下,终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is the terminal use time period, the terminal use time period is the time period during which the user intensively uses the terminal program functions;

步骤120之前,还可以包括以下步骤:Before step 120, the following steps may also be included:

获取一段时间内的用户的历史屏幕使用信息;Obtain the user's historical screen usage information over a period of time;

根据历史屏幕使用信息,生成用户使用时间分布图;Generate user usage time distribution graph based on historical screen usage information;

根据用户使用时间分布图,确定终端使用时间段;Determine the terminal usage time period based on the user usage time distribution map;

将第五时间段确定为待推送消息的消息推送时间段,其中,第五时间段的起始时刻与终端使用时间段的起始时刻相同,或者晚于终端使用时间段的起始时刻;第五时间段的结束时刻与第五时间段的起始时刻间隔第八时长;The fifth time period is determined as the message push time period of the message to be pushed, wherein the starting time of the fifth time period is the same as the starting time of the terminal use time period, or later than the start time of the terminal use time period; There is an eighth time interval between the end time of the five time periods and the start time of the fifth time period;

其中,消息延迟条件为终端的系统时间位于消息推送时间段之外。Among them, the message delay condition is that the system time of the terminal is outside the message push time period.

获取一段时间内的用户的历史屏幕使用信息,历史屏幕使用信息,可以包括电子设备的显示屏处于亮屏状态的时间,和接收到用户输入的时间,如图6所示,根据历史屏幕使用信息,生成用户使用时间分布图。Obtain the user's historical screen usage information within a period of time. The historical screen usage information can include the time when the display screen of the electronic device is in the bright screen state and the time when user input is received. As shown in Figure 6, according to the historical screen usage information , generate a user usage time distribution graph.

例如,用户在21:00-21:10,使用会话应用回复信息,在此时间段内,每分钟内都监测到用户对会话应用的应用界面的触控输入,则接收到用户输入的时间为20:00-21:00,则历史屏幕使用信息为20:00-21:00。For example, if the user uses a conversational application to reply to messages from 21:00 to 21:10, and during this time period, the user's touch input to the application interface of the conversational application is detected every minute, then the time for receiving user input is 20:00-21:00, then the historical screen usage information is 20:00-21:00.

用户在20:00-21:00,使用视频应用观看视频,在此时间段内,电子设备的显示屏始终处于亮屏状态,则电子设备的显示屏处于亮屏状态的时间为20:00-21:00,则历史屏幕使用信息为20:00-21:00。The user uses the video application to watch videos from 20:00 to 21:00. During this time period, the display screen of the electronic device is always on. The time when the display screen of the electronic device is on is from 20:00 to 21:00. 21:00, then the historical screen usage information is 20:00-21:00.

用户使用时间分布图的横轴用于表示预设时间段,用户使用时间分布图的纵轴用于表示在一个预设时间段内的用户使用时间,根据用户使用时间分布图,确定终端使用时间段,具体可以从多个预设时间段对应的用户使用时间中确定最大值,将最大值对应的预设时间段确定为终端使用时间段。The horizontal axis of the user usage time distribution graph is used to represent the preset time period, and the vertical axis of the user usage time distribution graph is used to represent the user usage time within a preset time period. According to the user usage time distribution graph, the terminal usage time is determined period, specifically, the maximum value can be determined from the user usage time corresponding to multiple preset time periods, and the preset time period corresponding to the maximum value is determined as the terminal usage time period.

如图6所示,预设时间段T1对应的用户使用时间是用户使用时间分布图中的多个预设时间段对应的用户使用时间中的最大值,因此,预设时间段T1为终端使用时间段。As shown in Figure 6, the user usage time corresponding to the preset time period T1 is the maximum value among the user usage times corresponding to multiple preset time periods in the user usage time distribution chart. Therefore, the preset time period T1 is the terminal usage period.

具体地,可以根据终端使用时间段的起始时刻确定第五时间段的起始时刻,将第五时间段确定为待推送消息的消息推送时间段,具体包括下述情况:Specifically, the starting time of the fifth time period can be determined based on the starting time of the terminal usage time period, and the fifth time period can be determined as the message push time period for the message to be pushed, including the following situations:

将第五时间段确定为待推送消息的消息推送时间段,第五时间段的起始时刻与终端使用时间段的起始时刻相同;第五时间段的结束时刻与第五时间段的起始时刻间隔第八时长。The fifth time period is determined as the message push time period of the message to be pushed. The starting time of the fifth time period is the same as the starting time of the terminal usage time period; the end time of the fifth time period is the same as the start time of the fifth time period. The time interval is the eighth duration.

例如,终端使用时间段的起始时刻为12:00,则第五时间段的起始时刻为12:00,第八时长为10分钟,第五时间段的结束时刻为12:10,第三时间段为12:00-12:10。将第五时间段确定为待推送消息的消息推送时间段。For example, if the starting time of the terminal usage time period is 12:00, then the starting time of the fifth time period is 12:00, the eighth time period is 10 minutes, the end time of the fifth time period is 12:10, and the third time period is 12:10. The time period is 12:00-12:10. The fifth time period is determined as the message push time period of the message to be pushed.

或者,将第五时间段确定为待推送消息的消息推送时间段,第五时间段的起始时刻晚于终端使用时间段的起始时刻;第五时间段的结束时刻与第五时间段的起始时刻间隔第八时长。Alternatively, the fifth time period is determined as the message push time period of the message to be pushed. The starting time of the fifth time period is later than the starting time of the terminal usage time period; the end time of the fifth time period is the same as the end time of the fifth time period. The starting time interval is the eighth duration.

例如,终端使用时间段的起始时刻为12:00,第五时间段的起始时刻晚于终端使用时间段的起始时刻,则第五时间段的起始时刻为12:10,第八时长为10分钟,第五时间段的结束时刻为12:20,第五时间段为12:10-12:20。将第五时间段确定为待推送消息的消息推送时间段。For example, if the starting time of the terminal use time period is 12:00, and the starting time of the fifth time period is later than the starting time of the terminal use time period, then the starting time of the fifth time period is 12:10, and the starting time of the eighth time period is 12:10. The duration is 10 minutes, the end time of the fifth time period is 12:20, and the fifth time period is 12:10-12:20. The fifth time period is determined as the message push time period of the message to be pushed.

用户在终端使用时间段的起始时刻时,可能有需要查看和处理的事项,可能不会立刻查看推送消息,所以将晚于终端使用时间段的起始时刻的时刻确定为第五时间段的起始时刻,将该第五时间段确定为待推送消息的消息推送时间段,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。At the beginning of the terminal use time period, the user may have matters that need to be viewed and processed, and may not view push messages immediately, so the time later than the start of the terminal use time period is determined as the fifth time period. At the starting moment, determining the fifth time period as the message push time period for the message to be pushed can increase the probability that the user sees the message to be pushed, thereby increasing the click-through rate of the push message.

由此,通过调整消息推送的时间,根据终端使用时间段的起始时刻确定第五时间段的起始时刻,将第五时间段确定为待推送消息的消息推送时间段,也就是在终端使用时间段的起始时刻之后进行待推送消息的推送,终端使用时间段中,用户使用终端的概率较高,从而在用户使用终端的概率较高的时间段进行消息的推送,能够提升推送消息的点击率。Therefore, by adjusting the time of message push, the starting time of the fifth time period is determined according to the starting time of the terminal use time period, and the fifth time period is determined as the message push time period of the message to be pushed, that is, when the terminal is used The message to be pushed is pushed after the starting time of the time period. In the terminal usage period, the probability of the user using the terminal is higher. Therefore, pushing the message during the period when the probability of the user using the terminal is higher can improve the efficiency of the pushed message. CTR.

在一种可能的实施例中,终端信息包括N项第一类终端信息,N为大于1的整数;In a possible embodiment, the terminal information includes N items of first-type terminal information, where N is an integer greater than 1;

步骤120之前,还可以包括以下步骤:Before step 120, the following steps may also be included:

根据N项第一类终端信息,确定N个备选消息推送时间段;Determine N alternative message push time periods based on N items of first-class terminal information;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of N time periods as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段;Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed;

其中,消息延迟条件为终端的系统时间位于消息推送时间段之外。Among them, the message delay condition is that the system time of the terminal is outside the message push time period.

一方面,将N个时间段的交集时间段确定为待推送消息的消息推送时间段,说明消息推送时间段同时包含于N个备选消息推送时间段内,能够同时满足N项第一类终端信息对应的需求。On the one hand, the intersection time period of N time periods is determined as the message push time period of the message to be pushed, indicating that the message push time period is simultaneously included in N alternative message push time periods, and can simultaneously satisfy N first-type terminals information corresponding to the needs.

例如,N个备选消息推送时间段包括:第一备选消息推送时间段和第二备选消息推送时间段,则可以将第一备选消息推送时间段和第二备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段。For example, the N candidate message push time periods include: a first candidate message push time period and a second candidate message push time period, then the first candidate message push time period and the second candidate message push time period can be The intersection time period is determined as the message push time period of the message to be pushed.

由此,通过将N个时间段的交集时间段确定为待推送消息的消息推送时间段,在该消息推送时间段内进行推送,能够满足用户的使用需求,提升推送消息的点击率。Therefore, by determining the intersection time period of N time periods as the message push time period of the message to be pushed, and pushing the message within this message push time period, the user's usage needs can be met and the click-through rate of the push message can be improved.

另一方面,分别确定N项第一类终端信息的信息优先级,确定N个时间段对应的N个信息优先级中的最大信息优先级,将最大信息优先级对应的第一类终端信息的时间段确定为待推送消息的消息推送时间段。On the other hand, determine the information priorities of N items of first-type terminal information respectively, determine the maximum information priority among N information priorities corresponding to N time periods, and assign the first-type terminal information corresponding to the maximum information priority to The time period is determined as the message push time period of the message to be pushed.

最大信息优先级的第一类终端信息,说明是对用户使用影响最大的第一类终端信息;将对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,说明是N个备选消息推送时间段中的最符合用户使用需求的时间段;将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,能够充分满足用户的使用需求,提升推送消息的点击率。The first type of terminal information with the maximum information priority indicates the first type of terminal information that has the greatest impact on user use; the time period corresponding to the first type of terminal information with the maximum information priority is determined as the message push time period of the message to be pushed , indicating that it is the time period that best meets the user's needs among the N alternative message push time periods; determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push of the message to be pushed time period, which can fully meet the user needs and increase the click-through rate of push messages.

在一种可能的实施例中,在终端信息包括两项第一类终端信息,且两项第一类终端信息为时区变化信息和日程信息的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;日程信息包括用户日程安排的时间信息;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are time zone change information and schedule information, the time zone change information includes a position indicating the terminal. Information about the location switching from the first time zone to the second time zone; schedule information includes time information of the user's schedule;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段和第二备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the first candidate message push time period and the second candidate message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级和日程信息的第二信息优先级;Obtain the first information priority of time zone change information and the second information priority of schedule information;

在第一信息优先级高于第二信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;When the first information priority is higher than the second information priority, determine the first alternative message push time period as the message push time period for the message to be pushed;

在第一信息优先级低于第二信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段。When the first information priority is lower than the second information priority, the second alternative message push time period is determined as the message push time period of the message to be pushed.

在终端信息包括两项第一类终端信息,且两项第一类终端信息为时区变化信息和日程信息的情况下,说明目前同时存在时区变化信息和日程信息,需要考虑时区变化信息和日程信息的影响。When the terminal information includes two pieces of first-class terminal information, and the two pieces of first-class terminal information are time zone change information and schedule information, it means that time zone change information and schedule information currently exist at the same time, and time zone change information and schedule information need to be considered. Impact.

例如,用户从东八区的北京前往东九区的东京去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至东九区的信息,东九区比东八区要晚一个小时,即第一时区为东八区,第二时区为东九区,时差为1小时。For example, if a user goes on a business trip from Beijing in East Eighth District to Tokyo in East Nineth District, the time zone change information includes information indicating that the terminal's positioning location is switched from East Eighth District to East Nine District, and East Nine District is later than East Eighth District. One hour, that is, the first time zone is East 8th District, the second time zone is East 9th District, and the time difference is 1 hour.

日程安排时间段:2023/04/05 10:00--2023/04/05 12:00;日程主题:AI技术研讨会;日程地点:重庆。Schedule time period: 2023/04/05 10:00--2023/04/05 12:00; schedule topic: AI technology seminar; schedule location: Chongqing.

这里,第二时区的白天时间段为08:00-20:00。基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Here, the daytime period of the second time zone is 08:00-20:00. Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

一方面,第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则确定第二备选消息推送时间段的起始时刻为12:00,第二备选消息推送时间段为12:00-12:30。On the one hand, the starting time of the first time period is the same as the ending time of the scheduled time period. For example, if the ending time of the scheduled time period is 12:00, then it is determined that the starting time of the second alternative message push time period is 12:00, the second alternative message push time period is 12:00-12:30.

或者,将第一时间段的结束时刻和日程延迟时间段确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,日程延迟了10分钟,日程延迟时间段为12:00-12:10,则第二备选消息推送时间段为12:10-12:40。Or, the end time of the first time period and the schedule delay time period are used to determine the start time of the first time period. For example, the end time of the schedule time period is 12:00, the schedule is delayed by 10 minutes, and the schedule delay time period is 12:00-12:10, then the second alternative message push time period is 12:10-12:40.

这里,第一备选消息推送时间段为08:00-20:00。第二备选消息推送时间段为12:00-12:30。则将第一备选消息推送时间段和第二备选消息推送时间段的交集时间段12:00-12:30确定为待推送消息的消息推送时间段。或者,Here, the first candidate message push time period is 08:00-20:00. The second alternative message push time period is 12:00-12:30. Then, the intersection time period 12:00-12:30 of the first candidate message push time period and the second candidate message push time period is determined as the message push time period of the message to be pushed. or,

获取时区变化信息的第一信息优先级和日程信息的第二信息优先级,若时区变化信息的第一信息优先级高于日程信息的第二信息优先级,则将第一备选消息推送时间段确定为待推送消息的消息推送时间段;若时区变化信息的第一信息优先级和日程信息的第二信息优先级,则,将第二备选消息推送时间段确定为待推送消息的消息推送时间段。Obtain the first information priority of the time zone change information and the second information priority of the schedule information. If the first information priority of the time zone change information is higher than the second information priority of the schedule information, push the first candidate message at the time The segment is determined as the message push time period of the message to be pushed; if the first information priority of the time zone change information and the second information priority of the schedule information are determined, the second alternative message push time period is determined as the message of the message to be pushed. Push time period.

又例如,用户从东八区的深圳前往西五区的多伦多去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至西五区的信息,西五区比东八区要晚12小时,即第一时区为东八区,第二时区为西五区,时差为12小时。For another example, a user goes on a business trip from Shenzhen in the East Eighth District to Toronto in the West Fifth District. The time zone change information includes information indicating that the terminal's positioning location is switched from the East Eighth District to the West Five District. The West Fifth District is longer than the East Eighth District. 12 hours later, that is, the first time zone is the East 8th District and the second time zone is the West 5th District. The time difference is 12 hours.

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段,第二时区的白天时间段为08:00-20:00。收到待推送消息的系统时间为深圳的2023年9月11日的10:00,此时,多伦多为2023年9月10日的22:00,这里,第二时区的白天时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the message push time period for the message to be pushed, and the daytime period in the second time zone is 08:00-20:00. The system time when the message to be pushed is received is 10:00 on September 11, 2023 in Shenzhen. At this time, it is 22:00 on September 10, 2023 in Toronto. Here, the daytime period in the second time zone is 08:00. 00-20:00.

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

一方面,第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则确定第二备选消息推送时间段的起始时刻为12:00,第二备选消息推送时间段为12:00-12:30。On the one hand, the starting time of the first time period is the same as the ending time of the scheduled time period. For example, if the ending time of the scheduled time period is 12:00, then it is determined that the starting time of the second alternative message push time period is 12:00, the second alternative message push time period is 12:00-12:30.

或者,将第一时间段的结束时刻和日程延迟时间段确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,日程延迟了10分钟,日程延迟时间段为12:00-12:10,则第二备选消息推送时间段为12:10-12:40。Or, the end time of the first time period and the schedule delay time period are used to determine the start time of the first time period. For example, the end time of the schedule time period is 12:00, the schedule is delayed by 10 minutes, and the schedule delay time period is 12:00-12:10, then the second alternative message push time period is 12:10-12:40.

这里,第一备选消息推送时间段为08:00-20:00。第二备选消息推送时间段为12:00-12:30。则将第一备选消息推送时间段和第二备选消息推送时间段的交集时间段12:00-12:30确定为待推送消息的消息推送时间段。或者,Here, the first candidate message push time period is 08:00-20:00. The second alternative message push time period is 12:00-12:30. Then, the intersection time period 12:00-12:30 of the first candidate message push time period and the second candidate message push time period is determined as the message push time period of the message to be pushed. or,

获取时区变化信息的第一信息优先级和日程信息的第二信息优先级,若时区变化信息的第一信息优先级高于日程信息的第二信息优先级,则将第一备选消息推送时间段确定为待推送消息的消息推送时间段;若时区变化信息的第一信息优先级和日程信息的第二信息优先级,则,将第二备选消息推送时间段确定为待推送消息的消息推送时间段。Obtain the first information priority of the time zone change information and the second information priority of the schedule information. If the first information priority of the time zone change information is higher than the second information priority of the schedule information, push the first candidate message at the time The segment is determined as the message push time period of the message to be pushed; if the first information priority of the time zone change information and the second information priority of the schedule information are determined, the second alternative message push time period is determined as the message of the message to be pushed. Push time period.

由此,能够综合考虑时区变化信息和日程信息的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information and schedule information can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括两项第一类终端信息,且两项第一类终端信息为时区变化信息和闹钟提醒信息的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are time zone change information and alarm clock reminder information, the time zone change information includes a time zone change information used to indicate the terminal. Information about switching the positioning location from the first time zone to the second time zone; the alarm reminder information includes the alarm reminder time;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段和第三备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级和闹钟提醒时刻的第三信息优先级;Obtain the first information priority of time zone change information and the third information priority of alarm clock reminder time;

在第一信息优先级高于第三信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;When the first information priority is higher than the third information priority, determine the first candidate message push time period as the message push time period for the message to be pushed;

在第一信息优先级低于第三信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。When the first information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在终端信息包括两项第一类终端信息,且两项第一类终端信息为时区变化信息和闹钟提醒信息的情况下,说明目前同时存在时区变化信息和闹钟提醒信息,需要考虑时区变化信息和闹钟提醒信息的影响。When the terminal information includes two pieces of first-class terminal information, and the two pieces of first-class terminal information are time zone change information and alarm clock reminder information, it means that there are currently both time zone change information and alarm clock reminder information, and time zone change information and alarm clock reminder information need to be considered. The impact of alarm clock reminder information.

例如,用户从东八区的A城市前往东九区的东京,时区变化信息包括用于指示终端的定位位置由东八区切换至东九区的信息,东九区比东八区要晚一个小时,即第一时区为东八区,第二时区为东九区,时差为1小时。收到待推送消息的系统时间为A城市的08:00,此时,东京为07:00。For example, the user travels from City A in Dongba District to Tokyo in Dongjiu District. The time zone change information includes information indicating that the terminal's positioning location is switched from Dongba District to Dongjiu District. Dongjiu District is one hour later than Dongba District. hours, that is, the first time zone is East 8th District, the second time zone is East 9th District, and the time difference is 1 hour. The system time when the message to be pushed is received is 08:00 in city A. At this time, it is 07:00 in Tokyo.

这里,第二时区的白天时间段为08:00-20:00。基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Here, the daytime period of the second time zone is 08:00-20:00. Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the alarm clock type according to the time period to which the alarm clock reminder time belongs, where the alarm clock type includes a daytime alarm clock or a night alarm clock; determine the user's sleep time period according to the alarm clock reminder time and alarm clock type in the alarm clock reminder information;

若闹钟类型为白天的闹钟,且闹钟提醒时刻为06:00,闹钟提醒时刻位于用于提示早上起床的闹钟时间段07:00-10:00中,则可以确定该闹钟为用于提示早上起床的闹钟,相应地,用户的睡眠时间段可以为22:00-06:00。If the alarm clock type is a daytime alarm clock, and the alarm clock reminder time is 06:00, and the alarm clock reminder time is in the alarm time period 07:00-10:00 used to remind you to get up in the morning, you can determine that the alarm clock is used to remind you to get up in the morning. alarm clock, correspondingly, the user's sleep time period can be 22:00-06:00.

若闹钟类型为白天的闹钟,且闹钟提醒时刻为14:00,闹钟提醒时刻位于用于提示午休结束的闹钟时间段13:00-15:00中,则可以确定该闹钟为用于提示午休结束的闹钟,相应地,用户的睡眠时间段可以为12:00-14:00。If the alarm clock type is a daytime alarm clock, and the alarm clock reminder time is 14:00, and the alarm clock reminder time is in the alarm time period 13:00-15:00 used to remind the end of the lunch break, then it can be determined that the alarm clock is used to remind the end of the lunch break alarm clock, correspondingly, the user's sleep time period can be 12:00-14:00.

若闹钟类型为晚上的闹钟,且闹钟提醒时刻为22:00,闹钟提醒时刻位于用于提示用户去休息的闹钟时间段20:00-24:00中,则可以确定该闹钟为用于提示用户去休息的闹钟,相应地,用户的睡眠时间段可以为22:00-06:00。If the alarm clock type is a night alarm clock, and the alarm clock reminder time is 22:00, and the alarm clock reminder time is in the alarm time period 20:00-24:00 used to remind the user to take a rest, it can be determined that the alarm clock is used to remind the user to take a rest. To set the alarm clock for rest, the user's sleep time period can be 22:00-06:00.

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

一方面,在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段,其中,第三备选消息推送时间段的起始时刻与睡眠时间段的结束时刻相同。例如,睡眠时间段的结束时刻为8:00,则第三备选消息推送时间段的起始时刻为8:00,第六时长为10分钟,第三备选消息推送时间段的结束时刻为8:10,第三备选消息推送时间段为8:00-8:10。On the one hand, without receiving the user's delay reminder control input on the alarm clock, the third alternative message push time period is determined as the message push time period of the message to be pushed, wherein the third alternative message push time period The start time is the same as the end time of the sleep period. For example, if the end time of the sleep period is 8:00, then the start time of the third alternative message push time period is 8:00, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 8:10, the third alternative message push time period is 8:00-8:10.

或者,在未接收到用户对闹钟的延迟提醒控制输入的情况下,第三备选消息推送时间段的起始时刻晚于睡眠时间段的结束时刻;第三备选消息推送时间段的结束时刻与第三备选消息推送时间段的起始时刻间隔第六时长。例如,睡眠时间段的结束时刻为8:00,第三备选消息推送时间段的起始时刻为8:10,第六时长为10分钟,第三备选消息推送时间段的结束时刻为8:20。在该场景中,用户睡眠时间段的结束时刻为8:00,第三备选消息推送时间段为8:10-8:20。Or, without receiving the user's delay reminder control input on the alarm clock, the starting time of the third alternative message push time period is later than the end time of the sleep time period; the end time of the third alternative message push time period There is a sixth time interval from the starting time of the third alternative message push time period. For example, the end time of the sleep period is 8:00, the start time of the third alternative message push time period is 8:10, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 8 :20. In this scenario, the end time of the user's sleep time period is 8:00, and the third alternative message push time period is 8:10-8:20.

另一方面,在接收到用户对闹钟的延迟提醒输入的情况下,确定延迟提醒输入对应的闹钟延迟时间段,根据闹钟提醒时刻和闹钟延迟时间段确定第三备选消息推送时间段。将第一备选消息推送时间段和第三备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段。On the other hand, when the user's delayed reminder input for the alarm clock is received, the alarm clock delay time period corresponding to the delayed reminder input is determined, and the third alternative message push time period is determined based on the alarm clock reminder time and the alarm clock delay time period. The intersection time period of the first candidate message push time period and the third candidate message push time period is determined as the message push time period of the message to be pushed.

第一备选消息推送时间段为08:00-20:00。第三备选消息推送时间段为8:10-8:20。第一备选消息推送时间段和第三备选消息推送时间段的交集时间段为8:10-8:20,待推送消息的消息推送时间段为8:10-8:20。The first alternative message push time period is 08:00-20:00. The third alternative message push time period is 8:10-8:20. The intersection time period of the first alternative message push time period and the third alternative message push time period is 8:10-8:20, and the message push time period of the message to be pushed is 8:10-8:20.

又例如,用户从东八区的深圳前往西五区的多伦多去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至西五区的信息,西五区比东八区要晚12小时,即第一时区为东八区,第二时区为西五区,时差为12小时。For another example, a user goes on a business trip from Shenzhen in the East Eighth District to Toronto in the West Fifth District. The time zone change information includes information indicating that the terminal's positioning location is switched from the East Eighth District to the West Five District. The West Fifth District is longer than the East Eighth District. 12 hours later, that is, the first time zone is the East 8th District and the second time zone is the West 5th District. The time difference is 12 hours.

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段,第二时区的白天时间段为08:00-20:00。收到待推送消息的系统时间为深圳的2023年9月11日的10:00,此时,多伦多为2023年9月10日的22:00,这里,第二时区的白天时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the message push time period for the message to be pushed, and the daytime period in the second time zone is 08:00-20:00. The system time when the message to be pushed is received is 10:00 on September 11, 2023 in Shenzhen. At this time, it is 22:00 on September 10, 2023 in Toronto. Here, the daytime period in the second time zone is 08:00. 00-20:00.

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

在未接收到用户对闹钟的延迟提醒控制输入的情况下,第三备选消息推送时间段的起始时刻与睡眠时间段的结束时刻相同。例如,睡眠时间段的结束时刻为9:00,则第三备选消息推送时间段的起始时刻为9:00,第六时长为10分钟,第三备选消息推送时间段的结束时刻为9:10,第三备选消息推送时间段为9:00-9:10。In the case where the user's delay reminder control input on the alarm clock is not received, the start time of the third alternative message push time period is the same as the end time of the sleep time period. For example, if the end time of the sleep period is 9:00, then the start time of the third alternative message push time period is 9:00, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 9:10, the third alternative message push time period is 9:00-9:10.

第一备选消息推送时间段为08:00-20:00。第三备选消息推送时间段为9:00-9:10。第一备选消息推送时间段和第三备选消息推送时间段的交集时间段为9:00-9:10,待推送消息的消息推送时间段为9:00-9:10。The first alternative message push time period is 08:00-20:00. The third alternative message push time period is 9:00-9:10. The intersection time period of the first alternative message push time period and the third alternative message push time period is 9:00-9:10, and the message push time period of the message to be pushed is 9:00-9:10.

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级和闹钟提醒时刻的第三信息优先级;Obtain the first information priority of time zone change information and the third information priority of alarm clock reminder time;

在时区变化信息的第一信息优先级高于闹钟提醒时刻的第三信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;In the case where the first information priority of the time zone change information is higher than the third information priority of the alarm clock reminder time, the first candidate message push time period is determined as the message push time period of the message to be pushed;

在第一信息优先级低于第三信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。When the first information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

由此,能够综合考虑时区变化信息和闹钟提醒时刻的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information and alarm clock reminder time can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括两项第一类终端信息,且两项第一类终端信息为时区变化信息和终端使用时间段的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are time zone change information and terminal usage time period, the time zone change information includes a parameter for indicating that the terminal Information about switching the positioning position from the first time zone to the second time zone; the terminal usage time period is the time period when the user intensively uses the terminal program functions;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级和终端使用时间段的第四信息优先级;Obtain the first information priority of the time zone change information and the fourth information priority of the terminal usage time period;

在第一信息优先级高于第四信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;When the first information priority is higher than the fourth information priority, determine the first alternative message push time period as the message push time period for the message to be pushed;

在第一信息优先级低于第四信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。In the case where the first information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在终端信息包括两项第一类终端信息,且两项第一类终端信息为时区变化信息和终端使用时间段的情况下,说明目前同时存在时区变化信息和终端使用时间段,需要考虑时区变化信息和终端使用时间段的影响。When the terminal information includes two pieces of first-class terminal information, and the two pieces of first-class terminal information are time zone change information and terminal use time period, it means that there is currently both time zone change information and terminal use time period, and time zone changes need to be considered. The impact of information and terminal usage time periods.

例如,用户从东八区的A城市前往东九区的东京,时区变化信息包括用于指示终端的定位位置由东八区切换至东九区的信息,东九区比东八区要晚一个小时,即第一时区为东八区,第二时区为东九区,时差为1小时。收到待推送消息的系统时间为A城市的08:00,此时,东京为07:00。For example, the user travels from City A in Dongba District to Tokyo in Dongjiu District. The time zone change information includes information indicating that the terminal's positioning location is switched from Dongba District to Dongjiu District. Dongjiu District is one hour later than Dongba District. hours, that is, the first time zone is East 8th District, the second time zone is East 9th District, and the time difference is 1 hour. The system time when the message to be pushed is received is 08:00 in city A. At this time, it is 07:00 in Tokyo.

这里,第二时区的白天时间段为08:00-20:00。基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Here, the daytime period of the second time zone is 08:00-20:00. Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

具体地,可以根据终端使用时间段的起始时刻确定第四备选消息推送时间段的起始时刻,将第四备选消息推送时间段确定为待推送消息的消息推送时间段,具体包括下述情况:Specifically, the starting time of the fourth alternative message push time period may be determined according to the start time of the terminal usage time period, and the fourth alternative message push time period may be determined as the message push time period of the message to be pushed, including the following: Describe the situation:

第四备选消息推送时间段的起始时刻与终端使用时间段的起始时刻相同;第四备选消息推送时间段的结束时刻与第四备选消息推送时间段的起始时刻间隔第八时长。The starting time of the fourth alternative message push time period is the same as the starting time of the terminal usage time period; the end time of the fourth alternative message push time period is eight times apart from the start time of the fourth alternative message push time period. duration.

例如,终端使用时间段的起始时刻为12:00,则第四备选消息推送时间段的起始时刻为12:00,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:10,第四备选时间段为12:00-12:10。For example, if the starting time of the terminal usage time period is 12:00, then the starting time of the fourth alternative message push time period is 12:00, the eighth duration is 10 minutes, and the end of the fourth alternative message push time period is The time is 12:10, and the fourth alternative time period is 12:00-12:10.

或者,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻;第四备选消息推送时间段的结束时刻与第四备选消息推送时间段的起始时刻间隔第八时长。Alternatively, the start time of the fourth alternative message push time period is later than the start time of the terminal usage time period; the end time of the fourth alternative message push time period is spaced from the start time of the fourth alternative message push time period. Eighth duration.

例如,终端使用时间段的起始时刻为12:00,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻,则第四备选消息推送时间段的起始时刻为12:10,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:20,第四备选消息推送时间段为12:10-12:20。For example, if the starting time of the terminal use time period is 12:00, and the starting time of the fourth alternative message push time period is later than the start time of the terminal use time period, then the start time of the fourth alternative message push time period The time is 12:10, the eighth duration is 10 minutes, the end time of the fourth alternative message push time period is 12:20, and the fourth alternative message push time period is 12:10-12:20.

这里,第一备选消息推送时间段为08:00-20:00。第四备选消息推送时间段为12:10-12:20。Here, the first candidate message push time period is 08:00-20:00. The fourth alternative message push time period is 12:10-12:20.

将第一备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段,即待推送消息的消息推送时间段为12:10-12:20。The intersection time period of the first alternative message push time period and the fourth alternative message push time period is determined as the message push time period of the message to be pushed, that is, the message push time period of the message to be pushed is 12:10-12:20 .

又例如,用户从东八区的深圳前往西五区的多伦多去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至西五区的信息,西五区比东八区要晚12小时,即第一时区为东八区,第二时区为西五区,时差为12小时。For another example, a user goes on a business trip from Shenzhen in the East Eighth District to Toronto in the West Fifth District. The time zone change information includes information indicating that the terminal's positioning location is switched from the East Eighth District to the West Five District. The West Fifth District is longer than the East Eighth District. 12 hours later, that is, the first time zone is the East 8th District and the second time zone is the West 5th District. The time difference is 12 hours.

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段,第二时区的白天时间段为08:00-20:00。收到待推送消息的系统时间为深圳的2023年9月11日的10:00,此时,多伦多为2023年9月10日的22:00,这里,第二时区的白天时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the message push time period for the message to be pushed, and the daytime period in the second time zone is 08:00-20:00. The system time when the message to be pushed is received is 10:00 on September 11, 2023 in Shenzhen. At this time, it is 22:00 on September 10, 2023 in Toronto. Here, the daytime period in the second time zone is 08:00. 00-20:00.

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

例如,终端使用时间段的起始时刻为13:00,则第四备选消息推送时间段的起始时刻为13:00,第八时长为10分钟,第四备选消息推送时间段的结束时刻为13:10,第四备选时间段为13:00-13:10。For example, if the starting time of the terminal usage time period is 13:00, then the starting time of the fourth alternative message push time period is 13:00, the eighth duration is 10 minutes, and the end of the fourth alternative message push time period is The time is 13:10, and the fourth alternative time period is 13:00-13:10.

这里,第一备选消息推送时间段为08:00-20:00。第四备选消息推送时间段为13:00-13:10。Here, the first candidate message push time period is 08:00-20:00. The fourth alternative message push time period is 13:00-13:10.

将第一备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段,即待推送消息的消息推送时间段为13:00-13:10。The intersection time period of the first alternative message push time period and the fourth alternative message push time period is determined as the message push time period of the message to be pushed, that is, the message push time period of the message to be pushed is 13:00-13:10 .

或者,获取时区变化信息的第一信息优先级和终端使用时间段的第四信息优先级;在时区变化信息的第一信息优先级高于终端使用时间段的第四信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;Or, obtain the first information priority of the time zone change information and the fourth information priority of the terminal use time period; when the first information priority of the time zone change information is higher than the fourth information priority of the terminal use time period, Determine the first candidate message push time period as the message push time period for the message to be pushed;

在第一信息优先级低于第四信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。In the case where the first information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

由此,能够综合考虑时区变化信息和闹钟提醒时刻的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information and alarm clock reminder time can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括两项第一类终端信息,且两项第一类终端信息为日程信息和闹钟提醒信息的情况下,日程信息包括用户日程安排的时间信息;闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are schedule information and alarm clock reminder information, the schedule information includes time information arranged by the user's schedule; The alarm reminder information includes the alarm reminder time;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第二备选消息推送时间段和第三备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取日程信息的第二信息优先级和闹钟提醒时刻的第三信息优先级;Obtain the second information priority of schedule information and the third information priority of alarm clock reminder time;

在第二信息优先级高于第三信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段;When the second information priority is higher than the third information priority, determine the second alternative message push time period as the message push time period for the message to be pushed;

在第二信息优先级低于第三信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。When the second information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

一方面,第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则确定第二备选消息推送时间段的起始时刻为12:00,第二备选消息推送时间段为12:00-12:30。On the one hand, the starting time of the first time period is the same as the ending time of the scheduled time period. For example, if the ending time of the scheduled time period is 12:00, then it is determined that the starting time of the second alternative message push time period is 12:00, the second alternative message push time period is 12:00-12:30.

或者,将第一时间段的结束时刻和日程延迟时间段确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,日程延迟了10分钟,日程延迟时间段为12:00-12:10,则第二备选消息推送时间段为12:10-12:40。Or, the end time of the first time period and the schedule delay time period are used to determine the start time of the first time period. For example, the end time of the schedule time period is 12:00, the schedule is delayed by 10 minutes, and the schedule delay time period is 12:00-12:10, then the second alternative message push time period is 12:10-12:40.

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the alarm clock type according to the time period to which the alarm clock reminder time belongs, where the alarm clock type includes a daytime alarm clock or a night alarm clock; determine the user's sleep time period according to the alarm clock reminder time and alarm clock type in the alarm clock reminder information;

若闹钟类型为白天的闹钟,且闹钟提醒时刻为06:00,闹钟提醒时刻位于用于提示早上起床的闹钟时间段07:00-10:00中,则可以确定该闹钟为用于提示早上起床的闹钟,相应地,用户的睡眠时间段可以为22:00-06:00。If the alarm clock type is a daytime alarm clock, and the alarm clock reminder time is 06:00, and the alarm clock reminder time is in the alarm time period 07:00-10:00 used to remind you to get up in the morning, you can determine that the alarm clock is used to remind you to get up in the morning. alarm clock, correspondingly, the user's sleep time period can be 22:00-06:00.

若闹钟类型为白天的闹钟,且闹钟提醒时刻为14:00,闹钟提醒时刻位于用于提示午休结束的闹钟时间段13:00-15:00中,则可以确定该闹钟为用于提示午休结束的闹钟,相应地,用户的睡眠时间段可以为12:00-14:00。If the alarm clock type is a daytime alarm clock, and the alarm clock reminder time is 14:00, and the alarm clock reminder time is in the alarm time period 13:00-15:00 used to remind the end of the lunch break, then it can be determined that the alarm clock is used to remind the end of the lunch break alarm clock, correspondingly, the user's sleep time period can be 12:00-14:00.

若闹钟类型为晚上的闹钟,且闹钟提醒时刻为22:00,闹钟提醒时刻位于用于提示用户去休息的闹钟时间段20:00-24:00中,则可以确定该闹钟为用于提示用户去休息的闹钟,相应地,用户的睡眠时间段可以为22:00-06:00。If the alarm clock type is a night alarm clock, and the alarm clock reminder time is 22:00, and the alarm clock reminder time is in the alarm time period 20:00-24:00 used to remind the user to take a rest, it can be determined that the alarm clock is used to remind the user to take a rest. To set the alarm clock for rest, the user's sleep time period can be 22:00-06:00.

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

一方面,在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段,其中,第三备选消息推送时间段的起始时刻与睡眠时间段的结束时刻相同。例如,睡眠时间段的结束时刻为8:00,则第三备选消息推送时间段的起始时刻为8:00,第六时长为10分钟,第三备选消息推送时间段的结束时刻为8:10,第三备选消息推送时间段为8:00-8:10。On the one hand, without receiving the user's delay reminder control input on the alarm clock, the third alternative message push time period is determined as the message push time period of the message to be pushed, wherein the third alternative message push time period The start time is the same as the end time of the sleep period. For example, if the end time of the sleep period is 8:00, then the start time of the third alternative message push time period is 8:00, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 8:10, the third alternative message push time period is 8:00-8:10.

或者,在未接收到用户对闹钟的延迟提醒控制输入的情况下,第三备选消息推送时间段的起始时刻晚于睡眠时间段的结束时刻;第三备选消息推送时间段的结束时刻与第三备选消息推送时间段的起始时刻间隔第六时长。例如,睡眠时间段的结束时刻为8:00,第三备选消息推送时间段的起始时刻为8:10,第六时长为10分钟,第三备选消息推送时间段的结束时刻为8:20。在该场景中,用户睡眠时间段的结束时刻为8:00,第三备选消息推送时间段为8:10-8:20。Or, without receiving the user's delay reminder control input on the alarm clock, the starting time of the third alternative message push time period is later than the end time of the sleep time period; the end time of the third alternative message push time period There is a sixth time interval from the starting time of the third alternative message push time period. For example, the end time of the sleep period is 8:00, the start time of the third alternative message push time period is 8:10, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 8 :20. In this scenario, the end time of the user's sleep time period is 8:00, and the third alternative message push time period is 8:10-8:20.

另一方面,在接收到用户对闹钟的延迟提醒输入的情况下,确定延迟提醒输入对应的闹钟延迟时间段,根据闹钟提醒时刻和闹钟延迟时间段确定第三备选消息推送时间段。On the other hand, when the user's delayed reminder input for the alarm clock is received, the alarm clock delay time period corresponding to the delayed reminder input is determined, and the third alternative message push time period is determined based on the alarm clock reminder time and the alarm clock delay time period.

将第二备选消息推送时间段和第三备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段。The intersection time period of the second candidate message push time period and the third candidate message push time period is determined as the message push time period of the message to be pushed.

例如,第二备选消息推送时间段为12:00-12:30。第三备选消息推送时间段为8:10-8:20。第二备选消息推送时间段和第三备选消息推送时间段不存在交集时间段。则可以采用优先级方案确定待推送消息的消息推送时间段。For example, the second alternative message push time period is 12:00-12:30. The third alternative message push time period is 8:10-8:20. There is no intersection time period between the second alternative message push time period and the third alternative message push time period. Then a priority scheme can be used to determine the message push time period of the message to be pushed.

获取日程信息的第二信息优先级和闹钟提醒时刻的第三信息优先级;Obtain the second information priority of schedule information and the third information priority of alarm clock reminder time;

在第二信息优先级高于第三信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段;When the second information priority is higher than the third information priority, determine the second alternative message push time period as the message push time period for the message to be pushed;

在第二信息优先级低于第三信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。When the second information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

由此,能够综合考虑日程信息和闹钟提醒时刻的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of schedule information and alarm clock reminder time can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括两项第一类终端信息,且两项第一类终端信息为日程信息和终端使用时间段的情况下,日程信息包括用户日程安排的时间信息;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are schedule information and terminal usage time period, the schedule information includes time information of the user's schedule. ;The terminal usage time period is the time period during which users intensively use terminal program functions;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第二备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取日程信息的第二信息优先级和终端使用时间段的第四信息优先级;Obtain the second information priority of the schedule information and the fourth information priority of the terminal usage time period;

在第二信息优先级高于第四信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段;When the second information priority is higher than the fourth information priority, determine the second alternative message push time period as the message push time period for the message to be pushed;

在第二信息优先级低于第四信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。When the second information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

一方面,第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则确定第二备选消息推送时间段的起始时刻为12:00,第二备选消息推送时间段为12:00-12:30。On the one hand, the starting time of the first time period is the same as the ending time of the scheduled time period. For example, if the ending time of the scheduled time period is 12:00, then it is determined that the starting time of the second alternative message push time period is 12:00, the second alternative message push time period is 12:00-12:30.

或者,将第一时间段的结束时刻和日程延迟时间段确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,日程延迟了10分钟,日程延迟时间段为12:00-12:10,则第二备选消息推送时间段为12:10-12:40。Or, the end time of the first time period and the schedule delay time period are used to determine the start time of the first time period. For example, the end time of the schedule time period is 12:00, the schedule is delayed by 10 minutes, and the schedule delay time period is 12:00-12:10, then the second alternative message push time period is 12:10-12:40.

具体地,可以根据终端使用时间段的起始时刻确定第四备选消息推送时间段的起始时刻,将第四备选消息推送时间段确定为待推送消息的消息推送时间段,具体包括下述情况:Specifically, the starting time of the fourth alternative message push time period may be determined according to the start time of the terminal usage time period, and the fourth alternative message push time period may be determined as the message push time period of the message to be pushed, including the following: Describe the situation:

第四备选消息推送时间段的起始时刻与终端使用时间段的起始时刻相同;第四备选消息推送时间段的结束时刻与第四备选消息推送时间段的起始时刻间隔第八时长。The starting time of the fourth alternative message push time period is the same as the starting time of the terminal usage time period; the end time of the fourth alternative message push time period is eight times apart from the start time of the fourth alternative message push time period. duration.

例如,终端使用时间段的起始时刻为12:00,则第四备选消息推送时间段的起始时刻为12:00,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:10,第三时间段为12:00-12:10。For example, if the starting time of the terminal usage time period is 12:00, then the starting time of the fourth alternative message push time period is 12:00, the eighth duration is 10 minutes, and the end of the fourth alternative message push time period is The time is 12:10, and the third time period is 12:00-12:10.

或者,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻;第四备选消息推送时间段的结束时刻与第四备选消息推送时间段的起始时刻间隔第八时长。Alternatively, the start time of the fourth alternative message push time period is later than the start time of the terminal usage time period; the end time of the fourth alternative message push time period is spaced from the start time of the fourth alternative message push time period. Eighth duration.

例如,终端使用时间段的起始时刻为12:00,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻,则第四备选消息推送时间段的起始时刻为12:10,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:20,第四备选消息推送时间段为12:10-12:20。For example, if the starting time of the terminal use time period is 12:00, and the starting time of the fourth alternative message push time period is later than the start time of the terminal use time period, then the start time of the fourth alternative message push time period The time is 12:10, the eighth duration is 10 minutes, the end time of the fourth alternative message push time period is 12:20, and the fourth alternative message push time period is 12:10-12:20.

将第二备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段。The intersection time period of the second candidate message push time period and the fourth candidate message push time period is determined as the message push time period of the message to be pushed.

例如,第二备选消息推送时间段为12:00-12:30。第四备选消息推送时间段为12:10-12:20。第二备选消息推送时间段和第四备选消息推送时间段的交集时间段为12:10-12:20。For example, the second alternative message push time period is 12:00-12:30. The fourth alternative message push time period is 12:10-12:20. The intersection time period of the second alternative message push time period and the fourth alternative message push time period is 12:10-12:20.

或者,获取日程信息的第二信息优先级和终端使用时间段的第四信息优先级;在第二信息优先级高于第四信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段;Or, obtain the second information priority of the schedule information and the fourth information priority of the terminal usage time period; when the second information priority is higher than the fourth information priority, determine the second alternative message push time period The message push time period for the message to be pushed;

在第二信息优先级低于第四信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段When the second information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

由此,能够综合考虑日程信息和日程信息的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of schedule information and schedule information can be comprehensively considered to increase the probability that users view the message to be pushed, thereby increasing the click-through rate of the pushed message.

在一种可能的实施例中,在终端信息包括两项第一类终端信息,且两项第一类终端信息为闹钟提醒信息和终端使用时间段的情况下,闹钟提醒信息包括闹钟提醒时刻;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are alarm clock reminder information and terminal usage time period, the alarm clock reminder information includes the alarm clock reminder time; The terminal usage time period is the time period during which users intensively use terminal program functions;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第三备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取日程信息的第三信息优先级和终端使用时间段的第四信息优先级;Obtain the third information priority of the schedule information and the fourth information priority of the terminal usage time period;

在第三信息优先级高于第四信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段;When the third information priority is higher than the fourth information priority, determine the third alternative message push time period as the message push time period for the message to be pushed;

在第三信息优先级低于第四信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。In the case where the third information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

一方面,在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段,其中,第三备选消息推送时间段的起始时刻与睡眠时间段的结束时刻相同。例如,睡眠时间段的结束时刻为8:00,则第三备选消息推送时间段的起始时刻为8:00,第六时长为10分钟,第三备选消息推送时间段的结束时刻为8:10,第三备选消息推送时间段为8:00-8:10。On the one hand, without receiving the user's delay reminder control input on the alarm clock, the third alternative message push time period is determined as the message push time period of the message to be pushed, wherein the third alternative message push time period The start time is the same as the end time of the sleep period. For example, if the end time of the sleep period is 8:00, then the start time of the third alternative message push time period is 8:00, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 8:10, the third alternative message push time period is 8:00-8:10.

或者,在未接收到用户对闹钟的延迟提醒控制输入的情况下,第三备选消息推送时间段的起始时刻晚于睡眠时间段的结束时刻;第三备选消息推送时间段的结束时刻与第三备选消息推送时间段的起始时刻间隔第六时长。例如,睡眠时间段的结束时刻为8:00,第三备选消息推送时间段的起始时刻为8:10,第六时长为10分钟,第三备选消息推送时间段的结束时刻为8:20。在该场景中,用户睡眠时间段的结束时刻为8:00,第三备选消息推送时间段为8:10-8:20。Or, without receiving the user's delay reminder control input on the alarm clock, the starting time of the third alternative message push time period is later than the end time of the sleep time period; the end time of the third alternative message push time period There is a sixth time interval from the starting time of the third alternative message push time period. For example, the end time of the sleep period is 8:00, the start time of the third alternative message push time period is 8:10, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 8 :20. In this scenario, the end time of the user's sleep time period is 8:00, and the third alternative message push time period is 8:10-8:20.

另一方面,在接收到用户对闹钟的延迟提醒输入的情况下,确定延迟提醒输入对应的闹钟延迟时间段,根据闹钟提醒时刻和闹钟延迟时间段确定第三备选消息推送时间段。On the other hand, when the user's delayed reminder input for the alarm clock is received, the alarm clock delay time period corresponding to the delayed reminder input is determined, and the third alternative message push time period is determined based on the alarm clock reminder time and the alarm clock delay time period.

具体地,可以根据终端使用时间段的起始时刻确定第四备选消息推送时间段的起始时刻,将第四备选消息推送时间段确定为待推送消息的消息推送时间段,具体包括下述情况:Specifically, the starting time of the fourth alternative message push time period may be determined according to the start time of the terminal usage time period, and the fourth alternative message push time period may be determined as the message push time period of the message to be pushed, including the following: Describe the situation:

将第四备选消息推送时间段确定为待推送消息的消息推送时间段,第四备选消息推送时间段的起始时刻与终端使用时间段的起始时刻相同;第四备选消息推送时间段的结束时刻与第四备选消息推送时间段的起始时刻间隔第八时长。The fourth alternative message push time period is determined as the message push time period of the message to be pushed, and the starting time of the fourth alternative message push time period is the same as the starting time of the terminal usage time period; the fourth alternative message push time There is an eighth time interval between the end time of the segment and the start time of the fourth alternative message push time period.

例如,终端使用时间段的起始时刻为12:00,则第四备选消息推送时间段的起始时刻为12:00,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:10,第三时间段为12:00-12:10。For example, if the starting time of the terminal usage time period is 12:00, then the starting time of the fourth alternative message push time period is 12:00, the eighth duration is 10 minutes, and the end of the fourth alternative message push time period is The time is 12:10, and the third time period is 12:00-12:10.

或者,将第四备选消息推送时间段确定为待推送消息的消息推送时间段,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻;第四备选消息推送时间段的结束时刻与第四备选消息推送时间段的起始时刻间隔第八时长。Alternatively, the fourth alternative message push time period is determined as the message push time period of the message to be pushed, and the starting time of the fourth alternative message push time period is later than the starting time of the terminal usage time period; the fourth alternative message There is an eighth time interval between the end time of the push time period and the start time of the fourth candidate message push time period.

例如,终端使用时间段的起始时刻为12:00,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻,则第四备选消息推送时间段的起始时刻为12:10,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:20,第四备选消息推送时间段为12:10-12:20。For example, if the starting time of the terminal use time period is 12:00, and the starting time of the fourth alternative message push time period is later than the start time of the terminal use time period, then the start time of the fourth alternative message push time period The time is 12:10, the eighth duration is 10 minutes, the end time of the fourth alternative message push time period is 12:20, and the fourth alternative message push time period is 12:10-12:20.

将第三备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段。The intersection time period of the third candidate message push time period and the fourth candidate message push time period is determined as the message push time period of the message to be pushed.

例如,第三备选消息推送时间段为8:10-8:20。第四备选消息推送时间段为12:10-12:20。第三备选消息推送时间段和第四备选消息推送时间段不存在交集时间段,则可以获取日程信息的第三信息优先级和终端使用时间段的第四信息优先级;For example, the third alternative message push time period is 8:10-8:20. The fourth alternative message push time period is 12:10-12:20. If there is no intersection time period between the third alternative message push time period and the fourth alternative message push time period, the third information priority of the schedule information and the fourth information priority of the terminal usage time period can be obtained;

在第三信息优先级高于第四信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段;在第三信息优先级低于第四信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。When the third information priority is higher than the fourth information priority, the third alternative message push time period is determined as the message push time period for the message to be pushed; when the third information priority is lower than the fourth information priority In the case of , the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

由此,能够综合考虑日程信息和终端使用时间段的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of schedule information and terminal usage time period can be comprehensively considered to increase the probability that users view the message to be pushed, thereby increasing the click-through rate of the push message.

在此,已完成对如何确定第一备选消息推送时间段、第二备选消息推送时间段、第三备选消息和第三备选消息的说明,后续不再赘述。Here, the description of how to determine the first candidate message push time period, the second candidate message push time period, the third candidate message, and the third candidate message has been completed, and will not be described again.

在一种可能的实施例中,在终端信息包括三项第一类终端信息,且三项第一类终端信息为时区变化信息、日程信息和闹钟提醒信息的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;日程信息包括用户日程安排的时间信息;闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, schedule information and alarm clock reminder information, the time zone change information includes: Information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes the time information of the user's schedule; the alarm reminder information includes the alarm reminder time;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段、第二备选消息推送时间段和第三备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the second alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级、日程信息的第二信息优先级和闹钟提醒时刻的第三信息优先级;Obtain the first information priority of time zone change information, the second information priority of schedule information, and the third information priority of alarm clock reminder time;

在第一信息优先级高于第二信息优先级、且高于第三信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;When the first information priority is higher than the second information priority and higher than the third information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在第二信息优先级高于第一信息优先级、且高于第三信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段。When the second information priority is higher than the first information priority and higher than the third information priority, the second candidate message push time period is determined as the message push time period of the message to be pushed.

在第三信息优先级高于第一信息优先级、且高于第二信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。In the case where the third information priority is higher than the first information priority and higher than the second information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

例如,第一备选消息推送时间段为08:00-20:00;第二备选消息推送时间段为12:00-12:30。第三备选消息推送时间段为8:10-8:20。For example, the first alternative message push time period is 08:00-20:00; the second alternative message push time period is 12:00-12:30. The third alternative message push time period is 8:10-8:20.

第一备选消息推送时间段、第二备选消息推送时间段和第三备选消息推送时间段不存在交集时间段;获取时区变化信息的第一信息优先级、日程信息的第二信息优先级和闹钟提醒时刻的第三信息优先级;将时区变化信息的第一信息优先级、日程信息的第二信息优先级和闹钟提醒时刻的第三信息优先级中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段。There is no intersection time period between the first alternative message push time period, the second alternative message push time period and the third alternative message push time period; the first information priority for obtaining time zone change information and the second information priority for schedule information are obtained and the third information priority at the alarm reminder time; combine the first information priority of the time zone change information, the second information priority of the schedule information, and the third information priority at the alarm reminder time, whichever corresponds to the highest information priority. The time period of the terminal-like information is determined as the message push time period of the message to be pushed.

由此,能够综合考虑时区变化信息、日程信息和闹钟提醒时刻的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information, schedule information and alarm clock reminder time can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括三项第一类终端信息,且三项第一类终端信息为时区变化信息、日程信息和终端使用时间段的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;日程信息包括用户日程安排的时间信息;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, schedule information and terminal usage time period, the time zone change information includes username and password. Information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes the time information of the user's schedule; the terminal usage time period is the time period during which the user intensively uses the terminal program functions;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段、第二备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the second alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级、日程信息的第二信息优先级和终端使用时间段的第四信息优先级;Obtain the first information priority of time zone change information, the second information priority of schedule information, and the fourth information priority of terminal usage time period;

在第一信息优先级高于第二信息优先级、且高于第四信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;When the first information priority is higher than the second information priority and higher than the fourth information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在第二信息优先级高于第一信息优先级、且高于第四信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段。When the second information priority is higher than the first information priority and higher than the fourth information priority, the second candidate message push time period is determined as the message push time period of the message to be pushed.

在第四信息优先级高于第一信息优先级、且高于第二信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。When the fourth information priority is higher than the first information priority and higher than the second information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

第一备选消息推送时间段为08:00-20:00。第二备选消息推送时间段为12:00-12:30。第四备选消息推送时间段为12:10-12:20。The first alternative message push time period is 08:00-20:00. The second alternative message push time period is 12:00-12:30. The fourth alternative message push time period is 12:10-12:20.

第一备选消息推送时间段、第二备选消息推送时间段和第四备选消息推送时间段的交集时间段为12:10-12:20,待推送消息的消息推送时间段为12:10-12:20。或者,获取时区变化信息的第一信息优先级、日程信息的第二信息优先级和终端使用时间段的第四信息优先级;将第一备选消息推送时间段、第二备选消息推送时间段和第四备选消息推送时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段。The intersection time period of the first alternative message push time period, the second alternative message push time period and the fourth alternative message push time period is 12:10-12:20, and the message push time period of the message to be pushed is 12: 10-12:20. Or, obtain the first information priority of the time zone change information, the second information priority of the schedule information, and the fourth information priority of the terminal usage time period; assign the first alternative message push time period, the second alternative message push time The time period corresponding to the first type of terminal information with the highest information priority among the fourth candidate message push time period and the first message push time period is determined as the message push time period of the message to be pushed.

由此,能够综合考虑时区变化信息、日程信息和终端使用时间段的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information, schedule information, and terminal usage time periods can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括三项第一类终端信息,且三项第一类终端信息为日程信息、闹钟提醒信息和终端使用时间段的情况下,闹钟提醒信息包括闹钟提醒时刻;日程信息包括用户日程安排的时间信息;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are schedule information, alarm clock reminder information and terminal usage time period, the alarm clock reminder information includes an alarm clock Reminder time; schedule information includes time information of the user's schedule; the terminal usage time period is the time period when the user intensively uses the terminal program functions;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取日程信息的第二信息优先级、闹钟提醒信息的第三信息优先级和终端使用时间段的第四信息优先级;Obtain the second information priority of schedule information, the third information priority of alarm clock reminder information, and the fourth information priority of terminal usage time period;

在第二信息优先级高于第三信息优先级、且高于第四信息优先级的情况下,将第二备选消息推送时间段确定为待推送消息的消息推送时间段;When the second information priority is higher than the third information priority and higher than the fourth information priority, determine the second alternative message push time period as the message push time period of the message to be pushed;

在第三信息优先级高于第二信息优先级、且高于第四信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。When the third information priority is higher than the second information priority and higher than the fourth information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在第四信息优先级高于第二信息优先级、且高于第三信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。When the fourth information priority is higher than the second information priority and higher than the third information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

第二备选消息推送时间段为12:00-12:30。第三备选消息推送时间段为8:10-8:20。第四备选消息推送时间段为12:10-12:20。The second alternative message push time period is 12:00-12:30. The third alternative message push time period is 8:10-8:20. The fourth alternative message push time period is 12:10-12:20.

第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段不存在交集时间段,则获取日程信息的第二信息优先级、闹钟提醒信息的第三信息优先级和终端使用时间段的第四信息优先级;将第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段。If there is no intersection time period between the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period, then the second information priority of the schedule information and the third information of the alarm clock reminder information are obtained. priority and the fourth information priority of the terminal usage time period; the first corresponding maximum information priority among the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period. The time period of the terminal-like information is determined as the message push time period of the message to be pushed.

由此,能够综合考虑闹钟提醒信息、日程信息和终端使用时间段的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of alarm clock reminder information, schedule information, and terminal usage time periods can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括三项第一类终端信息,且三项第一类终端信息为时区变化信息、闹钟提醒信息和终端使用时间段的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;闹钟提醒信息包括闹钟提醒时刻;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, alarm clock reminder information and terminal usage time period, the time zone change information includes Information used to indicate that the positioning position of the terminal is switched from the first time zone to the second time zone; the alarm reminder information includes the alarm reminder time; the terminal usage time period is the time period during which the user intensively uses the terminal program functions;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级、闹钟提醒信息的第三信息优先级和终端使用时间段的第四信息优先级;Obtain the first information priority of time zone change information, the third information priority of alarm clock reminder information, and the fourth information priority of terminal usage time period;

在第一信息优先级高于第三信息优先级、且高于第四信息优先级的情况下,将第一备选消息推送时间段确定为待推送消息的消息推送时间段;When the first information priority is higher than the third information priority and higher than the fourth information priority, determine the first candidate message push time period as the message push time period of the message to be pushed;

在第三信息优先级高于第一信息优先级、且高于第四信息优先级的情况下,将第三备选消息推送时间段确定为待推送消息的消息推送时间段。When the third information priority is higher than the first information priority and higher than the fourth information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在第四信息优先级高于第一信息优先级、且高于第三信息优先级的情况下,将第四备选消息推送时间段确定为待推送消息的消息推送时间段。When the fourth information priority is higher than the first information priority and higher than the third information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

例如,第一备选消息推送时间段为08:00-20:00。第三备选消息推送时间段为8:10-8:20。第四备选消息推送时间段为12:10-12:20。For example, the first candidate message push time period is 08:00-20:00. The third alternative message push time period is 8:10-8:20. The fourth alternative message push time period is 12:10-12:20.

第一备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段不存在交集时间段,则获取时区变化信息的第一信息优先级、闹钟提醒信息的第三信息优先级和终端使用时间段的第四信息优先级,将第一备选消息推送时间段、第三备选消息推送时间段和第四备选消息中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段。If there is no intersection time period between the first alternative message push time period, the third alternative message push time period and the fourth alternative message push time period, then the first information priority of the time zone change information and the third priority of the alarm clock reminder information are obtained. Information priority and the fourth information priority of the terminal usage time period, the first type terminal corresponding to the maximum information priority among the first alternative message push time period, the third alternative message push time period and the fourth alternative message The time period of the information is determined as the message push time period of the message to be pushed.

由此,能够综合考虑时区变化信息、闹钟提醒信息和终端使用时间段的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information, alarm clock reminder information, and terminal usage time periods can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括四项第一类终端信息,且四项第一类终端信息为时区变化信息、日程信息、闹钟提醒信息和终端使用时间段的情况下,时区变化信息包括用于指示终端的定位位置由第一时区切换至第二时区的信息;日程信息包括用户日程安排的时间信息;闹钟提醒信息包括闹钟提醒时刻;终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes four items of first-type terminal information, and the four items of first-type terminal information are time zone change information, schedule information, alarm clock reminder information and terminal usage time period, the time zone The change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; the alarm reminder information includes the alarm reminder time; the terminal usage time period is when the user intensively uses the terminal program Functional time period;

终端显示待推送消息之前,方法还包括:Before the terminal displays the message to be pushed, the method also includes:

根据第一时区和第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

根据闹钟提醒时刻所属的时间段,确定闹钟类型,其中,闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, where the alarm clock type includes a day alarm clock or a night alarm clock;

根据闹钟提醒信息中的闹钟提醒时刻和闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period based on the alarm reminder time and alarm type in the alarm reminder information;

根据睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据睡眠时间段的结束时刻和闹钟延迟时间段,确定第三备选消息推送时间段;Determine the third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine the fourth alternative message push time period according to the starting time of the terminal usage time period;

将N个时间段的交集时间段确定为待推送消息的消息推送时间段,包括:The intersection time period of N time periods is determined as the message push time period for the message to be pushed, including:

将第一备选消息推送时间段、第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段的交集时间段确定为待推送消息的消息推送时间段;The intersection time period of the first alternative message push time period, the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period is determined as the message push time period of the message to be pushed. ;

或者,将N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段,包括:Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed, including:

获取时区变化信息的第一信息优先级、日程信息的第二信息优先级、闹钟提醒信息的第三信息优先级和终端使用时间段的第四信息优先级;Obtain the first information priority of time zone change information, the second information priority of schedule information, the third information priority of alarm clock reminder information, and the fourth information priority of terminal usage time period;

确定第一信息优先级、第二信息优先级、第三信息优先级和第四信息优先级中的最高优先级;Determine the highest priority among the first information priority, the second information priority, the third information priority and the fourth information priority;

将最高优先级对应的备选消息推送时间段,确定为待推送消息的消息推送时间段,备选消息推送时间段包括:第一备选消息推送时间段、第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段。The alternative message push time period corresponding to the highest priority is determined as the message push time period for the message to be pushed. The alternative message push time period includes: the first alternative message push time period, the second alternative message push time period, The third alternative message push time period and the fourth alternative message push time period.

例如,第一备选消息推送时间段为08:00-20:00。第二备选消息推送时间段为12:00-12:30。第三备选消息推送时间段为8:10-8:20。第四备选消息推送时间段为12:10-12:20。For example, the first candidate message push time period is 08:00-20:00. The second alternative message push time period is 12:00-12:30. The third alternative message push time period is 8:10-8:20. The fourth alternative message push time period is 12:10-12:20.

第一备选消息推送时间段、第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段不存在交集时间段,则获取时区变化信息的第一信息优先级、日程信息的第二信息优先级、闹钟提醒信息的第三信息优先级和终端使用时间段的第四信息优先级。将第一备选消息推送时间段、第二备选消息推送时间段、第三备选消息推送时间段和第四备选消息推送时间段中对应最大信息优先级的第一类终端信息的时间段确定为待推送消息的消息推送时间段。If there is no intersection time period between the first alternative message push time period, the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period, the first information of the time zone change information is obtained. priority, the second information priority of schedule information, the third information priority of alarm clock reminder information, and the fourth information priority of the terminal usage time period. The time of the first type of terminal information corresponding to the maximum information priority in the first alternative message push time period, the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period. The segment is determined as the message push time period for the message to be pushed.

又例如,用户从东八区的深圳前往西五区的多伦多去出差,时区变化信息包括用于指示终端的定位位置由东八区切换至西五区的信息,西五区比东八区要晚12小时,即第一时区为东八区,第二时区为西五区,时差为12小时。For another example, a user goes on a business trip from Shenzhen in the East Eighth District to Toronto in the West Fifth District. The time zone change information includes information indicating that the terminal's positioning location is switched from the East Eighth District to the West Five District. The West Fifth District is longer than the East Eighth District. 12 hours later, that is, the first time zone is the East 8th District and the second time zone is the West 5th District. The time difference is 12 hours.

基于时差,将第二时区的白天时间段确定为待推送消息的消息推送时间段,第二时区的白天时间段为08:00-20:00。收到待推送消息的系统时间为深圳的2023年9月11日的10:00,此时,多伦多为2023年9月10日的22:00,这里,第二时区的白天时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the message push time period for the message to be pushed, and the daytime period in the second time zone is 08:00-20:00. The system time when the message to be pushed is received is 10:00 on September 11, 2023 in Shenzhen. At this time, it is 22:00 on September 10, 2023 in Toronto. Here, the daytime period in the second time zone is 08:00. 00-20:00.

基于时差,将第二时区的白天时间段确定为第一备选消息推送时间段,第一备选消息推送时间段为08:00-20:00。Based on the time difference, the daytime period in the second time zone is determined as the first candidate message push time period, and the first candidate message push time period is 08:00-20:00.

根据日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period based on the time information of the user's schedule in the schedule information;

根据日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据日程安排时间段的结束时刻和日程延迟时间段,确定第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period;

一方面,第一时间段的起始时刻与日程安排时间段的结束时刻相同,例如,日程安排时间段的结束时刻为12:00,则确定第二备选消息推送时间段的起始时刻为12:00,第二备选消息推送时间段为12:00-12:30。On the one hand, the starting time of the first time period is the same as the ending time of the scheduled time period. For example, if the ending time of the scheduled time period is 12:00, then it is determined that the starting time of the second alternative message push time period is 12:00, the second alternative message push time period is 12:00-12:30.

或者,将第一时间段的结束时刻和日程延迟时间段确定第一时间段的起始时刻,例如,日程安排时间段的结束时刻为12:00,日程延迟了10分钟,日程延迟时间段为12:00-12:10,则第二备选消息推送时间段为12:10-12:40。Or, the end time of the first time period and the schedule delay time period are used to determine the start time of the first time period. For example, the end time of the schedule time period is 12:00, the schedule is delayed by 10 minutes, and the schedule delay time period is 12:00-12:10, then the second alternative message push time period is 12:10-12:40.

在未接收到用户对闹钟的延迟提醒控制输入的情况下,第三备选消息推送时间段的起始时刻与睡眠时间段的结束时刻相同。例如,睡眠时间段的结束时刻为12:10,则第三备选消息推送时间段的起始时刻为12:10,第六时长为10分钟,第三备选消息推送时间段的结束时刻为12:20,第三备选消息推送时间段为12:10-12:20。In the case where the user's delay reminder control input on the alarm clock is not received, the start time of the third alternative message push time period is the same as the end time of the sleep time period. For example, if the end time of the sleep period is 12:10, then the start time of the third alternative message push time period is 12:10, the sixth duration is 10 minutes, and the end time of the third alternative message push time period is 12:20, the third alternative message push time period is 12:10-12:20.

例如,终端使用时间段的起始时刻为12:00,第四备选消息推送时间段的起始时刻晚于终端使用时间段的起始时刻,则第四备选消息推送时间段的起始时刻为12:10,第八时长为10分钟,第四备选消息推送时间段的结束时刻为12:20,第四备选消息推送时间段为12:10-12:20。For example, if the starting time of the terminal use time period is 12:00, and the starting time of the fourth alternative message push time period is later than the start time of the terminal use time period, then the start time of the fourth alternative message push time period The time is 12:10, the eighth duration is 10 minutes, the end time of the fourth alternative message push time period is 12:20, and the fourth alternative message push time period is 12:10-12:20.

这里,第一备选消息推送时间段为08:00-20:00。第二备选消息推送时间段为12:00-12:30,第三备选消息推送时间段为12:10-12:20,第四备选消息推送时间段为12:10-12:20,则将第一备选消息推送时间段和第二备选消息推送时间段,第三备选消息推送时间段和第四备选消息推送时间段的交集时间段12:10-12:20确定为待推送消息的消息推送时间段。Here, the first candidate message push time period is 08:00-20:00. The second alternative message push time period is 12:00-12:30, the third alternative message push time period is 12:10-12:20, and the fourth alternative message push time period is 12:10-12:20 , then the intersection time period 12:10-12:20 of the first alternative message push time period, the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period is determined. The message push time period for the message to be pushed.

由此,能够综合考虑时区变化信息、日程信息、闹钟提醒信息和终端使用时间段的影响,提升用户查看到待推送消息的概率,从而提升推送消息的点击率。As a result, the impact of time zone change information, schedule information, alarm clock reminder information, and terminal usage time periods can be comprehensively considered to increase the probability that users will see the message to be pushed, thereby increasing the click-through rate of the push message.

在一种可能的实施例中,在终端信息包括第二类终端信息且第二类终端信息为用户输入的消息推送时间段的情况下,还可以包括以下步骤:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period input by the user, the following steps may also be included:

将终端的系统时间位于用户输入的消息推送时间段之外确定为待推送消息的消息延迟条件,并将第六时间段确定为待推送消息的消息推送时间段;Determine the system time of the terminal to be outside the message push time period input by the user as the message delay condition for the message to be pushed, and determine the sixth time period as the message push time period for the message to be pushed;

其中,第六时间段的起始时刻与用户输入的消息推送时间段的起始时刻相同,或者晚于用户输入的消息推送时间段的起始时刻;第六时间段的起始时刻与第六时间段的起始时刻间隔第九时长;Among them, the starting time of the sixth time period is the same as the starting time of the message push time period input by the user, or later than the starting time of the message push time period input by the user; the starting time of the sixth time period is the same as the starting time of the sixth time period. The start time interval of the time period is the ninth duration;

在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达消息推送时间段内的消息推送时刻的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息。When the system time of the terminal reaches the message push time within the message push time period, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message to be pushed.

将终端的系统时间位于用户输入的消息推送时间段之外确定为待推送消息的消息延迟条件,在终端信息满足消息延迟条件的情况下,终端缓存待推送消息,例如,用户输入的消息推送时间段为12:00-14:00,则表示用户希望在12:00-14:00内收到待推送消息,待推送消息的消息延迟条件为终端的系统时间位于12:00-14:00之外。The system time of the terminal is determined to be outside the message push time period input by the user as the message delay condition of the message to be pushed. When the terminal information meets the message delay condition, the terminal caches the message to be pushed, for example, the message push time input by the user The segment is 12:00-14:00, which means that the user hopes to receive the message to be pushed within 12:00-14:00. The message delay condition for the message to be pushed is that the system time of the terminal is between 12:00-14:00. outside.

具体地,可以根据用户输入的消息推送时间段的起始时刻确定第六时间段的起始时刻,将第六时间段确定为待推送消息的消息推送时间段,具体包括下述情况:Specifically, the starting time of the sixth time period can be determined based on the starting time of the message push time period input by the user, and the sixth time period can be determined as the message push time period for the message to be pushed, including the following situations:

将第六时间段确定为待推送消息的消息推送时间段,第六时间段的起始时刻与用户输入的消息推送时间段的起始时刻相同;第六时间段的结束时刻与第六时间段的起始时刻间隔第九时长。The sixth time period is determined as the message push time period for the message to be pushed. The starting time of the sixth time period is the same as the starting time of the message push time period input by the user; the end time of the sixth time period is the same as the sixth time period. The starting time interval is the ninth duration.

例如,用户输入的消息推送时间段的起始时刻为12:00,则第六时间段的起始时刻为12:00,第九时长为10分钟,第六时间段的结束时刻为12:10,第三时间段为12:00-12:10。将第六时间段确定为待推送消息的消息推送时间段。For example, if the start time of the message push time period entered by the user is 12:00, then the start time of the sixth time period is 12:00, the ninth time period is 10 minutes, and the end time of the sixth time period is 12:10 , the third time period is 12:00-12:10. The sixth time period is determined as the message push time period of the message to be pushed.

由此,根据用户输入的消息推送时间段的起始时刻确定第六时间段,能够基于用户自行确认的消息推送时间段,确定第六时间段,并将第六时间段确定为待推送消息的消息推送时间段,能够充分满足用户的使用需求,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。Therefore, the sixth time period can be determined based on the starting time of the message push time period input by the user, the sixth time period can be determined based on the message push time period confirmed by the user, and the sixth time period can be determined as the time period for the message to be pushed. The message push time period can fully meet the user's needs and increase the probability that users will see the message to be pushed, thus increasing the click-through rate of the push message.

或者,将第六时间段确定为待推送消息的消息推送时间段,第六时间段的起始时刻晚于用户输入的消息推送时间段的起始时刻;第六时间段的结束时刻与第六时间段的起始时刻间隔第九时长。Alternatively, the sixth time period is determined as the message push time period of the message to be pushed. The starting time of the sixth time period is later than the starting time of the message push time period input by the user; the end time of the sixth time period is the same as the sixth time period. The start time interval of the time period is the ninth duration.

例如,用户输入的消息推送时间段的起始时刻为12:00,第六时间段的起始时刻晚于用户输入的消息推送时间段的起始时刻,则第六时间段的起始时刻为12:10,第九时长为10分钟,第六时间段的结束时刻为12:20,第六时间段为12:10-12:20。将第六时间段确定为待推送消息的消息推送时间段。For example, if the start time of the message push time period input by the user is 12:00, and the start time of the sixth time period is later than the start time of the message push time period input by the user, then the start time of the sixth time period is 12:10, the ninth time period is 10 minutes, the end time of the sixth time period is 12:20, and the sixth time period is 12:10-12:20. The sixth time period is determined as the message push time period of the message to be pushed.

由此,将晚于用户输入的消息推送时间段的起始时刻的时刻确定为第六时间段的起始时刻,将该第六时间段确定为待推送消息的消息推送时间段,能够充分满足用户的使用需求,能够提升用户查看到待推送消息的概率,从而提升推送消息的点击率。Therefore, the time later than the start time of the message push time period input by the user is determined as the start time of the sixth time period, and the sixth time period is determined as the message push time period of the message to be pushed, which can fully satisfy The user's usage needs can increase the probability that the user will see the message to be pushed, thereby increasing the click-through rate of the push message.

由此,通过调整消息推送的时间,根据用户输入的消息推送时间段的起始时刻确定第六时间段的起始时刻,将第六时间段确定为待推送消息的消息推送时间段,也就是在用户输入的消息推送时间段的起始时刻之后进行待推送消息的推送,由于用户输入的消息推送时间段是用户希望收到消息的时间段,从而在用户希望收到消息的时间段内进行消息的推送,能够提升推送消息的点击率。Therefore, by adjusting the time of message push, the starting time of the sixth time period is determined according to the starting time of the message push time period input by the user, and the sixth time period is determined as the message push time period of the message to be pushed, that is, The message to be pushed is pushed after the starting time of the message push time period input by the user. Since the message push time period input by the user is the time period when the user wants to receive the message, it is performed within the time period when the user wants to receive the message. The push of messages can increase the click-through rate of push messages.

在一种可能的实施例中,在终端信息包括第二类终端信息且第二类终端信息为用户输入的消息推送位置的情况下,还可以包括以下步骤:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push location input by the user, the following steps may also be included:

将终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外确定为待推送消息的消息延迟条件,并将以用户输入的消息推送位置为中心的区域范围确定为待推送消息的消息推送范围;The positioning position of the terminal outside the area centered on the message push position entered by the user is determined as the message delay condition for the message to be pushed, and the area range centered on the message push position input by the user is determined as the message delay condition for the message to be pushed Message push range;

在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的定位位置位于消息推送范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息。When the positioning position of the terminal is within the message push range, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message to be pushed.

将终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外确定为待推送消息的消息延迟条件,在终端信息满足消息延迟条件的情况下,终端缓存待推送消息,例如,用户输入的消息推送位置为“家”,则表示用户希望在家里收到待推送消息,待推送消息的消息延迟条件为终端的定位位置位于以家为中心的区域范围之外。The positioning position of the terminal outside the area centered on the message push position input by the user is determined as the message delay condition for the message to be pushed. When the terminal information meets the message delay condition, the terminal caches the message to be pushed. For example, the user If the entered message push location is "home", it means that the user wants to receive the message to be pushed at home, and the message delay condition for the message to be pushed is that the positioning position of the terminal is outside the area centered on home.

其中,消息推送位置的表示方式可以为经纬度信息;以用户输入的消息推送位置为中心的区域范围,对应的区域半径可以为预设尺寸,例如,10米。The message push location may be represented by latitude and longitude information; the corresponding area radius centered on the message push location input by the user may be a preset size, for example, 10 meters.

具体地,可以在终端的定位位置位于消息推送范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息。Specifically, when the positioning position of the terminal is within the message push range, the terminal can determine that the message push time of the message to be pushed has arrived, and display the message to be pushed.

例如,用户输入的消息推送位置为“家”,则消息推送范围为以家为中心的区域范围,在终端的定位位置位于以家为中心的区域范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息。For example, if the message push location input by the user is "home", then the message push range is the area centered on home. When the positioning position of the terminal is within the area centered on home, the terminal determines the location of the message to be pushed. The message push time arrives and the message to be pushed is displayed.

由此,通过调整消息推送的时间,在终端的定位位置位于以用户输入的消息推送位置确定的消息推送范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息,由于用户输入的消息推送位置是用户希望收到消息的消息推送位置,从而在用户希望收到消息的消息推送位置内进行消息的推送,能够提升推送消息的点击率。Therefore, by adjusting the time of message push, when the positioning position of the terminal is within the message push range determined by the message push position input by the user, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message to be pushed, Since the message push location input by the user is the message push location where the user expects to receive the message, pushing the message within the message push location where the user expects to receive the message can increase the click-through rate of the push message.

在一种可能的实施例中,所述消息延迟条件包括以下至少一项:终端的系统时间位于消息推送时间段之外、终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外,在终端信息包括第二类终端信息且第二类终端信息为用户输入的消息推送时间段和消息推送位置的情况下,还可以包括以下步骤:In a possible embodiment, the message delay condition includes at least one of the following: the system time of the terminal is outside the message push time period, and the positioning position of the terminal is within a region centered on the message push position input by the user. In addition, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period and message push location input by the user, the following steps may also be included:

将终端的系统时间位于用户输入的消息推送时间段之外和终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外确定为待推送消息的消息延迟条件,将第七时间段确定为待推送消息的消息推送时间段,并将以用户输入的地理位置为中心的区域范围确定为待推送消息的消息推送范围;The system time of the terminal is outside the message push time period input by the user and the positioning position of the terminal is outside the area centered on the message push position input by the user as the message delay condition for the message to be pushed, and the seventh time period is Determine the message push time period as the message to be pushed, and determine the area centered on the geographical location entered by the user as the message push range of the message to be pushed;

其中,第七时间段的起始时刻与用户输入的消息推送时间段的起始时刻相同,或者晚于用户输入的消息推送时间段的起始时刻;第七时间段的起始时刻与第六时间段的起始时刻间隔第九时长;Among them, the starting time of the seventh time period is the same as the starting time of the message push time period input by the user, or later than the starting time of the message push time period input by the user; the starting time of the seventh time period is the same as the starting time of the sixth time period. The start time interval of the time period is the ninth duration;

在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达消息推送时间段内的消息推送时刻,且终端的定位位置位于消息推送范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息。When the terminal's system time reaches the message push time within the message push time period and the terminal's position is within the message push range, the terminal determines that the message push time of the message to be pushed has arrived and displays the message to be pushed.

消息延迟条件包括以下至少一项:终端的系统时间位于消息推送时间段之外、终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外。The message delay condition includes at least one of the following: the system time of the terminal is outside the message push time period, and the positioning position of the terminal is outside the area centered on the message push position input by the user.

消息延迟条件包括:终端的系统时间位于消息推送时间段之外;或者,Message delay conditions include: the system time of the terminal is outside the message push time period; or,

终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外;或者,The positioning position of the terminal is outside the area centered on the message push position entered by the user; or,

终端的系统时间位于消息推送时间段之外,且终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外。The system time of the terminal is outside the message push time period, and the positioning position of the terminal is outside the area centered on the message push position input by the user.

在终端信息包括第二类终端信息且第二类终端信息为用户输入的消息推送时间段和消息推送位置的情况下,消息延迟条件为终端的系统时间位于用户输入的消息推送时间段之外和终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外。In the case where the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period and message push location input by the user, the message delay condition is that the system time of the terminal is outside the message push time period input by the user and The positioning position of the terminal is outside the area centered on the message push position input by the user.

如图7(a)所示,接收对自定义策略选项700的输入,响应于对自定义策略选项700的输入,如图7(b)所示,显示消息推送位置选项710和消息推送时间段选项720,以供用户选择。As shown in Figure 7(a), input to the custom policy option 700 is received, and in response to the input to the custom policy option 700, as shown in Figure 7(b), the message push location option 710 and the message push time period are displayed. Option 720 for user selection.

如图8(a)所示,若用户选择开启消息推送位置选项710对应的开关控件。则用户希望在用户输入的消息推送位置接收待推送消息;若用户选择开启消息推送时间段720对应的开关控件,则用户希望在用户输入的消息推送时间段接收待推送消息。As shown in Figure 8(a), if the user chooses to turn on the switch control corresponding to the message push location option 710. Then the user hopes to receive the message to be pushed at the message push position input by the user; if the user chooses to turn on the switch control corresponding to the message push time period 720, the user hopes to receive the message to be pushed at the message push time period input by the user.

如图8(b)所示,若用户选择开启消息推送位置选项710对应的开关控件811和消息推送时间段选项720对应的开关控件821,则用户希望在用户输入的消息推送时间段内且位于用户输入的消息推送位置时接收待推送消息。As shown in Figure 8(b), if the user chooses to turn on the switch control 811 corresponding to the message push location option 710 and the switch control 821 corresponding to the message push time period option 720, then the user hopes to turn on the switch control 811 corresponding to the message push location option 710 and within the message push time period input by the user. Receive messages to be pushed when the user enters the message push location.

响应于对消息推送时间段选项720对应的开关控件811的输入,可以显示地理位置下的细分项,例如家、公司、地铁,具体可以通过显示地图应用界面,响应于对地图应用界面的选中输入,确定消息推送位置;若用户选择的细分项为地铁,则可以显示地铁线路界面,响应于对地图应用界面的选中输入,确定地铁线路信息;In response to the input of the switch control 811 corresponding to the message push time period option 720, the subdivision items under the geographical location can be displayed, such as home, company, and subway. Specifically, the map application interface can be displayed in response to the selection of the map application interface. Input to determine the message push location; if the subdivision selected by the user is the subway, the subway line interface can be displayed, and in response to the selected input on the map application interface, the subway line information is determined;

如图9(a)所示,显示提示信息“当前需要进入XX地图应用,选择对应的位置信息”,然后显示地图应用界面,如图9(b)所示,响应于对地图应用界面的目标位置标识910的选中输入,确定目标位置,目标位置例如:XX花园XX栋XX号。As shown in Figure 9(a), the prompt message "Currently you need to enter the XX map application and select the corresponding location information" is displayed, and then the map application interface is displayed. As shown in Figure 9(b), in response to the target of the map application interface Select and input the location identifier 910 to determine the target location. The target location is, for example: No. XX, Building XX, Garden XX.

用户可以在消息推送位置选项中选择或者添加具体的消息推送位置,如“家”810;用户可以在消息推送时间段选项中选择或者添加具体的消息推送时间段810,如“09:00-10:00”;The user can select or add a specific message push location in the message push location option, such as "home" 810; the user can select or add a specific message push time period 810 in the message push time period option, such as "09:00-10 :00";

将终端的系统时间位于用户输入的消息推送时间段之外和终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外确定为待推送消息的消息延迟条件。The system time of the terminal is outside the message push time period input by the user and the positioning position of the terminal is outside the area centered on the message push position input by the user as the message delay condition for the message to be pushed.

也就是,在终端的系统时间位于用户输入的消息推送时间段之外的情况下,或者,在终端的定位位置位于以用户输入的消息推送位置为中心的区域范围之外的情况下,确定终端信息满足消息延迟条件,终端缓存待推送消息。That is, when the system time of the terminal is outside the message push time period input by the user, or when the positioning position of the terminal is outside the area centered on the message push position input by the user, the terminal is determined The information meets the message delay conditions, and the terminal caches the message to be pushed.

将第七时间段确定为待推送消息的消息推送时间段,并将以用户输入的地理位置为中心的区域范围确定为待推送消息的消息推送范围;Determine the seventh time period as the message push time period for the message to be pushed, and determine the area centered on the geographical location input by the user as the message push range for the message to be pushed;

其中,第七时间段的起始时刻与用户输入的消息推送时间段“09:00-10:00”的起始时刻相同,或者晚于用户输入的消息推送时间段的结束时刻;第七时间段的结束时刻与第六时间段的起始时刻间隔第九时长;Among them, the starting time of the seventh time period is the same as the starting time of the message push time period "09:00-10:00" input by the user, or later than the end time of the message push time period input by the user; the seventh time The end time of the segment is separated by a ninth time period from the start time of the sixth time segment;

即第七时间段的起始时刻为09:00,或者晚于09:00,例如09:10。假设第九时长为10分钟,则第七时间段可以为09:00-09:10,或者为09:10-09:20。That is, the starting time of the seventh time period is 09:00, or later than 09:00, such as 09:10. Assuming that the ninth time period is 10 minutes, the seventh time period can be 09:00-09:10, or 09:10-09:20.

在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达消息推送时间段内的消息推送时刻(如09:05:05),且终端的定位位置位于消息推送范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息。When the system time of the terminal reaches the message push time within the message push time period (such as 09:05:05), and the terminal's positioning position is within the message push range, the terminal determines that the message push time of the message to be pushed has arrived, and Display messages to be pushed.

由此,通过调整消息推送的时间,在终端的系统时间到达消息推送时间段内的消息推送时刻,且终端的定位位置位于以用户输入的消息推送位置确定的消息推送范围内的情况下,终端确定待推送消息的消息推送时间到达,并显示待推送消息,由于用户输入的消息推送时间段是用户希望收到消息的时间段,用户输入的消息推送位置是用户希望收到消息的消息推送位置,从而在用户希望收到消息的消息推送位置内和用户希望收到消息的时间段内进行消息的推送,能够提升推送消息的点击率。Therefore, by adjusting the time of message push, when the system time of the terminal reaches the message push time within the message push time period, and the positioning position of the terminal is within the message push range determined by the message push position input by the user, the terminal Determine the arrival of the message push time for the message to be pushed, and display the message to be pushed. Since the message push time period entered by the user is the time period when the user wants to receive the message, the message push location entered by the user is the message push location where the user wants to receive the message. , thereby pushing the message within the message push location where the user wants to receive the message and within the time period when the user wants to receive the message, which can increase the click-through rate of the push message.

在本申请的实施例中,通过在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;其中,终端信息包括第一类终端信息或第二类终端信息,其中,第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。这里,可以将消息延迟条件的待推送消息先进行缓存,避免了由于将接收到的待推送消息直接推送给用户,导致的对用户造成打扰以及待推送消息的查看率低的问题;在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,能够考虑时区变化信息、日程信息、闹钟信息、终端使用时间段、用户输入的消息推送时间段或者消息推送位置,确定推送消息的合适时机,实现了在合适的消息推送时间,显示待推送消息,从而提高了待推送消息的查看率,有效避免了推送消息被用户遗漏阅读。In the embodiment of the present application, when the terminal information satisfies the message delay condition, the terminal caches the message to be pushed; wherein the terminal information includes the first type of terminal information or the second type of terminal information, where the first type of terminal information It includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; the second type of terminal information includes at least one of the following: message push time period and message push location input by the user. Here, the message to be pushed under the message delay condition can be cached first to avoid the problem of disturbing the user and low viewing rate of the message to be pushed due to pushing the received message to be pushed directly to the user; When the message push time arrives, the terminal displays the message to be pushed and can consider time zone change information, schedule information, alarm clock information, terminal usage time period, user input message push time period or message push location to determine the appropriate push message The timing enables the message to be pushed to be displayed at the appropriate message push time, thereby increasing the viewing rate of the message to be pushed and effectively preventing the push message from being missed by users.

本申请实施例提供的消息推送方法,执行主体可以为消息推送装置。本申请实施例中以消息推送装置执行消息推送方法为例,说明本申请实施例提供的消息推送装置。For the message push method provided by the embodiments of this application, the execution subject may be a message push device. In the embodiment of the present application, a message push device performing a message push method is used as an example to illustrate the message push device provided by the embodiment of the present application.

图9是本申请实施例提供的一种消息推送装置的框图,该装置900包括:Figure 9 is a block diagram of a message push device provided by an embodiment of the present application. The device 900 includes:

处理模块910,用于在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;The processing module 910 is used to cache the message to be pushed by the terminal when the terminal information meets the message delay condition;

显示模块920,用于在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息;The display module 920 is configured to display the message to be pushed on the terminal when the message push time of the message to be pushed arrives;

其中,所述终端信息包括第一类终端信息或第二类终端信息,其中,所述第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;所述第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。Wherein, the terminal information includes the first type of terminal information or the second type of terminal information, wherein the first type of terminal information includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; The second type of terminal information includes at least one of the following: message push time period and message push location input by the user.

在一种可能的实施例中,处理模块910,具体用于:In a possible embodiment, the processing module 910 is specifically used to:

所述终端将所述待推送消息和所述待推送消息的消息推送时间段关联存储至延迟消息存储空间;The terminal associates and stores the message to be pushed and the message push time period of the message to be pushed in a delayed message storage space;

所述显示模块910,具体用于:The display module 910 is specifically used for:

在终端的系统时间到达所述消息推送时间段的起始时刻的情况下,终端确定所述消息推送时间段内的消息推送时刻;When the system time of the terminal reaches the starting time of the message push time period, the terminal determines the message push time within the message push time period;

在终端的系统时间到达所述消息推送时刻的情况下,终端确定所述待推送消息的消息推送时间到达,并从所述延迟消息存储空间中,获取所述待推送消息,并显示所述待推送消息。When the system time of the terminal reaches the message push time, the terminal determines that the message push time of the message to be pushed has arrived, obtains the message to be pushed from the delayed message storage space, and displays the message to be pushed. forward news.

在一种可能的实施例中,处理模块910,具体用于:In a possible embodiment, the processing module 910 is specifically used to:

在所述消息推送时间段内,终端监测用户是否在使用终端程序功能,在终端监测到用户正在使用终端程序功能的情况下,终端将所述消息推送时间段内的第二时刻确定为所述待推送消息的消息推送时刻,其中,所述第二时刻为晚于监测到用户正在使用终端程序功能的第一时刻且与所述第一时刻间隔第一时长的时刻;During the message push time period, the terminal monitors whether the user is using the terminal program function. When the terminal detects that the user is using the terminal program function, the terminal determines the second moment within the message push time period as the The message push time of the message to be pushed, wherein the second time is later than the first time when it is detected that the user is using the terminal program function and is separated by a first length of time from the first time;

或者,在所述消息推送时间段内,终端监测终端的网速,在终端监测到终端的网速大于网速阈值的情况下,终端将所述消息推送时间段内的第四时刻确定为所述待推送消息的消息推送时刻,其中,所述第四时刻为晚于监测到终端的网速大于网速阈值的第三时刻且与所述第三时刻间隔第二时长的时刻;Alternatively, during the message push time period, the terminal monitors the network speed of the terminal. When the terminal detects that the network speed of the terminal is greater than the network speed threshold, the terminal determines the fourth moment in the message push time period as the The message push time of the message to be pushed, wherein the fourth time is later than the third time when the network speed of the terminal is detected to be greater than the network speed threshold and is separated by a second time period from the third time;

或者,将所述消息推送时间段内的第五时刻确定为所述待推送消息的消息推送时刻,其中,所述第五时刻为晚于所述消息推送时间段的起始时刻且与所述起始时刻间隔第三时长的时刻。Alternatively, determine the fifth time within the message push time period as the message push time of the message to be pushed, wherein the fifth time is later than the start time of the message push time period and is the same as the message push time. The start time is the third time interval.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为时区变化信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is time zone change information, the time zone change information includes information indicating the positioning of the terminal. Information about the location switching from the first time zone to the second time zone;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为所述待推送消息的消息推送时间段;Based on the time difference, determine the daytime period of the second time zone as the message push time period of the message to be pushed;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为所述日程信息的情况下,所述日程信息包括用户日程安排的时间信息;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is the schedule information, the schedule information includes time information of the user's schedule;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

将第一时间段确定为所述待推送消息的消息推送时间段,其中,所述第一时间段的起始时刻与所述日程安排时间段的结束时刻相同,或者晚于所述日程安排时间段的结束时刻;所述第一时间段的结束时刻与所述第一时间段的起始时刻间隔第四时长;The first time period is determined as the message push time period of the message to be pushed, wherein the starting time of the first time period is the same as the end time of the scheduled time period, or later than the scheduled time The end time of the segment; the end time of the first time segment and the start time of the first time segment are separated by a fourth length of time;

或者,在终端的系统时间到达所述日程时间段的结束时刻,且用户的日程未结束的情况下,确定日程延迟时间段,将第二时间段确定为所述待推送消息的消息推送时间段,其中,所述第二时间段的起始时刻与所述日程延迟时间段的结束时刻相同,或者晚于所述日程延迟时间段的结束时刻;所述第二时间段的结束时刻与所述第二时间段的起始时刻间隔第五时长;Or, when the system time of the terminal reaches the end time of the schedule time period and the user's schedule has not ended, determine the schedule delay time period and determine the second time period as the message push time period of the message to be pushed. , wherein the starting time of the second time period is the same as the end time of the schedule delay time period, or later than the end time of the schedule delay time period; the end time of the second time period is the same as the end time of the schedule delay time period. The starting time of the second time period is separated by a fifth duration;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为闹钟提醒信息的情况下,所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is alarm clock reminder information, the alarm clock reminder information includes the alarm clock reminder time;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三时间段确定为所述待推送消息的消息推送时间段,其中,所述第三时间段的起始时刻与所述睡眠时间段的结束时刻相同,或者晚于所述睡眠时间段的结束时刻;所述第三时间段的结束时刻与所述第三时间段的起始时刻间隔第六时长;When the user's delay reminder control input for the alarm clock is not received, the third time period is determined as the message push time period of the message to be pushed, wherein the starting time of the third time period is the same as the sleep time period. The end time of the time period is the same, or later than the end time of the sleep time period; the end time of the third time period is separated from the start time of the third time period by a sixth length of time;

在接收到用户对闹钟的延迟提醒输入的情况下,确定所述延迟提醒输入对应的闹钟延迟时间段,将第四时间段确定为所述待推送消息的消息推送时间段,其中,所述第四时间段的起始时刻与所述闹钟延迟时间段的结束时刻相同,或者晚于所述闹钟延迟时间段的结束时刻;所述第四时间段的结束时刻与所述第四时间段的起始时刻间隔第七时长;In the case where the user's delayed reminder input for the alarm clock is received, the alarm clock delay time period corresponding to the delayed reminder input is determined, and the fourth time period is determined as the message push time period of the message to be pushed, wherein the third time period is determined The starting time of the four time periods is the same as the end time of the alarm delay time period, or later than the end time of the alarm delay time period; the end time of the fourth time period is the same as the start time of the fourth time period. The interval between the starting moments is the seventh duration;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为终端使用时间段的情况下,所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is a terminal use time period, the terminal use time period is the user's concentrated use of terminal program functions. time period;

所述处理模块910,还用于:The processing module 910 is also used to:

获取一段时间内的用户的历史屏幕使用信息;Obtain the user's historical screen usage information over a period of time;

根据所述历史屏幕使用信息,生成用户使用时间分布图;Generate a user usage time distribution graph based on the historical screen usage information;

根据所述用户使用时间分布图,确定终端使用时间段;Determine the terminal usage time period according to the user usage time distribution map;

将第五时间段确定为所述待推送消息的消息推送时间段,其中,所述第五时间段的起始时刻与所述终端使用时间段的起始时刻相同,或者晚于所述终端使用时间段的起始时刻;所述第五时间段的结束时刻与所述第五时间段的起始时刻间隔第八时长;The fifth time period is determined as the message push time period of the message to be pushed, wherein the starting time of the fifth time period is the same as the starting time of the terminal usage time period, or later than the terminal usage time period. The starting time of the time period; the end time of the fifth time period and the starting time of the fifth time period are separated by an eighth period of time;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,终端信息包括N项第一类终端信息,N为大于1的整数;In a possible embodiment, the terminal information includes N items of first-type terminal information, where N is an integer greater than 1;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述N项第一类终端信息,确定N个备选消息推送时间段;Determine N alternative message push time periods based on the N items of first-type terminal information;

将所述N个时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the N time periods as the message push time period of the message to be pushed;

或者,将所述N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为所述待推送消息的消息推送时间段;Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,显示模块910,还用于:In a possible embodiment, the display module 910 is also used to:

显示至少两个终端信息设置选项,其中,所述至少两个终端信息设置选项包括以下至少两项:时区变化信息设置选项、日程信息设置选项、闹钟信息设置选项和终端使用时间段设置选项;Display at least two terminal information setting options, wherein the at least two terminal information setting options include at least two of the following: time zone change information setting options, schedule information setting options, alarm clock information setting options and terminal use time period setting options;

接收用户对所述至少两个终端信息设置选项中的目标终端信息设置选项的选择输入,其中,所述目标终端信息设置选项包括所述至少两个终端信息设置选项中的至少一项;Receive user selection input for a target terminal information setting option among the at least two terminal information setting options, wherein the target terminal information setting option includes at least one of the at least two terminal information setting options;

响应于所述选择输入,将所述目标终端信息设置选项指示的终端信息确定为第一类终端信息,并根据所述第一类终端信息,确定消息延迟条件。In response to the selection input, the terminal information indicated by the target terminal information setting option is determined as the first type of terminal information, and the message delay condition is determined based on the first type of terminal information.

在一种可能的实施例中,在所述终端信息包括第二类终端信息且所述第二类终端信息为用户输入的消息推送时间段的情况下,所述处理模块910,还用于:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period input by the user, the processing module 910 is also used to:

将终端的系统时间位于所述用户输入的消息推送时间段之外确定为所述待推送消息的消息延迟条件,并将第六时间段确定为所述待推送消息的消息推送时间段;Determine that the system time of the terminal is outside the message push time period input by the user as the message delay condition for the message to be pushed, and determine the sixth time period as the message push time period for the message to be pushed;

其中,所述第六时间段的起始时刻与所述用户输入的消息推送时间段的结束时刻相同,或者晚于所述用户输入的消息推送时间段的结束时刻;所述第六时间段的结束时刻与所述第六时间段的起始时刻间隔第九时长;Wherein, the start time of the sixth time period is the same as the end time of the message push time period input by the user, or later than the end time of the message push time period input by the user; The end time is separated by a ninth time period from the start time of the sixth time period;

所述在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达所述消息推送时间段内的消息推送时刻的情况下,终端确定所述待推送消息的消息推送时间到达,并显示所述待推送消息。When the system time of the terminal reaches the message push time within the message push time period, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message to be pushed.

在一种可能的实施例中,在所述终端信息包括第二类终端信息且所述第二类终端信息为用户输入的消息推送位置的情况下,所述处理模块910,还用于:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push location input by the user, the processing module 910 is also used to:

将终端的定位位置位于以所述用户输入的消息推送位置为中心的区域范围之外确定为所述待推送消息的消息延迟条件,并将以所述用户输入的消息推送位置为中心的区域范围确定为所述待推送消息的消息推送范围;Determine the positioning position of the terminal outside the area centered on the message push location input by the user as the message delay condition for the message to be pushed, and set the area range centered on the message push location input by the user Determine the message push range as the message to be pushed;

所述在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的定位位置位于所述消息推送范围内的情况下,终端确定所述待推送消息的消息推送时间到达,并显示所述待推送消息。When the positioning position of the terminal is within the message pushing range, the terminal determines that the message pushing time of the message to be pushed has arrived, and displays the message to be pushed.

在一种可能的实施例中,在所述终端信息包括第二类终端信息且所述第二类终端信息为用户输入的消息推送时间段和消息推送位置的情况下,所述处理模块910,还用于:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period and message push location input by the user, the processing module 910, Also used for:

将终端的系统时间位于所述用户输入的消息推送时间段之外和终端的定位位置位于以所述用户输入的消息推送位置为中心的区域范围之外确定为所述待推送消息的消息延迟条件,将第七时间段确定为所述待推送消息的消息推送时间段,并将以所述用户输入的地理位置为中心的区域范围确定为所述待推送消息的消息推送范围;The system time of the terminal is outside the message push time period input by the user and the positioning position of the terminal is outside the area centered on the message push position input by the user as the message delay condition of the message to be pushed. , determine the seventh time period as the message push time period of the message to be pushed, and determine the area range centered on the geographical location input by the user as the message push range of the message to be pushed;

其中,所述第七时间段的起始时刻与所述用户输入的消息推送时间段的结束时刻相同,或者晚于所述用户输入的消息推送时间段的结束时刻;所述第七时间段的结束时刻与所述第六时间段的起始时刻间隔第九时长;Wherein, the starting time of the seventh time period is the same as the end time of the message push time period input by the user, or later than the end time of the message push time period input by the user; The end time is separated by a ninth time period from the start time of the sixth time period;

所述在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达所述消息推送时间段内的消息推送时刻,且终端的定位位置位于所述消息推送范围内的情况下,终端确定所述待推送消息的消息推送时间到达,并显示所述待推送消息。When the system time of the terminal reaches the message push time within the message push time period, and the positioning position of the terminal is within the message push range, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message push time. Describe the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为时区变化信息和日程信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are time zone change information and schedule information, the time zone change information includes Information used to indicate that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段和所述第二备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the second alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级和所述日程信息的第二信息优先级;Obtain the first information priority of the time zone change information and the second information priority of the schedule information;

在所述第一信息优先级高于所述第二信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the second information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在所述第一信息优先级低于所述第二信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the first information priority is lower than the second information priority, the second alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为时区变化信息和闹钟提醒信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are time zone change information and alarm clock reminder information, the time zone change information Includes information used to instruct the positioning position of the terminal to switch from the first time zone to the second time zone; the alarm reminder information includes the alarm reminder time;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段和所述第三备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级和所述闹钟提醒时刻的第三信息优先级;Obtain the first information priority of the time zone change information and the third information priority of the alarm clock reminder time;

在所述第一信息优先级高于所述第三信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the third information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在所述第一信息优先级低于所述第三信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the first information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为时区变化信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are time zone change information and terminal usage time period, the time zone change The information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the terminal usage time period is a time period during which the user intensively uses terminal program functions;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级和所述终端使用时间段的第四信息优先级;Obtain the first information priority of the time zone change information and the fourth information priority of the terminal usage time period;

在所述第一信息优先级高于所述第四信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the fourth information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在所述第一信息优先级低于所述第四信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the first information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为日程信息和闹钟提醒信息的情况下,所述日程信息包括用户日程安排的时间信息;所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are schedule information and alarm clock reminder information, the schedule information includes user Time information of the schedule; the alarm reminder information includes the alarm reminder time;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第二备选消息推送时间段和所述第三备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述日程信息的第二信息优先级和所述闹钟提醒时刻的第三信息优先级;Obtain the second information priority of the schedule information and the third information priority of the alarm clock reminder time;

在所述第二信息优先级高于所述第三信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the second information priority is higher than the third information priority, determine the second alternative message push time period as the message push time period of the message to be pushed;

在所述第二信息优先级低于所述第三信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the second information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为日程信息和终端使用时间段的情况下,所述日程信息包括用户日程安排的时间信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are schedule information and terminal usage time period, the schedule information includes Time information of the user's schedule; the terminal usage time period is the time period when the user intensively uses the terminal program functions;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第二备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述日程信息的第二信息优先级和所述终端使用时间段的第四信息优先级;Obtain the second information priority of the schedule information and the fourth information priority of the terminal usage time period;

在所述第二信息优先级高于所述第四信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the second information priority is higher than the fourth information priority, determine the second alternative message push time period as the message push time period of the message to be pushed;

在所述第二信息优先级低于所述第四信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the second information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为闹钟提醒信息和终端使用时间段的情况下,所述闹钟提醒信息包括闹钟提醒时刻;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are alarm clock reminder information and terminal usage time period, the alarm clock reminder The information includes an alarm clock reminder time; the terminal usage time period is a time period during which the user intensively uses terminal program functions;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述日程信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtain the third information priority of the schedule information and the fourth information priority of the terminal usage time period;

在所述第三信息优先级高于所述第四信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the third information priority is higher than the fourth information priority, determine the third alternative message push time period as the message push time period of the message to be pushed;

在所述第三信息优先级低于所述第四信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the third information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为时区变化信息、日程信息和闹钟提醒信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, schedule information and alarm clock reminder information, the The time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; the alarm reminder information includes the alarm reminder time;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段、所述第二备选消息推送时间段和所述第三备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the second alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级、所述日程信息的第二信息优先级和所述闹钟提醒时刻的第三信息优先级;Obtain the first information priority of the time zone change information, the second information priority of the schedule information, and the third information priority of the alarm clock reminder time;

在所述第一信息优先级高于所述第二信息优先级、且高于所述第三信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;When the first information priority is higher than the second information priority and higher than the third information priority, the first candidate message push time period is determined as the message to be pushed message push time period;

在所述第二信息优先级高于所述第一信息优先级、且高于所述第三信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the second information priority is higher than the first information priority and higher than the third information priority, the second alternative message push time period is determined as the message to be pushed message push time period.

在所述第三信息优先级高于所述第一信息优先级、且高于所述第二信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the third information priority is higher than the first information priority and higher than the second information priority, the third alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为时区变化信息、日程信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, schedule information and terminal usage time period, the The time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; the terminal use time period is the user's intensive use of the terminal program. Functional time period;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段、所述第二备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the second alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级、所述日程信息的第二信息优先级和所述终端使用时间段的第四信息优先级;Obtaining the first information priority of the time zone change information, the second information priority of the schedule information, and the fourth information priority of the terminal usage time period;

在所述第一信息优先级高于所述第二信息优先级、且高于所述第四信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;When the first information priority is higher than the second information priority and higher than the fourth information priority, the first candidate message push time period is determined as the message to be pushed message push time period;

在所述第二信息优先级高于所述第一信息优先级、且高于所述第四信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the second information priority is higher than the first information priority and higher than the fourth information priority, the second alternative message push time period is determined as the message to be pushed message push time period.

在所述第四信息优先级高于所述第一信息优先级、且高于所述第二信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the fourth information priority is higher than the first information priority and higher than the second information priority, the fourth alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为日程信息、闹钟提醒信息和终端使用时间段的情况下,所述闹钟提醒信息包括闹钟提醒时刻;所述日程信息包括用户日程安排的时间信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are schedule information, alarm clock reminder information and terminal usage time period, the The alarm clock reminder information includes the alarm clock reminder time; the schedule information includes time information of the user's schedule; the terminal usage time period is the time period during which the user intensively uses terminal program functions;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第二备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述日程信息的第二信息优先级、所述闹钟提醒信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtain the second information priority of the schedule information, the third information priority of the alarm clock reminder information, and the fourth information priority of the terminal usage time period;

在所述第二信息优先级高于所述第三信息优先级、且高于所述第四信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the second information priority is higher than the third information priority and higher than the fourth information priority, the second alternative message push time period is determined as the message to be pushed message push time period;

在所述第三信息优先级高于所述第二信息优先级、且高于所述第四信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the third information priority is higher than the second information priority and higher than the fourth information priority, the third alternative message push time period is determined as the message to be pushed message push time period.

在所述第四信息优先级高于所述第二信息优先级、且高于所述第三信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the fourth information priority is higher than the second information priority and higher than the third information priority, the fourth alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为时区变化信息、闹钟提醒信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述闹钟提醒信息包括闹钟提醒时刻;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, alarm clock reminder information and terminal usage time period, The time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the alarm reminder information includes the alarm reminder time; the terminal usage time period is when the user intensively uses terminal program functions time period;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级、所述闹钟提醒信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtain the first information priority of the time zone change information, the third information priority of the alarm clock reminder information, and the fourth information priority of the terminal usage time period;

在所述第一信息优先级高于所述第三信息优先级、且高于所述第四信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the third information priority and higher than the fourth information priority, the first candidate message push time period is determined as the message to be pushed message push time period;

在所述第三信息优先级高于所述第一信息优先级、且高于所述第四信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the third information priority is higher than the first information priority and higher than the fourth information priority, the third alternative message push time period is determined as the message to be pushed message push time period.

在所述第四信息优先级高于所述第一信息优先级、且高于所述第三信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the fourth information priority is higher than the first information priority and higher than the third information priority, the fourth alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括四项第一类终端信息,且所述四项第一类终端信息为时区变化信息、日程信息、闹钟提醒信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;所述闹钟提醒信息包括闹钟提醒时刻;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, the terminal information includes four items of first-type terminal information, and the four items of first-type terminal information are time zone change information, schedule information, alarm reminder information and terminal usage time period. In this case, the time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; and the alarm clock reminder information includes an alarm clock reminder. Time; the terminal usage time period is the time period when users intensively use terminal program functions;

所述处理模块910,还用于:The processing module 910 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理模块910,还用于:The processing module 910 is also used to:

将所述第一备选消息推送时间段、所述第二备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;The intersection time period of the first alternative message push time period, the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period is determined as The message push time period of the message to be pushed;

所述处理模块910,还用于:The processing module 910 is also used to:

获取所述时区变化信息的第一信息优先级、所述日程信息的第二信息优先级、所述闹钟提醒信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtaining the first information priority of the time zone change information, the second information priority of the schedule information, the third information priority of the alarm clock reminder information, and the fourth information priority of the terminal usage time period;

确定所述第一信息优先级、所述第二信息优先级、所述第三信息优先级和所述第四信息优先级中的最高优先级;Determine the highest priority among the first information priority, the second information priority, the third information priority and the fourth information priority;

将所述最高优先级对应的备选消息推送时间段,确定为所述待推送消息的消息推送时间段,所述备选消息推送时间段包括:所述第一备选消息推送时间段、所述第二备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段。The alternative message push time period corresponding to the highest priority is determined as the message push time period of the message to be pushed. The alternative message push time period includes: the first alternative message push time period, the The second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period.

在本申请的实施例中,通过在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;其中,终端信息包括第一类终端信息或第二类终端信息,其中,第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。这里,可以将消息延迟条件的待推送消息先进行缓存,避免了由于将接收到的待推送消息直接推送给用户,导致的对用户造成打扰以及待推送消息的查看率低的问题;在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,能够考虑时区变化信息、日程信息、闹钟信息、终端使用时间段、用户输入的消息推送时间段或者消息推送位置,确定推送消息的合适时机,实现了在合适的消息推送时间,显示待推送消息,从而提高了待推送消息的查看率,有效避免了推送消息被用户遗漏阅读。本申请实施例中的消息推送装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobilepersonal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。In the embodiment of the present application, when the terminal information satisfies the message delay condition, the terminal caches the message to be pushed; wherein the terminal information includes the first type of terminal information or the second type of terminal information, where the first type of terminal information It includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; the second type of terminal information includes at least one of the following: message push time period and message push location input by the user. Here, the message to be pushed under the message delay condition can be cached first to avoid the problem of disturbing the user and low viewing rate of the message to be pushed due to pushing the received message to be pushed directly to the user; When the message push time arrives, the terminal displays the message to be pushed and can consider time zone change information, schedule information, alarm clock information, terminal usage time period, user input message push time period or message push location to determine the appropriate push message The timing enables the message to be pushed to be displayed at the appropriate message push time, thereby increasing the viewing rate of the message to be pushed and effectively preventing the push message from being missed by users. The message push device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (PDA), etc., and can also be servers, network attached storage (Network Attached Storage, NAS), etc. ), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.

本申请实施例的消息推送装置可以为具有动作系统的装置。该动作系统可以为安卓(Android)动作系统,可以为iOS动作系统,还可以为其他可能的动作系统,本申请实施例不作具体限定。The message push device in the embodiment of the present application may be a device with an action system. The action system can be an Android action system, an iOS action system, or other possible action systems, which are not specifically limited in the embodiments of this application.

本申请实施例提供的消息推送装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The message push device provided by the embodiments of the present application can implement each process implemented by the above method embodiments. To avoid duplication, details will not be described here.

可选地,如图11所示,本申请实施例还提供一种电子设备1111,包括处理器1111,存储器1112,存储在存储器1112上并可在处理器1111上运行的程序或指令,该程序或指令被处理器1111执行时实现上述任一消息推送方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 11, this embodiment of the present application also provides an electronic device 1111, including a processor 1111, a memory 1112, and a program or instructions stored on the memory 1112 and executable on the processor 1111. The program Or when the instruction is executed by the processor 1111, each step of any of the above message push method embodiments is implemented, and the same technical effect can be achieved. To avoid duplication, it will not be described again here.

需要说明的是,本申请实施例的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

图12为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 12 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.

该电子设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209、以及处理器1210等部件。The electronic device 1200 includes but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, etc. part.

本领域技术人员可以理解,电子设备1200还可以包括给各个部件供电的电源(例如电池),电源可以通过电源管理系统与处理器1210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1200 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1210 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 12 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .

其中,处理器1210,用于在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;Among them, the processor 1210 is used to cache the message to be pushed by the terminal when the terminal information meets the message delay condition;

显示单元1206,用于在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息;The display unit 1206 is configured to display the message to be pushed on the terminal when the message push time of the message to be pushed arrives;

在一种可能的实施例中,处理器1210,具体用于:In a possible embodiment, the processor 1210 is specifically configured to:

所述终端将所述待推送消息和所述待推送消息的消息推送时间段关联存储至延迟消息存储空间;The terminal associates and stores the message to be pushed and the message push time period of the message to be pushed in a delayed message storage space;

所述显示单元1206,具体用于:The display unit 1206 is specifically used for:

在终端的系统时间到达所述消息推送时间段的起始时刻的情况下,终端确定所述消息推送时间段内的消息推送时刻;When the system time of the terminal reaches the starting time of the message push time period, the terminal determines the message push time within the message push time period;

在终端的系统时间到达所述消息推送时刻的情况下,终端确定所述待推送消息的消息推送时间到达,并从所述延迟消息存储空间中,获取所述待推送消息,并显示所述待推送消息。When the system time of the terminal reaches the message push time, the terminal determines that the message push time of the message to be pushed has arrived, obtains the message to be pushed from the delayed message storage space, and displays the message to be pushed. forward news.

在一种可能的实施例中,处理器1210,具体用于:In a possible embodiment, the processor 1210 is specifically configured to:

在所述消息推送时间段内,终端监测用户是否在使用终端程序功能,在终端监测到用户正在使用终端程序功能的情况下,终端将所述消息推送时间段内的第二时刻确定为所述待推送消息的消息推送时刻,其中,所述第二时刻为晚于监测到用户正在使用终端程序功能的第一时刻且与所述第一时刻间隔第一时长的时刻;During the message push time period, the terminal monitors whether the user is using the terminal program function. When the terminal detects that the user is using the terminal program function, the terminal determines the second moment within the message push time period as the The message push time of the message to be pushed, wherein the second time is later than the first time when it is detected that the user is using the terminal program function and is separated by a first length of time from the first time;

或者,在所述消息推送时间段内,终端监测终端的网速,在终端监测到终端的网速大于网速阈值的情况下,终端将所述消息推送时间段内的第四时刻确定为所述待推送消息的消息推送时刻,其中,所述第四时刻为晚于监测到终端的网速大于网速阈值的第三时刻且与所述第三时刻间隔第二时长的时刻;Alternatively, during the message push time period, the terminal monitors the network speed of the terminal. When the terminal detects that the network speed of the terminal is greater than the network speed threshold, the terminal determines the fourth moment in the message push time period as the The message push time of the message to be pushed, wherein the fourth time is later than the third time when the network speed of the terminal is detected to be greater than the network speed threshold and is separated by a second time period from the third time;

或者,将所述消息推送时间段内的第五时刻确定为所述待推送消息的消息推送时刻,其中,所述第五时刻为晚于所述消息推送时间段的起始时刻且与所述起始时刻间隔第三时长的时刻。Alternatively, determine the fifth time within the message push time period as the message push time of the message to be pushed, wherein the fifth time is later than the start time of the message push time period and is the same as the message push time. The start time is the third time interval.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为时区变化信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is time zone change information, the time zone change information includes information indicating the positioning of the terminal. Information about the location switching from the first time zone to the second time zone;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为所述待推送消息的消息推送时间段;Based on the time difference, determine the daytime period of the second time zone as the message push time period of the message to be pushed;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为所述日程信息的情况下,所述日程信息包括用户日程安排的时间信息;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is the schedule information, the schedule information includes time information of the user's schedule;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

将第一时间段确定为所述待推送消息的消息推送时间段,其中,所述第一时间段的起始时刻与所述日程安排时间段的结束时刻相同,或者晚于所述日程安排时间段的结束时刻;所述第一时间段的结束时刻与所述第一时间段的起始时刻间隔第四时长;The first time period is determined as the message push time period of the message to be pushed, wherein the starting time of the first time period is the same as the end time of the scheduled time period, or later than the scheduled time The end time of the segment; the end time of the first time segment and the start time of the first time segment are separated by a fourth length of time;

或者,在终端的系统时间到达所述日程时间段的结束时刻,且用户的日程未结束的情况下,确定日程延迟时间段,将第二时间段确定为所述待推送消息的消息推送时间段,其中,所述第二时间段的起始时刻与所述日程延迟时间段的结束时刻相同,或者晚于所述日程延迟时间段的结束时刻;所述第二时间段的结束时刻与所述第二时间段的起始时刻间隔第五时长;Or, when the system time of the terminal reaches the end time of the schedule time period and the user's schedule has not ended, determine the schedule delay time period and determine the second time period as the message push time period of the message to be pushed. , wherein the starting time of the second time period is the same as the end time of the schedule delay time period, or later than the end time of the schedule delay time period; the end time of the second time period is the same as the end time of the schedule delay time period. The starting time of the second time period is separated by a fifth duration;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为闹钟提醒信息的情况下,所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is alarm clock reminder information, the alarm clock reminder information includes the alarm clock reminder time;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

在未接收到用户对闹钟的延迟提醒控制输入的情况下,将第三时间段确定为所述待推送消息的消息推送时间段,其中,所述第三时间段的起始时刻与所述睡眠时间段的结束时刻相同,或者晚于所述睡眠时间段的结束时刻;所述第三时间段的结束时刻与所述第三时间段的起始时刻间隔第六时长;When the user's delay reminder control input for the alarm clock is not received, the third time period is determined as the message push time period of the message to be pushed, wherein the starting time of the third time period is the same as the sleep time period. The end time of the time period is the same, or later than the end time of the sleep time period; the end time of the third time period is separated from the start time of the third time period by a sixth length of time;

在接收到用户对闹钟的延迟提醒输入的情况下,确定所述延迟提醒输入对应的闹钟延迟时间段,将第四时间段确定为所述待推送消息的消息推送时间段,其中,所述第四时间段的起始时刻与所述闹钟延迟时间段的结束时刻相同,或者晚于所述闹钟延迟时间段的结束时刻;所述第四时间段的结束时刻与所述第四时间段的起始时刻间隔第七时长;In the case where the user's delayed reminder input for the alarm clock is received, the alarm clock delay time period corresponding to the delayed reminder input is determined, and the fourth time period is determined as the message push time period of the message to be pushed, wherein the third time period is determined The starting time of the four time periods is the same as the end time of the alarm delay time period, or later than the end time of the alarm delay time period; the end time of the fourth time period is the same as the start time of the fourth time period. The interval between the starting moments is the seventh duration;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,在所述终端信息包括第一类终端信息且所述第一类终端信息为终端使用时间段的情况下,所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes the first type of terminal information and the first type of terminal information is a terminal use time period, the terminal use time period is the user's concentrated use of terminal program functions. time period;

所述处理器1210,还用于:The processor 1210 is also used to:

获取一段时间内的用户的历史屏幕使用信息;Obtain the user's historical screen usage information over a period of time;

根据所述历史屏幕使用信息,生成用户使用时间分布图;Generate a user usage time distribution graph based on the historical screen usage information;

根据所述用户使用时间分布图,确定终端使用时间段;Determine the terminal usage time period according to the user usage time distribution map;

将第五时间段确定为所述待推送消息的消息推送时间段,其中,所述第五时间段的起始时刻与所述终端使用时间段的起始时刻相同,或者晚于所述终端使用时间段的起始时刻;所述第五时间段的结束时刻与所述第五时间段的起始时刻间隔第八时长;The fifth time period is determined as the message push time period of the message to be pushed, wherein the starting time of the fifth time period is the same as the starting time of the terminal usage time period, or later than the terminal usage time period. The starting time of the time period; the end time of the fifth time period and the starting time of the fifth time period are separated by an eighth period of time;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,终端信息包括N项第一类终端信息,N为大于1的整数;In a possible embodiment, the terminal information includes N items of first-type terminal information, where N is an integer greater than 1;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述N项第一类终端信息,确定N个备选消息推送时间段;Determine N alternative message push time periods based on the N items of first-type terminal information;

将所述N个时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the N time periods as the message push time period of the message to be pushed;

或者,将所述N个时间段中对应最大信息优先级的第一类终端信息的时间段确定为所述待推送消息的消息推送时间段;Or, determine the time period of the first type of terminal information corresponding to the maximum information priority among the N time periods as the message push time period of the message to be pushed;

其中,所述消息延迟条件为终端的系统时间位于所述消息推送时间段之外。Wherein, the message delay condition is that the system time of the terminal is outside the message push time period.

在一种可能的实施例中,显示单元1206,还用于:In a possible embodiment, the display unit 1206 is also used to:

显示至少两个终端信息设置选项,其中,所述至少两个终端信息设置选项包括以下至少两项:时区变化信息设置选项、日程信息设置选项、闹钟信息设置选项和终端使用时间段设置选项;Display at least two terminal information setting options, wherein the at least two terminal information setting options include at least two of the following: time zone change information setting options, schedule information setting options, alarm clock information setting options and terminal use time period setting options;

用户输入单元1207,用于接收用户对所述至少两个终端信息设置选项中的目标终端信息设置选项的选择输入,其中,所述目标终端信息设置选项包括所述至少两个终端信息设置选项中的至少一项;The user input unit 1207 is configured to receive the user's selection input of the target terminal information setting option among the at least two terminal information setting options, wherein the target terminal information setting option includes the at least two terminal information setting options. at least one of;

处理器1210,还用于响应于所述选择输入,将所述目标终端信息设置选项指示的终端信息确定为第一类终端信息,并根据所述第一类终端信息,确定消息延迟条件。The processor 1210 is further configured to, in response to the selection input, determine the terminal information indicated by the target terminal information setting option as the first type of terminal information, and determine a message delay condition based on the first type of terminal information.

在一种可能的实施例中,在所述终端信息包括第二类终端信息且所述第二类终端信息为用户输入的消息推送时间段的情况下,所述处理器1210,还用于:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period input by the user, the processor 1210 is further configured to:

将终端的系统时间位于所述用户输入的消息推送时间段之外确定为所述待推送消息的消息延迟条件,并将第六时间段确定为所述待推送消息的消息推送时间段;Determine that the system time of the terminal is outside the message push time period input by the user as the message delay condition for the message to be pushed, and determine the sixth time period as the message push time period for the message to be pushed;

其中,所述第六时间段的起始时刻与所述用户输入的消息推送时间段的结束时刻相同,或者晚于所述用户输入的消息推送时间段的结束时刻;所述第六时间段的结束时刻与所述第六时间段的起始时刻间隔第九时长;Wherein, the start time of the sixth time period is the same as the end time of the message push time period input by the user, or later than the end time of the message push time period input by the user; The end time is separated by a ninth time period from the start time of the sixth time period;

所述在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达所述消息推送时间段内的消息推送时刻的情况下,终端确定所述待推送消息的消息推送时间到达,并显示所述待推送消息。When the system time of the terminal reaches the message push time within the message push time period, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message to be pushed.

在一种可能的实施例中,在所述终端信息包括第二类终端信息且所述第二类终端信息为用户输入的消息推送位置的情况下,所述处理器1210,还用于:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push location input by the user, the processor 1210 is further configured to:

将终端的定位位置位于以所述用户输入的消息推送位置为中心的区域范围之外确定为所述待推送消息的消息延迟条件,并将以所述用户输入的消息推送位置为中心的区域范围确定为所述待推送消息的消息推送范围;Determine the positioning position of the terminal outside the area centered on the message push location input by the user as the message delay condition for the message to be pushed, and set the area range centered on the message push location input by the user Determine the message push range as the message to be pushed;

所述在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的定位位置位于所述消息推送范围内的情况下,终端确定所述待推送消息的消息推送时间到达,并显示所述待推送消息。When the positioning position of the terminal is within the message pushing range, the terminal determines that the message pushing time of the message to be pushed has arrived, and displays the message to be pushed.

在一种可能的实施例中,在所述终端信息包括第二类终端信息且所述第二类终端信息为用户输入的消息推送时间段和消息推送位置的情况下,所述处理器1210,还用于:In a possible embodiment, when the terminal information includes the second type of terminal information and the second type of terminal information is the message push time period and message push location input by the user, the processor 1210, Also used for:

将终端的系统时间位于所述用户输入的消息推送时间段之外和终端的定位位置位于以所述用户输入的消息推送位置为中心的区域范围之外确定为所述待推送消息的消息延迟条件,将第七时间段确定为所述待推送消息的消息推送时间段,并将以所述用户输入的地理位置为中心的区域范围确定为所述待推送消息的消息推送范围;The system time of the terminal is outside the message push time period input by the user and the positioning position of the terminal is outside the area centered on the message push position input by the user as the message delay condition of the message to be pushed. , determine the seventh time period as the message push time period of the message to be pushed, and determine the area range centered on the geographical location input by the user as the message push range of the message to be pushed;

其中,所述第七时间段的起始时刻与所述用户输入的消息推送时间段的结束时刻相同,或者晚于所述用户输入的消息推送时间段的结束时刻;所述第七时间段的结束时刻与所述第六时间段的起始时刻间隔第九时长;Wherein, the starting time of the seventh time period is the same as the end time of the message push time period input by the user, or later than the end time of the message push time period input by the user; The end time is separated by a ninth time period from the start time of the sixth time period;

所述在所述待推送消息的消息推送时间到达的情况下,终端显示所述待推送消息,包括:When the message push time of the message to be pushed arrives, the terminal displays the message to be pushed, including:

在终端的系统时间到达所述消息推送时间段内的消息推送时刻,且终端的定位位置位于所述消息推送范围内的情况下,终端确定所述待推送消息的消息推送时间到达,并显示所述待推送消息。When the system time of the terminal reaches the message push time within the message push time period, and the positioning position of the terminal is within the message push range, the terminal determines that the message push time of the message to be pushed has arrived, and displays the message push time. Describe the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为时区变化信息和日程信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are time zone change information and schedule information, the time zone change information includes Information used to indicate that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段和所述第二备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the second alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级和所述日程信息的第二信息优先级;Obtain the first information priority of the time zone change information and the second information priority of the schedule information;

在所述第一信息优先级高于所述第二信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the second information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在所述第一信息优先级低于所述第二信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the first information priority is lower than the second information priority, the second alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为时区变化信息和闹钟提醒信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are time zone change information and alarm clock reminder information, the time zone change information Includes information used to instruct the positioning position of the terminal to switch from the first time zone to the second time zone; the alarm reminder information includes the alarm reminder time;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段和所述第三备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级和所述闹钟提醒时刻的第三信息优先级;Obtain the first information priority of the time zone change information and the third information priority of the alarm clock reminder time;

在所述第一信息优先级高于所述第三信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the third information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在所述第一信息优先级低于所述第三信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the first information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为时区变化信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are time zone change information and terminal usage time period, the time zone change The information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the terminal usage time period is a time period during which the user intensively uses terminal program functions;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级和所述终端使用时间段的第四信息优先级;Obtain the first information priority of the time zone change information and the fourth information priority of the terminal usage time period;

在所述第一信息优先级高于所述第四信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the fourth information priority, determine the first alternative message push time period as the message push time period of the message to be pushed;

在所述第一信息优先级低于所述第四信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the first information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为日程信息和闹钟提醒信息的情况下,所述日程信息包括用户日程安排的时间信息;所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes two pieces of first-type terminal information, and the two pieces of first-type terminal information are schedule information and alarm clock reminder information, the schedule information includes user Time information of the schedule; the alarm reminder information includes the alarm reminder time;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第二备选消息推送时间段和所述第三备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述日程信息的第二信息优先级和所述闹钟提醒时刻的第三信息优先级;Obtain the second information priority of the schedule information and the third information priority of the alarm clock reminder time;

在所述第二信息优先级高于所述第三信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the second information priority is higher than the third information priority, determine the second alternative message push time period as the message push time period of the message to be pushed;

在所述第二信息优先级低于所述第三信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the second information priority is lower than the third information priority, the third alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为日程信息和终端使用时间段的情况下,所述日程信息包括用户日程安排的时间信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are schedule information and terminal usage time period, the schedule information includes Time information of the user's schedule; the terminal usage time period is the time period when the user intensively uses the terminal program functions;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第二备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述日程信息的第二信息优先级和所述终端使用时间段的第四信息优先级;Obtain the second information priority of the schedule information and the fourth information priority of the terminal usage time period;

在所述第二信息优先级高于所述第四信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the second information priority is higher than the fourth information priority, determine the second alternative message push time period as the message push time period of the message to be pushed;

在所述第二信息优先级低于所述第四信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the second information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括两项第一类终端信息,且所述两项第一类终端信息为闹钟提醒信息和终端使用时间段的情况下,所述闹钟提醒信息包括闹钟提醒时刻;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes two items of first-type terminal information, and the two items of first-type terminal information are alarm clock reminder information and terminal usage time period, the alarm clock reminder The information includes an alarm clock reminder time; the terminal usage time period is a time period during which the user intensively uses terminal program functions;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述日程信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtain the third information priority of the schedule information and the fourth information priority of the terminal usage time period;

在所述第三信息优先级高于所述第四信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the third information priority is higher than the fourth information priority, determine the third alternative message push time period as the message push time period of the message to be pushed;

在所述第三信息优先级低于所述第四信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。If the third information priority is lower than the fourth information priority, the fourth alternative message push time period is determined as the message push time period of the message to be pushed.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为时区变化信息、日程信息和闹钟提醒信息的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;所述闹钟提醒信息包括闹钟提醒时刻;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, schedule information and alarm clock reminder information, the The time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; the alarm reminder information includes the alarm reminder time;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段、所述第二备选消息推送时间段和所述第三备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the second alternative message push time period and the third alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级、所述日程信息的第二信息优先级和所述闹钟提醒时刻的第三信息优先级;Obtain the first information priority of the time zone change information, the second information priority of the schedule information, and the third information priority of the alarm clock reminder time;

在所述第一信息优先级高于所述第二信息优先级、且高于所述第三信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;When the first information priority is higher than the second information priority and higher than the third information priority, the first candidate message push time period is determined as the message to be pushed message push time period;

在所述第二信息优先级高于所述第一信息优先级、且高于所述第三信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the second information priority is higher than the first information priority and higher than the third information priority, the second alternative message push time period is determined as the message to be pushed message push time period.

在所述第三信息优先级高于所述第一信息优先级、且高于所述第二信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the third information priority is higher than the first information priority and higher than the second information priority, the third alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为时区变化信息、日程信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, schedule information and terminal usage time period, the The time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; the terminal use time period is the user's intensive use of the terminal program. Functional time period;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段、所述第二备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the second alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级、所述日程信息的第二信息优先级和所述终端使用时间段的第四信息优先级;Obtaining the first information priority of the time zone change information, the second information priority of the schedule information, and the fourth information priority of the terminal usage time period;

在所述第一信息优先级高于所述第二信息优先级、且高于所述第四信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;When the first information priority is higher than the second information priority and higher than the fourth information priority, the first candidate message push time period is determined as the message to be pushed message push time period;

在所述第二信息优先级高于所述第一信息优先级、且高于所述第四信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the second information priority is higher than the first information priority and higher than the fourth information priority, the second alternative message push time period is determined as the message to be pushed message push time period.

在所述第四信息优先级高于所述第一信息优先级、且高于所述第二信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the fourth information priority is higher than the first information priority and higher than the second information priority, the fourth alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为日程信息、闹钟提醒信息和终端使用时间段的情况下,所述闹钟提醒信息包括闹钟提醒时刻;所述日程信息包括用户日程安排的时间信息;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are schedule information, alarm clock reminder information and terminal usage time period, the The alarm clock reminder information includes the alarm clock reminder time; the schedule information includes time information of the user's schedule; the terminal usage time period is the time period during which the user intensively uses terminal program functions;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第二备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述日程信息的第二信息优先级、所述闹钟提醒信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtain the second information priority of the schedule information, the third information priority of the alarm clock reminder information, and the fourth information priority of the terminal usage time period;

在所述第二信息优先级高于所述第三信息优先级、且高于所述第四信息优先级的情况下,将所述第二备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the second information priority is higher than the third information priority and higher than the fourth information priority, the second alternative message push time period is determined as the message to be pushed message push time period;

在所述第三信息优先级高于所述第二信息优先级、且高于所述第四信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the third information priority is higher than the second information priority and higher than the fourth information priority, the third alternative message push time period is determined as the message to be pushed message push time period.

在所述第四信息优先级高于所述第二信息优先级、且高于所述第三信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the fourth information priority is higher than the second information priority and higher than the third information priority, the fourth alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括三项第一类终端信息,且所述三项第一类终端信息为时区变化信息、闹钟提醒信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述闹钟提醒信息包括闹钟提醒时刻;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, when the terminal information includes three pieces of first-type terminal information, and the three pieces of first-type terminal information are time zone change information, alarm clock reminder information and terminal usage time period, The time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the alarm reminder information includes the alarm reminder time; the terminal usage time period is when the user intensively uses terminal program functions time period;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;Determine the intersection time period of the first alternative message push time period, the third alternative message push time period and the fourth alternative message push time period as the message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级、所述闹钟提醒信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtain the first information priority of the time zone change information, the third information priority of the alarm clock reminder information, and the fourth information priority of the terminal usage time period;

在所述第一信息优先级高于所述第三信息优先级、且高于所述第四信息优先级的情况下,将所述第一备选消息推送时间段确定为所述待推送消息的消息推送时间段;In the case where the first information priority is higher than the third information priority and higher than the fourth information priority, the first candidate message push time period is determined as the message to be pushed message push time period;

在所述第三信息优先级高于所述第一信息优先级、且高于所述第四信息优先级的情况下,将所述第三备选消息推送时间段确定为所述待推送消息的消息推送时间段。In the case where the third information priority is higher than the first information priority and higher than the fourth information priority, the third alternative message push time period is determined as the message to be pushed message push time period.

在所述第四信息优先级高于所述第一信息优先级、且高于所述第三信息优先级的情况下,将所述第四备选消息推送时间段确定为所述待推送消息的消息推送时间段。When the fourth information priority is higher than the first information priority and higher than the third information priority, the fourth alternative message push time period is determined as the message to be pushed message push time period.

在一种可能的实施例中,在所述终端信息包括四项第一类终端信息,且所述四项第一类终端信息为时区变化信息、日程信息、闹钟提醒信息和终端使用时间段的情况下,所述时区变化信息包括用于指示所述终端的定位位置由第一时区切换至第二时区的信息;所述日程信息包括用户日程安排的时间信息;所述闹钟提醒信息包括闹钟提醒时刻;所述终端使用时间段为用户集中使用终端程序功能的时间段;In a possible embodiment, the terminal information includes four items of first-type terminal information, and the four items of first-type terminal information are time zone change information, schedule information, alarm reminder information and terminal usage time period. In this case, the time zone change information includes information indicating that the positioning position of the terminal is switched from the first time zone to the second time zone; the schedule information includes time information of the user's schedule; and the alarm clock reminder information includes an alarm clock reminder. Time; the terminal usage time period is the time period when users intensively use terminal program functions;

所述处理器1210,还用于:The processor 1210 is also used to:

根据所述第一时区和所述第二时区,确定时差;Determine the time difference based on the first time zone and the second time zone;

基于所述时差,将所述第二时区的白天时间段确定为第一备选消息推送时间段;Based on the time difference, determine the daytime period in the second time zone as the first alternative message push time period;

根据所述日程信息中用户日程安排的时间信息,确定日程安排时间段;Determine the schedule time period according to the time information of the user's schedule in the schedule information;

根据所述日程安排时间段的结束时刻,确定第二备选消息推送时间段,或者,根据所述日程安排时间段的结束时刻和日程延迟时间段,确定所述第二备选消息推送时间段;Determine the second alternative message push time period based on the end time of the schedule time period, or determine the second alternative message push time period based on the end time of the schedule time period and the schedule delay time period ;

根据所述闹钟提醒时刻所属的时间段,确定闹钟类型,其中,所述闹钟类型包括白天的闹钟或晚上的闹钟;Determine the alarm clock type according to the time period to which the alarm clock reminder moment belongs, wherein the alarm clock type includes a daytime alarm clock or a night alarm clock;

根据所述闹钟提醒信息中的闹钟提醒时刻和所述闹钟类型,确定用户的睡眠时间段;Determine the user's sleep time period according to the alarm reminder time and the alarm clock type in the alarm reminder information;

根据所述睡眠时间段的结束时刻,确定第三备选消息推送时间段,或者,根据所述睡眠时间段的结束时刻和闹钟延迟时间段,确定所述第三备选消息推送时间段;Determine a third alternative message push time period based on the end time of the sleep time period, or determine the third alternative message push time period based on the end time of the sleep time period and the alarm delay time period;

根据所述终端使用时间段的起始时刻确定第四备选消息推送时间段;Determine a fourth alternative message push time period according to the starting moment of the terminal usage time period;

所述处理器1210,还用于:The processor 1210 is also used to:

将所述第一备选消息推送时间段、所述第二备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段的交集时间段确定为所述待推送消息的消息推送时间段;The intersection time period of the first alternative message push time period, the second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period is determined as The message push time period of the message to be pushed;

所述处理器1210,还用于:The processor 1210 is also used to:

获取所述时区变化信息的第一信息优先级、所述日程信息的第二信息优先级、所述闹钟提醒信息的第三信息优先级和所述终端使用时间段的第四信息优先级;Obtaining the first information priority of the time zone change information, the second information priority of the schedule information, the third information priority of the alarm clock reminder information, and the fourth information priority of the terminal usage time period;

确定所述第一信息优先级、所述第二信息优先级、所述第三信息优先级和所述第四信息优先级中的最高优先级;Determine the highest priority among the first information priority, the second information priority, the third information priority and the fourth information priority;

将所述最高优先级对应的备选消息推送时间段,确定为所述待推送消息的消息推送时间段,所述备选消息推送时间段包括:所述第一备选消息推送时间段、所述第二备选消息推送时间段、所述第三备选消息推送时间段和所述第四备选消息推送时间段。The alternative message push time period corresponding to the highest priority is determined as the message push time period of the message to be pushed. The alternative message push time period includes: the first alternative message push time period, the The second alternative message push time period, the third alternative message push time period and the fourth alternative message push time period.

在本申请的实施例中,通过在终端信息满足消息延迟条件的情况下,终端缓存待推送消息;其中,终端信息包括第一类终端信息或第二类终端信息,其中,第一类终端信息包括以下至少一项:时区变化信息、日程信息、闹钟信息和终端使用时间段;第二类终端信息包括以下至少一项:用户输入的消息推送时间段、消息推送位置。这里,可以将消息延迟条件的待推送消息先进行缓存,避免了由于将接收到的待推送消息直接推送给用户,导致的对用户造成打扰以及待推送消息的查看率低的问题;在待推送消息的消息推送时间到达的情况下,终端显示待推送消息,能够考虑时区变化信息、日程信息、闹钟信息、终端使用时间段、用户输入的消息推送时间段或者消息推送位置,确定推送消息的合适时机,实现了在合适的消息推送时间,显示待推送消息,从而提高了待推送消息的查看率,有效避免了推送消息被用户遗漏阅读。应理解的是,本申请实施例中,输入单元1204可以包括图形处理器(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频图像捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频图像的图像数据进行处理。显示单元1206可包括显示面板12061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板12061。用户输入单元1207包括触控面板12071以及其他输入设备12072中的至少一种。触控面板12071,也称为触控屏触控屏。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其他输入设备12072可以包括但不限于物理键盘、功能键(例如音量控制按键、开关按键等)、轨迹球、鼠标、动作杆,在此不再赘述。存储器1209可用于存储软件程序以及各种数据,包括但不限于应用程序和动作系统。处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理动作系统、用户页面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。In the embodiment of the present application, when the terminal information satisfies the message delay condition, the terminal caches the message to be pushed; wherein the terminal information includes the first type of terminal information or the second type of terminal information, where the first type of terminal information It includes at least one of the following: time zone change information, schedule information, alarm clock information and terminal usage time period; the second type of terminal information includes at least one of the following: message push time period and message push location input by the user. Here, the message to be pushed under the message delay condition can be cached first to avoid the problem of disturbing the user and low viewing rate of the message to be pushed due to pushing the received message to be pushed directly to the user; When the message push time arrives, the terminal displays the message to be pushed and can consider time zone change information, schedule information, alarm clock information, terminal usage time period, user input message push time period or message push location to determine the appropriate push message The timing enables the message to be pushed to be displayed at the appropriate message push time, thereby increasing the viewing rate of the message to be pushed and effectively preventing the push message from being missed by users. It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042. The graphics processor 12041 is responsible for the image capture device in the video image capture mode or the image capture mode. (such as a camera) to process the image data of still pictures or video images. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes at least one of a touch panel 12071 and other input devices 12072 . Touch panel 12071, also known as touch screen touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and action sticks, which will not be described again here. Memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and action systems. The processor 1210 can integrate an application processor and a modem processor, where the application processor mainly processes action systems, user pages, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1210.

存储器1209可用于存储软件程序以及各种数据。存储器1209可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(例如声音播放功能、图像播放功能等)等。此外,存储器1209可以包括易失性存储器或非易失性存储器,或者,存储器x09可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1209包括但不限于这些和任意其它适合类型的存储器。Memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 1209 may include volatile memory or non-volatile memory, or memory x09 may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 1209 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

处理器1210可包括一个或多个处理单元;可选的,处理器1210集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。The processor 1210 may include one or more processing units; optionally, the processor 1210 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1210.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息推送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above message push method embodiment is implemented, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息推送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above message push method embodiment. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.

本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述消息推送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above message push method embodiment, and can achieve the same technical effect. , to avoid repetition, will not be repeated here.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (25)

CN202311223202.8A2023-09-202023-09-20 Message push method, device and electronic equipmentPendingCN117201593A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202311223202.8ACN117201593A (en)2023-09-202023-09-20 Message push method, device and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202311223202.8ACN117201593A (en)2023-09-202023-09-20 Message push method, device and electronic equipment

Publications (1)

Publication NumberPublication Date
CN117201593Atrue CN117201593A (en)2023-12-08

Family

ID=88990353

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202311223202.8APendingCN117201593A (en)2023-09-202023-09-20 Message push method, device and electronic equipment

Country Status (1)

CountryLink
CN (1)CN117201593A (en)

Similar Documents

PublicationPublication DateTitle
RU2639305C2 (en)Method and device for reminding based on alarm clock
US10026063B2 (en)Reminder creation for tasks associated with a user event
US20140229752A1 (en)User device and operation method thereof
CN110418207B (en)Information processing method, device and storage medium
US20220191318A1 (en)Recommendation Method and Terminal
US20130012270A1 (en)Inconspicuous mode for mobile devices
WO2019140702A1 (en)Method and device for generating user profile picture
CN117751376B (en) Method, device, storage medium and software program product for displaying schedule
CN113938551B (en)Caching method and device, electronic equipment and storage medium
JP7627777B2 (en) Message display method, message display device, electronic device and readable storage medium
JP7642676B2 (en) Information display method, apparatus, electronic device and storage medium
US11809510B2 (en)Notification of change of value in stale content
CN115562744A (en)Application program loading method and electronic equipment
CN108804664A (en)A kind of problem distribution method and relevant apparatus
US9942732B2 (en)Triggering actions with mobile messages
CN111918386A (en)Positioning method, positioning device, storage medium and electronic equipment
US12425360B2 (en)Information display method, electronic device, and non-transitory readable storage medium
US11797218B2 (en)Method and device for detecting slow node and computer-readable storage medium
KR101924895B1 (en)Banner advertisement service system for messenger application in which priorities of banner advertisement is determined by reference region
CN117201593A (en) Message push method, device and electronic equipment
CN114579239B (en) Message management method and device
CN114244952B (en) Alarm clock processing method, device, electronic equipment and media
EP4351117A1 (en)Information display method and apparatus, and electronic device
CN115576621A (en) Application program loading method and electronic device
JPWO2022247864A5 (en)

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp