WO2016192244A1 - Message management method and device, mobile terminal and storage medium - Google Patents

Message management method and device, mobile terminal and storage medium Download PDF

Info

Publication number
WO2016192244A1
WO2016192244A1 PCT/CN2015/090058 CN2015090058W WO2016192244A1 WO 2016192244 A1 WO2016192244 A1 WO 2016192244A1 CN 2015090058 W CN2015090058 W CN 2015090058W WO 2016192244 A1 WO2016192244 A1 WO 2016192244A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
push
priority
pushing
policy
Prior art date
Application number
PCT/CN2015/090058
Other languages
French (fr)
Chinese (zh)
Inventor
贺康
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016192244A1 publication Critical patent/WO2016192244A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to a message management technology in a mobile terminal, and in particular, to a message management method and apparatus for a mobile terminal, a mobile terminal, and a storage medium.
  • the message received by the user notification bar is generally intercepted, and then stored in the interception pool, and the user intercepts the pool to view the message.
  • the message is about to be displayed in the notification bar, the information of the message to be displayed, the number of messages, and the like are intercepted, and the intercepted message is stored without notification.
  • the intercepted message is displayed.
  • this method simply intercepts and saves the push message. After the message is intercepted, the user cannot receive the message; this method only considers how to avoid disturbing the user, but ignores the user's need for pushing the message.
  • embodiments of the present invention are directed to a message management method, apparatus, mobile terminal, and storage medium, which are capable of optimizing a message push mechanism and avoid frequently pushing messages to disturb users. And enable users to get the most attention.
  • An embodiment of the present invention provides a message management method, where the method includes:
  • the push result of the message is displayed.
  • the method further includes: the preset message pushing policy, including:
  • the pushing the obtained message according to the preset message pushing policy and the priority of each message includes:
  • the current time period is determined, and the obtained message is pushed in the priority order according to the message pushing policy and the message pushing mode corresponding to the current time period.
  • the push result includes but is not limited to message content, message time, and message priority.
  • the method further includes: pushing the message to the voice broadcast.
  • the method further includes:
  • the application When receiving a click operation by the user on the pushed message, the application jumps to the application corresponding to the message.
  • the embodiment of the present invention further provides a message management apparatus, where the apparatus includes: a message acquisition module, a message analysis module, a message pushing module, and a display module, where
  • the message obtaining module is configured to acquire a message to be pushed, and send the obtained message to the message analysis module;
  • the message analyzing module is configured to determine a priority of the message, and send the priority of the message to the message pushing module;
  • the message pushing module is configured to push the message according to a preset message pushing policy and the priority
  • the display module is configured to display a push result of the message.
  • the message pushing module is further configured as a preset message pushing policy
  • the message pushing module includes: a time segment dividing unit and a push policy setting unit, where
  • the time segment dividing unit is configured to divide the time period
  • the push policy setting unit is configured to determine a message push policy and a message push mode corresponding to each time period.
  • the message pushing module is configured to: determine the current time period, and push the obtained message according to the priority order according to the message pushing policy and the message pushing mode corresponding to the current time period.
  • the push result includes but is not limited to message content, message time, and message priority.
  • the device further includes a voice broadcast module configured to push the message to perform voice broadcast.
  • the device further includes a jump module configured to jump to an application corresponding to the message when receiving a click operation of the pushed message by the user.
  • the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the message management apparatus according to any one of the above items.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for executing the message management method of the embodiment of the invention.
  • the message management method and device, the mobile terminal, and the storage medium provided by the embodiment of the present invention acquire a message to be pushed, determine a priority of the message, and then, according to a preset message pushing policy and the priority, The message is pushed; finally, the push result of the message is displayed.
  • the message pushing scheme can be optimized, and the user's favorite message is filtered out, and the user is pushed to the user according to the current busy degree of the time zone, so as to avoid frequent push messages to disturb the user, and enable the user to obtain the most concerned message and improve the message. user experience.
  • FIG. 1 is a schematic flowchart of a message management method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for obtaining a message to be pushed according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for determining a priority of each application according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a preset message pushing policy method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for pushing an acquired message according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a message management apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a message acquiring module according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a message analysis module according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a message pushing module according to an embodiment of the present invention.
  • the message to be pushed is first obtained, and the priority of the message is determined; then, according to the preset message pushing policy and the priority, the message is pushed, and finally the push result of the message is displayed. .
  • the priority determining policy and the message pushing policy are first set, and then the priority of each message is determined according to the priority determining policy, and the message pushing policy and the message pushing mode and the corresponding information according to the current time period.
  • the priority of each message is described, and the acquired messages are pushed in order of priority.
  • the acquired message to be pushed is a message that needs to be intercepted and uniformly managed, and the message to be pushed is not required to be intercepted and unifiedly managed.
  • the message is not processed, Push directly.
  • system information such as alarm information and error information can be directly pushed without any processing.
  • FIG. 1 is a schematic flowchart of a message management method according to an embodiment of the present invention. As shown in FIG. 1 , the message management method in this embodiment includes the following steps:
  • Step 101 Obtain a message to be pushed
  • FIG. 2 the schematic diagram of the method for obtaining the message to be pushed is shown in FIG. 2, and includes the following steps:
  • Step 101A Acquire the content of the message in the process of sending the message to the notification bar
  • a broadcast receiver object is first registered in the operating system, and when the message is received, the operating system generates an event, and the broadcast receiver object is notified, and the receiver object captures the message after receiving the message;
  • Step 101B Determine whether the message is a message that needs to be intercepted and unified management; when the message is a message that needs to be intercepted and unified management, step 101C is performed; otherwise, step 101D is performed;
  • the interception policy can be preset to determine the types of messages that need to be intercepted and uniformly managed, and the types of messages that need to be intercepted and uniformly managed.
  • messages that need to be intercepted and uniformly managed can be: SMS, news, weather.
  • Push messages such as missed calls, schedules, stocks, music, Weibo messages, WeChat messages, software update notifications, etc., etc.
  • messages that do not need to be intercepted and unified management can be: alarm information, error information
  • error information Such as system information, as well as Bluetooth, wifi and other information
  • interception strategy can be customized by the user, such as the user can set whether each application needs to be intercepted; can also use the default settings.
  • Step 101C intercept and store the message
  • the message will not be displayed in the notification bar, and the user may be prompted to have a new message generated in the prompt interface in the existing message manager;
  • the message is stored as: the message is stored in a tree structure according to its classification.
  • Step 101D Push the message directly
  • Step 102 Determine a priority of the message
  • the priority of the message is determined based on a category of an application corresponding to the message and a keyword in the message;
  • the priority determination policy may be set in advance, and then the priority of the message is determined according to the priority determination policy.
  • the priority determination policy may be set according to a user's preference, for example, based on a category of an application corresponding to the message and a keyword in the message, pre-setting a program category and a blacklist program category that the user cares about, and a user's concern.
  • the message keyword and the blacklist keyword are used to determine the application category and the message content corresponding to the message that needs to be determined.
  • the application corresponding to the message that needs to be determined belongs to the category that the user cares for, the corresponding message is added.
  • the score reduces the score corresponding to the message; when there is a keyword that the user cares about in the message that needs to be determined, the score corresponding to the message is increased, and vice versa, the score corresponding to the message is decreased. Finally, according to the final score of each message, the priority of each message is determined.
  • FIG. 3 a schematic flowchart of a method for determining a priority of the message according to an embodiment of the present invention is shown in FIG. 3, and includes the following steps:
  • Step 102A Determine an application category and a message content corresponding to the message.
  • applications such as Tencent News and Sina News correspond to the “News” category
  • applications such as Storm Video and PPTV correspond to the “Video” category
  • Step 102B score the message according to an application category and a message content corresponding to the message;
  • each message is scored according to a preset priority determination policy and an application category and message content corresponding to the message;
  • the program category and the blacklist program category that are preset by the user are determined according to the priority
  • the message is prioritized according to the category of the application corresponding to the message, and then the user care preset in the policy is determined according to the priority.
  • Keyword and blacklist keywords based on the keywords in the message, prioritize the message, in one embodiment:
  • the score corresponding to the message is +1.
  • the score corresponding to the message is -1, and the application category corresponding to the message. If the two cases are not the above, the score corresponding to the message is unchanged;
  • the score corresponding to the message is +1, and when the text content of the message has a blacklist keyword, each matches a blacklist.
  • the keyword corresponds to a score of -1.
  • Step 102C Determine a priority corresponding to the message according to the score of the message.
  • the final score of the message is determined as the priority corresponding to each message; after determining the priority corresponding to each message, all the messages are sorted in descending order of priority, for the same priority. Messages, sorted in chronological order.
  • Step 103 Push the message according to a preset message pushing policy and the priority.
  • the method further includes: a preset message pushing policy;
  • FIG. 4 is a schematic flowchart of a preset message pushing policy method according to an embodiment of the present invention, as shown in FIG. 4, including the following steps:
  • Step A dividing the time period
  • the time segment is first divided, so that different pushes can be set in different time segments when determining the message policy. Strategy.
  • the time period may be divided according to the current busyness of the user; when dividing the time period, the cycle period of each time period may be set, for example, one day is a small period, and the day is divided according to the user's busyness. For a plurality of time periods; then one week is a large period, and the time period of all working days of one week is divided in the same way, and the time periods of all the rest days are divided in the same way, and the working days and the rest days may not be distinguished.
  • the method of dividing the time of day is the same.
  • Step B determining a message pushing policy and a message pushing mode corresponding to each time segment
  • the push policy corresponding to each time segment is separately set, where the push policy includes which messages need to be pushed in the current time period, and which messages are not allowed to be pushed; the push policy is set according to user requirements, for example, In a certain period of time, it may be set that all messages are not pushed, or all messages are pushed, or part of the messages are pushed; in an embodiment, the time period during which the user goes to work may be set to be all network messages. Accept, only receive the message of the short message class; the user does not accept any message during the time period of rest; the time period of the user entertainment only receives the message of several applications of interest or the message including the keyword of interest to the user, Receive all messages during weekends such as weekends when users are bored.
  • the message pushing policy may also be modified and saved according to a user instruction.
  • multiple message push policies can also be set, and one of the message push policies is set or modified according to the user instruction to the default message push policy of the current time period.
  • Step C setting a message pushing manner corresponding to each time period
  • the pushing mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc.
  • the pushed content includes but is not limited to message content, message time, and message priority.
  • the search result that is of interest to the user may be attached; the search may be performed on the network based on the keyword that the user cares about, and then pushed in chronological order.
  • FIG. 5 The schematic diagram of the method for pushing the obtained message is shown in FIG. 5, and includes the following steps:
  • Step 103A Determine a current time period
  • Step 103B Obtain a message push policy and a message push mode corresponding to the current time zone
  • Step 103C Push the obtained message according to the message pushing policy and the message pushing mode corresponding to the current time period, and push the obtained message according to the priority order.
  • the pushing mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc.
  • the pushed content includes but is not limited to message content, message time, and message priority.
  • the search result that is of interest to the user may be attached; the search may be performed on the network based on the keyword that the user cares about, and then pushed in chronological order.
  • Step 104 Display a message push result and perform a voice broadcast
  • the push result is displayed in a new format, and the newly pushed interface displays content such as message content, message time, priority score, and the like, and may also include search results that are of interest to the user.
  • the message including the message content, the message time, the message priority, and the like is displayed on the display of the mobile terminal through a dialog box, a desktop display, a notification bar, etc., and can also be broadcasted by voice;
  • the voice message is broadcasted on the new message, missed call, schedule, weather, news, stock, music, Weibo Top10 message, WeChat message, etc. in the pushed message.
  • the method further includes: when receiving a click operation of the pushed message by the user, jumping to an application corresponding to the message.
  • the message management method in the embodiment of the present invention for the message to be pushed to the display interface, first captures the message, and determines that the message is a message that needs to be intercepted and uniformly managed, and then intercepts and stores the message, and when the message is an emergency message, Push to the user in real time; analyze and analyze the category and content of the message that is intercepted and saved, determine the policy according to the priority set by the user, score the message, determine the priority of the message; determine the time period of the current time, according to the current time
  • the message push policy of the time period determines whether the message is pushed now or to a specific time period; the push results are displayed in a new display mode in order of priority.
  • Example 1 The mobile terminal receives a short message starting at 10086, and when the short message is to be pushed to the notification bar, the message content is obtained; the content of the message is a short message, which belongs to a message that needs to be intercepted and unifiedly managed, and the short message is intercepted and stored;
  • the short message belongs to the program category that the user cares about, and the score corresponding to the short message is +1; the short message sender 10086 belongs to the key number that the user cares about, and the score corresponding to the short message is further +1, and the final determined message is The corresponding score is 2; (here, if 10086 is in the blacklist set by the user, then the corresponding score of the short message is -1 point in this step, and the final determined score of the short message is 0); the short message is finally determined.
  • the score is taken as the priority of the short message, and is prepared to be pushed to the client together with all the unread messages; when pushing, firstly, the time period in which the current time is located is obtained, and then the corresponding time period is obtained.
  • the message push policy, the message push policy corresponding to the current time period is that the message push policy is not allowed, then the push is not performed, only the number of unread messages is updated, and the next time period is waited for, according to the message push policy of the next time period, whether to push or not.
  • the message pushing policy in a certain period of time allows the short message to be pushed, the short message is pushed to the user in order of priority from the highest to the lowest in the order of priority, and the new display interface is used.
  • the content, time, priority and other information of the short message are displayed and broadcasted by voice.
  • Example 2 Receive a NetEase news, when the news is to be pushed to the notification bar, obtain the message content; determine the message content as a news message, belong to the message that needs to be intercepted and unified management, intercept and store the news; preset priority
  • Netease News belongs to the program category that the user cares about, and the score corresponding to the news is +1; the text content of the news is analyzed, and the news includes three keywords of “Japan”, “Abe” and “World War II”, the news The corresponding score is further +3; the final determined score corresponding to the news is 4; the final score of the news is taken as the priority of the news, and is prepared to be pushed to the user together with all the unread messages; the time of the current time is viewed.
  • the segment then obtains the message pushing policy corresponding to the current time period. If the message pushing policy corresponding to the current time period allows the news to be pushed, it is directly pushed to the user; if the message pushing policy corresponding to the current time period does not allow the news information to be pushed, Then do not push, only update the number of unread messages, wait for the next time period and then root According to the message pushing policy of the next time period, whether to push or not, until the message pushing policy in a certain period of time allows the news to be pushed, the news and the other messages allowed to be pushed in the current time period are prioritized from high to low. The order is pushed to the user, and the content, time, priority, and the like of the news are displayed through a new display interface, and broadcasted by voice.
  • FIG. 6 is a schematic structural diagram of a message management apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a message acquisition module 61, a message analysis module 62, and a message pushing module. 63. A display module 64, wherein
  • the message obtaining module 61 is configured to acquire a message to be pushed, and send the message Sended to the message analysis module;
  • FIG. 7 is a schematic structural diagram of a message obtaining module 61 according to an embodiment of the present invention.
  • the message obtaining sub-module 61 includes: a message acquiring unit 611, a message determining unit 612, and a message intercepting unit 613.
  • the message obtaining unit 611 is configured to acquire the content of the message in the process of sending the message to the notification bar.
  • the message obtaining unit 611 first registers a broadcast receiver object in the operating system. When the message is received, the operating system generates an event that notifies the broadcast receiver object that the receiver object captures the message after receiving the message;
  • the message determining unit 612 is configured to determine whether the message is a message that needs to be intercepted and unifiedly managed; and the result of the determination is sent to the message intercepting unit 613; in an embodiment, the message determining unit 612 can preset the intercepting
  • the strategy determines the types of messages that need to be intercepted and uniformly managed and the types of messages that do not need to be intercepted and uniformly managed.
  • messages that need to be intercepted and uniformly managed can be: SMS, news, weather, missed calls, schedule, stock , music, Weibo messages, WeChat messages, software update notifications, etc.
  • the message intercepting unit 613 is configured to intercept and store the message when the message is a message that needs to be intercepted and uniformly managed; in an embodiment, when the message is a message that needs to be intercepted and uniformly managed The message will not be displayed in the notification bar, and the user may be prompted to have a new message to be received in the prompt interface of the existing message manager.
  • the message obtaining module 61 further includes a storage unit 614. In order to classify messages according to their classification, they are stored in a tree structure.
  • the message When the message is not a message that needs to be intercepted and uniformly managed, the message is directly pushed; for example, for important or urgent messages required by the user, no interception is performed, directly Push to the notification bar to prompt.
  • the message analysis module 62 is configured to determine a priority of each message
  • the message analysis module 62 determines the priority of each message based on the category of the application corresponding to the message and the keyword in the message; in an embodiment, the message analysis module 62 presets the priority. A policy is determined, and then the priority of the message is determined based on the priority determination policy.
  • the priority determination policy may be set according to a user's preference, for example, based on a category of an application corresponding to the message and a keyword in the message, pre-setting a program category and a blacklist program category that the user cares about, and a user's concern.
  • the message keyword and the blacklist keyword are used to determine the application category and the message content corresponding to the message that needs to be determined.
  • the corresponding message When the application corresponding to the message that needs to be determined belongs to the category that the user cares for, the corresponding message is added.
  • the score reduces the score corresponding to the message; when there is a keyword that the user cares about in the message that needs to be determined, the score corresponding to the message is increased, and vice versa, the score corresponding to the message is decreased. Finally, according to the final score of each message, the priority of each message is determined.
  • FIG. 8 is a schematic structural diagram of a message analysis module 62 according to an embodiment of the present invention.
  • the message analysis module 62 includes: an attribute determining unit 621, a score determining unit 622, and a priority determining unit 623, where
  • the attribute determining unit 621 is configured to determine an application category and a message content corresponding to the message
  • applications such as Tencent News and Sina News correspond to the “News” category
  • applications such as Storm Video and PPTV correspond to the “Video” category
  • the score determining unit 622 is configured to score the message according to an application category and a message content corresponding to the message;
  • the score determining unit 622 scores each message according to a preset priority determination policy and an application category and message content corresponding to the message;
  • Priority scoring in one embodiment:
  • the score corresponding to the message is +1.
  • the score corresponding to the message is -1, and the application category corresponding to the message. If the two cases are not the above, the score corresponding to the message is unchanged;
  • the score corresponding to the message is +1, and when the text content of the message has a blacklist keyword, each matches a blacklist.
  • the keyword corresponds to a score of -1.
  • the priority determining unit 623 is configured to determine a priority corresponding to the message according to the score of the message.
  • the priority determining unit 623 determines the final score of the message as the priority corresponding to each message; after determining the priority corresponding to each message, all the messages are prioritized from high to low. The order is sorted, sorted in chronological order for messages of the same priority.
  • the message pushing module 63 is configured to push the message according to a preset message pushing policy and the priority;
  • the message pushing module 63 is further configured to preset a message pushing policy
  • FIG. 9 is a schematic structural diagram of a message pushing module 63 according to an embodiment of the present invention.
  • the message pushing module 63 includes: a time segment dividing unit 631 and a pushing policy setting unit 632, where
  • the time period dividing unit 631 is configured to divide the time period
  • the time segment dividing unit 631 first performs the time period before setting the message pushing policy.
  • the partitioning enables different push policies to be set at different time periods when determining the message policy.
  • the time period may be divided according to the current busyness of the user; when dividing the time period, the cycle period of each time period may be set, for example, one day is a small period, and the day is divided according to the user's busyness. For a plurality of time periods; then one week is a large period, and the time period of all working days of one week is divided in the same way, and the time periods of all the rest days are divided in the same way, and the working days and the rest days may not be distinguished.
  • the method of dividing the time of day is the same.
  • the push policy setting unit 632 is configured to determine a message push policy and a message push mode corresponding to each time period;
  • the push policy setting unit 632 sets a push policy corresponding to each time segment, where the push policy includes which messages need to be pushed in the current time period, and which messages are not allowed to be pushed; the push policy is based on The user needs to set, for example, in a certain period of time, it can be set that all messages are not pushed, or all messages are pushed, or some messages are pushed; in an embodiment, the time period during which the user goes to work can be set.
  • the message pushing policy may also be modified and saved according to a user instruction.
  • multiple message push policies can also be set, and one of the message push policies is set or modified according to the user instruction to the default message push policy of the current time period.
  • the message pushing module 63 further includes a pushing mode setting unit 633 configured to set a message pushing mode corresponding to each time segment;
  • the push mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc., and the pushed content includes but is not limited to message content, message time, and message priority.
  • the search result that is of interest to the user can also be attached;
  • the keywords of interest are pushed in chronological order after searching on the web.
  • the message pushing unit 63 is configured to: obtain the time period in which the current time is located, and push the obtained message according to the priority order according to the message pushing policy and the message pushing mode corresponding to the current time zone. .
  • the message pushing unit 63 further includes a push execution unit 634 configured to push the obtained message according to a preset message pushing policy and a priority of each message;
  • the push execution unit 634 first determines the current time period, and then obtains the message push policy and the message push mode corresponding to the current time zone, and then obtains the message according to the current push time corresponding to the message push policy and the message push mode. Messages are pushed in order of priority.
  • the push mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc., and the pushed content includes but is not limited to message content, message time, and message priority.
  • the search result that is of interest to the user may be attached; the search may be performed on the network based on the keyword that the user cares about, and then pushed in chronological order.
  • the display module 64 is configured to display a push result of the message
  • the display module 64 will display the push result including the message content, the message time, and the message priority in a new format, and the newly pushed interface displays the content of the message, the message time, the message priority score, and the like. Search results that are of interest to the user can be included.
  • the device further includes a voice broadcast module 65 configured to send a message push result for voice broadcast.
  • the message including the message content, the message time, the message priority, and the like is displayed on the display of the mobile terminal through a dialog box, a desktop display, a notification bar, and the like.
  • the display After the display, it can also be broadcasted by voice; for example, the new short message, missed call, schedule, weather, news, stock, music, Weibo Top10 message, WeChat message, etc. in the pushed message are broadcasted.
  • the device further includes a jump module 66 configured to jump to an application corresponding to the message when receiving a click operation of the pushed message by the user.
  • a message when clicked, such as viewing a news message, it switches to the corresponding application, opens the message interface of the corresponding application, and sets the message as a read message.
  • the jump module 66 uses different jump strategies for the application that comes with the system and the application that is from the third party in the process of jumping to the application corresponding to the message; for the application that comes with the system, In the jump, directly access the library function interface api, call the data, convert it to text and display it; for the application from the third party, in the Android system, the interface of the application corresponding to the message is opened by the activity, and then the interface is obtained.
  • the control of the current interface reads the getText() function of the application's Testview control. For IOS, the Windows phone system is also the same.
  • Each module and unit in the message management apparatus provided in the embodiment of the present invention may be implemented by a processor, and may also be implemented by a specific logic circuit; wherein the processor may be a processor on a mobile terminal or a server.
  • the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
  • the foregoing service scheduling method is implemented in the form of a software function module and is sold or used as an independent product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the message management method of the embodiment of the present invention.

