CN113132429B - Method and device for pushing messages - Google Patents

Method and device for pushing messages Download PDF

Info

Publication number
CN113132429B
CN113132429B CN201911405154.8A CN201911405154A CN113132429B CN 113132429 B CN113132429 B CN 113132429B CN 201911405154 A CN201911405154 A CN 201911405154A CN 113132429 B CN113132429 B CN 113132429B
Authority
CN
China
Prior art keywords
message
user
target
pushed
pushing
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.)
Active
Application number
CN201911405154.8A
Other languages
Chinese (zh)
Other versions
CN113132429A (en
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 CN201911405154.8A priority Critical patent/CN113132429B/en
Publication of CN113132429A publication Critical patent/CN113132429A/en
Application granted granted Critical
Publication of CN113132429B publication Critical patent/CN113132429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method and a device for pushing messages. One embodiment of the method comprises: under the condition that the intelligent equipment generates a message to be pushed meeting preset conditions, determining a target theme to which the message to be pushed belongs; the target subject represents the meaning of the message to be pushed; determining a target user for receiving a message to be pushed based on a user role associated with a target topic; the target user belongs to a user under a user role associated with the target subject; and under the condition that the target user is determined, pushing the message to be pushed to the target user. By taking the theme of the message to be pushed as a unit, a target user (a user for receiving the message to be pushed) is determined from users under the user role associated with the target theme, namely, the granularity of division of the message to be pushed is finer, so that the personalized requirement of the user is better met, and the accuracy of the message pushed to the user is higher.

Description

Method and device for pushing messages
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for pushing messages.
Background
Currently, a plurality of intelligent devices may be installed in a specific place, for example, a plurality of intelligent devices such as an intelligent lock, an intelligent camera, and an intelligent doorbell are installed at 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, the smart lock unlocks after receiving an unlocking instruction of a user, and a message generated in the process can be that an XX person unlocks at the XX time.
In order to enhance the user's knowledge of the state of the smart device, a method of accurately pushing messages generated by the smart device to the user is needed.
Disclosure of Invention
The embodiment of the application provides a method and a device for pushing messages.
In a first aspect, an embodiment of the present application provides a method for pushing a message, where the method includes: under the condition that the intelligent equipment generates a message to be pushed meeting preset conditions, determining a target theme to which the message to be pushed belongs; the target subject represents the meaning of the message to be pushed;
determining a target user for receiving the message to be pushed based on the user role associated with the target subject; the target user belongs to a user in a user role associated with the target topic;
and under the condition that the target user is determined, pushing the message to be pushed to the target user.
In some embodiments, the determining a target user for receiving the message to be pushed based on the user role associated with the target topic includes:
acquiring a set value of a pushing state of a user under a user role associated with the target theme on the message of the target theme;
and if a target set value used for representing a message allowing the target theme to be pushed exists in the acquired set values, determining the target user based on the target set value.
In some embodiments, said determining said target user based on said target setting comprises:
for a user corresponding to any target set value, under the condition that the user sets a user mode, acquiring the current user mode of the user and a preset theme which is allowed to be pushed under the current user mode; the current user mode represents a current state of the user;
and under the condition that the preset theme comprises the target theme, determining that the user belongs to the target user, otherwise, determining that the user does not belong to the target user.
In some embodiments, before the pushing the message to be pushed to the target user, the method further includes:
determining a push mode set by the target user for the message of the target theme from preset configuration information of the intelligent device;
the pushing the message to be pushed to the target user comprises:
and pushing the message to be pushed to the target user according to the pushing mode.
In some embodiments, the pushing the message to be pushed to the target user according to the pushing manner includes:
pushing content related to the message to be pushed to the target user according to the pushing mode;
the content related to the message to be pushed at least comprises: the content of the message to be pushed and any one of the following: the target subject and a subject category to which the target subject belongs.
In some embodiments, the content related to the message to be pushed further comprises at least one of: the generation time of the message to be pushed, the object triggering the intelligent equipment to generate the message to be pushed, and the mode triggering the intelligent equipment to generate the message to be pushed.
In a second aspect, an embodiment of the present application provides an apparatus for pushing a message, where the apparatus includes: the system comprises a first determining module, a second determining module and a sending module, wherein the first determining module is used for determining a target theme to which a message to be pushed belongs under the condition that the intelligent equipment generates the message to be pushed meeting preset conditions; the target subject represents the meaning of the message to be pushed;
a second determining module, configured to determine, based on a user role associated with the target topic, a target user for receiving the message to be pushed; the target user belongs to a user in a user role associated with the target topic;
and the pushing module is used for pushing the message to be pushed to the target user under the condition that the target user is determined.
In some embodiments, the second determining module comprises:
the obtaining sub-module is used for obtaining a set value of a pushing state of a user under a user role associated with the target theme on the message of the target theme;
and the determining submodule is used for determining the target user based on the target set value if the target set value used for representing the message allowing the target theme to be pushed exists in the set values acquired by the acquiring submodule.
In some embodiments, the determining sub-module, configured to determine the target user based on the target setting, includes:
the determining submodule is specifically configured to, for a user corresponding to any target setting value, obtain a current user mode of the user and a preset theme allowed to be pushed in the current user mode under the condition that the user has set the user mode; the current user mode represents a current state of the user; and under the condition that the preset theme comprises the target theme, determining that the user belongs to the target user, otherwise, determining that the user does not belong to the target user.
In some embodiments, the means for pushing messages may further comprise: a third determining module, configured to determine, from preset configuration information of the intelligent device, a pushing manner set by the target user for the message of the target topic before the pushing module pushes the message to be pushed to the target user;
the pushing module is configured to push the message to be pushed to the target user, and includes:
the pushing module is specifically configured to push the message to be pushed to the target user according to the pushing manner.
In some embodiments, the pushing module is configured to push the message to be pushed to the target user according to the pushing manner, and includes:
the push module is specifically configured to push content related to the message to be pushed to the target user according to the push manner; the content related to the message to be pushed at least comprises: the content of the message to be pushed and any one of the following: the target subject and a subject category to which the target subject belongs.
In some embodiments, the content related to the message to be pushed further comprises at least one of: the generation time of the message to be pushed, the object triggering the intelligent equipment to generate the message to be pushed, and the mode triggering the intelligent equipment to generate the message to be pushed.
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 electronic device, 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 a method as described in any implementation of the first aspect.
According to the method and the device for pushing the message, the target theme to which the message to be pushed belongs is determined under the condition that the intelligent equipment generates the message to be pushed meeting the preset condition; and determining a target user for receiving the message to be pushed based on the user role associated with the target subject, wherein the target user belongs to the user under the user role associated with the target subject, and pushing the message to be pushed to the target user under the condition of determining the target user.
In the application, the target theme to which any message to be pushed belongs represents the meaning of the message to be pushed, namely the application takes the theme of the message to be pushed as a unit, and determines a target user (a user for receiving the message to be pushed) from users under the user role associated with the target theme, namely the division granularity of the message to be pushed is finer, so that the personalized requirement of the user is better met, and therefore, the accuracy of the message pushed to the user by the application is higher.
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 examples or embodiments of the present application, and that for a person skilled in the art, other drawings can be obtained from the provided drawings without inventive effort, and that the present application can also be applied to other similar scenarios from the provided drawings. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
FIG. 1 is a flow diagram of one embodiment of a method for pushing messages according to the present application;
FIG. 2 is a flow diagram of yet another embodiment of a method for pushing messages according to the present application;
FIG. 3 is a block diagram of one embodiment of an apparatus for pushing messages in accordance with the present application;
FIG. 4 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. The described embodiments are only some embodiments of the present application and not all 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.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used herein is a method for distinguishing different components, elements, parts or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" are intended to cover only the explicitly identified steps or elements as not constituting an exclusive list and that the method or apparatus may comprise further steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Flowcharts are used herein to illustrate the operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to or removed from these processes.
It should be noted that, the method for pushing a message provided by the embodiment of the present application may be executed by a server, and accordingly, the apparatus for pushing a message may be disposed in the server. The server may, in response to receiving a message to be pushed generated by the intelligent device, perform processing such as analysis on the message to be pushed, determine a target user for receiving the message to be pushed, and push the message to be pushed to the target user when the target user is determined.
It should be understood that the smart device may be either hardware or software. When the smart device is a hardware, it may be various electronic devices, including but not limited to a smart phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), an ebook reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard Audio Layer 4) player, a laptop portable computer, a desktop computer, a smart meter, a smart cat eye, a gateway, and other electronic devices. When the smart device is software, it may be installed in the electronic devices listed above, it may be implemented as a plurality of software or software modules (for example, to provide distributed services), or it may be implemented as a single software or software module. The embodiment of the present application does not set any limit to the specific type of the electronic device.
The server may be hardware or software, and when the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of 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.
Referring to fig. 1, a flow diagram of one embodiment of a method for pushing messages is shown, in accordance with the present application. The method can be applied to the server, and the method for pushing the message comprises the following steps:
step 101, under the condition that the intelligent device generates a message to be pushed meeting preset conditions, determining a target theme to which the message to be pushed belongs.
In this step, the preset condition may be set by default in the system, or may be set manually, for example, set by the owner of the smart device, and is not limited herein. The preset condition may be, for example, a message of a non-specified subject category. The specified subject category may include, for example, system messages. The specified subject categories may also include, for example, other categories that do not support user-defined receipt of messages or non-receipt of messages. The system message may include, for example, a message such as a message inviting the visitor and/or a system account message, and in practice, the system message may include other messages besides the message inviting the visitor and/or the system account message, and this embodiment does not limit the message included in the system message.
It should be noted that, in this step, the preset condition is a non-system message only by way of example, in practice, the preset condition may further include other contents, and this embodiment does not limit the specific contents of the preset condition.
In this step, the target topic to which the message to be pushed belongs may be used to represent the meaning of the message to be pushed. For example, the message to be pushed generated by the smart door lock and meeting the preset condition is a message of "door closed but not locked", and the target subject to which the message belongs may be "door closed not locked". For another example, the message to be pushed, which is generated by the smart cat eye and satisfies the preset condition, is a message "someone stays outdoors for a long time", and the target subject to which the message belongs may be "staying for a long time". For another example, the message to be pushed, which is generated by the smart meter and satisfies the preset condition, is a message "electricity amount in this month is, and the excess electricity amount threshold value" is, "and the target subject to which the message belongs may be" electricity amount excess threshold value ". For another example, the message to be pushed, which is generated by the wearable device and satisfies the preset condition, is "the pulse frequency of the user a is × several times per minute, which is higher than the normal pulse frequency", and the target subject to which the message belongs may be "the pulse frequency is too fast". Of course, in practice, the target topic to which the message to be pushed belongs may be determined according to the actual situation, and the specific content of the target topic to which the message to be pushed belongs is not limited in this embodiment.
It should be noted that, the present embodiment may employ various methods to determine the target subject to which the message to be pushed belongs.
As an example, each smart device may correspond to a set of topics in advance, each topic in the set of topics corresponding to a set of keywords in advance. When the smart device generates a message to be pushed that meets a preset condition, an execution main body (such as the server described above) of the method for pushing a message provided in this embodiment may calculate a matching degree between the message to be pushed and a keyword set corresponding to each topic in the topic set, and determine a topic corresponding to a keyword set with a highest matching degree between the message to be pushed as a target topic to which the message to be pushed belongs.
As another example, the execution subject may be prestored with a topic prediction model, where the topic prediction model may be a machine learning model, and the topic prediction model may be used to characterize the correspondence between the message and the topic. The executing body may input the message to be pushed into the topic prediction model to obtain a topic output by the topic prediction model, and determine the topic as a target topic to which the message to be pushed belongs.
Step 102, determining a target user for receiving the message to be pushed based on the user role associated with the target topic.
Taking the smart device as the smart lock as an example, the user role associated with the target theme may include a host, an invited family member, a visitor, and the like, to which the smart lock is bound, and the specific content of the user role associated with the target theme is not limited in this embodiment.
In this step, the target user belongs to a user under the user role associated with the target topic.
As an example, all users in the user role associated with the target topic may be directly considered as target users. In order to make the pushing accuracy of the message to be pushed higher, the following embodiment corresponding to fig. 2 may be adopted to determine the target user.
And 103, under the condition that the target user is determined, pushing the message to be pushed to the target user.
In this step, if the target user is determined, the message to be pushed is pushed to the target user. Specifically, the message to be pushed may be sent to a user terminal used by the target user.
In the method provided by the above embodiment of the present application, because the target topic to which any message to be pushed belongs represents the meaning of the message to be pushed, that is, in this embodiment, the target topic to which the message to be pushed belongs is taken as a unit, a target user (a user for receiving the message to be pushed) is determined from users under the user role associated with the target topic, that is, the granularity of division for pushing the message to be pushed is finer, so that the message pushed to the target user more meets the personalized requirement of the user, and therefore, the accuracy of the message pushed to the user by the present application is higher.
With further reference to fig. 2, a flow of yet another embodiment of a method for pushing messages is shown. The method for pushing the message comprises the following steps:
step 201, under the condition that the intelligent device generates a message to be pushed meeting a preset condition, determining a target theme to which the message to be pushed belongs.
For the specific content of this step, reference may be made to step 101, which is not described herein again.
Step 202, obtaining a set value of a push state of a user to a message of a target topic under a user role associated with the target topic.
In this embodiment, the message to be pushed meeting the preset condition may be a message supporting the user to set a received message or not to receive a message. Specifically, a target theme to which the message to be pushed belongs may correspond to a pushing state, and each user in a user role associated with the target theme may set a value for representing that the message is not received or a value for representing that the message is received for the pushing state according to an actual requirement of the user.
In practice, the set value of the push state of the message of the target topic by the user in the user role associated with the target topic may be obtained from the preset configuration information of the smart device, for example, from the preset configuration table of the smart device.
The method includes the steps of obtaining a preset configuration table of the intelligent device, wherein the preset configuration table of the intelligent device is taken as an example, and the table includes user roles associated with messages of various preset themes and set values of push states of the users of the user roles for the messages of the preset themes. Taking an intelligent device as an example of an intelligent lock, the preset configuration table of the intelligent lock may be as shown in table 1 below.
TABLE 1
Figure BDA0002348429360000101
Figure BDA0002348429360000111
In table 1, "basic information" includes: smart locks, topic categories, message topics, and user roles. Wherein, the intelligent lock corresponds to the name of the intelligent lock. "topic category" represents the category to which the topic of the message generated by the smart lock belongs. The 'message theme' represents the theme of the message generated by the intelligent lock, each theme corresponds to a 'user role', and for any theme, the user role corresponding to the theme represents the user role having the receiving authority for the message of the theme. Specifically, the "user role" may include a master bound to the smart lock, a family member invited by the master of the smart lock, and a visitor invited by the master of the smart lock, which is not specifically limited herein. The family members invited by the owner of the intelligent lock have the authority of configuring the intelligent lock. The present embodiment does not limit the specific content of the user role.
In table 1, the field value of the "notification by default" field corresponding to any topic indicates: whether to support users in the user role associated with the topic sets to receive or not receive messages for the topic. Specifically, if the field value of the "notification by default" field corresponding to the topic is "√", it indicates that the setting of the field value by the user in the user role associated with the topic is not supported, and the push is performed by default. If the field value of the "notification by default" field corresponding to the subject is "user settable", it indicates that the setting of the field value by the user in the user role associated with the subject is supported. As an example, if the setting value of any user in the user role associated with the subject to the field is "1", it indicates that the user allows to push the message of the subject, and if the setting value of any user in the user role associated with the subject to the field is "0", it indicates that the user does not allow to push the message of the subject.
Taking the message of "door closed but not locked" as an example, in this step, the subject to which the message belongs is found in table 1, i.e. the subject corresponding to "door closed but not locked" in the alarm message in table 1. As can be seen from table 1, the user roles associated with the subject "door closed but not locked" are "master, family member and visitor". The field value of the "notification by default" field corresponding to the "door closed but not locked" subject is "1" set by the master ", 1" set by the family member, and "0" set by the visitor, that is, the master and the family member are allowed to push the message of the subject, and the visitor is not allowed to push the message of the subject.
In table 1, "message element" indicates the content of a message pushed in the case of pushing the message to a user. The "message elements" may include: device name, event time, graphics, video/picture, text content. In practice, besides the message elements shown in table 1, other types of message elements may be included, such as message triggers (which may be understood as objects that trigger the smart device to generate a message), message trigger patterns (which may be understood as patterns that trigger the smart device to generate a message), and so on.
Taking the message of any subject in table 1 as an example, the meaning represented by the message element corresponding to the message is introduced. Specifically, "device name" represents the name of the smart lock. The "event time" indicates the time when the message is generated. The "graphic" indicates an icon of a subject to which the message belongs or a subject category to which the subject belongs. "video/picture" means content in the form of a video or picture of the message. "textual content" means the textual content of the message.
In table 1, "message presentation" indicates a push manner for a message, and the message presentation manner includes: pop-up in APP, system push, short message, mail and the like. It should be understood that other message presentation means, such as system telephone push, etc., may be included in addition to the message presentation means shown in table 1.
It should be noted that the contents in table 1 are only exemplary contents and do not limit the present application in any way.
Step 203, judging whether a target set value for representing a message allowing to push the target theme exists in the acquired set values.
And executing the step after acquiring the set value of the push state of the message of the target theme by each user under the user role associated with the target theme. In this step, it is determined whether a target set value, which indicates a set value allowing a message of a target topic to be pushed, exists among the acquired set values. If so, step 204 is performed.
Step 204, determining the target user based on the target set value.
Specifically, in this embodiment, the user corresponding to the target setting value may be taken as the target user.
In order to further improve the accuracy of the message pushed to the user, in this step, after the target setting value is obtained, the current user mode of the user corresponding to the target setting value may be further considered, and the target user may be determined based on the current user mode of the user corresponding to the target setting value.
Taking a user corresponding to any target setting value as an example, a process of determining whether the user belongs to the target user based on the current user mode of the user in the step is introduced, and specifically includes the following steps a1 to a 5:
a1, judging whether the user sets the user mode, if yes, executing A2, and if no, executing A4.
In the present embodiment, the user mode may include, but is not limited to, an away-from-home mode, a vacation mode, an at-home mode, a party mode, and the like. By way of example, it may be determined whether the user has set a user mode according to user mode information obtained about the smart device that generated the message to be pushed. For example, the user mode information may include a user mode parameter and a current parameter value for the parameter. If the current parameter value is used to represent a user mode that is not set, it may be determined that the user mode is not set. If the current parameter value is used to characterize any of the user modes listed above, it may be determined that the user has set the user mode.
A2, acquiring the current user mode of the user and the preset theme allowed to be pushed in the current user mode.
In this embodiment, the user mode of the user represents the current state of the user. In practice, the user may set a user mode according to the actual situation.
In this embodiment, the correspondence between the user mode and the message topic to be pushed in the user mode is set in advance. Specifically, the corresponding relationship between the user mode and the message theme to be pushed may be actual requirement setting of the user in the user mode, user setting, or system setting, where a specific setting manner is not limited in this embodiment.
In this step, if the user currently has a user mode, the current user mode of the user is obtained. For example, the current user mode of the user is a vacation mode. In this step, the message theme allowed to be pushed in the current user mode is obtained, and the preset theme is obtained.
A3, judging whether the preset theme comprises the target theme, if so, executing A4, and if not, executing A5.
In this step, if the obtained preset theme of the user includes the target theme, it indicates that the target theme is allowed to be pushed in the current user mode of the user, and if the preset theme of the user does not include the target theme, it indicates that the target theme is not allowed to be pushed in the current user mode of the user.
And A4, determining that the user belongs to the target user.
In the case where the preset theme includes the target theme, this step is performed. In practice, in the case that the user mode is not set by the user, the step of determining that the user belongs to the target user may be performed.
And A5, determining that the user does not belong to the target user.
In the case where the target theme is not included in the preset theme, the present step is performed.
And step 205, under the condition that the target user is determined, pushing the message to be pushed to the target user.
In this step, a specific implementation manner of pushing the message to be pushed to the target user may be a pushing manner in the prior art when the target user is determined.
Optionally, in this step, the following pushing manner may also be adopted, specifically including step B1 to step B2:
and B1, determining a push mode set by the target user for the message of the target theme from a preset configuration table of the intelligent device.
In this embodiment, the preset configuration table of the intelligent device further includes: and any user under the user role related to any message theme sets a push mode for the message of the theme. Wherein, the pushing mode may include: pop-up in APP, system push of APP, short message, email, phone call, and the like, but in practice, the push mode may also include other contents, and this embodiment does not limit the specific contents of the push mode. Specifically, the user may set one or more of the above-mentioned push modes as the push mode of the message of the theme, and only needs to set the push mode according to the actual requirements of the user.
In practice, in a preset configuration table of the smart device, the user may set a push time of a certain push mode. Therefore, in this step, for the push method provided with the push time, the push time corresponding to the push method also needs to be acquired.
In this step, the push mode set by each target user for the message of the target topic is determined, and the push time corresponding to the push mode of the message of the target topic is taken as the push time of the message to be pushed.
And B2, pushing the content related to the message to be pushed to the target user in a pushing mode.
In this step, for any determined push mode, if the push mode is set with a push time, the message to be pushed is pushed to the target user at the push time according to the push mode. If the push mode is not provided with the push time, the message to be pushed is pushed to the target user only according to the push mode, and the push time is not limited.
In this step, when the message to be pushed is pushed to the target user, the content related to the message to be pushed at least includes: the method comprises the following steps of obtaining a theme category to which a message to be pushed belongs in a preset theme category and the content of the message to be pushed. To facilitate the user to obtain more content related to the message to be pushed. Specifically, the content related to the message to be pushed may further include: the generation time of the message to be pushed, the object (which may be a person or other things) for triggering the intelligent device to generate the message to be pushed, the manner for triggering the intelligent device to generate the message to be pushed, and the like.
Specifically, the preset topic categories may include, but are not limited to, activity messages, alarm messages, system messages, and the like, and in practice, the preset topic categories may also include other topic categories, and the content of the preset topic categories is not limited in this embodiment.
In practice, under the condition that the preset condition is a non-system message and under the condition that the message to be pushed generated by the intelligent device is a system message, the message to be pushed is pushed according to a preset rule. Specifically, the preset rule used for pushing the message to be pushed is the prior art, and is not described herein again.
The process of pushing the system message is described by taking the example that a host binds a certain intelligent lock and invites family members, so that the family members who successfully invite have the control authority of the intelligent lock.
Specifically, the host invites family members by mail, and in the case where the host issues a mail invitation to the user a, a system message "the host has invited the user a" is generated. Assuming that user a has registered an account with the APP, this piece of system message is pushed to the host and user a. The user A receives a system message that the owner sends the smart lock to you, responds according to the received system message, and supposes that the user A receives the invitation of the owner, and the owner receives the system message that the user A receives the invitation of the owner and becomes a family member. The status of user a (becoming a family member) is recorded in a preset invitation list.
As can be seen from fig. 2, compared with the corresponding embodiment of fig. 1, the flow of the method for pushing a message in the present embodiment highlights the following three points:
the first point is as follows: in the embodiment, the message to be pushed is pushed to the target user, so that the problem that the message pushed to the user in the prior art does not conform to the current scene of the user is solved, that is, the message pushed in the embodiment better conforms to the requirements of the user.
And a second point: under the condition that the message to be pushed is pushed to the target user, the pushing mode of the target user for the message to be pushed is determined from the preset configuration information of the intelligent device, and the determined pushing mode is pushed to the target user, so that the problem that the same message is pushed to the user through a plurality of channels simultaneously in the prior art is solved, wherein the problem that the pushing mode which is not needed by the user is contained in the plurality of channels, and the effect of pushing the message in the pushing mode which is needed by the user is achieved.
A third point: the content related to the message to be pushed and pushed to the target user comprises the following steps: the method comprises the steps of the theme category to which the message to be pushed belongs, the time for generating the message to be pushed, an object for triggering the intelligent equipment to generate the message to be pushed, the triggering mode of the message to be pushed and the content of the message to be pushed. Due to the fact that the attributes such as the theme category are contained, the user can roughly know the urgency degree and the importance degree of the currently pushed message under the condition that the user does not check the specific content of the currently pushed message, and therefore the user can conveniently make a decision whether to check the specific content of the currently pushed message.
With further reference to fig. 3, as an implementation of the methods shown in some of the above figures, the present application provides an embodiment of an apparatus for pushing a message, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied in a server.
As shown in fig. 3, the apparatus for pushing a message of the present embodiment includes: a first determining module 301, a second determining module 302 and a pushing module 303. The first determining module 301 is configured to determine a target subject to which a message to be pushed belongs when the smart device generates the message to be pushed meeting a preset condition; the target subject represents the meaning of the message to be pushed; a second determining module 302 configured to determine a target user for receiving a message to be pushed based on a user role associated with the target topic; the target user belongs to a user under a user role associated with the target subject; and the pushing module 303 is configured to, in a case that the target user is determined, push the message to be pushed to the target user.
In this embodiment, specific processing of the first determining module 301, the second determining module 302, and the pushing module 303 and technical effects thereof may refer to related descriptions of the embodiments corresponding to step 101, step 102, and step 103 in fig. 1, respectively, and are not described herein again.
In some optional implementations of this embodiment, the second determining module 302 includes:
the acquisition submodule is used for acquiring a set value of a push state of a user to a message of the target theme under a user role associated with the target theme; and the determining submodule is used for determining a target user based on the target set value if the target set value used for representing the message allowing the target theme to be pushed exists in the set values acquired by the acquiring submodule.
In some optional implementations of this embodiment, the determining sub-module, configured to determine the target user based on the target setting value, includes:
the determining submodule is specifically used for acquiring a current user mode of a user and a preset theme allowed to be pushed in the current user mode when the user sets the user mode for the user corresponding to any target setting value; the current user mode represents the current state of the user; and under the condition that the preset theme comprises the target theme, determining that the user belongs to the target user, otherwise, determining that the user does not belong to the target user.
In some optional implementations of this embodiment, the means for pushing the message may further include: a third determining module, configured to determine, from preset configuration information of the intelligent device, a pushing manner set by the target user for the message of the target topic before the pushing module 303 pushes the message to be pushed to the target user;
the pushing module 303 is configured to push a message to be pushed to a target user, and includes:
the pushing module 303 is specifically configured to push a message to be pushed to a target user according to a pushing manner.
In some optional implementation manners of this embodiment, the pushing module 303 is configured to push the message to be pushed to the target user according to a pushing manner, and includes:
the pushing module 303 is specifically configured to push content related to a message to be pushed to a target user according to a pushing manner; the content related to the message to be pushed comprises at least: content of a message to be pushed and any of: a target topic, a topic category to which the target topic belongs.
In some optional implementations of the embodiment, the content related to the message to be pushed further includes at least one of: the method comprises the steps of generating time of the message to be pushed, triggering the intelligent equipment to generate an object of the message to be pushed, and triggering the intelligent equipment to generate the mode of the message to be pushed.
It should be noted that the means for pushing the message may be a chip, a component or a module, the means for pushing the message may include a processor and a memory, the first determining module 301, the second determining module 302, the pushing module 303, 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 the corresponding functions.
The processor may include a kernel, which calls the corresponding program unit from the memory. The kernel may be set to one or more, … by adjusting kernel parameters (for purposes of this application).
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.
According to the device for pushing the message provided by the above embodiment of the application, the target user (the user for receiving the message to be pushed) is determined from the users under the user role associated with the target theme by taking the theme of the message to be pushed as a unit, that is, the granularity of dividing the message to be pushed is finer, so that the device better meets the personalized requirements of the users, and the message pushed to the users is more accurate.
Reference is now made to fig. 4, which illustrates a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present application. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 4, the electronic device may include a processor 401, a memory 402, a communication interface 403, an input unit 404, an output unit 405, and a communication bus 406. Wherein the processor 401 and the memory 402 are connected to each other by a communication bus 406. A communication interface 403, an input unit 404 and an output unit 405 are also connected to the communication bus 406.
The communication interface 403 may be an interface of a communication module, such as an interface of a GSM module. In the embodiment of the present application, the processor 401 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices.
In one possible implementation, the memory 402 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the computer.
Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The processor 401 may call a program stored in the memory 402, and in particular, the processor 401 may execute the method for pushing a message as shown in any of the embodiments of fig. 1 to 2 above.
The memory 402 is used for storing one or more programs, which may include program codes including computer operation instructions, in this embodiment, the memory 402 stores at least the programs for implementing the following functions:
under the condition that the intelligent equipment generates a message to be pushed meeting preset conditions, determining a target theme to which the message to be pushed belongs; the target subject represents the meaning of the message to be pushed;
determining a target user for receiving a message to be pushed based on a user role associated with a target topic; the target user belongs to a user under a user role associated with the target subject;
and under the condition that the target user is determined, pushing the message to be pushed to the target user.
The application may further include an input unit 404, and the input unit 404 may include at least one of a touch sensing unit that senses a touch event on the touch display panel, a keyboard, a mouse, a camera, a microphone, and the like.
The output unit 405 may include: at least one of a display, a speaker, a vibration mechanism, a light, and the like. The display may comprise a display panel, such as a touch display panel or the like. In one possible case, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-emitting diode (OLED), or the like. The vibration mechanism can enable the electronic equipment to generate displacement when in work, and in a possible implementation mode, the vibration mechanism comprises a motor and an eccentric vibrator, and the motor drives the eccentric vibrator to rotate so as to generate vibration. The brightness and/or color of the lamp can be adjusted, and in one possible implementation mode, different information can be embodied through at least one of the on-off, brightness and color of the lamp, for example, the lamp emits red light to embody alarm information.
Of course, the structure of the electronic device shown in fig. 4 does not constitute a limitation of the electronic device in the embodiment of the present application, and in practical applications, the electronic device may include more or less components than those shown in fig. 4, or some components may be combined.
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 method for pushing a message 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 when running implements the method for pushing a message described in the foregoing method embodiments.
The present application further provides a computer program product which, when executed on a data processing device, causes the data processing device to implement the method for pushing messages described in the above method embodiments.
In addition, the electronic device, the processor, the computer-readable medium, or the computer program product provided in the foregoing embodiments of the present application may be all used for executing the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the processor, the computer-readable medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
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, which include both non-transitory and non-transitory, removable and non-removable media, may implement the 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 foregoing description is only illustrative of the preferred embodiments of the present application and the principles of the technology employed 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 embodiments in which the above-described features are combined in particular, and may also include other embodiments in which the above-described features or their equivalents are combined arbitrarily without departing from the scope of the present invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (9)

