CN112333079A - Message pushing method and device, computer readable medium and equipment - Google Patents

Message pushing method and device, computer readable medium and equipment Download PDF

Info

Publication number
CN112333079A
CN112333079A CN201910717961.7A CN201910717961A CN112333079A CN 112333079 A CN112333079 A CN 112333079A CN 201910717961 A CN201910717961 A CN 201910717961A CN 112333079 A CN112333079 A CN 112333079A
Authority
CN
China
Prior art keywords
message
messages
event
preset
integrating
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
CN201910717961.7A
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.)
Yunding Network Technology Beijing Co Ltd
Original Assignee
Yunding Network Technology Beijing 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 Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Priority to CN201910717961.7A priority Critical patent/CN112333079A/en
Publication of CN112333079A publication Critical patent/CN112333079A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The embodiment of the application discloses a message pushing method, a message pushing device, a computer readable medium and equipment, wherein the method comprises the following steps: acquiring messages generated by intelligent equipment, integrating the messages into events based on preset configuration information, wherein any event is obtained by integrating one or more messages; and pushing the event. The event obtained by integrating the messages generated by the intelligent device is pushed in the embodiment of the application, and the event obtained by integrating the messages exists, so that the times for pushing the events in the embodiment of the application are less than the times for pushing the messages generated by the intelligent device one by one in the prior art, and further, the scheme disclosed by the embodiment of the application can improve the pushing efficiency of the messages.

Description

