CN-122001941-A - Message pushing method, device, equipment and readable storage medium
Abstract
The present disclosure relates to a message pushing method, device, equipment and readable storage medium, where the method determines whether a current time is suitable for message pushing when it is recognized that a user event meets a learned triggering condition of a user habit, and does not send a push message of the user habit when the current time does not belong to a message pushing opportunity, subscribes a target user event for indicating a delayed pushing period, and generates and sends the push message to a display interface for display after receiving the target user event, thereby avoiding disturbing a user at an unsuitable opportunity, realizing that the push message is sent in a period that the user is more likely to pay attention to, and improving acceptance and user experience of an automatic execution function of the user habit.
Inventors
- YANG XIAOYAN
- SU BENCHANG
- Xiong Hangwei
Assignees
- 北京小米移动软件有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241101
Claims (14)
- 1. A message pushing method, the method comprising: responding to the received first user event to meet the triggering condition of the user habit, and identifying whether the time when the triggering condition is met belongs to the message pushing time or not; Subscribing a target user event representing a delayed pushing opportunity in response to the triggering condition being met, the opportunity not belonging to a message pushing opportunity; And generating a push message of the user habit and sending the push message to a display interface for display in response to receiving the target user event, wherein the push message is used for inquiring whether the user starts the automatic execution function of the user habit.
- 2. The method of claim 1, wherein the identifying whether the occasion at which the trigger condition is satisfied belongs to a message push occasion comprises: Acquiring a preset data set for storing non-pushing occasions; And when the moment when the trigger condition is met exists in the data set, determining that the moment when the trigger condition is met does not belong to a message pushing moment.
- 3. The method according to claim 1 or 2, characterized in that the method further comprises: According to a preset delay pushing corresponding relation, determining a preset user event matched with the time when the triggering condition is met as the target user event; The delayed push correspondence includes at least one predefined non-push opportunity and a preset user event corresponding to each non-push opportunity and indicating the delayed push opportunity.
- 4. The method according to claim 1, wherein the method further comprises: Acquiring user behaviors characterized by the first user event; and predicting an ending event used for representing the ending of the user behavior through a pre-trained neural network as the target user event, wherein the output layer classification of the neural network comprises different types of user events supporting subscription.
- 5. The method according to claim 1, wherein the method further comprises: The method comprises the steps of acquiring a push message identifier of a user habit from a first data storage, wherein the first data storage also comprises a triggering condition of the user habit, equipment operation and a user identifier of a user to which the user habit belongs; After subscribing the target user event, constructing a record to be pushed according to the target user event and the push message identifier, storing the record to be pushed in a second data storage, and deleting the record to be pushed after generating the push message used by the user and sending the push message to a display interface.
- 6. The method of claim 5, wherein generating and sending the push message for the user habit to a display interface for display in response to receiving the target user event comprises: According to the target user event, the record to be pushed is searched from the second data storage; according to the push message identification in the record to be recommended, determining the trigger condition of the matched user habit, the equipment operation and the user identification from the first data storage; generating the push message according to the triggering condition and the equipment operation; And sending the push message to a display interface on the equipment associated with the user identification.
- 7. The method of claim 5, wherein the record to be pushed further comprises an occurrence time at which the first user event satisfies a trigger condition for the user habit, wherein the generating a push message for the user habit in response to receiving the target user event comprises: acquiring the receiving time of the target user event, and determining the time interval between the receiving time and the occurrence time; and generating the push message to which the user is accustomed under the condition that the time interval does not exceed the preset duration threshold value.
- 8. The method according to claim 1, wherein the method further comprises: And in response to receiving the target user event, unsubscribing from the target user event.
- 9. The method of claim 1, wherein the method is applied to target equipment, and equipment event subscription service is arranged in the target equipment, and the equipment event subscription service is used for receiving all user events reported by different equipment managed by the target equipment and publishing all the user events according to subscription relations; the subscription represents a target user event delaying a push opportunity, comprising: And requesting to subscribe the target user event from the equipment event subscription service, wherein the subscribing further comprises instructing the equipment event subscription service to publish the target user event to a set data queue.
- 10. The method according to claim 9, wherein the method further comprises: under the condition that the update of the set data queue is detected, reading an event to be processed from the data queue; And generating the push message under the condition that the event to be processed is determined to be the target user event.
- 11. The method of claim 9, wherein the target device is further provided with at least a first push service and a second push service, the method further comprising: Triggering to generate a push message aiming at the habit of the user and sending the push message to a display interface under the condition that the time when the triggering condition is met belongs to a message push time through the first push service; the subscription represents a target user event of a delayed push opportunity, and comprises the steps of requesting the device event subscription service to subscribe to the target user event through the first push service; and acquiring the target user event from the set data queue through the second push service, and responding to the target user event to generate the push message and send the push message to a display interface.
- 12. A message pushing device, the device comprising: The device comprises a push opportunity identification module, a message push opportunity and a message push opportunity, wherein the push opportunity identification module is used for responding to the received first user event to meet the triggering condition of the user habit, and identifying whether the opportunity which is met by the triggering condition belongs to the message push opportunity or not; a user event subscription module, configured to subscribe a target user event indicating a delayed pushing opportunity in response to the triggering condition being satisfied, where the opportunity does not belong to a message pushing opportunity; And the message pushing module is used for responding to the received target user event, generating a pushing message of the user habit and sending the pushing message to a display interface for display, wherein the pushing message is used for inquiring whether the user starts the automatic execution function of the user habit.
- 13. An electronic device is characterized by comprising a memory and a processor; The memory is used for storing a computer program; the processor being operative to invoke the computer program to implement the method of any of claims 1-11.
- 14. A readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-11.
Description
Message pushing method, device, equipment and readable storage medium Technical Field The disclosure relates to the technical field of communication, and in particular relates to a message pushing method, a device, equipment and a readable storage medium. Background Currently, some smart home systems are capable of providing more personalized services by learning a user's daily behavior pattern, i.e., user habits. For example, the user habit turns on the humidifier first after going home from work every day, and the system may learn a user habit, i.e., turn on the humidifier when going home from work. For learned user habits, the system is typically stored in the form of automation data that includes trigger conditions and device operations, the trigger conditions being indicative of execution opportunities for the device operations. Currently, after learning a user habit, when a received user event meets a trigger condition of the user habit, a trigger system sends a push message to a user aiming at the user habit, inquires whether the user wants the system to memorize and enable an automatic execution function of the user habit, and the automatic execution function is used for automatically executing corresponding equipment operation by a system control without user operation when the trigger condition of the user habit is met. However, the practical result shows that the message pushing mode has the problems that the acceptance degree of the user pushing the message is low and the participation degree of the user on the intelligent home system is reduced. Thus, there is a need for a new approach to optimize the push messaging mechanism that users are accustomed to. Disclosure of Invention In view of the above, the present disclosure provides a method, an apparatus, a device and a storage medium for pushing a message to solve the above technical problems. According to a first aspect of an embodiment of the present disclosure, there is provided a message pushing method, including: responding to the received first user event to meet the triggering condition of the user habit, and identifying whether the time when the triggering condition is met belongs to the message pushing time or not; Subscribing a target user event representing a delayed pushing opportunity in response to the triggering condition being met, the opportunity not belonging to a message pushing opportunity; And generating a push message of the user habit and sending the push message to a display interface for display in response to receiving the target user event, wherein the push message is used for inquiring whether the user starts the automatic execution function of the user habit. Optionally, the identifying whether the opportunity in which the triggering condition is satisfied belongs to a message pushing opportunity includes: Acquiring a preset data set for storing non-pushing occasions; And when the moment when the trigger condition is met exists in the data set, determining that the moment when the trigger condition is met does not belong to a message pushing moment. Optionally, the method further comprises: According to a preset delay pushing corresponding relation, determining a preset user event matched with the time when the triggering condition is met as the target user event; The delayed push correspondence includes at least one predefined non-push opportunity and a preset user event corresponding to each non-push opportunity and indicating the delayed push opportunity. Optionally, the method further comprises: Acquiring user behaviors characterized by the first user event; and predicting an ending event used for representing the ending of the user behavior through a pre-trained neural network as the target user event, wherein the output layer classification of the neural network comprises different types of user events supporting subscription. Optionally, the method further comprises: The method comprises the steps of acquiring a push message identifier of a user habit from a first data storage, wherein the first data storage also comprises a triggering condition of the user habit, equipment operation and a user identifier of a user to which the user habit belongs; After subscribing the target user event, constructing a record to be pushed according to the target user event and the push message identifier, storing the record to be pushed in a second data storage, and deleting the record to be pushed after generating the push message used by the user and sending the push message to a display interface. Optionally, the responding to the receiving the target user event generates a push message for the habit of the user and sends the push message to a display interface for display, including: According to the target user event, the record to be pushed is searched from the second data storage; according to the push message identification in the record to be recommended, determining the trigger condition of the matched user habit,