1. A method for pushing messages, the method comprising:
under the condition that the intelligent equipment generates a message to be pushed meeting preset conditions, determining a target theme to which the message to be pushed belongs; the target subject represents the meaning of the message to be pushed;
determining a target user for receiving the message to be pushed based on the user role associated with the target subject; the target user belongs to a user in a user role associated with the target topic;
under the condition that the target user is determined, pushing the message to be pushed to the target user; the determining a target user for receiving the message to be pushed based on the user role associated with the target topic includes:
acquiring a set value of a pushing state of a user under a user role associated with the target theme on the message of the target theme;
and if a target set value used for representing a message allowing the target theme to be pushed exists in the acquired set values, determining the target user based on the target set value.
2. The method of claim 1, wherein the determining the target user based on the target setting comprises:
for a user corresponding to any target set value, under the condition that the user sets a user mode, acquiring the current user mode of the user and a preset theme which is allowed to be pushed under the current user mode; the current user mode represents a current state of the user;
and under the condition that the preset theme comprises the target theme, determining that the user belongs to a target user, otherwise, determining that the user does not belong to the target user.
3. The method of claim 2, further comprising, before the pushing the message to be pushed to the target user:
determining a push mode of the target user for the message setting of the target theme from preset configuration information of the intelligent device;
the pushing the message to be pushed to the target user includes:
and pushing the message to be pushed to the target user according to the pushing mode.
4. The method according to claim 3, wherein the pushing the message to be pushed to the target user in the pushing manner includes:
pushing content related to the message to be pushed to the target user according to the pushing mode;
the content related to the message to be pushed at least comprises: the content of the message to be pushed and any one of: the target subject and a subject category to which the target subject belongs.
5. The method of claim 4, wherein the content related to the message to be pushed further comprises at least one of: the generation time of the message to be pushed, the object triggering the intelligent equipment to generate the message to be pushed, and the mode triggering the intelligent equipment to generate the message to be pushed.
6. An apparatus for pushing messages, the apparatus comprising:
the system comprises a first determining module, a second determining module and a sending module, wherein the first determining module is used for determining a target theme to which a message to be pushed belongs under the condition that the intelligent equipment generates the message to be pushed meeting preset conditions; the target subject represents the meaning of the message to be pushed;
a second determining module, configured to determine, based on a user role associated with the target topic, a target user for receiving the message to be pushed; the target user belongs to a user under a user role associated with the target topic; the determining a target user for receiving the message to be pushed based on the user role associated with the target topic includes: acquiring a set value of a pushing state of a user under a user role associated with the target theme on the message of the target theme; if a target set value used for representing a message allowing the target theme to be pushed exists in the obtained set values, determining the target user based on the target set value;
and the pushing module is used for pushing the message to be pushed to the target user under the condition that the target user is determined.
7. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method for pushing messages according to any one of claims 1 to 5.
8. A processor for executing a program, wherein the program when running implements the method for pushing messages according to any of claims 1-5.
9. An electronic device, 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 for pushing messages as recited in any of claims 1-5.
CN201911405154.8A 2019-12-31 2019-12-31 Method and device for pushing messages Active CN113132429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911405154.8A CN113132429B (en) 2019-12-31 2019-12-31 Method and device for pushing messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911405154.8A CN113132429B (en) 2019-12-31 2019-12-31 Method and device for pushing messages