Message pushing method and device, computer readable medium and equipment
Technical Field
The present application relates to the field of electronic information, and in particular, to a message pushing method, device, computer readable medium, and apparatus.
Background
At present, a plurality of intelligent devices are installed in a designated place, for example, a plurality of intelligent devices such as an intelligent lock, an intelligent camera and an intelligent doorbell are installed in a home. Wherein, under the condition that any one intelligent device is triggered to work, the intelligent device generates a notice or a prompt message. For example, after receiving an unlocking instruction of a user, the intelligent lock unlocks, and in the process, a message generated by XX people unlocks at XX time.
At present, after messages sent by each intelligent device are obtained, the messages are pushed to a user one by one according to the sequence of the messages.
However, pushing messages is inefficient.
Disclosure of Invention
The application provides a message pushing method, a message pushing device, a computer readable medium and a message pushing device, and aims to solve the problem of low message pushing efficiency.
In order to achieve the above object, the present application provides the following technical solutions:
the embodiment of the application provides a message pushing method, a message pushing device, a computer readable medium and equipment.
In a first aspect, an embodiment of the present application provides a message pushing method, where the method includes:
acquiring a message generated by intelligent equipment;
integrating the message into an event based on preset configuration information; any event is obtained by integrating one or more messages;
the event is pushed.
In some embodiments, the integrating the message into an event based on the preset configuration information includes:
acquiring a current user mode; the current user mode representing a current state of the user;
determining the type of the message to be pushed in the current user mode as a target message type;
determining the message belonging to the target message type as a target message from the messages;
the target message is integrated into an event.
In some embodiments, the integrating the target message into an event includes:
and taking a message set formed by messages of which the intervals between the generation time of the messages in the target message are smaller than a preset threshold value as an event.
In some embodiments, the message includes a trigger body; the triggering main body is used for triggering the intelligent equipment to generate the message;
the integrating the target message into an event includes:
and taking a message set formed by messages with the same trigger body in the target message as an event.
In some embodiments, the integrating the target message into an event includes:
and taking a message set formed by messages with the same triggering main body as an event, wherein the interval between the generation time of the messages in the target message is smaller than the preset threshold.
In some embodiments, the integrating the message into an event based on the preset configuration information includes:
under the condition that the current scene is detected to be a first preset scene, acquiring first configuration information corresponding to the current scene; the first configuration information includes: reference smart device information, and a time extension direction; the reference intelligent device indicated by the reference intelligent device information is a preset intelligent device for generating an initial message for message integration; the time extension direction is the extension direction of time by taking the generation time of the reference message as the reference; the reference message is a message which is generated by the reference intelligent equipment and the time length of the generation moment from the current moment does not exceed a first preset time length;
the message which extends for a second preset time length in the time extension direction from the generation time of the reference message is used as a message set;
and integrating the messages in the message set to obtain an event corresponding to the current scene.
In some embodiments, the integrating the message into an event based on the preset configuration information includes:
under the condition that the current scene is detected to be a second preset scene, acquiring a preset message integration condition corresponding to the current scene; the preset message integration condition includes at least one of: the system comprises a plurality of users, a plurality of groups of users and a plurality of groups of users, wherein the users have the same people, belong to a preset time range and have the same place;
and integrating the messages meeting the preset message integration condition in the messages into an event.
In a second aspect, an embodiment of the present application provides a message pushing apparatus, where the apparatus includes:
the acquisition module is used for acquiring messages generated by the intelligent equipment;
the integration module is used for integrating the message into an event based on preset configuration information; any event is obtained by integrating one or more messages;
and the pushing module is used for pushing the event.
In some embodiments, the integration module comprises:
the first obtaining submodule is used for obtaining a current user mode; the current user mode representing a current state of the user;
the first determining submodule is used for determining the type of the message needing to be pushed in the current user mode as a target message type;
a second determining submodule, configured to determine, from the message, that the message belonging to the target message type is a target message;
and the first integration submodule is used for integrating the target message into an event.
In some embodiments, the first integration submodule is further configured to: and taking a message set formed by messages of which the intervals between the generation time of the messages in the target message are smaller than a preset threshold value as an event.
In some embodiments, the first integration submodule is further configured to: and taking a message set formed by messages with the same trigger body in the target message as an event.
In some embodiments, the first integration submodule is further configured to: and taking a message set formed by messages with the same triggering main body as an event, wherein the interval between the generation time of the messages in the target message is smaller than the preset threshold.
In some embodiments, the integration module comprises:
the second obtaining submodule is used for obtaining first configuration information corresponding to the current scene under the condition that the current scene is detected to be a first preset scene; the first configuration information includes: reference smart device information, and a time extension direction; the reference intelligent device indicated by the reference intelligent device information is a preset intelligent device for generating an initial message for message integration; the time extension direction is the extension direction of time by taking the generation time of the reference message as the reference; the reference message is a message which has a time length from the current time not exceeding a first preset time length and belongs to the reference intelligent equipment;
a third determining submodule, configured to use a message that extends a second preset duration in the time extension direction from the reference message as a message set;
and the second integration submodule is used for integrating the messages in the message set to obtain an event corresponding to the current scene.
In some embodiments, the integration module comprises:
the third obtaining sub-module is used for obtaining a preset message integration condition corresponding to the current scene under the condition that the current scene is detected to be a second preset scene; the preset message integration condition includes at least one of: the system comprises a plurality of users, a plurality of groups of users and a plurality of groups of users, wherein the users have the same people, belong to a preset time range and have the same place;
and the third integration submodule is used for integrating the messages meeting the preset message integration condition in the messages into an event.
In a third aspect, the present application provides a computer readable medium, on which a computer program is stored, where the program, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
In a fourth aspect, the present application provides a processor, where the processor is configured to execute a program, where the program executes to perform the method described in any implementation manner of the first aspect.
In a fifth aspect, an embodiment of the present application provides an apparatus, including: one or more processors; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation of the first aspect.
According to the message pushing method, the message pushing device, the computer readable medium and the equipment, the message generated by the intelligent equipment is acquired, the message is integrated into the event according to the preset configuration information, the event obtained by integration is pushed, the event obtained by integrating one or more messages is obtained, and due to the fact that the event obtained by integrating the plurality of messages exists, the frequency of pushing the event in the embodiment of the application is smaller than the frequency of pushing the message generated by the intelligent equipment in the prior art one by one, and further, the pushing efficiency of the message can be improved by adopting the scheme in the embodiment of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a message pushing method disclosed in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a message pushing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a diagram of a message pushing method provided in an embodiment of the present application, which may be applied to a preset server or a preset client. The server can be in communication connection with the intelligent device, and the client can also be in communication connection with the intelligent device.
The client may be hardware or software. When the client is hardware, the client can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, and the like. When the client is software, the client can be installed in the electronic device listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
The message pushing method provided by the embodiment comprises the following steps:
and S101, acquiring a message generated by the intelligent equipment.
In this embodiment, the smart device may include: a plurality of intelligent devices such as intelligence lock, intelligent camera, intelligent doorbell.
In this embodiment, a trigger instruction for triggering the intelligent device to operate is referred to as a trigger main body. For example, the intelligent camera detects that people appear in the detection area, triggers the intelligent camera to start working, namely shooting the detection area until the people disappear in the detection area. In the process, the triggering main body triggering the intelligent camera to start working is a person moving to the detection area.
In this embodiment, the message recorded by the intelligent device in the working process may be sent to the client, or may be sent to the server in part, or sent to the client in part. Therefore, in this step, an execution subject (server or client) of the message pushing method may obtain the message generated by the smart device from a local place, or may obtain the message generated by the smart device from another place, and a specific obtaining manner is not limited in this embodiment.
In this embodiment, the information contained in the message generated by the smart device includes: people, time, place, and action.
Taking the intelligent camera as an example, the message recorded by the intelligent camera in the working process is a series of images shot for the detection area in the time range from the start of working to the stop of working. For example, the smart device is a smart doorbell that, in case it is triggered, generates a message that XX times the doorbell is pressed once. For example, the smart device is a smart lock, and in the case that the smart lock receives an unlocking instruction, the smart lock generates a message that the smart lock is unlocked once at XX time. For example, the smart device is a smart lock, and in the case that the smart device receives a lock instruction, the smart lock generates a message that the smart lock is locked once at XX time.
And S102, integrating the messages into events based on preset configuration information.
In the present embodiment, an event includes a series of actions. For example, a visitor access event, specifically, a visitor access event may include an event from a visitor approaching a home (a process in which a smart camera photographs a visitor in a detection area), a visitor pressing a doorbell to a host remotely unlocking the visitor, and a visitor pressing a doorknob to perform an indoor process.
In this step, the messages generated by the smart device are integrated into an event, specifically, the event includes multiple implementation manners, and each implementation manner is introduced below.
A first implementation, comprising the steps of:
and A1, acquiring the current user mode.
In this embodiment, the user mode may include a plurality of modes, such as a leave-home mode, a do-not-disturb mode, a party mode, and so on, and in this embodiment, the user mode describes the current and a later period of time status of the user. Specifically, the user mode in this embodiment may be user-defined, or may be set in advance by the system (for example, set according to the geographic location of the user, the event of the device, the account status, and the like). The present embodiment does not limit the generation manner of the user pattern and the specific content of the user pattern.
And A2, determining the message type required to be pushed in the current user mode as the target message type.
In this embodiment, the message type refers to a type to which a message generated by the smart device belongs. Specifically, the message types may include: general messages, urgent messages, warning messages, etc., wherein the general messages may include: the information generated by normal operation of the intelligent device, for example, the information generated by unlocking the intelligent lock, the information generated by locking the intelligent lock, the picture shot by the intelligent camera in the working process of the intelligent camera, and the like. The urgent message may include: a smart lock tamper alarm message, a duress fingerprint activation message, etc. The alert message may include: the intelligent device is used for receiving a low power message, a message of closing a door for a long time, an alarm message of inputting wrong passwords for multiple times, a message of entering a room and unlocking for a long time, a message of offline of the intelligent device and the like.
In this embodiment, the types of messages to be pushed are different in different user modes, for example, when the user mode is an away-from-home mode, the requirement of the user on security guard is high, and therefore, a message in the alert class is pushed to the user at a high frequency. In case the user mode is the do not disturb mode then less frequent messages of the alert class should be pushed to the user.
Specifically, in this embodiment, in what user mode, which message type should be pushed with higher frequency is set according to the actual situation and the needs of the user. That is, the corresponding relationship between the user mode and the message type needs to be set according to the requirements of the user in the actual situation, and the corresponding relationship between the user mode and the message type is not limited in this embodiment.
In this step, the message type corresponding to the current user mode is determined according to the preset corresponding relationship between the user mode and the message type, and for convenience of description, the message type corresponding to the current user mode is referred to as a target message type.
A3, determining the message belonging to the target message type as the target message from the messages.
Since a higher frequency of pushing messages of the target message type is required in the current user mode, in this step, messages belonging to the target message type are determined from the acquired messages generated by the smart device, and for convenience of description, the messages belonging to the target message type are referred to as target messages.
Specifically, in this step, a message belonging to the target message type in the messages generated by the intelligent device may be determined according to a preset correspondence between the message type and the message content, so as to obtain the target message.
Specifically, the process of setting the correspondence between the message type and the message content is the prior art, and is not described herein again.
And A4, integrating the target message into an event.
Specifically, in the present embodiment, the implementation manners of integrating the target message into the event include three, which are respectively a first manner, a second manner and a third manner, and the three implementation manners are respectively limited below.
The first mode is as follows: and taking a message set formed by messages of which the intervals between the generation moments of the messages in the target message are smaller than a preset threshold value as an event.
In this step, the preset threshold may be set to 30s, and certainly, in practice, the value of the preset threshold may also be other values, and the specific content of the preset threshold is not limited in this embodiment.
Specifically, in this embodiment, each target message has a generation time, and in this step, messages whose time interval between the generation times is smaller than a preset threshold value in the messages generated by the smart device form a message set. Specifically, the message set may be sorted according to the sequence of the message generation times, and the sorted message may be used as an event. The second mode is as follows: and taking a message set formed by messages with the same trigger body in the target message as an event.
In this embodiment, the acquired message generated by the smart device may further include a trigger body of the message, where the trigger body of any one message generated by any one smart device is a body that triggers the smart device to generate the message. Specifically, the trigger body may be a person, an object, a sound, a light, a person movement, a living object infrared ray, and the like. The sound may include a door knock sound, a smoke alarm sound, a gas alarm sound, a buzzer sound, and the like.
In this step, a message set composed of messages having the same trigger body in the target message is made as an event. Specifically, the messages in the message set may be sorted according to the sequence of the generation time of the messages, and the sorted message set is used as an event.
The third mode is as follows: the method is a combination of the first mode and the second mode, namely, taking the message of which the time interval between the generation moments in the target message is smaller than a preset threshold value as the message to be processed, forming a message set by the messages of the same trigger body in the message to be processed, sequencing the messages according to the sequence of the generation moments of the messages in the message set, and taking the sequenced message set as an event.
The second implementation mode comprises the following steps:
and C1, acquiring first configuration information corresponding to the current scene when the current scene is detected to be a first preset scene.
In this step, the first preset scene may be a leaving scene, a returning scene, and the like. Of course, in practice, the first preset scene may also be other scenes, and the embodiment does not limit the specific content of the first preset scene. In this embodiment, the event corresponding to the scene includes a message belonging to a process. Taking the home returning scene as an example, the message included in the event corresponding to the home returning scene is a message generated by the smart device from the process of approaching to the home to the process of entering the home.
The determining of the current scene may include: and judging the current position change of the user according to the position of the GPS, and determining the current scene of the user according to the corresponding relation between the preset position change content and the preset scene. For example, the current location of the user changes to be closer to the location of the home, and the current scene is determined to be a home scene.
The manner of determining the current scene may further include: and whether the frequency of the message sent by the preset intelligent device is greater than a preset frequency threshold value or not is judged. For example, the preset intelligent device is an intelligent lock, and the current scene can be determined to be a party scene under the condition that the frequency of the unlocking message and the locking message sent by the intelligent lock is greater than the preset frequency threshold. Of course, in practice, the current scene may also be determined in other manners, and the determination manner of the current scene is not limited in this embodiment.
In this step, the first configuration information may include: reference smart device information, and a time extension direction. Specifically, the reference smart device indicated by the reference smart device information is a smart device that generates an initial message for message integration. In this embodiment, a message which is not longer than a first preset time from the current time and generated by a reference smart device is used as a reference message. The time extension direction is an extension direction in time with reference to the generation time of the reference message, specifically, the time extension direction may be a time before the generation time of the reference message or a time after the generation time of the reference message, and specifically, the time extension direction is determined according to an actual situation.
Taking a home-returning scene as an example, the meaning of each item in the first configuration information is introduced.
Specifically, the reference smart device information may be smart lock information in a home scene. When the current scene of the user is detected to be a home scene, the user may not arrive at home, that is, the user is not unlocked, and at this time, the intelligent lock does not generate an unlocking message, that is, the reference message does not exist at the current time. In this step, assuming that the first preset time duration is 5 minutes, the message which is within 5 minutes from the current time and generated by the smart lock is taken as a reference message, and since the current time of the user does not arrive at home, the possibility that an unlocking message exists within 5 minutes before the current time is low, and therefore, in this step, the determined reference message is the unlocking message generated by the smart lock within 5 minutes after the current time with a high probability, that is, the message generated by the smart lock triggered by the user's arrival at home unlocking with a high probability. The time extension direction is a time before the reference message generation time.
And C2, taking the message which extends for a second preset time length in the time extension direction from the generation time of the reference message as a message set.
In this step, the value of the second preset duration may be determined according to the actual situation, and the value of the preset duration is not limited in this embodiment.
For example, taking a home-returning scene as an example, a message of a second preset duration is pushed forward from the generation time of the reference message as a starting point (including the reference message) to serve as a message set. For example, if the reference message is generated at 10 o ' clock, and the second preset time period is 2 minutes, the set of messages whose generation time is from 9 o ' clock 58 to 10 o ' clock is taken as a message set (including the reference message), and if the message generated two minutes before the reference message is generated by the smart camera, the message set obtained in this step is a message set of the reference message and the video generated by the smart camera for two minutes.
And C3, integrating the messages in the message set to obtain an event corresponding to the current scene.
In this embodiment, some of the messages generated by the smart devices are text messages, and some of the smart devices can generate messages in both text and image forms (e.g., smart cameras). In this step, there are two ways to integrate the messages in the message set, the first way is: and integrating the messages into a text message. The second way is: and sequencing the messages in the message set according to the sequence of the generation time of the messages to obtain a sequenced message set.
Taking a home-returning scene as an example, it is assumed that the message set includes an unlocking message of the smart lock and a video shot by the smart camera for a preset duration. The integration is performed in a first manner, and the obtained integration result may be: the XX person has returned home at XX time through XX location (the location where the smart camera is installed, for example, the front door of a yard). The integration is performed in a second manner, and the obtained integration result may be: a video of going home and a message that XX unlocked once at time XX.
Specifically, in practice, which kind of integrated result is pushed may be determined according to actual requirements, and this embodiment is not limited. For example, the integration result obtained in the first integration mode is pushed, and if the user needs to view the integration result in detail, the integration result obtained in the second integration mode is pushed.
In practice, the second implementation manner may be combined with the first implementation manner, that is, the message belonging to the first implementation manner is determined from the messages as the target message, and in the second implementation manner, the reference message is determined from the target message, and the message set is determined.
The third realization mode comprises the following steps:
and D1, under the condition that the current scene is detected to be a second preset scene, and a preset message integration condition corresponding to the current scene.
In this step, the second preset scene may be a party scene, and in practice, the content of the second preset scene may also be other content, and this embodiment does not limit the content of the second preset scene.
Specifically, the obtaining manner of the current scene is the same as the obtaining manner of the current scene in step C1, and details are not repeated here. Wherein the preset message integration condition comprises at least one of the following items: have the same people, belong to a preset time range, have the same place.
And D2, integrating the messages meeting the preset message integration condition in the messages into one event.
Specifically, the integration manner is the same as that in the second implementation manner, and is not described herein again.
For example, in the case where the current scene is a party scene, it is assumed that the party scene lasts for 20 to 22 points. In the party scene, the generation time of the messages belongs to the messages from 20 points to 22 points, and the elements in the messages are integrated according to the sequence of the generation time.
S103, pushing the event obtained by integration.
In a case that the message pushing method disclosed in this embodiment is applied to a preset server, the preset server may push an event obtained by integration to a pre-specified client, and the pre-specified client may display the event to a user.
When the message pushing method is applied to a preset client, after the preset client integrates the message generated by the intelligent device, the event obtained by integration can be displayed to the user.
In the embodiment of the present application, the event obtained by integrating the messages generated by the intelligent device is pushed, and because there is an event obtained by integrating a plurality of messages, the number of times of pushing the event in the embodiment of the present application is smaller than the number of times of pushing the messages generated by the intelligent device one by one in the prior art, and further, the message pushing efficiency in the embodiment of the present application can be improved.
Since the event includes a series of actions, the information contained in the integrated event is structured and contributes to the tidiness of the page. Because the message is presented in the form of an event, message retrieval and quick viewing are facilitated. And, it is beneficial to mark the event, making the management of the message more convenient.
Fig. 2 is a message pushing apparatus provided in an embodiment of the present application, including: an acquisition module 201, an integration module 202 and a push module 203.
The system comprises an acquisition module 201 for acquiring messages generated by the intelligent device, an integration module 202 for integrating the messages into events based on preset configuration information, wherein any event is obtained by integrating one or more messages, and a pushing module 203 for pushing the events.
Optionally, the integration module 202 includes: a first acquisition submodule 2021, a first determination submodule 2022, a second determination submodule 2023 and a first integration submodule 2024.
The first obtaining sub-module 2021 is configured to obtain a current user mode, where the current user mode represents a current state of the user. The first determining sub-module 2022 is configured to determine the message type required to be pushed in the current user mode as the target message type. A second determining sub-module 2023, configured to determine, from the messages, that the message belonging to the target message type is the target message. A first integration sub-module 2024, configured to integrate the target message into an event.
Optionally, the first integrating sub-module 2024 is further configured to use a message set formed by messages in the target message, where an interval between generation times of the messages is smaller than a preset threshold, as an event.
Optionally, the first integrating sub-module 2024 is further configured to use a message set formed by messages with the same trigger body in the target message as an event.
Optionally, the first integrating submodule 2024 is further configured to use an interval between generation time instants of the messages in the target message, which is smaller than the preset threshold, and trigger a message set formed by messages with the same main body as an event.
Optionally, the integration module 202 includes: a second acquisition sub-module 2025, a third determination sub-module 2026, and a second integration sub-module 2027.
The second obtaining sub-module 2025 is configured to, when it is detected that the current scene is a first preset scene, obtain first configuration information corresponding to the current scene, where the first configuration information includes: reference smart device information, and a time extension direction; the reference intelligent equipment indicated by the reference intelligent equipment information is preset intelligent equipment for generating an initial message for message integration; the time extension direction is the extension direction of time by taking the generation time of the reference message as a reference; the reference message is a message which has a time length from the current time not exceeding a first preset time length and belongs to reference intelligent equipment.
A third determining submodule 2026, configured to use the message extending from the reference message in the time extending direction by the second preset time length as the message set. The second integrating submodule 2027 is configured to integrate the messages in the message set to obtain an event corresponding to the current scene.
Optionally, the integrating module 202 includes: a third acquisition submodule 2028 and a third integration submodule 2029.
The third obtaining sub-module 2028 is configured to, when it is detected that the current scene is the second preset scene, obtain a preset message integration condition corresponding to the current scene; the preset message integration condition comprises at least one of the following items: have the same people, belong to a preset time range, have the same place. The third integrating sub-module 2029 is configured to integrate the messages meeting the preset message integration condition into one event.
It should be noted that the message pushing apparatus may include a processor and a memory, and the obtaining module 201, the integrating module 202, the pushing module 203, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor may include a kernel, which calls the corresponding program unit from the memory. The kernel can set one or more than one, integrates the messages generated by the intelligent device into an event by adjusting the kernel parameters, and pushes the integrated event.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The message pushing device disclosed by the embodiment of the application pushes an event generated after messages generated by intelligent equipment are integrated, and because the event is obtained by integrating a plurality of messages, the frequency of pushing the event is smaller than the frequency of pushing the messages generated by the intelligent equipment one by one in the prior art, and further the message pushing efficiency of the embodiment of the application is improved.
Since the event includes a series of actions, the information contained in the integrated event is structured and contributes to the tidiness of the page. Because the message is presented in the form of an event, message retrieval and quick viewing are facilitated. And, it is beneficial to mark the event, making the management of the message more convenient.
The present application provides a computer readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the message pushing method described in the above method embodiments.
The embodiment of the present application provides a processor, where the processor is configured to execute a program, where the program implements the message pushing method described in the above method embodiment when running.
The embodiment of the present application provides an apparatus, which includes a processor, a memory, and a program stored on the memory and capable of running on the processor, and when the processor executes the program, the message pushing method described in the above method embodiment is implemented.
The present application also provides a computer program product which, when executed on a data processing apparatus, causes the data processing apparatus to implement the message push method described in the above method embodiments.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only for the purpose of illustrating the preferred embodiments of the present application and the technical principles applied, and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. The scope of the invention according to the present application is not limited to the specific combinations of the above-described features, and may also cover other embodiments in which the above-described features or their equivalents are arbitrarily combined without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. A message pushing method, comprising:
acquiring a message generated by intelligent equipment;
integrating the messages into events based on preset configuration information; any event is obtained by integrating one or more messages;
and pushing the event.
2. The method of claim 1, wherein integrating the message into an event based on preset configuration information comprises:
acquiring a current user mode; the current user mode represents a current state of the user;
determining the type of the message needing to be pushed in the current user mode as a target message type;
determining the message belonging to the target message type as a target message from the messages;
and integrating the target message into an event.
3. The method of claim 2, wherein the integrating the target message into an event comprises:
and taking a message set formed by messages of which the intervals between the generation moments of the messages in the target message are smaller than a preset threshold value as an event.
4. The method of claim 2, wherein the message includes a trigger body; the triggering main body is used for triggering the intelligent equipment to generate the message;
the integrating the target message into an event includes:
and taking a message set formed by messages with the same trigger body in the target message as an event.
5. The method of claim 2, wherein the integrating the target message into an event comprises:
and taking a message set formed by messages with the same main body as an event, wherein the interval between the generation time of the messages in the target message is smaller than the preset threshold value and the message set is triggered.
6. The method of claim 1, wherein integrating the message into an event based on preset configuration information comprises:
under the condition that the current scene is detected to be a first preset scene, acquiring first configuration information corresponding to the current scene; the first configuration information includes: reference smart device information, and a time extension direction; the reference intelligent equipment indicated by the reference intelligent equipment information is preset intelligent equipment for generating an initial message for message integration; the time extension direction is the extension direction of time by taking the generation time of the reference message as a reference; the reference message is a message which is generated by the reference intelligent equipment and the time length of the generation moment from the current moment does not exceed a first preset time length;
a message extending for a second preset duration in the time extension direction from the generation time of the reference message is used as a message set;
and integrating the messages in the message set to obtain an event corresponding to the current scene.
7. The method of claim 1, wherein integrating the message into an event based on preset configuration information comprises:
under the condition that the current scene is detected to be a second preset scene, acquiring a preset message integration condition corresponding to the current scene; the preset message integration condition comprises at least one of the following items: the system comprises a plurality of users, a plurality of groups of users and a plurality of groups of users, wherein the users have the same people, belong to a preset time range and have the same place;
and integrating the messages meeting the preset message integration condition in the messages into an event.
8. A message push apparatus, comprising:
the acquisition module is used for acquiring messages generated by the intelligent equipment;
the integration module is used for integrating the messages into events based on preset configuration information; any event is obtained by integrating one or more messages;
and the pushing module is used for pushing the event.
9. The apparatus of claim 8, wherein the integration module comprises:
the first obtaining submodule is used for obtaining a current user mode; the current user mode represents a current state of the user;
the first determining submodule is used for determining the type of the message needing to be pushed in the current user mode as a target message type;
a second determining submodule, configured to determine, from the messages, that a message belonging to the target message type is a target message;
and the first integration submodule is used for integrating the target message into an event.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
11. A processor for running a program, wherein the program when running implements the method of any one of claims 1-7.
12. An apparatus, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-7.
CN201910717961.7A 2019-08-05 2019-08-05 Message pushing method and device, computer readable medium and equipment Pending CN112333079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910717961.7A CN112333079A (en) 2019-08-05 2019-08-05 Message pushing method and device, computer readable medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910717961.7A CN112333079A (en) 2019-08-05 2019-08-05 Message pushing method and device, computer readable medium and equipment