Abstract

Provided are a message management method, comprising: acquiring a message to be pushed, and determining the priority of the message; pushing the message according to a pre-set push strategy and the priority; and displaying a message push result. Further provided are a message management device, and a mobile terminal and a storage medium.

Description

一种消息管理方法、装置、移动终端及存储介质Message management method, device, mobile terminal and storage medium 技术领域Technical field
本发明涉及移动终端中消息管理技术,尤其涉及一种移动终端的消息管理方法、装置、移动终端及存储介质。The present invention relates to a message management technology in a mobile terminal, and in particular, to a message management method and apparatus for a mobile terminal, a mobile terminal, and a storage medium.
背景技术Background technique
目前,适用于智能移动终端中的应用程序越来越多,用户在享受各种应用程序带来的便利的同时,也会接收到大量的网络订阅消息。各种订阅消息一般都会实时的推送到移动终端。用户在工作、休息、学习时,会被这些频繁弹出的推送消息所打断,从而对用户造成一定的影响;并且,这些推送消息没有对消息重要性进行划分,导致用户在阅读时候没有层次性,在一定程度上浪费了用户的时间,忽略了用户真正的需求。At present, there are more and more applications for smart mobile terminals, and users enjoy a large number of network subscription messages while enjoying the convenience brought by various applications. Various subscription messages are generally pushed to the mobile terminal in real time. When users are working, resting, and learning, they are interrupted by these frequently popped push messages, which have a certain impact on users. Moreover, these push messages do not divide the importance of messages, resulting in users not having hierarchy when reading. , to a certain extent wasted user time, ignoring the real needs of users.
现有的消息管理方法中,一般是将用户通知栏收到的消息进行拦截,然后统一存放在拦截池里,用户自行去拦截池里查看消息。当消息即将要显示到通知栏的时候,拦截要显示的消息内容、消息个数等信息,将拦截的消息进行存储,不进行通知,当用户去拦截池查看时,将拦截的消息进行显示。In the existing message management method, the message received by the user notification bar is generally intercepted, and then stored in the interception pool, and the user intercepts the pool to view the message. When the message is about to be displayed in the notification bar, the information of the message to be displayed, the number of messages, and the like are intercepted, and the intercepted message is stored without notification. When the user goes to the interception pool to view, the intercepted message is displayed.
但是,这种方法仅仅是将推送消息拦截并保存,在对消息进行拦截后,用户无法接收到消息;这一方法仅仅考虑了如何避免打扰用户,但是却忽略了用户对推送消息的需求。However, this method simply intercepts and saves the push message. After the message is intercepted, the user cannot receive the message; this method only considers how to avoid disturbing the user, but ignores the user's need for pushing the message.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种消息管理方法、装置、移动终端及存储介质,能够优化消息推送机制,避免频繁推送消息打扰用户,并 且使用户能够获得最为关注的消息。In view of this, embodiments of the present invention are directed to a message management method, apparatus, mobile terminal, and storage medium, which are capable of optimizing a message push mechanism and avoid frequently pushing messages to disturb users. And enable users to get the most attention.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种消息管理方法,所述方法包括:An embodiment of the present invention provides a message management method, where the method includes:
获取将要推送的消息,确定所述消息的优先级;Obtain a message to be pushed to determine the priority of the message;
根据预设的消息推送策略以及所述优先级,将所述消息进行推送;Pushing the message according to a preset message push policy and the priority;
显示所述消息的推送结果。The push result of the message is displayed.
上述方案中,所述方法还包括:所述预设的消息推送策略,包括:In the foregoing solution, the method further includes: the preset message pushing policy, including:
对时间段进行划分;Divide the time period;
确定各时间段对应的消息推送策略和消息推送方式。Determine the message push policy and message push mode corresponding to each time period.
上述方案中,所述根据预设消息推送策略以及所述各消息的优先级,将所获取的消息进行推送包括:In the above solution, the pushing the obtained message according to the preset message pushing policy and the priority of each message includes:
确定当前所在的时间段,根据当前所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。The current time period is determined, and the obtained message is pushed in the priority order according to the message pushing policy and the message pushing mode corresponding to the current time period.
上述方案中,所述推送结果包括但不限于消息内容,消息时间,消息优先级。In the above solution, the push result includes but is not limited to message content, message time, and message priority.
上述方案中,所述方法还包括:将消息推送结果进行语音播报。In the above solution, the method further includes: pushing the message to the voice broadcast.
上述方案中,在将所获取的消息进行推送后,所述方法还包括:In the above solution, after the obtained message is pushed, the method further includes:
当接收用户对所述推送的消息的点击操作时,跳转到所述消息对应的应用程序。When receiving a click operation by the user on the pushed message, the application jumps to the application corresponding to the message.
本发明实施例还提供了一种消息管理装置,所述装置包括:消息获取模块、消息分析模块、消息推送模块、显示模块,其中,The embodiment of the present invention further provides a message management apparatus, where the apparatus includes: a message acquisition module, a message analysis module, a message pushing module, and a display module, where
所述消息获取模块,配置为获取将要推送的消息,并将获取的消息发送到消息分析模块;The message obtaining module is configured to acquire a message to be pushed, and send the obtained message to the message analysis module;
所述消息分析模块,配置为确定所述消息的优先级,并将所述消息的优先级发送到消息推送模块; The message analyzing module is configured to determine a priority of the message, and send the priority of the message to the message pushing module;
所述消息推送模块,配置为根据预设的消息推送策略以及所述优先级,将所述消息进行推送;The message pushing module is configured to push the message according to a preset message pushing policy and the priority;
所述显示模块,配置为显示所述消息的推送结果。The display module is configured to display a push result of the message.
上述方案中,所述消息推送模块还配置为预设消息推送策略;In the above solution, the message pushing module is further configured as a preset message pushing policy;
在一实施例中,所述消息推送模块包括:时间段划分单元、推送策略设置单元,其中,In an embodiment, the message pushing module includes: a time segment dividing unit and a push policy setting unit, where
所述时间段划分单元,配置为对时间段进行划分;The time segment dividing unit is configured to divide the time period;
所述推送策略设置单元,配置为确定各时间段对应的消息推送策略和消息推送方式。The push policy setting unit is configured to determine a message push policy and a message push mode corresponding to each time period.
上述方案中,所述消息推送模块配置为:确定当前所在的时间段,根据当前所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。In the above solution, the message pushing module is configured to: determine the current time period, and push the obtained message according to the priority order according to the message pushing policy and the message pushing mode corresponding to the current time period.
上述方案中,所述推送结果包括但不限于消息内容,消息时间,消息优先级。In the above solution, the push result includes but is not limited to message content, message time, and message priority.
上述方案中,所述装置还包括语音播报模块,配置为将消息推送结果进行语音播报。In the above solution, the device further includes a voice broadcast module configured to push the message to perform voice broadcast.
上述方案中,所述装置还包括跳转模块,配置为当接收用户对所述推送的消息的点击操作时,跳转到所述消息对应的应用程序。In the above solution, the device further includes a jump module configured to jump to an application corresponding to the message when receiving a click operation of the pushed message by the user.
本发明实施例还提供了一种移动终端,所述移动终端包括上述任一项所述消息管理装置。The embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the message management apparatus according to any one of the above items.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,该计算机程序用于执行本发明实施例的消息管理方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for executing the message management method of the embodiment of the invention.
本发明实施例所提供的消息管理方法、装置、移动终端及存储介质,获取将要推送的消息,确定所述消息的优先级;再根据预设的消息推送策略以及所述优先级,将所述消息进行推送;最后显示所述消息的推送结果。 如此,能够优化消息推送方案,筛选出来用户最喜好的消息,根据时间段对应的用户当前忙碌程度采用不同策略推送给用户,避免频繁推送消息打扰用户,并且使用户能够获得最为关注的消息,提高用户体验。The message management method and device, the mobile terminal, and the storage medium provided by the embodiment of the present invention acquire a message to be pushed, determine a priority of the message, and then, according to a preset message pushing policy and the priority, The message is pushed; finally, the push result of the message is displayed. In this way, the message pushing scheme can be optimized, and the user's favorite message is filtered out, and the user is pushed to the user according to the current busy degree of the time zone, so as to avoid frequent push messages to disturb the user, and enable the user to obtain the most concerned message and improve the message. user experience.
附图说明DRAWINGS
图1为本发明实施例消息管理方法流程示意图;1 is a schematic flowchart of a message management method according to an embodiment of the present invention;
图2为本发明实施例获取将要推送的消息的方法流程示意图;2 is a schematic flowchart of a method for obtaining a message to be pushed according to an embodiment of the present invention;
图3为本发明实施例确定各应用程序优先级的方法流程示意图;3 is a schematic flowchart of a method for determining a priority of each application according to an embodiment of the present invention;
图4为本发明实施例预设消息推送策略方法流程示意图;4 is a schematic flowchart of a preset message pushing policy method according to an embodiment of the present invention;
图5为本发明实施例将所获取的消息进行推送的方法流程示意图;FIG. 5 is a schematic flowchart of a method for pushing an acquired message according to an embodiment of the present invention;
图6为本发明实施例消息管理装置结构示意图;6 is a schematic structural diagram of a message management apparatus according to an embodiment of the present invention;
图7为本发明实施例消息获取模块结构示意图;FIG. 7 is a schematic structural diagram of a message acquiring module according to an embodiment of the present invention;
图8为本发明实施例消息分析模块结构示意图;8 is a schematic structural diagram of a message analysis module according to an embodiment of the present invention;
图9为本发明实施例消息推送模块结构示意图。FIG. 9 is a schematic structural diagram of a message pushing module according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例中,先获取将要推送的消息,确定所述消息的优先级;再根据预设的消息推送策略以及所述优先级,将所述消息进行推送,最后显示所述消息的推送结果。In the embodiment of the present invention, the message to be pushed is first obtained, and the priority of the message is determined; then, according to the preset message pushing policy and the priority, the message is pushed, and finally the push result of the message is displayed. .
本发明实施例中,首先设置优先级确定策略和消息推送策略,然后再根据所述优先级确定策略确定各消息的优先级,根据当前时间所在时间段对应的消息推送策略和消息推送方式及所述各消息的优先级,将所获取的消息按照优先级顺序进行推送。In the embodiment of the present invention, the priority determining policy and the message pushing policy are first set, and then the priority of each message is determined according to the priority determining policy, and the message pushing policy and the message pushing mode and the corresponding information according to the current time period. The priority of each message is described, and the acquired messages are pushed in order of priority.
本发明实施例中,在获取将要推送的消息后,还可以判断所获取的将要推送的消息是否为需要进行拦截和统一管理的消息,当所述将要推送的消息为不需要进行拦截和统一管理的消息时,则不对所述消息进行处理, 直接进行推送。例如,对于告警信息,报错信息等系统信息,可以不进行任何处理,直接进行推送。In the embodiment of the present invention, after obtaining the message to be pushed, it may also be determined whether the acquired message to be pushed is a message that needs to be intercepted and uniformly managed, and the message to be pushed is not required to be intercepted and unifiedly managed. The message is not processed, Push directly. For example, system information such as alarm information and error information can be directly pushed without any processing.
下面结合附图及实施例,对本发明实施例技术方案的实施作详细描述。图1为本发明实施例消息管理方法流程示意图,如图1所示,本实施例消息管理方法包括以下步骤:The implementation of the technical solution of the embodiment of the present invention is described in detail below with reference to the accompanying drawings and embodiments. FIG. 1 is a schematic flowchart of a message management method according to an embodiment of the present invention. As shown in FIG. 1 , the message management method in this embodiment includes the following steps:
步骤101:获取将要推送的消息;Step 101: Obtain a message to be pushed;
本步骤中,所述获取将要推送的消息的方法流程示意图如图2所示,包括以下步骤:In this step, the schematic diagram of the method for obtaining the message to be pushed is shown in FIG. 2, and includes the following steps:
步骤101A:在消息发送到通知栏的过程中,获取所述消息的内容; Step 101A: Acquire the content of the message in the process of sending the message to the notification bar;
本步骤中,首先在操作系统中注册一个广播接收器对象,当接收到消息时操作系统会产生一个事件,会通知广播接收器对象,接收器对象接收到消息之后将消息捕获;In this step, a broadcast receiver object is first registered in the operating system, and when the message is received, the operating system generates an event, and the broadcast receiver object is notified, and the receiver object captures the message after receiving the message;
步骤101B:判断所述消息是否为需要进行拦截和统一管理的消息;当所述消息为需要进行拦截和统一管理的消息时,执行步骤101C;否则,执行步骤101D; Step 101B: Determine whether the message is a message that needs to be intercepted and unified management; when the message is a message that needs to be intercepted and unified management, step 101C is performed; otherwise, step 101D is performed;
本步骤中,可以预设拦截策略,确定需要进行拦截和统一管理的消息和不需要进行拦截和统一管理的消息的类型,例如,需要进行拦截和统一管理的消息可以为:短信、新闻、天气、未接来电、日程、股票、音乐、微博消息、微信消息、软件更新通知等各类网络app应用的推送消息等等;不需要进行拦截和统一管理的消息可以为:告警信息、报错信息等系统信息,以及蓝牙、wifi等信息;拦截策略可以由用户自定义设定,如用户可以对每一个应用是否需要拦截进行设定;也可以采用默认设定。In this step, the interception policy can be preset to determine the types of messages that need to be intercepted and uniformly managed, and the types of messages that need to be intercepted and uniformly managed. For example, messages that need to be intercepted and uniformly managed can be: SMS, news, weather. Push messages, such as missed calls, schedules, stocks, music, Weibo messages, WeChat messages, software update notifications, etc., etc.; messages that do not need to be intercepted and unified management can be: alarm information, error information Such as system information, as well as Bluetooth, wifi and other information; interception strategy can be customized by the user, such as the user can set whether each application needs to be intercepted; can also use the default settings.
步骤101C:将所述消息拦截并存储; Step 101C: intercept and store the message;
本步骤中,所述消息将不会在通知栏中进行显示,可以在已有的消息管理器里的提示界面提示用户有新消息产生收到; In this step, the message will not be displayed in the notification bar, and the user may be prompted to have a new message generated in the prompt interface in the existing message manager;
这里,将所述消息进行存储为:将消息按照其分类,以树形结构进行存储。Here, the message is stored as: the message is stored in a tree structure according to its classification.
步骤101D:将所述消息直接进行推送; Step 101D: Push the message directly;
本步骤中,对于用户需要的重要或紧急消息,则不进行拦截,直接推送到通知栏进行提示。In this step, if important or urgent messages required by the user are not intercepted, they are directly pushed to the notification bar for prompting.
步骤102:确定所述消息的优先级;Step 102: Determine a priority of the message;
本发明实施例中,基于消息对应的应用程序的类别和消息中的关键字,确定所述消息的优先级;In the embodiment of the present invention, the priority of the message is determined based on a category of an application corresponding to the message and a keyword in the message;
在一实施例中,可以预先设置优先级确定策略,然后再根据所述优先级确定策略确定所述消息的优先级。这里,所述优先级确定策略可以根据用户的偏好设定,例如,基于消息对应的应用程序的类别和消息中的关键字,预先设置用户关心的程序类别和黑名单程序类别、以及用户关心的消息关键字和黑名单关键字,然后确定需要确定优先级的消息对应的应用程序类别和消息内容,当需要确定优先级的消息对应的应用程序属于用户关心的类别时,增加所述消息对应的分数,反之,减小所述消息对应的分数;当需要确定优先级的消息中有用户关心的关键字时,增加所述消息对应的分数,反之,减小所述消息对应的分数。最后根据各消息最终的分数,确定各消息的优先级。In an embodiment, the priority determination policy may be set in advance, and then the priority of the message is determined according to the priority determination policy. Here, the priority determination policy may be set according to a user's preference, for example, based on a category of an application corresponding to the message and a keyword in the message, pre-setting a program category and a blacklist program category that the user cares about, and a user's concern. The message keyword and the blacklist keyword are used to determine the application category and the message content corresponding to the message that needs to be determined. When the application corresponding to the message that needs to be determined belongs to the category that the user cares for, the corresponding message is added. The score, on the other hand, reduces the score corresponding to the message; when there is a keyword that the user cares about in the message that needs to be determined, the score corresponding to the message is increased, and vice versa, the score corresponding to the message is decreased. Finally, according to the final score of each message, the priority of each message is determined.
在一实施例中,本发明实施例确定所述消息优先级的方法流程示意图如图3所示,包括以下步骤:In an embodiment, a schematic flowchart of a method for determining a priority of the message according to an embodiment of the present invention is shown in FIG. 3, and includes the following steps:
步骤102A:确定所述消息对应的应用程序类别和消息内容; Step 102A: Determine an application category and a message content corresponding to the message.
例如,腾讯新闻、新浪新闻等应用程序对应“新闻”类别,暴风影音、PPTV等应用程序对应“视频”类别;For example, applications such as Tencent News and Sina News correspond to the “News” category, and applications such as Storm Video and PPTV correspond to the “Video” category;
步骤102B:根据所述消息对应的应用程序类别和消息内容,对所述消息进行打分; Step 102B: score the message according to an application category and a message content corresponding to the message;
在一实施例中,根据预设的优先级确定策略以及所述消息对应的应用程序类别和消息内容,对各消息进行打分;In an embodiment, each message is scored according to a preset priority determination policy and an application category and message content corresponding to the message;
例如,首先根据优先级确定策略中预设的用户关心的程序类别和黑名单程序类别,基于消息对应的应用程序的类别对消息进行优先级打分,然后根据优先级确定策略中预设的用户关心的关键字和黑名单关键字,基于消息中的关键字,对消息进行优先级打分,在一实施例中:For example, first, according to the priority, the program category and the blacklist program category that are preset by the user are determined according to the priority, the message is prioritized according to the category of the application corresponding to the message, and then the user care preset in the policy is determined according to the priority. Keyword and blacklist keywords, based on the keywords in the message, prioritize the message, in one embodiment:
当消息对应的应用类别是用户关心的类别时,所述消息对应的分数+1分,当消息对应的应用类别属于黑名单时,所述消息对应的分数-1分,当消息对应的应用类别不属于上述两种情况时,所述消息对应的分数不变;When the application category corresponding to the message is a category that the user cares about, the score corresponding to the message is +1. When the application category corresponding to the message belongs to the blacklist, the score corresponding to the message is -1, and the application category corresponding to the message. If the two cases are not the above, the score corresponding to the message is unchanged;
当消息的文本内容里面有用户关心的关键词时,每匹配一个用户关心的关键词,所述消息对应的分数+1分,当消息的文本内容里面有黑名单关键词,每匹配一个黑名单关键词,所述消息对应的分数-1分,当消息的文本内容中不包含上述两种关键词时,所述消息对应的分数不变。When there is a keyword of interest to the user in the text content of the message, each time a keyword that the user cares for is matched, the score corresponding to the message is +1, and when the text content of the message has a blacklist keyword, each matches a blacklist. The keyword corresponds to a score of -1. When the text content of the message does not include the above two keywords, the score corresponding to the message does not change.
步骤102C:根据所述消息的得分,确定所述消息对应的优先级。 Step 102C: Determine a priority corresponding to the message according to the score of the message.
本步骤中,将所述消息最终的得分确定为各消息对应的优先级;在确定各消息对应的优先级之后,将所有消息按优先级由高到低的顺序进行排序,对于优先级相同的消息,按照时间顺序进行排序。In this step, the final score of the message is determined as the priority corresponding to each message; after determining the priority corresponding to each message, all the messages are sorted in descending order of priority, for the same priority. Messages, sorted in chronological order.
步骤103:根据预设的消息推送策略以及所述优先级,将所述消息进行推送。Step 103: Push the message according to a preset message pushing policy and the priority.
本发明实施例中,所述方法还包括:预设消息推送策略;图4为本发明实施例预设消息推送策略方法流程示意图,如图4所示,包括以下步骤:In the embodiment of the present invention, the method further includes: a preset message pushing policy; FIG. 4 is a schematic flowchart of a preset message pushing policy method according to an embodiment of the present invention, as shown in FIG. 4, including the following steps:
步骤A:对时间段进行划分;Step A: dividing the time period;
由于用户不同时段对消息有着不同的需求,因此,本发明实施例中,在设置消息推送策略之前时,首先对时间段进行划分,使得在确定消息策略时能够在不同的时间段设置不同的推送策略。 In the embodiment of the present invention, before the message pushing policy is set, the time segment is first divided, so that different pushes can be set in different time segments when determining the message policy. Strategy.
其中,所述时间段可以根据用户当前忙碌程度进行划分;在时间段进行划分时,可以设定各时间段的循环周期,例如,以一天为一个小周期,根据用户的忙碌程度,将一天划分为多个时间段;然后以一个星期为一个大周期,一个星期的所有工作日内的时间段划分方法相同,所有休息日内的时间段划分方法相同,也可以不对工作日和休息日进行区分,每天的时间段划分方法相同。The time period may be divided according to the current busyness of the user; when dividing the time period, the cycle period of each time period may be set, for example, one day is a small period, and the day is divided according to the user's busyness. For a plurality of time periods; then one week is a large period, and the time period of all working days of one week is divided in the same way, and the time periods of all the rest days are divided in the same way, and the working days and the rest days may not be distinguished. The method of dividing the time of day is the same.
步骤B:确定各时间段对应的消息推送策略和消息推送方式;Step B: determining a message pushing policy and a message pushing mode corresponding to each time segment;
在对时间段进行划分后,分别设置每个时间段对应的推送策略,所述推送策略中包括当前时间段哪些消息需要推送,哪些消息不许推送;所述推送策略根据用户需求进行设定,例如,在特定的时间段,可以设置为所有消息均不推送、或所有消息均进行推送、或部分消息进行推送;在一实施例中,用户上班的时间段,可以设定为所有网络消息都不接受,仅接收短信类的消息;用户休息的时间段,不接受任何消息;用户娱乐的时间段,只接收感兴趣的几个应用程序的消息或者消息中包括用户感兴趣的关键词的消息,周末等用户无聊的时间段,接收所有消息。设定完成后,还可以根据用户指令对所述消息推送策略进行修改和保存。相同时间段,也可以设置多个消息推送策略,并根据用户指令将其中的一个消息推送策略设置或修改为当前时间段的默认消息推送策略。After the time segment is divided, the push policy corresponding to each time segment is separately set, where the push policy includes which messages need to be pushed in the current time period, and which messages are not allowed to be pushed; the push policy is set according to user requirements, for example, In a certain period of time, it may be set that all messages are not pushed, or all messages are pushed, or part of the messages are pushed; in an embodiment, the time period during which the user goes to work may be set to be all network messages. Accept, only receive the message of the short message class; the user does not accept any message during the time period of rest; the time period of the user entertainment only receives the message of several applications of interest or the message including the keyword of interest to the user, Receive all messages during weekends such as weekends when users are bored. After the setting is completed, the message pushing policy may also be modified and saved according to a user instruction. In the same time period, multiple message push policies can also be set, and one of the message push policies is set or modified according to the user instruction to the default message push policy of the current time period.
步骤C:设置各时间段对应的消息推送方式;Step C: setting a message pushing manner corresponding to each time period;
本发明实施例中,所述推送方式可以各种形式,如推送到对话框,桌面显示,通知栏等,推送的内容包括但不限于消息内容,消息时间,消息优先级。In the embodiment of the present invention, the pushing mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc., and the pushed content includes but is not limited to message content, message time, and message priority.
可选的,推送消息的时候还可以附上用户感兴趣的搜索结果;可以基于用户关心的关键字在网络上进行搜索后按时间先后顺序推送。Optionally, when the message is pushed, the search result that is of interest to the user may be attached; the search may be performed on the network based on the keyword that the user cares about, and then pushed in chronological order.
本发明实施例根据预设消息推送策略以及所述各消息的优先级,将所 获取的消息进行推送的方法流程示意图如图5所示,包括以下步骤:According to the preset message pushing policy and the priority of each message, the embodiment of the present invention The schematic diagram of the method for pushing the obtained message is shown in FIG. 5, and includes the following steps:
步骤103A:确定当前所在的时间段; Step 103A: Determine a current time period;
步骤103B:获取当前所在时间段对应的消息推送策略和消息推送方式; Step 103B: Obtain a message push policy and a message push mode corresponding to the current time zone;
步骤103C:根据当前所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。 Step 103C: Push the obtained message according to the message pushing policy and the message pushing mode corresponding to the current time period, and push the obtained message according to the priority order.
对于优先级相同的消息,按照时间顺序进行推送。对于没有进行推送的消息,保存至下一时间段,然后根据下一时间段的消息推送策略,确定是否进行推送。For messages of the same priority, push in chronological order. For the message that has not been pushed, save to the next time period, and then according to the message push policy of the next time period, determine whether to push.
本发明实施例中,所述推送方式可以各种形式,如推送到对话框,桌面显示,通知栏等,推送的内容包括但不限于消息内容,消息时间,消息优先级。In the embodiment of the present invention, the pushing mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc., and the pushed content includes but is not limited to message content, message time, and message priority.
可选的,推送消息的时候还可以附上用户感兴趣的搜索结果;可以基于用户关心的关键字在网络上进行搜索后按时间先后顺序推送。Optionally, when the message is pushed, the search result that is of interest to the user may be attached; the search may be performed on the network based on the keyword that the user cares about, and then pushed in chronological order.
步骤104:显示消息推送结果,并进行语音播报;Step 104: Display a message push result and perform a voice broadcast;
其中,将推送结果以新的格式进行显示,新推送的界面显示有消息内容,消息时间,优先级分数等内容,还可以包括用户感兴趣的搜索结果。The push result is displayed in a new format, and the newly pushed interface displays content such as message content, message time, priority score, and the like, and may also include search results that are of interest to the user.
本发明实施例中,将包括消息内容,消息时间,消息优先级等信息的消息通过对话框、桌面显示、通知栏等方式在移动终端的显示器上进行显示后,还可以通过语音进行播报;如对推送的消息中的新短信、未接来电、日程、天气、新闻、股票、音乐、微博Top10消息、微信消息等消息进行语音播报。In the embodiment of the present invention, the message including the message content, the message time, the message priority, and the like is displayed on the display of the mobile terminal through a dialog box, a desktop display, a notification bar, etc., and can also be broadcasted by voice; The voice message is broadcasted on the new message, missed call, schedule, weather, news, stock, music, Weibo Top10 message, WeChat message, etc. in the pushed message.
本发明实施例中,在将所获取的消息进行推送后,所述方法还包括:当接收用户对所述推送的消息的点击操作时,跳转到所述消息对应的应用程序。In the embodiment of the present invention, after the obtained message is pushed, the method further includes: when receiving a click operation of the pushed message by the user, jumping to an application corresponding to the message.
例如,当点击某个消息时,如查看一条新闻消息,则切换到对应的应 用程序,打开对应应用的消息界面,并把该消息设置为已读消息。For example, when clicking on a message, such as viewing a news message, switching to the corresponding response Use the program to open the message interface of the corresponding application and set the message as a read message.
在跳转到所述消息对应的应用程序的过程中,对于系统自带的应用程序和来自第三方的应用程序采用不同的跳转策略;对于系统自带的应用程序,在跳转时,直接访问库函数接口api,调用数据,转换为文本后进行显示;对于来自第三方的应用程序,在Android系统通过activity调用打开消息对应的应用程序的界面,然后在界面上获取当前界面的控件,对其所述应用程序的Testview控件getText()函数进行读取,对于IOS,Windows phone系统也是也是同理。In the process of jumping to the application corresponding to the message, different jump strategies are adopted for the application that comes with the system and the application from the third party; for the application that comes with the system, when jumping, directly Access the library function interface api, call the data, convert it to text and display it; for the application from the third party, open the interface of the application corresponding to the message in the Android system through the activity, and then get the control of the current interface on the interface, The application's Testview control getText() function reads it. For IOS, the Windows phone system is also the same.
本发明实施例所述消息管理方法,对于即将推送到显示界面的消息,首先将消息捕获,判断消息为需拦截和统一管理的消息,则将消息进行拦截并进行存储,当消息为紧急消息,实时推送给用户;对拦截保存的消息的类别、内容进行分析分析,根据用户预设的优先级确定策略,对消息进行打分,确定消息的优先级;判断当前时间所处的时间段,根据当前时间段的消息推送策略来判断这条消息是现在推送还是到特定时间段再推送;推送结果按照优先级顺序通过新的显示方式进行显示。The message management method in the embodiment of the present invention, for the message to be pushed to the display interface, first captures the message, and determines that the message is a message that needs to be intercepted and uniformly managed, and then intercepts and stores the message, and when the message is an emergency message, Push to the user in real time; analyze and analyze the category and content of the message that is intercepted and saved, determine the policy according to the priority set by the user, score the message, determine the priority of the message; determine the time period of the current time, according to the current time The message push policy of the time period determines whether the message is pushed now or to a specific time period; the push results are displayed in a new display mode in order of priority.
下面以消息实例,简要介绍本发明实施例所述消息管理方法:The following describes the message management method in the embodiment of the present invention by using a message example:
实例1:移动终端收到一个10086开头的短信,当短信将要推送到通知栏时,获取消息内容;判断消息内容为短信消息,属于需要进行拦截和统一管理的消息,将该短信拦截并存储;预设优先级确定策略中,短信属于用户关心的程序类别,该短信对应的分数+1;短信发送方10086属于用户关心的关键号码,则该短信对应的分数再+1,最终确定的该短信对应的分数为2;(这里,如果10086在用户设置的黑名单中,则此步骤该短信的对应的分数-1分,最终确定的该短信对应的分数为0分);将该短信最终确定的得分作为该短信的优先级,与所有的未读消息一起准备推送给客户;在推送的时候首先查看当前时间所在的时间段,然后获取当前时间段对应的 消息推送策略,当前时间段对应的消息推送策略是不允许短信推送,则不进行推送,只更新未读消息个数,等待下一个时间段再根据下一个时间段的消息推送策略判断是否进行推送,一直到某个时间段内的消息推送策略允许该短信推送时,将该短信与当前时间段允许推送的其他消息按照优先级从高到低的顺序推送给用户,通过新的显示界面将该短信的内容,时间,优先级等信息进行显示,并通过语音进行播报。Example 1: The mobile terminal receives a short message starting at 10086, and when the short message is to be pushed to the notification bar, the message content is obtained; the content of the message is a short message, which belongs to a message that needs to be intercepted and unifiedly managed, and the short message is intercepted and stored; In the preset priority determination policy, the short message belongs to the program category that the user cares about, and the score corresponding to the short message is +1; the short message sender 10086 belongs to the key number that the user cares about, and the score corresponding to the short message is further +1, and the final determined message is The corresponding score is 2; (here, if 10086 is in the blacklist set by the user, then the corresponding score of the short message is -1 point in this step, and the final determined score of the short message is 0); the short message is finally determined. The score is taken as the priority of the short message, and is prepared to be pushed to the client together with all the unread messages; when pushing, firstly, the time period in which the current time is located is obtained, and then the corresponding time period is obtained. The message push policy, the message push policy corresponding to the current time period is that the message push policy is not allowed, then the push is not performed, only the number of unread messages is updated, and the next time period is waited for, according to the message push policy of the next time period, whether to push or not. When the message pushing policy in a certain period of time allows the short message to be pushed, the short message is pushed to the user in order of priority from the highest to the lowest in the order of priority, and the new display interface is used. The content, time, priority and other information of the short message are displayed and broadcasted by voice.
实例2:接收到一条网易新闻,当新闻将要推送到通知栏时,获取消息内容;判断消息内容为新闻消息,属于需要进行拦截和统一管理的消息,将该新闻拦截并存储;预设优先级确定策略中,网易新闻属于用户关心的程序类别,该条新闻对应的分数+1;分析新闻的文本内容,新闻中包括“日本”“安倍”“二战”3个用户关心的关键词,该新闻对应的分数再+3;最终确定的该新闻对应的分数为4;将该新闻最终确定的得分作为该新闻的优先级,与所有的未读消息一起准备推送给用户;查看当前时间所在的时间段,然后获取当前时间段对应的消息推送策略,如果当前时间段对应的消息推送策略是允许新闻进行推送,则直接推送给用户;如果当前时间段对应的消息推送策略是不允许新闻信息推送,则不进行推送,只更新未读消息个数,等待下一个时间段再根据下一个时间段的消息推送策略判断是否进行推送,一直到某个时间段内的消息推送策略允许该新闻推送时,将该新闻与当前时间段允许推送的其他消息按照优先级从高到低的顺序推送给用户,通过新的显示界面将该新闻的内容,时间,优先级等信息进行显示,并通过语音进行播报。Example 2: Receive a NetEase news, when the news is to be pushed to the notification bar, obtain the message content; determine the message content as a news message, belong to the message that needs to be intercepted and unified management, intercept and store the news; preset priority In the determination strategy, Netease News belongs to the program category that the user cares about, and the score corresponding to the news is +1; the text content of the news is analyzed, and the news includes three keywords of “Japan”, “Abe” and “World War II”, the news The corresponding score is further +3; the final determined score corresponding to the news is 4; the final score of the news is taken as the priority of the news, and is prepared to be pushed to the user together with all the unread messages; the time of the current time is viewed. The segment then obtains the message pushing policy corresponding to the current time period. If the message pushing policy corresponding to the current time period allows the news to be pushed, it is directly pushed to the user; if the message pushing policy corresponding to the current time period does not allow the news information to be pushed, Then do not push, only update the number of unread messages, wait for the next time period and then root According to the message pushing policy of the next time period, whether to push or not, until the message pushing policy in a certain period of time allows the news to be pushed, the news and the other messages allowed to be pushed in the current time period are prioritized from high to low. The order is pushed to the user, and the content, time, priority, and the like of the news are displayed through a new display interface, and broadcasted by voice.
本发明实施例还提供了一种消息管理装置,图6为本发明实施例消息管理装置结构示意图,如图6所示,所述装置包括:消息获取模块61、消息分析模块62、消息推送模块63、显示模块64,其中,The embodiment of the present invention further provides a message management apparatus. FIG. 6 is a schematic structural diagram of a message management apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a message acquisition module 61, a message analysis module 62, and a message pushing module. 63. A display module 64, wherein
所述消息获取模块61,配置为获取将要推送的消息,并将所述消息发 送到消息分析模块;The message obtaining module 61 is configured to acquire a message to be pushed, and send the message Sended to the message analysis module;
图7为本发明实施例消息获取模块61结构示意图,如图7所示,所述消息获取子模块61包括:消息获取单元611、消息判断单元612、消息拦截单元613,其中FIG. 7 is a schematic structural diagram of a message obtaining module 61 according to an embodiment of the present invention. As shown in FIG. 7, the message obtaining sub-module 61 includes: a message acquiring unit 611, a message determining unit 612, and a message intercepting unit 613.
所述消息获取单元611,配置为在消息发送到通知栏的过程中,获取所述消息的内容;在一实施例中,所述消息获取单元611首先在操作系统中注册一个广播接收器对象,当接到消息时操作系统会产生一个事件,会通知广播接收器对象,接收器对象接收到消息之后将消息捕获;The message obtaining unit 611 is configured to acquire the content of the message in the process of sending the message to the notification bar. In an embodiment, the message obtaining unit 611 first registers a broadcast receiver object in the operating system. When the message is received, the operating system generates an event that notifies the broadcast receiver object that the receiver object captures the message after receiving the message;
所述消息判断单元612,配置为判断所述消息是否为需要进行拦截和统一管理的消息;并将判断结果发送消息拦截单元613;在一实施例中,所述消息判断单元612可以预设拦截策略,确定需要进行拦截和统一管理的消息和不需要进行拦截和统一管理的消息的类型,例如,需要进行拦截和统一管理的消息可以为:短信、新闻、天气、未接来电、日程、股票、音乐、微博消息、微信消息、软件更新通知等各类网络app应用的推送消息等等;不需要进行拦截和统一管理的消息可以为:告警信息、报错信息等系统信息以及蓝牙,wifi等信息;拦截策略可以由用户自定义设定,如用户可以对每一个应用是否需要拦截进行设定;也可以采用默认设定。The message determining unit 612 is configured to determine whether the message is a message that needs to be intercepted and unifiedly managed; and the result of the determination is sent to the message intercepting unit 613; in an embodiment, the message determining unit 612 can preset the intercepting The strategy determines the types of messages that need to be intercepted and uniformly managed and the types of messages that do not need to be intercepted and uniformly managed. For example, messages that need to be intercepted and uniformly managed can be: SMS, news, weather, missed calls, schedule, stock , music, Weibo messages, WeChat messages, software update notifications, etc. Push messages for various network app applications, etc.; messages that do not need to be intercepted and unified management can be: alarm information, error information and other system information and Bluetooth, wifi, etc. Information; the interception policy can be customized by the user, such as the user can set whether each application needs to be intercepted; or the default setting.
消息拦截单元613,配置为当所述消息为需要进行拦截和统一管理的消息时,将所述消息拦截并存储;在一实施例中,当所述消息为需要进行拦截和统一管理的消息时,所述消息将不会在通知栏中进行显示,可以在已有的消息管理器里的提示界面提示用户有新消息产生收到;这里,所述消息获取模块61还包括存储单元614,配置为将消息按照其分类,以树形结构进行存储。The message intercepting unit 613 is configured to intercept and store the message when the message is a message that needs to be intercepted and uniformly managed; in an embodiment, when the message is a message that needs to be intercepted and uniformly managed The message will not be displayed in the notification bar, and the user may be prompted to have a new message to be received in the prompt interface of the existing message manager. Here, the message obtaining module 61 further includes a storage unit 614. In order to classify messages according to their classification, they are stored in a tree structure.
当所述消息不是需要进行拦截和统一管理的消息时,将所述消息直接进行推送;例如,对于用户需要的重要或紧急消息,则不进行拦截,直接 推送到通知栏进行提示。When the message is not a message that needs to be intercepted and uniformly managed, the message is directly pushed; for example, for important or urgent messages required by the user, no interception is performed, directly Push to the notification bar to prompt.
消息分析模块62,配置为确定各消息的优先级;The message analysis module 62 is configured to determine a priority of each message;
本发明实施例中,所述消息分析模块62基于消息对应的应用程序的类别和消息中的关键字,确定各消息的优先级;在一实施例中,所述消息分析模块62预先设置优先级确定策略,然后再根据所述优先级确定策略确定所述消息的优先级。这里,所述优先级确定策略可以根据用户的偏好设定,例如,基于消息对应的应用程序的类别和消息中的关键字,预先设置用户关心的程序类别和黑名单程序类别、以及用户关心的消息关键字和黑名单关键字,然后确定需要确定优先级的消息对应的应用程序类别和消息内容,当需要确定优先级的消息对应的应用程序属于用户关心的类别时,增加所述消息对应的分数,反之,减小所述消息对应的分数;当需要确定优先级的消息中有用户关心的关键字时,增加所述消息对应的分数,反之,减小所述消息对应的分数。最后根据各消息最终的分数,确定各消息的优先级。In the embodiment of the present invention, the message analysis module 62 determines the priority of each message based on the category of the application corresponding to the message and the keyword in the message; in an embodiment, the message analysis module 62 presets the priority. A policy is determined, and then the priority of the message is determined based on the priority determination policy. Here, the priority determination policy may be set according to a user's preference, for example, based on a category of an application corresponding to the message and a keyword in the message, pre-setting a program category and a blacklist program category that the user cares about, and a user's concern. The message keyword and the blacklist keyword are used to determine the application category and the message content corresponding to the message that needs to be determined. When the application corresponding to the message that needs to be determined belongs to the category that the user cares for, the corresponding message is added. The score, on the other hand, reduces the score corresponding to the message; when there is a keyword that the user cares about in the message that needs to be determined, the score corresponding to the message is increased, and vice versa, the score corresponding to the message is decreased. Finally, according to the final score of each message, the priority of each message is determined.
图8为本发明实施例消息分析模块62结构示意图,如图8所示,所述消息分析模块62包括:属性确定单元621、分数确定单元622、优先级确定单元623,其中,FIG. 8 is a schematic structural diagram of a message analysis module 62 according to an embodiment of the present invention. As shown in FIG. 8, the message analysis module 62 includes: an attribute determining unit 621, a score determining unit 622, and a priority determining unit 623, where
所述属性确定单元621,配置为确定所述消息对应的应用程序类别和消息内容;The attribute determining unit 621 is configured to determine an application category and a message content corresponding to the message;
例如,腾讯新闻、新浪新闻等应用程序对应“新闻”类别,暴风影音、PPTV等应用程序对应“视频”类别;For example, applications such as Tencent News and Sina News correspond to the “News” category, and applications such as Storm Video and PPTV correspond to the “Video” category;
所述分数确定单元622,配置为根据所述消息对应的应用程序类别和消息内容,对所述消息进行打分;The score determining unit 622 is configured to score the message according to an application category and a message content corresponding to the message;
在一实施例中,所述分数确定单元622根据预设的优先级确定策略以及所述消息对应的应用程序类别和消息内容,对各消息进行打分;In an embodiment, the score determining unit 622 scores each message according to a preset priority determination policy and an application category and message content corresponding to the message;
例如,首先根据优先级确定策略中预设的用户关心的程序类别和黑名 单程序类别,基于消息对应的应用程序的类别对消息进行优先级打分,然后根据优先级确定策略中预设的用户关心的关键字和黑名单关键字,基于消息中的关键字,对消息进行优先级打分,在一实施例中:For example, first determine the program category and black name that the user cares about in the policy based on the priority. The single-program category, prioritizes the message based on the category of the application corresponding to the message, and then determines the keyword and blacklist keyword that the user cares about in the policy according to the priority, and performs the message based on the keyword in the message. Priority scoring, in one embodiment:
当消息对应的应用类别是用户关心的类别时,所述消息对应的分数+1分,当消息对应的应用类别属于黑名单时,所述消息对应的分数-1分,当消息对应的应用类别不属于上述两种情况时,所述消息对应的分数不变;When the application category corresponding to the message is a category that the user cares about, the score corresponding to the message is +1. When the application category corresponding to the message belongs to the blacklist, the score corresponding to the message is -1, and the application category corresponding to the message. If the two cases are not the above, the score corresponding to the message is unchanged;
当消息的文本内容里面有用户关心的关键词时,每匹配一个用户关心的关键词,所述消息对应的分数+1分,当消息的文本内容里面有黑名单关键词,每匹配一个黑名单关键词,所述消息对应的分数-1分,当消息的文本内容中不包含上述两种关键词时,所述消息对应的分数不变。When there is a keyword of interest to the user in the text content of the message, each time a keyword that the user cares for is matched, the score corresponding to the message is +1, and when the text content of the message has a blacklist keyword, each matches a blacklist. The keyword corresponds to a score of -1. When the text content of the message does not include the above two keywords, the score corresponding to the message does not change.
所述优先级确定单元623,配置为根据所述消息的得分,确定所述消息对应的优先级。The priority determining unit 623 is configured to determine a priority corresponding to the message according to the score of the message.
在一实施例中,所述优先级确定单元623,将所述消息最终的得分确定为各消息对应的优先级;在确定各消息对应的优先级之后,将所有消息按优先级由高到低的顺序进行排序,对于优先级相同的消息,按照时间顺序进行排序。In an embodiment, the priority determining unit 623 determines the final score of the message as the priority corresponding to each message; after determining the priority corresponding to each message, all the messages are prioritized from high to low. The order is sorted, sorted in chronological order for messages of the same priority.
消息推送模块63,配置为根据预设的消息推送策略以及所述优先级,将所述消息进行推送;The message pushing module 63 is configured to push the message according to a preset message pushing policy and the priority;
本发明实施例中,所述消息推送模块63还配置为预设消息推送策略;In the embodiment of the present invention, the message pushing module 63 is further configured to preset a message pushing policy;
图9为本发明实施例消息推送模块63结构示意图,如图9所示,所述消息推送模块63包括:时间段划分单元631、推送策略设置单元632,其中,FIG. 9 is a schematic structural diagram of a message pushing module 63 according to an embodiment of the present invention. As shown in FIG. 9, the message pushing module 63 includes: a time segment dividing unit 631 and a pushing policy setting unit 632, where
所述时间段划分单元631,配置为对时间段进行划分;The time period dividing unit 631 is configured to divide the time period;
由于用户不同时段对消息有着不同的需求,因此,本发明实施例中,所述时间段划分单元631在设置消息推送策略之前时,首先对时间段进行 划分,使得在确定消息策略时能够在不同的时间段设置不同的推送策略。Because the user has different requirements for the message in different time periods, in the embodiment of the present invention, the time segment dividing unit 631 first performs the time period before setting the message pushing policy. The partitioning enables different push policies to be set at different time periods when determining the message policy.
其中,所述时间段可以根据用户当前忙碌程度进行划分;在时间段进行划分时,可以设定各时间段的循环周期,例如,以一天为一个小周期,根据用户的忙碌程度,将一天划分为多个时间段;然后以一个星期为一个大周期,一个星期的所有工作日内的时间段划分方法相同,所有休息日内的时间段划分方法相同,也可以不对工作日和休息日进行区分,每天的时间段划分方法相同。The time period may be divided according to the current busyness of the user; when dividing the time period, the cycle period of each time period may be set, for example, one day is a small period, and the day is divided according to the user's busyness. For a plurality of time periods; then one week is a large period, and the time period of all working days of one week is divided in the same way, and the time periods of all the rest days are divided in the same way, and the working days and the rest days may not be distinguished. The method of dividing the time of day is the same.
所述推送策略设置单元632,配置为确定各时间段对应的消息推送策略和消息推送方式;The push policy setting unit 632 is configured to determine a message push policy and a message push mode corresponding to each time period;
在对时间段进行划分后,所述推送策略设置单元632分别设置每个时间段对应的推送策略,所述推送策略中包括当前时间段哪些消息需要推送,哪些消息不许推送;所述推送策略根据用户需求进行设定,例如,在特定的时间段,可以设置为所有消息均不推送、或所有消息均进行推送、或部分消息进行推送;在一实施例中,用户上班的时间段,可以设定为所有网络消息都不接受,仅接收短信类的消息;用户休息的时间段,不接受任何消息;用户娱乐的时间段,只接收感兴趣的几个应用程序的消息或者消息中包括用户感兴趣的关键词的消息,周末等用户无聊的时间段,接收所有消息。设定完成后,还可以根据用户指令对所述消息推送策略进行修改和保存。相同时间段,也可以设置多个消息推送策略,并根据用户指令将其中的一个消息推送策略设置或修改为当前时间段的默认消息推送策略。After the time segment is divided, the push policy setting unit 632 sets a push policy corresponding to each time segment, where the push policy includes which messages need to be pushed in the current time period, and which messages are not allowed to be pushed; the push policy is based on The user needs to set, for example, in a certain period of time, it can be set that all messages are not pushed, or all messages are pushed, or some messages are pushed; in an embodiment, the time period during which the user goes to work can be set. It is determined that all network messages are not accepted, only messages of the short message type are received; the time period during which the user rests does not accept any message; the time period of the user entertainment only receives messages of several applications of interest or the user sense of the message Messages of interest keywords, weekends, etc. Users are boring for a period of time to receive all messages. After the setting is completed, the message pushing policy may also be modified and saved according to a user instruction. In the same time period, multiple message push policies can also be set, and one of the message push policies is set or modified according to the user instruction to the default message push policy of the current time period.
本发明实施例中,所述消息推送模块63还包括推送方式设置单元633,配置为设置各时间段对应的消息推送方式;In the embodiment of the present invention, the message pushing module 63 further includes a pushing mode setting unit 633 configured to set a message pushing mode corresponding to each time segment;
其中,所述推送方式可以各种形式,如推送到对话框,桌面显示,通知栏等,推送的内容包括但不限于消息内容,消息时间,消息优先级。可选的,推送消息的时候还可以附上用户感兴趣的搜索结果;可以基于用户 关心的关键字在网络上进行搜索后按时间先后顺序推送。The push mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc., and the pushed content includes but is not limited to message content, message time, and message priority. Optionally, when the message is pushed, the search result that is of interest to the user can also be attached; The keywords of interest are pushed in chronological order after searching on the web.
本发明实施例中,所述消息推送单元63配置为:获取当前时间所在的时间段,根据当前时间所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。In the embodiment of the present invention, the message pushing unit 63 is configured to: obtain the time period in which the current time is located, and push the obtained message according to the priority order according to the message pushing policy and the message pushing mode corresponding to the current time zone. .
在一实施例中,所述消息推送单元63还包括推送执行单元634,配置为根据预设消息推送策略以及所述各消息的优先级,将所获取的消息进行推送;In an embodiment, the message pushing unit 63 further includes a push execution unit 634 configured to push the obtained message according to a preset message pushing policy and a priority of each message;
所述推送执行单元634,先确定当前所在的时间段,再获取当前所在时间段对应的消息推送策略和消息推送方式,然后根据当前所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。The push execution unit 634 first determines the current time period, and then obtains the message push policy and the message push mode corresponding to the current time zone, and then obtains the message according to the current push time corresponding to the message push policy and the message push mode. Messages are pushed in order of priority.
对于优先级相同的消息,按照时间顺序进行推送。对于没有进行推送的消息,保存至下一时间段,然后根据下一时间段的消息推送策略,确定是否进行推送。其中,所述推送方式可以各种形式,如推送到对话框,桌面显示,通知栏等,推送的内容包括但不限于消息内容,消息时间,消息优先级。可选的,推送消息的时候还可以附上用户感兴趣的搜索结果;可以基于用户关心的关键字在网络上进行搜索后按时间先后顺序推送。For messages of the same priority, push in chronological order. For the message that has not been pushed, save to the next time period, and then according to the message push policy of the next time period, determine whether to push. The push mode may be in various forms, such as pushing to a dialog box, a desktop display, a notification bar, etc., and the pushed content includes but is not limited to message content, message time, and message priority. Optionally, when the message is pushed, the search result that is of interest to the user may be attached; the search may be performed on the network based on the keyword that the user cares about, and then pushed in chronological order.
所述显示模块64,配置为显示所述消息的推送结果;The display module 64 is configured to display a push result of the message;
其中,显示模块64将:将包括消息内容、消息时间、消息优先级的推送结果进行显示以新的格式进行显示,新推送的界面显示有消息内容,消息时间,消息优先级分数等内容,还可以包括用户感兴趣的搜索结果。The display module 64 will display the push result including the message content, the message time, and the message priority in a new format, and the newly pushed interface displays the content of the message, the message time, the message priority score, and the like. Search results that are of interest to the user can be included.
本发明实施例中,所述装置还包括语音播报模块65,配置为将消息推送结果进行语音播报。In the embodiment of the present invention, the device further includes a voice broadcast module 65 configured to send a message push result for voice broadcast.
本发明实施例中,将包括消息内容,消息时间,消息优先级等信息的消息通过对话框、桌面显示、通知栏等方式在移动终端的显示器上进行显 示后,还可以通过语音进行播报;如对推送的消息中的新短信、未接来电、日程、天气、新闻、股票、音乐、微博Top10消息、微信消息等消息进行语音播报。In the embodiment of the present invention, the message including the message content, the message time, the message priority, and the like is displayed on the display of the mobile terminal through a dialog box, a desktop display, a notification bar, and the like. After the display, it can also be broadcasted by voice; for example, the new short message, missed call, schedule, weather, news, stock, music, Weibo Top10 message, WeChat message, etc. in the pushed message are broadcasted.
本发明实施例中,所述装置还包括跳转模块66,配置为当接收用户对所述推送的消息的点击操作时,跳转到所述消息对应的应用程序。In the embodiment of the present invention, the device further includes a jump module 66 configured to jump to an application corresponding to the message when receiving a click operation of the pushed message by the user.
例如,当点击某个消息时,如查看一条新闻消息,则切换到对应的应用程序,打开对应应用的消息界面,并把该消息设置为已读消息。For example, when a message is clicked, such as viewing a news message, it switches to the corresponding application, opens the message interface of the corresponding application, and sets the message as a read message.
所述跳转模块66在跳转到所述消息对应的应用程序的过程中,对于系统自带的应用程序和来自第三方的应用程序采用不同的跳转策略;对于系统自带的应用程序,在跳转时,直接访问库函数接口api,调用数据,转换为文本后进行显示;对于来自第三方的应用程序,在Android系统通过activity调用打开消息对应的应用程序的界面,然后在界面上获取当前界面的控件,对其所述应用程序的Testview控件getText()函数进行读取,对于IOS,Windows phone系统也是也是同理。The jump module 66 uses different jump strategies for the application that comes with the system and the application that is from the third party in the process of jumping to the application corresponding to the message; for the application that comes with the system, In the jump, directly access the library function interface api, call the data, convert it to text and display it; for the application from the third party, in the Android system, the interface of the application corresponding to the message is opened by the activity, and then the interface is obtained. The control of the current interface reads the getText() function of the application's Testview control. For IOS, the Windows phone system is also the same.
本发明实施例中提出的消息管理装置中的各个模块和单元都可以通过处理器来实现,当然也可通过具体的逻辑电路实现;其中所述处理器可以是移动终端或服务器上的处理器,在实际应用中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。Each module and unit in the message management apparatus provided in the embodiment of the present invention may be implemented by a processor, and may also be implemented by a specific logic circuit; wherein the processor may be a processor on a mobile terminal or a server. In practical applications, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
本发明实施例中,如果以软件功能模块的形式实现上述业务调度方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的 全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。In the embodiment of the present invention, if the foregoing service scheduling method is implemented in the form of a software function module and is sold or used as an independent product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地,本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序,该计算机程序用于执行本发明实施例的消息管理方法。Correspondingly, an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the message management method of the embodiment of the present invention.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims (14)

  1. 一种消息管理方法,所述方法包括:A message management method, the method comprising:
    获取将要推送的消息,确定所述消息的优先级;Obtain a message to be pushed to determine the priority of the message;
    根据预设的消息推送策略以及所述优先级,将所述消息进行推送;Pushing the message according to a preset message push policy and the priority;
    显示消息推送结果。Display message push results.
  2. 根据权利要求1所述方法,其中,所述方法还包括:预设消息推送策略,包括:The method of claim 1, wherein the method further comprises: a preset message push policy, comprising:
    对时间段进行划分;Divide the time period;
    确定各时间段对应的消息推送策略和消息推送方式。Determine the message push policy and message push mode corresponding to each time period.
  3. 根据权利要求2所述方法,其中,所述根据预设的消息推送策略以及所述优先级,将所述消息进行推送包括:The method of claim 2, wherein the pushing the message according to a preset message push policy and the priority comprises:
    确定当前所在的时间段,根据当前所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。The current time period is determined, and the obtained message is pushed in the priority order according to the message pushing policy and the message pushing mode corresponding to the current time period.
  4. 根据权利要求1所述方法,其中,所述推送结果包括但不限于消息内容,消息发布时间,消息优先级。The method of claim 1 wherein said push results include, but are not limited to, message content, message posting time, message priority.
  5. 根据权利要求1或4所述方法,其中,所述方法还包括:将消息推送结果进行语音播报。The method of claim 1 or 4, wherein the method further comprises: pushing the message to the result for voice announcement.
  6. 根据权利要求1至4任一项所述方法,其中,在将所获取的消息进行推送后,所述方法还包括:The method according to any one of claims 1 to 4, wherein after the obtained message is pushed, the method further comprises:
    当接收到用户对所述推送的消息的点击操作时,跳转到所述消息对应的应用程序。When receiving a click operation of the pushed message by the user, jumping to the application corresponding to the message.
  7. 一种消息管理装置,所述装置包括:消息获取模块、消息分析模块、消息推送模块、显示模块,其中,A message management device, the device includes: a message acquisition module, a message analysis module, a message push module, and a display module, where
    所述消息获取模块,配置为获取将要推送的消息,并将获取的消息发 送到消息分析模块;The message obtaining module is configured to acquire a message to be pushed, and send the obtained message Sended to the message analysis module;
    所述消息分析模块,配置为确定所述消息的优先级,并将所述消息的优先级发送到消息推送模块;The message analyzing module is configured to determine a priority of the message, and send the priority of the message to the message pushing module;
    所述消息推送模块,配置为根据预设的消息推送策略以及所述优先级,将所述消息进行推送;The message pushing module is configured to push the message according to a preset message pushing policy and the priority;
    所述显示模块,配置为显示消息推送结果。The display module is configured to display a message push result.
  8. 根据权利要求7所述装置,其中,所述消息推送模块还配置为预设消息推送策略;The device according to claim 7, wherein the message pushing module is further configured to preset a message pushing policy;
    所述消息推送模块包括:时间段划分单元、推送策略设置单元,其中,The message pushing module includes: a time segment dividing unit and a push policy setting unit, where
    所述时间段划分单元,配置为对时间段进行划分;The time segment dividing unit is configured to divide the time period;
    所述推送策略设置单元,配置为确定各时间段对应的消息推送策略和消息推送方式。The push policy setting unit is configured to determine a message push policy and a message push mode corresponding to each time period.
  9. 根据权利要求8所述装置,其中,所述消息推送模块配置为:确定当前所在的时间段,根据当前所在时间段对应的消息推送策略和消息推送方式,将所获取的消息按照优先级顺序进行推送。The device according to claim 8, wherein the message pushing module is configured to: determine a current time period, and perform the message pushing policy and the message pushing mode corresponding to the current time period, and perform the obtained messages in priority order. Push.
  10. 根据权利要求7所述装置,其中,所述推送结果包括但不限于消息内容,消息发布时间,消息优先级。The apparatus of claim 7, wherein the push results include, but are not limited to, message content, message posting time, message priority.
  11. 根据权利要求7或10所述装置,其中,所述装置还包括语音播报模块,配置为将消息推送结果进行语音播报。The apparatus of claim 7 or 10, wherein the apparatus further comprises a voice announcement module configured to push the message push result for voice announcement.
  12. 根据权利要求7至10所述装置,其中,所述装置还包括跳转模块,配置为当接收用户对所述推送的消息的点击操作时,跳转到所述消息对应的应用程序。The apparatus according to any one of claims 7 to 10, wherein said apparatus further comprises a jump module configured to jump to an application corresponding to said message when receiving a click operation by said user on said pushed message.
  13. 一种移动终端,所述移动终端包括权利要求7至12任一项所述消息管理装置。A mobile terminal comprising the message management apparatus according to any one of claims 7 to 12.
  14. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执 行指令,该计算机可执行指令用于执行权利要求1至6任一项所述的消息管理方法。 A computer storage medium storing computer executable in the computer storage medium A line of instructions for executing the message management method of any one of claims 1 to 6.