Publications (2)

Publication Number Publication Date
CN113132429A CN113132429A (en) 2021-07-16
CN113132429B true CN113132429B (en) 2022-09-06

Family

ID=76768624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911405154.8A Active CN113132429B (en) 2019-12-31 2019-12-31 Method and device for pushing messages

Country Status (1)

Country Link
CN (1) CN113132429B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114495336A (en) * 2022-02-24 2022-05-13 深圳绿米联创科技有限公司 Intelligent door lock information pushing method and device, electronic equipment and storage medium
CN116896582B (en) * 2023-09-11 2023-12-15 四川中电启明星信息技术有限公司 Multi-level organization-oriented real-time message pushing method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440241A (en) * 2013-06-24 2013-12-11 杭州朗和科技有限公司 Method and equipment for transmitting dynamic information, and method and equipment for querying dynamic information
CN106412078A (en) * 2016-10-18 2017-02-15 北京京东尚科信息技术有限公司 Precise information pushing method and system, and devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954410B (en) * 2014-03-31 2019-07-05 腾讯科技(北京)有限公司 Information push method, device, server and computer readable storage medium
CN104967552A (en) * 2014-11-12 2015-10-07 腾讯科技(深圳)有限公司 Message push method and apparatus
CN104572840B (en) * 2014-12-11 2018-09-07 百度在线网络技术(北京)有限公司 A kind of method and apparatus for providing PUSH message
CN104992257A (en) * 2014-12-24 2015-10-21 厦门大洋通信有限公司 Supervision method and system of supporting pushing messages
CN106973096B (en) * 2017-03-27 2021-02-12 腾讯科技(深圳)有限公司 Data pushing method and device
CN107809489A (en) * 2017-11-17 2018-03-16 南京感度信息技术有限责任公司 A kind of message push system based on MQTT agreements

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440241A (en) * 2013-06-24 2013-12-11 杭州朗和科技有限公司 Method and equipment for transmitting dynamic information, and method and equipment for querying dynamic information
CN106412078A (en) * 2016-10-18 2017-02-15 北京京东尚科信息技术有限公司 Precise information pushing method and system, and devices