Publications (1)

Publication Number Publication Date
CN112333079A true CN112333079A (en) 2021-02-05

Family

ID=74319766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910717961.7A Pending CN112333079A (en) 2019-08-05 2019-08-05 Message pushing method and device, computer readable medium and equipment

Country Status (1)

Country Link
CN (1) CN112333079A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513580A (en) * 2022-01-20 2022-05-17 广东职业技术学院 Electronic doorbell interaction method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015154356A1 (en) * 2014-04-08 2015-10-15 小米科技有限责任公司 Remote smart control method and device
CN106557513A (en) * 2015-09-29 2017-04-05 腾讯科技(深圳)有限公司 Event information method for pushing and event information pusher
GB2545391A (en) * 2015-10-08 2017-06-21 Atom Bank Plc Generating a notification
US20180167477A1 (en) * 2016-12-09 2018-06-14 Beijing Xiaomi Mobile Software Co., Ltd. Message pushing method and apparatus thereof
US10057715B1 (en) * 2017-03-29 2018-08-21 Honeywell International Inc. Systems and methods for selecting an optimal device in a home security or automation system for presenting a notification or alert
US20190058609A1 (en) * 2017-08-15 2019-02-21 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for pushing information based on artificial intelligence
US20190089934A1 (en) * 2017-09-20 2019-03-21 Google Llc Systems and Methods of Presenting Appropriate Actions for Responding to a Visitor to a Smart Home Environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015154356A1 (en) * 2014-04-08 2015-10-15 小米科技有限责任公司 Remote smart control method and device
CN106557513A (en) * 2015-09-29 2017-04-05 腾讯科技(深圳)有限公司 Event information method for pushing and event information pusher
GB2545391A (en) * 2015-10-08 2017-06-21 Atom Bank Plc Generating a notification
US20180167477A1 (en) * 2016-12-09 2018-06-14 Beijing Xiaomi Mobile Software Co., Ltd. Message pushing method and apparatus thereof
US10057715B1 (en) * 2017-03-29 2018-08-21 Honeywell International Inc. Systems and methods for selecting an optimal device in a home security or automation system for presenting a notification or alert
US20190058609A1 (en) * 2017-08-15 2019-02-21 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for pushing information based on artificial intelligence
US20190089934A1 (en) * 2017-09-20 2019-03-21 Google Llc Systems and Methods of Presenting Appropriate Actions for Responding to a Visitor to a Smart Home Environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513580A (en) * 2022-01-20 2022-05-17 广东职业技术学院 Electronic doorbell interaction method, device and system