PCT/CN2015/090058 2015-05-29 2015-09-18 Message management method and device, mobile terminal and storage medium WO2016192244A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510290577.5A CN106302967A (en) 2015-05-29 2015-05-29 A kind of information management method, device and mobile terminal
CN201510290577.5 2015-05-29

Publications (1)

Publication Number Publication Date
WO2016192244A1 true WO2016192244A1 (en) 2016-12-08

Family

ID=57440046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090058 WO2016192244A1 (en) 2015-05-29 2015-09-18 Message management method and device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN106302967A (en)
WO (1) WO2016192244A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602221A (en) * 2019-09-18 2019-12-20 北京安云世纪科技有限公司 Notification level processing method and device and readable storage medium
CN111131368A (en) * 2018-11-01 2020-05-08 中国移动通信集团浙江有限公司 Message pushing method and device
CN112420038A (en) * 2020-10-28 2021-02-26 深圳创维-Rgb电子有限公司 Intelligent voice broadcasting method and device capable of self-adapting scene judgment
CN114339627A (en) * 2021-12-07 2022-04-12 联奕科技股份有限公司 Message centralized control forwarding method
CN114338793A (en) * 2021-12-29 2022-04-12 中电金信软件有限公司 Message pushing method and device, electronic equipment and readable storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171926B (en) * 2017-03-23 2020-08-14 深圳市口袋网络科技有限公司 Switching method and device of multi-platform message push service
CN107122158A (en) * 2017-04-14 2017-09-01 北京小米移动软件有限公司 The method and device of broadcast information prompting audio, electronic equipment
CN107391108B (en) * 2017-06-16 2020-08-14 珠海格力电器股份有限公司 Notification bar information correction method and device and electronic equipment
CN107395697B (en) * 2017-07-06 2021-01-26 创新先进技术有限公司 Push channel selection method, message push method, device and equipment, and readable medium
CN107734062B (en) * 2017-11-15 2020-02-07 维沃移动通信有限公司 Message pushing method and device
CN108170528A (en) * 2017-12-25 2018-06-15 深圳豪客互联网有限公司 A kind of notice methods of exhibiting and device
CN108763433A (en) * 2018-05-24 2018-11-06 珠海格力电器股份有限公司 Information-pushing method and device
WO2020041973A1 (en) * 2018-08-28 2020-03-05 厦门市派美特科技有限公司 Intelligent control system and method for mobile phone message
CN109194571B (en) * 2018-09-26 2020-11-13 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority
CN110162241A (en) * 2019-05-24 2019-08-23 维沃移动通信有限公司 A kind of message treatment method and terminal
CN111460279A (en) * 2020-02-25 2020-07-28 拉扎斯网络科技(上海)有限公司 Information recommendation method and device, storage medium and computer equipment
CN111865765A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Notification display method and device and electronic equipment
CN114553947B (en) * 2022-01-29 2024-01-19 北京金堤科技有限公司 Method and device for processing message

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200923852A (en) * 2007-11-23 2009-06-01 Nat Univ Chung Hsing Optimal cruising speed decision-making system for highway vehicles
CN102742255A (en) * 2011-11-10 2012-10-17 华为终端有限公司 Method, device and mobile terminal for information reminding
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN104484378A (en) * 2014-12-09 2015-04-01 深圳市中兴移动通信有限公司 Method, device and terminal for pushing notification messages

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674372A (en) * 2009-10-15 2010-03-17 中兴通讯股份有限公司 Mobile terminal and message display method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200923852A (en) * 2007-11-23 2009-06-01 Nat Univ Chung Hsing Optimal cruising speed decision-making system for highway vehicles
CN102742255A (en) * 2011-11-10 2012-10-17 华为终端有限公司 Method, device and mobile terminal for information reminding
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN104484378A (en) * 2014-12-09 2015-04-01 深圳市中兴移动通信有限公司 Method, device and terminal for pushing notification messages

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131368A (en) * 2018-11-01 2020-05-08 中国移动通信集团浙江有限公司 Message pushing method and device
CN110602221A (en) * 2019-09-18 2019-12-20 北京安云世纪科技有限公司 Notification level processing method and device and readable storage medium
CN112420038A (en) * 2020-10-28 2021-02-26 深圳创维-Rgb电子有限公司 Intelligent voice broadcasting method and device capable of self-adapting scene judgment
CN114339627A (en) * 2021-12-07 2022-04-12 联奕科技股份有限公司 Message centralized control forwarding method
CN114338793A (en) * 2021-12-29 2022-04-12 中电金信软件有限公司 Message pushing method and device, electronic equipment and readable storage medium
CN114338793B (en) * 2021-12-29 2024-01-16 中电金信软件有限公司 Message pushing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN106302967A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016192244A1 (en) Message management method and device, mobile terminal and storage medium
US10402058B2 (en) Message display method and terminal device
US10192425B2 (en) Systems and methods for automated alerts
US11474779B2 (en) Method and apparatus for processing information
US9959551B1 (en) Customer-level cross-channel message planner
CN105468364B (en) The processing method and mobile terminal of the notification message of application program
US20210092195A1 (en) Information push method and device
US10318579B2 (en) Inserting information into playing content
US9325648B2 (en) Message subscription based on message aggregate characteristics
US20140214979A1 (en) Providing alerts on communication devices
CN112187621B (en) Task reminding method and device for multiple information sources
US11126796B2 (en) Intelligent summaries based on automated learning and contextual analysis of a user input
CN109416691A (en) Message is grouped into and correlation
US20220327224A1 (en) Systems and methods for mediating permissions
US11824647B2 (en) Promotion of users in collaboration sessions
CN112732386A (en) Message processing method, device, terminal and storage medium
EP3387556B1 (en) Providing automated hashtag suggestions to categorize communication
CN110751509A (en) Display method and device for application popup window and electronic equipment
US20150312293A1 (en) Providing social context to calendar events
US11165779B2 (en) Generating a custom blacklist for a listening device based on usage
US20190349324A1 (en) Providing rich preview of communication in communication summary
CN109391537B (en) Information processing method and device and computer storage medium
CN113572841B (en) Information pushing method and device
US9338243B2 (en) Tracking contacts across multiple communications services
US11755340B2 (en) Automatic enrollment and intelligent assignment of settings

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15893899

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15893899

Country of ref document: EP

Kind code of ref document: A1