Also Published As

Publication number Publication date
CN113132429A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US10158734B2 (en) Trigger associated notification delivery in an enterprise system
US9813882B1 (en) Mobile notifications based upon notification content
US20200111060A1 (en) Task reminder method and apparatus, and method and apparatus for generating and presenting reminder message
TW201927014A (en) System, method, and device for providing notifications in group communication
TWI683251B (en) Interface display method and device
US10841896B2 (en) Selectively sending notifications to mobile devices using device filtering process
US10546153B2 (en) Attention based alert notification
US10931783B2 (en) Targeted profile picture selection
KR20150082440A (en) Using metadata to summarize social media content
WO2019085642A1 (en) Method and device for implementing do-not-disturb mode
CN113132429B (en) Method and device for pushing messages
US20190129727A1 (en) User pattern prediction using a neural network
US10171654B2 (en) Multi-dimensional auditory notification composition based on sender categorizations
CN112152913B (en) Service control method, device and system
US11646020B2 (en) Communication notification management
US20200220933A1 (en) Methods and systems for managing multi-channel computing environments to optimize user efficiency
US11294557B2 (en) Team configuration method, and method and apparatus for sharing team configuration solution
US20190347279A1 (en) Bias identification in social network posts
US10984800B2 (en) Personal assistant device responses based on group presence
CN111770011A (en) Risk prompting method and device, electronic equipment and computer readable storage medium
US20170041262A1 (en) Prioritizing and handling of messages across multiple communication systems
US11455644B2 (en) Dynamic governance of exposing inquiries and notifications at client devices
US20200201823A1 (en) Shared modified file
US20230054815A1 (en) Systems and methods for prioritizing alerts
US20220179976A1 (en) Systems and methods for processing requests for access

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100085 10th and 11th floors, building 1, zone 2, 81 Beiqing Road, Haidian District, Beijing

Patentee after: Yunding Network Technology (Beijing) Co.,Ltd.

Address before: 100085 10th and 11th floors, building 1, zone 2, 81 Beiqing Road, Haidian District, Beijing

Patentee before: YUN DING NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

CP01 Change in the name or title of a patent holder