Similar Documents

Publication Publication Date Title
CN106231259B (en) Display methods, video player and the server of monitored picture
CN103985230B (en) A kind of Notification Method based on image, device and notice system
US20170277881A1 (en) Method and system for improving security of a mobile terminal
CN109076196A (en) The shared video record from V recording and communication device
JP6973533B2 (en) Analytical device, analysis method and program
CN107592498B (en) Cell management method based on intelligent camera and related equipment
CN111814629A (en) Person detection method and device, electronic device and storage medium
WO2018112722A1 (en) Video inspection method and system thereof
CN111078922A (en) Information processing method and device and storage medium
CN110572719A (en) Information display method, device and equipment
CN110390785A (en) A kind of smart home security inter-linked controlling method, device, medium and terminal device
CN114093014A (en) Graph code correlation strength calculation method, device, equipment and storage medium
CN111368620B (en) Method and device for identifying target attention object and storage medium
CN112333079A (en) Message pushing method and device, computer readable medium and equipment
KR101964230B1 (en) System for processing data
CN102917345B (en) A kind of method of report of user state information and device
Archana et al. To detect abnormal event at ATM system by using image processing based on IOT technologies
KR101264667B1 (en) Method for creating thumbnail image of video file and recording-medium recorded program thereof
CN111818296B (en) Monitoring target identification method and distributed monitoring system
CN109698921B (en) Recording method, device and equipment
US20210318809A1 (en) Data reconstruction method, apparatus, electronic device, and storage medium
CN106845202B (en) File access method, device and system for face recognition system
CN110689432B (en) User target processing method, device and equipment based on blockchain
CN204721558U (en) A kind of bluetooth alarm earphone
KR101942418B1 (en) Method and Apparatus for Recording Timeline

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205