WO2019184111A1 - Push message processing method and apparatus, readable storage medium, and terminal device - Google Patents

Push message processing method and apparatus, readable storage medium, and terminal device Download PDF

Info

Publication number
WO2019184111A1
WO2019184111A1 PCT/CN2018/093347 CN2018093347W WO2019184111A1 WO 2019184111 A1 WO2019184111 A1 WO 2019184111A1 CN 2018093347 W CN2018093347 W CN 2018093347W WO 2019184111 A1 WO2019184111 A1 WO 2019184111A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
user
keyword
push message
acceptance
Prior art date
Application number
PCT/CN2018/093347
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 WO2019184111A1 publication Critical patent/WO2019184111A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1859Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the present application belongs to the field of computer technology, and in particular, to a push message processing method, a computer readable storage medium, a terminal device and a device.
  • APPs applications
  • mobile devices such as mobile phones and tablet computers
  • apps also push various types of information, notifications, and the like to users.
  • a mobile phone user it is often disturbed by the push message of the advertisement class.
  • the push message is often blocked, but this often blocks the push information that some users want to see. Drop, affecting the user's experience.
  • the embodiment of the present application provides a push message processing method, a computer readable storage medium, a terminal device, and a device, to solve the push that some users want to see when shielding a push message in the prior art. Information is also blocked, affecting the user experience.
  • a first aspect of the embodiment of the present application provides a method for processing a push message, which may include:
  • Each of the preset keyword types corresponds to each of the keyword subsets, and each keyword subset includes more than one keyword;
  • a second aspect of embodiments of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the push message processing method described above step.
  • a third aspect of embodiments of the present application provides a push message processing terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing The computer readable instructions implement the steps of the push message processing method described above.
  • a fourth aspect of the embodiments of the present application provides a push message processing apparatus, which may include a module for implementing the steps of the above-described push message processing method.
  • the embodiment of the present application has the beneficial effects of: in the embodiment of the present application, while shielding the push message that the user does not want to see, the normal push of the push message that the user really needs is ensured, and the user is greatly improved.
  • FIG. 1 is a flowchart of an embodiment of a method for processing a push message according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of initial calculation of a user acceptance degree and an acceptance threshold in the embodiment of the present application
  • FIG. 3 is a schematic flowchart of updating and calculating a user acceptance degree and an acceptance threshold in the embodiment of the present application
  • FIG. 4 is a structural diagram of an embodiment of a push message processing apparatus according to an embodiment of the present application.
  • FIG. 5 is a schematic block diagram of a push message processing terminal device according to an embodiment of the present application.
  • an embodiment of a method for processing a push message in an embodiment of the present application may include:
  • Step S101 Receive a push message sent by the message push server.
  • the protocol on which the message push server delivers the push message may include, but is not limited to, Android Cloud to Device Messaging (C2DM), Message Queuing Telemetry Transport (MQTT), and scalable communication and representation. Specific protocols such as the Extensible Messaging and Presence Protocol (XMPP).
  • C2DM Android Cloud to Device Messaging
  • MQTT Message Queuing Telemetry Transport
  • XMPP Extensible Messaging and Presence Protocol
  • the message push server may include, but is not limited to, a message push server provided by a terminal manufacturer and a message push server provided by a third party server.
  • the terminal device may receive only the push message delivered by the message push server, and may also receive the push message sent by the multiple message push server.
  • Step S102 The push message is matched with the keywords in the preset keyword set, and the message type corresponding to the successfully matched keyword is determined as the message type of the push message.
  • the keyword set includes respective subsets of keywords corresponding to preset various message types, and each keyword subset includes more than one keyword.
  • the push message can be classified into a message type such as an advertisement class, a news information class, and a system notification class, and each type of push information is set with a corresponding keyword subset.
  • the keyword subset of the advertisement category may include keywords such as "advertisement”, “promotion”, “offer”, and "price reduction".
  • the order in which the keywords are used for matching may be arbitrary, but considering that the comparison process may take a lot of time when there are a large number of push messages, the following optimized comparison scheme may be adopted: selecting from the keyword set a keyword having the highest priority and not yet selected as the current keyword; searching for the current keyword in the push message; if the current keyword is not found in the push message, returning to the execution Determining, from the keyword set, a step that has the highest priority and has not been selected as a current keyword; if the current keyword is found in the push message, determining the push message and The current keyword is successfully matched, and the message type corresponding to the current keyword is determined as the message type of the push message.
  • keywords with higher priority are compared first, and keywords with lower priority are compared, which can greatly reduce the number of comparisons required for comparison.
  • the calculation process of the priority level may include: acquiring a history matching record in a preset statistical time period; and counting, according to the historical matching record, the number of successful matching of each keyword in the keyword set; The number of times each keyword is successfully matched determines the priority of the respective keywords.
  • the priority of each keyword is positively correlated with the number of successful matching of the respective keywords, that is, the more times a keyword is successfully matched, the higher the priority of the keyword is. The fewer the number of successful matches, the lower the priority of the keyword.
  • the above manner is to determine the message type by using a keyword, and optionally, the type of the message may be determined by the type identifier.
  • Each push message is sent with a type identifier to identify its type.
  • the different values of the type identifier correspond to different message types. For example, a type identifier of 1 means it is an advertisement, a type identifier of 2 means it is news information, and so on.
  • the value of the type identifier is read therefrom and its message type is determined accordingly.
  • Step S103 Acquire a user acceptance degree corresponding to the message type of the push message.
  • the user acceptance is used to indicate the degree of acceptance of the push message by the user for the specified message type, and is calculated according to the historical feedback record of the push message of the specified message type by the user within a specified time period.
  • the terminal device prompts the user to feed back the push message, that is, whether it is willing to accept the push message, while displaying the push message to the user.
  • a prompt box may be displayed, in which "whether or not the push message is accepted” is displayed, and then two selection buttons “yes” and “no” are given. If the user selects "yes”, it is determined that the user has feedback on the push message. A positive feedback, if the user selects "No”, it is determined that the user has fed back a negative feedback to the push message. If the user does not make a selection, it is determined that the user has fed back a neutral feedback to the push message.
  • the feedback data may also be determined according to the click behavior of the user: if the user clicks on a certain push message, it is considered to have fed back a positive feedback to the push message, and if the user deletes a push message, it is considered to be The push message feeds back a negative feedback. If the user does not perform any operation on the push message, the user is considered to have fed back a neutral feedback to the push message.
  • the historical feedback record is obtained by recording the feedback of the user.
  • the user's acceptance degree of the push message of the specified message type that is, the user acceptance degree
  • Step S104 Determine whether the user acceptance level corresponding to the message type is less than a preset acceptance degree threshold.
  • step S105 If the user acceptance degree corresponding to the message type is greater than or equal to the acceptance degree threshold, step S105 is performed, and if the user acceptance degree corresponding to the message type is less than the acceptance degree threshold, step S106 is performed.
  • Step S105 displaying the push message to a specified terminal interface.
  • the operating system of the terminal device may display the push message to the user through the notification bar of the terminal device, and the user may open the notification bar to view the notification message in real time. Because the screen size of the terminal device is different, and the operation habits of different users on the display interface of the terminal device are different, the specific push message display interface can be adjusted according to actual conditions.
  • Step S106 prohibiting display of the push message on the terminal interface.
  • the user After the push message is forbidden to be displayed, the user will not be able to view the push message, thereby greatly reducing the interference caused by the push message that the user is not interested in.
  • the message message of the minimum frequency can be kept for the push message of the message type determined to be prohibited from being displayed, such as no more than one per day or no more than one every two days.
  • the initial calculation process of the user acceptance degree and the acceptance threshold includes the steps shown in FIG. 2:
  • Step S201 Acquire a historical feedback record of the user within a preset initial time period.
  • the initial time period may be set according to actual conditions, but it should be noted that if the initial time period is set longer, the calculation result is more accurate, but the calculation amount is larger, and vice versa, some initial time periods are set. The shorter the calculation, the coarser the calculation, but the smaller the calculation, the more you need to balance the two.
  • Step S202 respectively, according to the historical feedback record, respectively, the number of times that the user forwardly feeds the push messages of various message types in the initial time period, the number of times of negative feedback, and the number of times of neutral feedback are performed.
  • step S203 the acceptance threshold is calculated.
  • the acceptance threshold can be calculated according to the following formula:
  • the Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period
  • the Neg n is the user labeled n in the initial time period.
  • Neu n is the number of times the user performs neutral feedback on the push message of the message type labeled n in the initial time period
  • 1 ⁇ n ⁇ N N is The total number of various message types
  • is a preset adjustment coefficient
  • Acc Thresh is the acceptance threshold.
  • Step S204 respectively calculating user acceptance levels corresponding to various message types.
  • the user acceptance corresponding to the message type labeled n can be calculated according to the following formula:
  • Acc n is the user acceptance corresponding to the message type labeled n.
  • the above process calculates an initial user acceptance and acceptance threshold, but the user's usage behavior may be constantly changing, so it is necessary to constantly adjust it.
  • the user acceptance and the acceptance threshold are updated every predetermined time period (eg, one week, two weeks, one month, etc.), and the specific update process may include the steps shown in FIG. 3:
  • Step S301 Acquire a historical feedback record of the user during the update period.
  • the update period is a period of time from the user acceptance or the last update time of the acceptance threshold to the current time.
  • Step S302 respectively, according to the historical feedback record, respectively, the number of times that the user forwardly feeds the push messages of various message types during the update time period, the number of times of negative feedback, and the number of times of neutral feedback are performed.
  • Step S303 calculating an update amount of the acceptance threshold.
  • the update amount of the acceptance threshold may be calculated according to the following formula:
  • the Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period
  • Neg′ n is the number of the user in the update period.
  • Acc' Thresh is the The amount of update of the acceptance threshold.
  • Step S304 performing an update calculation on the acceptance threshold.
  • the acceptance threshold may be updated and calculated according to the following formula:
  • Acc Thresh k 1 *Acc Thresh +(1-k 1 )*Acc' Thresh .
  • Step S305 respectively calculating update amounts of user acceptance levels corresponding to various message types.
  • the update amount of the user acceptance corresponding to the message type labeled n can be calculated according to the following formula:
  • Acc' n is the update amount of the user acceptance corresponding to the message type labeled n.
  • Step S306 performing update calculation on the user acceptance levels corresponding to the various message types.
  • the user acceptance corresponding to the message type labeled n can be updated according to the following formula:
  • Acc n k 2 *Acc n +(1-k 2 )*Acc' n
  • k 1 and k 2 are preset weight coefficients.
  • the weight of the user's recent behavior should be slightly larger, so it is preferable to set k 1 >0.5, k 2 >0.5.
  • the shielding mode of the push information is constantly adjusted according to the user's preference, and the user's current usage habit is always matched, so that the user obtains the best use experience.
  • FIG. 4 is a structural diagram of an embodiment of a push message processing apparatus provided by an embodiment of the present application.
  • a push message processing apparatus may include:
  • the push message receiving module 401 is configured to receive a push message delivered by the message push server;
  • the message type determining module 402 is configured to sequentially match the push message with a keyword in a preset keyword set, and determine a message type corresponding to the successfully matched keyword as a message type of the push message.
  • the keyword set includes a respective subset of keywords corresponding to preset various message types, and each keyword subset includes more than one keyword;
  • the user acceptance degree obtaining module 403 is configured to acquire a user acceptance degree corresponding to the message type of the push message, where the user acceptance degree is used to indicate the acceptance degree of the user for the push message of the specified message type, and the user is specified according to the user Calculating the historical feedback record of the push message of the specified message type in the time period;
  • the push message display module 404 is configured to display the push message to a specified terminal interface if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance degree threshold;
  • the push message screening module 405 is configured to prohibit display of the push message on the terminal interface if the user acceptance degree corresponding to the message type is less than the acceptance degree threshold.
  • the push message processing apparatus may further include:
  • a first record obtaining module configured to acquire a historical feedback record of the user within a preset initial time period
  • a first statistic module configured to separately count, according to the historical feedback record, the number of times that the user performs positive feedback on push messages of various message types in the initial time period, the number of times of negative feedback, and the neutrality The number of feedbacks;
  • the acceptance threshold calculation module is configured to calculate the acceptance threshold according to the following formula:
  • the Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period.
  • the number of messages the message type push negative feedback, Neu n for the user in the initial period of the numeral n is the number of the push message type neutral feedback messages, 1 ⁇ n ⁇ N, N is The total number of various message types, ⁇ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold;
  • Acc n is the user acceptance corresponding to the message type labeled n.
  • the push message processing apparatus may further include:
  • a second record obtaining module configured to acquire a historical feedback record of the user during an update period, where the update period is from a last update time of the user acceptance or the acceptance threshold to a current time Time period
  • a second statistic module configured to separately count, according to the historical feedback record, the number of times that the user performs positive feedback on push messages of various message types during the update time period, the number of times of negative feedback, and the neutrality The number of feedbacks;
  • a first update amount calculation module configured to calculate an update amount of the acceptance threshold according to the following formula:
  • the Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period
  • Neg′ n is the number of the user in the update period.
  • Acc' Thresh is the The amount of update of the acceptance threshold;
  • the acceptance threshold update module is configured to perform an update calculation on the acceptance threshold according to the following formula:
  • Acc Thresh k 1 *Acc Thresh +(1-k 1 )*Acc' Thresh ;
  • the second update amount calculation module is configured to calculate, according to the following formula, the update amount of the user acceptance corresponding to the message type labeled n:
  • Acc' n is an update amount of user acceptance corresponding to the message type labeled n;
  • Acc n k 2 *Acc n +(1-k 2 )*Acc' n
  • k 1 and k 2 are preset weight coefficients.
  • the message type determining module may include:
  • a current keyword selection unit configured to select, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword
  • a current keyword search unit configured to search for the current keyword in the push message
  • a message type determining unit configured to determine that the push message matches the current keyword successfully, and determine a message type corresponding to the current keyword, if the current keyword is found in the push message The type of message for which the message is pushed.
  • the push message processing apparatus may further include:
  • a history matching record obtaining module configured to acquire a history matching record in a preset statistical time period
  • a matching record statistic module configured to count, according to the historical matching record, a number of times that each keyword in the keyword set matches successfully
  • the priority determining module is configured to determine a priority of each keyword according to the number of times the respective keywords match successfully, and the priorities of the keywords are positively correlated with the number of successful matching of the keywords.
  • FIG. 5 is a schematic block diagram of a push message processing terminal device provided by an embodiment of the present application.
  • the push message processing terminal device 5 may include a processor 50, a memory 51, and computer readable instructions 52 stored in the memory 51 and operable on the processor 50, for example, performing the push message processing method described above Computer readable instructions.
  • the processor 50 executes the computer readable instructions 52, the steps in the foregoing embodiments of the respective push message processing methods are implemented, such as steps S101 to S106 shown in FIG.
  • the processor 50 executes the computer readable instructions 52, the functions of the modules/units in the various apparatus embodiments described above are implemented, such as the functions of the modules 401 to 405 shown in FIG.
  • the functional units in the various embodiments of the present application may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of computer readable instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.

Landscapes

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

Abstract

The present application pertains to the technical field of computers, and in particular, to a push message processing method and apparatus, a readable storage medium, and a terminal device. The method comprises: receiving a push message delivered by a message pushing server; sequentially matching the push message with keywords in a preset keyword set, and determining a message type corresponding to a successfully matched keyword as a message type of the push message, the keyword set comprising keyword subsets respectively corresponding to various preset message types, and each keyword subset comprising more than one keyword; acquiring a user acceptance degree corresponding to the message type of the push message; if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance threshold, displaying the push message on a specified terminal interface; and if the user acceptance degree corresponding to the message type is less than the acceptance threshold, prohibiting display of the push message on the terminal interface.

Description

推送消息处理方法、可读存储介质、终端设备及装置Push message processing method, readable storage medium, terminal device and device
本申请要求于2018年3月30日提交中国专利局、申请号为201810293168.4、发明名称为“一种推送消息处理方法、计算机可读存储介质及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201101293168.4, entitled "Pushing Message Processing Method, Computer Readable Storage Media, and Terminal Equipment", filed on March 30, 2018, the entire disclosure of which is incorporated herein by reference. The content is incorporated herein by reference.
技术领域Technical field
本申请属于计算机技术领域,尤其涉及一种推送消息处理方法、计算机可读存储介质、终端设备及装置。The present application belongs to the field of computer technology, and in particular, to a push message processing method, a computer readable storage medium, a terminal device and a device.
背景技术Background technique
用户往往会在手机、平板电脑等移动终端上安装数量众多的应用程序(APP),而各类APP也会向用户推送各类资讯、通知等。作为手机用户,常常会被广告类的推送消息所打扰,现有技术中为了解决这个问题,往往会将推送消息均屏蔽掉,但是这样又往往会将一些用户想要看到的推送信息也屏蔽掉,影响用户的使用体验。Users often install a large number of applications (APPs) on mobile devices such as mobile phones and tablet computers, and various types of apps also push various types of information, notifications, and the like to users. As a mobile phone user, it is often disturbed by the push message of the advertisement class. In the prior art, in order to solve this problem, the push message is often blocked, but this often blocks the push information that some users want to see. Drop, affecting the user's experience.
技术问题technical problem
有鉴于此,本申请实施例提供了一种推送消息处理方法、计算机可读存储介质、终端设备及装置,以解决现有技术对推送消息进行屏蔽时,会将一些用户想要看到的推送信息也屏蔽掉,影响用户使用体验的问题。In view of this, the embodiment of the present application provides a push message processing method, a computer readable storage medium, a terminal device, and a device, to solve the push that some users want to see when shielding a push message in the prior art. Information is also blocked, affecting the user experience.
技术解决方案Technical solution
本申请实施例的第一方面提供了一种推送消息处理方法,可以包括:A first aspect of the embodiment of the present application provides a method for processing a push message, which may include:
接收消息推送服务器下发的推送消息;Receiving a push message sent by the message push server;
将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型,所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词;Matching the push message with the keywords in the preset keyword set, and determining a message type corresponding to the successfully matched keyword as the message type of the push message, where the keyword set includes Each of the preset keyword types corresponds to each of the keyword subsets, and each keyword subset includes more than one keyword;
获取与所述推送消息的消息类型对应的用户接受度,所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到;Obtaining a user acceptance degree corresponding to the message type of the push message, where the user acceptance degree is used to indicate a degree of acceptance of the push message of the specified message type by the user, according to the specified message type of the user within a specified time period The historical feedback record of the push message is calculated;
若与所述消息类型对应的用户接受度大于或等于预设的接受度阈值,则将所述推送消息显示至指定的终端界面;And if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance threshold, displaying the push message to a specified terminal interface;
若与所述消息类型对应的用户接受度小于所述接受度阈值,则禁止所述推送消息在所述终端界面的显示。And if the user acceptance corresponding to the message type is less than the acceptance threshold, the display of the push message on the terminal interface is prohibited.
本申请实施例的第二方面提供了一种计算机可读存储介质,所述计算机可读存储 介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现上述推送消息处理方法的步骤。A second aspect of embodiments of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the push message processing method described above step.
本申请实施例的第三方面提供了一种推送消息处理终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现上述推送消息处理方法的步骤。A third aspect of embodiments of the present application provides a push message processing terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing The computer readable instructions implement the steps of the push message processing method described above.
本申请实施例的第四方面提供了一种推送消息处理装置,可以包括用于实现上述推送消息处理方法的步骤的模块。A fourth aspect of the embodiments of the present application provides a push message processing apparatus, which may include a module for implementing the steps of the above-described push message processing method.
有益效果Beneficial effect
本申请实施例与现有技术相比存在的有益效果是:通过本申请实施例,在屏蔽用户不想看到的推送消息的同时,保证了用户真正需要的推送消息的正常推送,大大提高了用户的使用体验。Compared with the prior art, the embodiment of the present application has the beneficial effects of: in the embodiment of the present application, while shielding the push message that the user does not want to see, the normal push of the push message that the user really needs is ensured, and the user is greatly improved. The experience of using.
附图说明DRAWINGS
图1为本申请实施例中一种推送消息处理方法的一个实施例流程图;FIG. 1 is a flowchart of an embodiment of a method for processing a push message according to an embodiment of the present application;
图2为本申请实施例中对用户接受度和接受度阈值进行初始计算的示意流程图;2 is a schematic flowchart of initial calculation of a user acceptance degree and an acceptance threshold in the embodiment of the present application;
图3为本申请实施例中对用户接受度和接受度阈值进行更新计算的示意流程图;FIG. 3 is a schematic flowchart of updating and calculating a user acceptance degree and an acceptance threshold in the embodiment of the present application;
图4为本申请实施例中一种推送消息处理装置的一个实施例结构图;4 is a structural diagram of an embodiment of a push message processing apparatus according to an embodiment of the present application;
图5为本申请实施例中一种推送消息处理终端设备的示意框图。FIG. 5 is a schematic block diagram of a push message processing terminal device according to an embodiment of the present application.
本发明的实施方式Embodiments of the invention
请参阅图1,本申请实施例中一种推送消息处理方法的一个实施例可以包括:Referring to FIG. 1, an embodiment of a method for processing a push message in an embodiment of the present application may include:
步骤S101,接收消息推送服务器下发的推送消息。Step S101: Receive a push message sent by the message push server.
所述消息推送服务器下发推送消息所基于的协议可以包括但不限于云端至设备消息(Android Cloud to Device Messaging,C2DM)、消息队列遥测传输(Message Queuing Telemetry Transport,MQTT)以及可扩展通讯和表示协议(Extensible Messaging and Presence Protocol,XMPP)等具体协议。The protocol on which the message push server delivers the push message may include, but is not limited to, Android Cloud to Device Messaging (C2DM), Message Queuing Telemetry Transport (MQTT), and scalable communication and representation. Specific protocols such as the Extensible Messaging and Presence Protocol (XMPP).
所述消息推送服务器可以包括但不限于由终端厂商提供的消息推送服务器以及由第三方服务者提供的消息推送服务器。The message push server may include, but is not limited to, a message push server provided by a terminal manufacturer and a message push server provided by a third party server.
在本实施例中,终端设备可以只接收一个消息推送服务器下发的推送消息,也可以同时接收多个消息推送服务器下发的推送消息。In this embodiment, the terminal device may receive only the push message delivered by the message push server, and may also receive the push message sent by the multiple message push server.
步骤S102,将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型。Step S102: The push message is matched with the keywords in the preset keyword set, and the message type corresponding to the successfully matched keyword is determined as the message type of the push message.
所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词。例如,可以将推送消息分为广告类、新闻资讯 类、系统通知类等消息类型,每种类型的推送信息均设置与之对应的关键词子集。例如,广告类的关键词子集中可以包括:“广告”、“促销”、“优惠”、“降价”等关键词。The keyword set includes respective subsets of keywords corresponding to preset various message types, and each keyword subset includes more than one keyword. For example, the push message can be classified into a message type such as an advertisement class, a news information class, and a system notification class, and each type of push information is set with a corresponding keyword subset. For example, the keyword subset of the advertisement category may include keywords such as "advertisement", "promotion", "offer", and "price reduction".
其中,使用关键词进行匹配的顺序可以是任意的,但考虑到在存在大量的推送消息时,比对过程可能耗费很多时间,可以采用以下优化的比对方案:从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词;在所述推送消息中查找所述当前关键词;若在所述推送消息中未查找到所述当前关键词,则返回执行所述从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词的步骤;若在所述推送消息中查找到所述当前关键词,则确定所述推送消息与所述当前关键词匹配成功,并将与所述当前关键词对应的消息类型确定为所述推送消息的消息类型。The order in which the keywords are used for matching may be arbitrary, but considering that the comparison process may take a lot of time when there are a large number of push messages, the following optimized comparison scheme may be adopted: selecting from the keyword set a keyword having the highest priority and not yet selected as the current keyword; searching for the current keyword in the push message; if the current keyword is not found in the push message, returning to the execution Determining, from the keyword set, a step that has the highest priority and has not been selected as a current keyword; if the current keyword is found in the push message, determining the push message and The current keyword is successfully matched, and the message type corresponding to the current keyword is determined as the message type of the push message.
通过这种方式,优先级高的关键词先进行比对,优先级低的关键词后进行比对,可以大大减少比对成功所需的比对次数。In this way, keywords with higher priority are compared first, and keywords with lower priority are compared, which can greatly reduce the number of comparisons required for comparison.
其中,所述优先级的计算过程可以包括:获取在预设的统计时间段内的历史匹配记录;根据所述历史匹配记录统计所述关键词集合中的各个关键词匹配成功的次数;根据所述各个关键词匹配成功的次数确定所述各个关键词的优先级。所述各个关键词的优先级与所述各个关键词匹配成功的次数正相关,即某个关键词匹配成功的次数越多,则该关键词的优先级也越高,反之,某个关键词匹配成功的次数越少,则该关键词的优先级也越低。The calculation process of the priority level may include: acquiring a history matching record in a preset statistical time period; and counting, according to the historical matching record, the number of successful matching of each keyword in the keyword set; The number of times each keyword is successfully matched determines the priority of the respective keywords. The priority of each keyword is positively correlated with the number of successful matching of the respective keywords, that is, the more times a keyword is successfully matched, the higher the priority of the keyword is. The fewer the number of successful matches, the lower the priority of the keyword.
需要注意的是,以上方式是通过关键词来进行消息类型的确定,可选地,还可以通过类型标识符来进行消息类型的确定。每条推送消息在发送时,均增加一个类型标识符来对其类型进行标识,类型标识符的不同取值对应不同的消息类型。例如,类型标识符取值为1时,代表其为广告,类型标识符取值为2时,代表其为新闻资讯,以此类推。当接收到该推送消息时,从中读取类型标识符的取值,并据此确定其消息类型。It should be noted that the above manner is to determine the message type by using a keyword, and optionally, the type of the message may be determined by the type identifier. Each push message is sent with a type identifier to identify its type. The different values of the type identifier correspond to different message types. For example, a type identifier of 1 means it is an advertisement, a type identifier of 2 means it is news information, and so on. When the push message is received, the value of the type identifier is read therefrom and its message type is determined accordingly.
步骤S103,获取与所述推送消息的消息类型对应的用户接受度。Step S103: Acquire a user acceptance degree corresponding to the message type of the push message.
所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到。The user acceptance is used to indicate the degree of acceptance of the push message by the user for the specified message type, and is calculated according to the historical feedback record of the push message of the specified message type by the user within a specified time period.
例如,终端设备在向用户展示推送消息同时,提示用户对该推送消息进行反馈,即是否愿意接受该推送消息。例如,可以弹出提示框,在其中显示“是否接受本条推送消息”,然后给出两个选择按钮“是”和“否”,若用户选择了“是”,则确定用户对该推送消息反馈了一条正向反馈,若用户选择了“否”,则确定用户对该推送消 息反馈了一条负向反馈。若用户未做出选择,则确定用户对该推送消息反馈了一条中性反馈。For example, the terminal device prompts the user to feed back the push message, that is, whether it is willing to accept the push message, while displaying the push message to the user. For example, a prompt box may be displayed, in which "whether or not the push message is accepted" is displayed, and then two selection buttons "yes" and "no" are given. If the user selects "yes", it is determined that the user has feedback on the push message. A positive feedback, if the user selects "No", it is determined that the user has fed back a negative feedback to the push message. If the user does not make a selection, it is determined that the user has fed back a neutral feedback to the push message.
另外,还可以根据用户的点击行为来确定反馈数据:若用户点击了某条推送消息,则认为其对该推送消息反馈了一条正向反馈,若用户删除了某条推送消息,则认为其对该推送消息反馈了一条负向反馈。若用户未对该推送消息进行任何操作,则认为用户对该推送消息反馈了一条中性反馈。In addition, the feedback data may also be determined according to the click behavior of the user: if the user clicks on a certain push message, it is considered to have fed back a positive feedback to the push message, and if the user deletes a push message, it is considered to be The push message feeds back a negative feedback. If the user does not perform any operation on the push message, the user is considered to have fed back a neutral feedback to the push message.
所述历史反馈记录即为对用户的这些反馈进行记录所得到的,通过对其的分析,即可得到用户的对指定消息类型的推送消息的接受程度,也即所述用户接受度。The historical feedback record is obtained by recording the feedback of the user. Through the analysis thereof, the user's acceptance degree of the push message of the specified message type, that is, the user acceptance degree, can be obtained.
步骤S104,判断与所述消息类型对应的用户接受度是否小于预设的接受度阈值。Step S104: Determine whether the user acceptance level corresponding to the message type is less than a preset acceptance degree threshold.
若与所述消息类型对应的用户接受度大于或等于所述接受度阈值,则执行步骤S105,若与所述消息类型对应的用户接受度小于所述接受度阈值,则执行步骤S106。If the user acceptance degree corresponding to the message type is greater than or equal to the acceptance degree threshold, step S105 is performed, and if the user acceptance degree corresponding to the message type is less than the acceptance degree threshold, step S106 is performed.
步骤S105,将所述推送消息显示至指定的终端界面。Step S105, displaying the push message to a specified terminal interface.
一般地,为了提升用户查看推送消息的便捷性,终端设备的操作系统可以通过终端设备的通知栏向用户显示所述推送消息,用户可以打开通知栏实时查看所述通知消息。由于终端设备的屏幕尺寸不同,并且不同用户在终端设备的显示屏界面上的操作习惯也不同,因此,具体的推送消息显示界面可以根据实际情况进行调整。Generally, in order to improve the convenience of the user to view the push message, the operating system of the terminal device may display the push message to the user through the notification bar of the terminal device, and the user may open the notification bar to view the notification message in real time. Because the screen size of the terminal device is different, and the operation habits of different users on the display interface of the terminal device are different, the specific push message display interface can be adjusted according to actual conditions.
步骤S106,禁止所述推送消息在所述终端界面的显示。Step S106, prohibiting display of the push message on the terminal interface.
在对所述推送消息进行禁止显示之后,用户将无法查看到所述推送消息,从而大大减少了用户不感兴趣的推送消息对用户造成的干扰。After the push message is forbidden to be displayed, the user will not be able to view the push message, thereby greatly reducing the interference caused by the push message that the user is not interested in.
为了防止类型固化,可选地,对于被确定为需禁止显示的消息类型的推送消息可以保持最低频度的消息显示,如每天不得超过一条或者每两天不得超过一条等等。In order to prevent type curing, the message message of the minimum frequency can be kept for the push message of the message type determined to be prohibited from being displayed, such as no more than one per day or no more than one every two days.
优选地,所述用户接受度和所述接受度阈值的初始计算过程包括如图2所示的步骤:Preferably, the initial calculation process of the user acceptance degree and the acceptance threshold includes the steps shown in FIG. 2:
步骤S201,获取所述用户在预设的初始时间段内的历史反馈记录。Step S201: Acquire a historical feedback record of the user within a preset initial time period.
所述初始时间段可以根据实际情况进行设置,但需要注意的是,若该初始时间段设置的越长,则计算结果越精确,但计算量会越大,反之,若干该初始时间段设置的越短,则计算结果越粗糙,但计算量会越小,在实际设置时,需要对这两者进行平衡。The initial time period may be set according to actual conditions, but it should be noted that if the initial time period is set longer, the calculation result is more accurate, but the calculation amount is larger, and vice versa, some initial time periods are set. The shorter the calculation, the coarser the calculation, but the smaller the calculation, the more you need to balance the two.
步骤S202,根据所述历史反馈记录分别统计所述用户在所述初始时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数。Step S202, respectively, according to the historical feedback record, respectively, the number of times that the user forwardly feeds the push messages of various message types in the initial time period, the number of times of negative feedback, and the number of times of neutral feedback are performed.
步骤S203,计算所述接受度阈值。In step S203, the acceptance threshold is calculated.
具体地,可以根据下式计算所述接受度阈值:Specifically, the acceptance threshold can be calculated according to the following formula:
Figure PCTCN2018093347-appb-000001
Figure PCTCN2018093347-appb-000001
其中,Pos n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,1≤n≤N,N为各种消息类型的总数目,λ为预设的调节系数,Acc Thresh为所述接受度阈值。 The Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period. The number of times the message type push message performs negative feedback, and Neu n is the number of times the user performs neutral feedback on the push message of the message type labeled n in the initial time period, 1≤n≤N, N is The total number of various message types, λ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold.
步骤S204,分别计算与各种消息类型对应的用户接受度。Step S204, respectively calculating user acceptance levels corresponding to various message types.
具体地,可以根据下式计算与标号为n的消息类型对应的用户接受度:Specifically, the user acceptance corresponding to the message type labeled n can be calculated according to the following formula:
Figure PCTCN2018093347-appb-000002
Figure PCTCN2018093347-appb-000002
其中,Acc n为与标号为n的消息类型对应的用户接受度。 Among them, Acc n is the user acceptance corresponding to the message type labeled n.
以上过程计算得到的是一个初始的用户接受度和接受度阈值,但是用户的使用行为可能是不断变化的,因此有必要不断地对其进行调整。每隔预定的时长(例如一周,两周,一个月等等),对所述用户接受度和所述接受度阈值进行更新,具体的更新过程可以包括如图3所示的步骤:The above process calculates an initial user acceptance and acceptance threshold, but the user's usage behavior may be constantly changing, so it is necessary to constantly adjust it. The user acceptance and the acceptance threshold are updated every predetermined time period (eg, one week, two weeks, one month, etc.), and the specific update process may include the steps shown in FIG. 3:
步骤S301,获取所述用户在更新时间段内的历史反馈记录。Step S301: Acquire a historical feedback record of the user during the update period.
所述更新时间段为从所述用户接受度或所述接受度阈值的最后一次更新时间到当前时间之间的时间段。The update period is a period of time from the user acceptance or the last update time of the acceptance threshold to the current time.
步骤S302,根据所述历史反馈记录分别统计所述用户在所述更新时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数。Step S302, respectively, according to the historical feedback record, respectively, the number of times that the user forwardly feeds the push messages of various message types during the update time period, the number of times of negative feedback, and the number of times of neutral feedback are performed.
步骤S303,计算所述接受度阈值的更新量。Step S303, calculating an update amount of the acceptance threshold.
具体地,可以根据下式计算所述接受度阈值的更新量:Specifically, the update amount of the acceptance threshold may be calculated according to the following formula:
Figure PCTCN2018093347-appb-000003
Figure PCTCN2018093347-appb-000003
其中,Pos′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,Acc′ Thresh为所述接受度阈值的更新量。 The Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period, and Neg′ n is the number of the user in the update period. n message type push message number negative feedback, Neu 'n for the user in reference to the neutral feedback message type push message n times the update period, Acc' Thresh is the The amount of update of the acceptance threshold.
步骤S304,对所述接受度阈值进行更新计算。Step S304, performing an update calculation on the acceptance threshold.
具体地,可以根据下式对所述接受度阈值进行更新计算:Specifically, the acceptance threshold may be updated and calculated according to the following formula:
Acc Thresh=k 1*Acc Thresh+(1-k 1)*Acc′ ThreshAcc Thresh =k 1 *Acc Thresh +(1-k 1 )*Acc' Thresh .
步骤S305,分别计算与各种消息类型对应的用户接受度的更新量。Step S305, respectively calculating update amounts of user acceptance levels corresponding to various message types.
具体地,可以根据下式计算与标号为n的消息类型对应的用户接受度的更新量:Specifically, the update amount of the user acceptance corresponding to the message type labeled n can be calculated according to the following formula:
Figure PCTCN2018093347-appb-000004
Figure PCTCN2018093347-appb-000004
其中,Acc′ n为与标号为n的消息类型对应的用户接受度的更新量。 Where Acc' n is the update amount of the user acceptance corresponding to the message type labeled n.
步骤S306,分别对与各种消息类型对应的用户接受度进行更新计算。Step S306, performing update calculation on the user acceptance levels corresponding to the various message types.
具体地,可以根据下式对与标号为n的消息类型对应的用户接受度进行更新计算:Specifically, the user acceptance corresponding to the message type labeled n can be updated according to the following formula:
Acc n=k 2*Acc n+(1-k 2)*Acc′ n Acc n =k 2 *Acc n +(1-k 2 )*Acc' n
其中,k 1、k 2均为预设的权重系数。一般地,用户近期行为的权重应该稍大,因此,优选设置k 1>0.5,k 2>0.5。 Where k 1 and k 2 are preset weight coefficients. In general, the weight of the user's recent behavior should be slightly larger, so it is preferable to set k 1 >0.5, k 2 >0.5.
通过以上过程,不断的根据用户的偏好对推送信息的屏蔽方式进行调节,始终保持与用户当前使用习惯的匹配,使得用户获得最佳的使用体验。Through the above process, the shielding mode of the push information is constantly adjusted according to the user's preference, and the user's current usage habit is always matched, so that the user obtains the best use experience.
综上所述,通过本申请实施例,在屏蔽用户不想看到的推送消息的同时,保证了用户真正需要的推送消息的正常推送,大大提高了用户的使用体验。In summary, in the embodiment of the present application, while the push message that the user does not want to see is shielded, the normal push of the push message that the user really needs is ensured, and the user experience is greatly improved.
对应于上文实施例所述的一种推送消息处理方法,图4示出了本申请实施例提供的一种推送消息处理装置的一个实施例结构图。Corresponding to a push message processing method according to the above embodiment, FIG. 4 is a structural diagram of an embodiment of a push message processing apparatus provided by an embodiment of the present application.
本实施例中,一种推送消息处理装置可以包括:In this embodiment, a push message processing apparatus may include:
推送消息接收模块401,用于接收消息推送服务器下发的推送消息;The push message receiving module 401 is configured to receive a push message delivered by the message push server;
消息类型确定模块402,用于将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型,所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词;The message type determining module 402 is configured to sequentially match the push message with a keyword in a preset keyword set, and determine a message type corresponding to the successfully matched keyword as a message type of the push message. The keyword set includes a respective subset of keywords corresponding to preset various message types, and each keyword subset includes more than one keyword;
用户接受度获取模块403,用于获取与所述推送消息的消息类型对应的用户接受度,所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到;The user acceptance degree obtaining module 403 is configured to acquire a user acceptance degree corresponding to the message type of the push message, where the user acceptance degree is used to indicate the acceptance degree of the user for the push message of the specified message type, and the user is specified according to the user Calculating the historical feedback record of the push message of the specified message type in the time period;
推送消息显示模块404,用于若与所述消息类型对应的用户接受度大于或等于预设的接受度阈值,则将所述推送消息显示至指定的终端界面;The push message display module 404 is configured to display the push message to a specified terminal interface if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance degree threshold;
推送消息屏蔽模块405,用于若与所述消息类型对应的用户接受度小于所述接受度阈值,则禁止所述推送消息在所述终端界面的显示。The push message screening module 405 is configured to prohibit display of the push message on the terminal interface if the user acceptance degree corresponding to the message type is less than the acceptance degree threshold.
进一步地,所述推送消息处理装置还可以包括:Further, the push message processing apparatus may further include:
第一记录获取模块,用于获取所述用户在预设的初始时间段内的历史反馈记录;a first record obtaining module, configured to acquire a historical feedback record of the user within a preset initial time period;
第一统计模块,用于根据所述历史反馈记录分别统计所述用户在所述初始时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;a first statistic module, configured to separately count, according to the historical feedback record, the number of times that the user performs positive feedback on push messages of various message types in the initial time period, the number of times of negative feedback, and the neutrality The number of feedbacks;
接受度阈值计算模块,用于根据下式计算所述接受度阈值:The acceptance threshold calculation module is configured to calculate the acceptance threshold according to the following formula:
Figure PCTCN2018093347-appb-000005
Figure PCTCN2018093347-appb-000005
其中,Pos n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,1≤n≤N,N为各种消息类型的总数目,λ为预设的调节系数,Acc Thresh为所述接受度阈值; The Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period. the number of messages the message type push negative feedback, Neu n for the user in the initial period of the numeral n is the number of the push message type neutral feedback messages, 1≤n≤N, N is The total number of various message types, λ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold;
用户接受度计算模块,用于根据下式计算与标号为n的消息类型对应的用户接受度:The user acceptance calculation module is configured to calculate the user acceptance corresponding to the message type labeled n according to the following formula:
Figure PCTCN2018093347-appb-000006
Figure PCTCN2018093347-appb-000006
其中,Acc n为与标号为n的消息类型对应的用户接受度。 Among them, Acc n is the user acceptance corresponding to the message type labeled n.
进一步地,所述推送消息处理装置还可以包括:Further, the push message processing apparatus may further include:
第二记录获取模块,用于获取所述用户在更新时间段内的历史反馈记录,所述更新时间段为从所述用户接受度或所述接受度阈值的最后一次更新时间到当前时间之间的时间段;a second record obtaining module, configured to acquire a historical feedback record of the user during an update period, where the update period is from a last update time of the user acceptance or the acceptance threshold to a current time Time period
第二统计模块,用于根据所述历史反馈记录分别统计所述用户在所述更新时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;a second statistic module, configured to separately count, according to the historical feedback record, the number of times that the user performs positive feedback on push messages of various message types during the update time period, the number of times of negative feedback, and the neutrality The number of feedbacks;
第一更新量计算模块,用于根据下式计算所述接受度阈值的更新量:a first update amount calculation module, configured to calculate an update amount of the acceptance threshold according to the following formula:
Figure PCTCN2018093347-appb-000007
Figure PCTCN2018093347-appb-000007
其中,Pos′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,Acc′ Thresh为所述接受度阈值的更新量; The Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period, and Neg′ n is the number of the user in the update period. n message type push message number negative feedback, Neu 'n for the user in reference to the neutral feedback message type push message n times the update period, Acc' Thresh is the The amount of update of the acceptance threshold;
接受度阈值更新模块,用于根据下式对所述接受度阈值进行更新计算:The acceptance threshold update module is configured to perform an update calculation on the acceptance threshold according to the following formula:
Acc Thresh=k 1*Acc Thresh+(1-k 1)*Acc′ ThreshAcc Thresh =k 1 *Acc Thresh +(1-k 1 )*Acc'Thresh;
第二更新量计算模块,用于根据下式计算与标号为n的消息类型对应的用户接受度的更新量:The second update amount calculation module is configured to calculate, according to the following formula, the update amount of the user acceptance corresponding to the message type labeled n:
Figure PCTCN2018093347-appb-000008
Figure PCTCN2018093347-appb-000008
其中,Acc′ n为与标号为n的消息类型对应的用户接受度的更新量; Where Acc' n is an update amount of user acceptance corresponding to the message type labeled n;
用户接受度更新模块,用于根据下式对与标号为n的消息类型对应的用户接受度进行更新计算:The user acceptance update module is configured to update the user acceptance corresponding to the message type labeled n according to the following formula:
Acc n=k 2*Acc n+(1-k 2)*Acc′ n Acc n =k 2 *Acc n +(1-k 2 )*Acc' n
其中,k 1、k 2均为预设的权重系数。 Where k 1 and k 2 are preset weight coefficients.
进一步地,所述消息类型确定模块可以包括:Further, the message type determining module may include:
当前关键词选取单元,用于从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词;a current keyword selection unit, configured to select, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
当前关键词查找单元,用于在所述推送消息中查找所述当前关键词;a current keyword search unit, configured to search for the current keyword in the push message;
消息类型确定单元,用于若在所述推送消息中查找到所述当前关键词,则确定所述推送消息与所述当前关键词匹配成功,并将与所述当前关键词对应的消息类型确定为所述推送消息的消息类型。a message type determining unit, configured to determine that the push message matches the current keyword successfully, and determine a message type corresponding to the current keyword, if the current keyword is found in the push message The type of message for which the message is pushed.
进一步地,所述推送消息处理装置还可以包括:Further, the push message processing apparatus may further include:
历史匹配记录获取模块,用于获取在预设的统计时间段内的历史匹配记录;a history matching record obtaining module, configured to acquire a history matching record in a preset statistical time period;
匹配记录统计模块,用于根据所述历史匹配记录统计所述关键词集合中的各个关键词匹配成功的次数;a matching record statistic module, configured to count, according to the historical matching record, a number of times that each keyword in the keyword set matches successfully;
优先级确定模块,用于根据所述各个关键词匹配成功的次数确定所述各个关键词的优先级,且所述各个关键词的优先级与所述各个关键词匹配成功的次数正相关。The priority determining module is configured to determine a priority of each keyword according to the number of times the respective keywords match successfully, and the priorities of the keywords are positively correlated with the number of successful matching of the keywords.
图5示出了本申请实施例提供的一种推送消息处理终端设备的示意框图。所述推送消息处理终端设备5可包括:处理器50、存储器51以及存储在所述存储器51中并可在所述处理器50上运行的计算机可读指令52,例如执行上述的推送消息处理方法的计算机可读指令。所述处理器50执行所述计算机可读指令52时实现上述各个推送消息处理方法实施例中的步骤,例如图1所示的步骤S101至S106。或者,所述处理器50执行所述计算机可读指令52时实现上述各装置实施例中各模块/单元的功能,例如图4所示模块401至405的功能。FIG. 5 is a schematic block diagram of a push message processing terminal device provided by an embodiment of the present application. The push message processing terminal device 5 may include a processor 50, a memory 51, and computer readable instructions 52 stored in the memory 51 and operable on the processor 50, for example, performing the push message processing method described above Computer readable instructions. When the processor 50 executes the computer readable instructions 52, the steps in the foregoing embodiments of the respective push message processing methods are implemented, such as steps S101 to S106 shown in FIG. Alternatively, when the processor 50 executes the computer readable instructions 52, the functions of the modules/units in the various apparatus embodiments described above are implemented, such as the functions of the modules 401 to 405 shown in FIG.
在本申请各个实施例中的各功能单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The functional units in the various embodiments of the present application may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of computer readable instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.

Claims (20)

  1. 一种推送消息处理方法,其特征在于,包括:A push message processing method, comprising:
    接收消息推送服务器下发的推送消息;Receiving a push message sent by the message push server;
    将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型,所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词;Matching the push message with the keywords in the preset keyword set, and determining a message type corresponding to the successfully matched keyword as the message type of the push message, where the keyword set includes Each of the preset keyword types corresponds to each of the keyword subsets, and each keyword subset includes more than one keyword;
    获取与所述推送消息的消息类型对应的用户接受度,所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到;Obtaining a user acceptance degree corresponding to the message type of the push message, where the user acceptance degree is used to indicate a degree of acceptance of the push message of the specified message type by the user, according to the specified message type of the user within a specified time period The historical feedback record of the push message is calculated;
    若与所述消息类型对应的用户接受度大于或等于预设的接受度阈值,则将所述推送消息显示至指定的终端界面;And if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance threshold, displaying the push message to a specified terminal interface;
    若与所述消息类型对应的用户接受度小于所述接受度阈值,则禁止所述推送消息在所述终端界面的显示。And if the user acceptance corresponding to the message type is less than the acceptance threshold, the display of the push message on the terminal interface is prohibited.
  2. 根据权利要求1所述的推送消息处理方法,其特征在于,所述用户接受度和所述接受度阈值的初始计算过程包括:The push message processing method according to claim 1, wherein the initial calculation process of the user acceptance degree and the acceptance threshold comprises:
    获取所述用户在预设的初始时间段内的历史反馈记录;Obtaining a historical feedback record of the user within a preset initial time period;
    根据所述历史反馈记录分别统计所述用户在所述初始时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;And counting, according to the historical feedback record, the number of times the user forwardly feeds the push messages of the various message types in the initial time period, the number of times of negative feedback, and the number of times of neutral feedback;
    根据下式计算所述接受度阈值:The acceptance threshold is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100001
    Figure PCTCN2018093347-appb-100001
    其中,Pos n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,1≤n≤N,N为各种消息类型的总数目,λ为预设的调节系数,Acc Thresh为所述接受度阈值; The Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period. The number of times the message type push message performs negative feedback, and Neu n is the number of times the user performs neutral feedback on the push message of the message type labeled n in the initial time period, 1≤n≤N, N is The total number of various message types, λ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold;
    根据下式计算与标号为n的消息类型对应的用户接受度:Calculate the user acceptance corresponding to the message type labeled n according to the following formula:
    Figure PCTCN2018093347-appb-100002
    Figure PCTCN2018093347-appb-100002
    其中,Acc n为与标号为n的消息类型对应的用户接受度。 Among them, Acc n is the user acceptance corresponding to the message type labeled n.
  3. 根据权利要求2所述的推送消息处理方法,其特征在于,所述用户接受度和所 述接受度阈值的更新过程包括:The push message processing method according to claim 2, wherein the updating process of the user acceptance degree and the acceptance threshold comprises:
    获取所述用户在更新时间段内的历史反馈记录,所述更新时间段为从所述用户接受度或所述接受度阈值的最后一次更新时间到当前时间之间的时间段;Obtaining a historical feedback record of the user during an update period, where the update period is a period of time from the user acceptance or the last update time of the acceptance threshold to the current time;
    根据所述历史反馈记录分别统计所述用户在所述更新时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;And counting, according to the historical feedback record, the number of times the user forwardly feeds the push messages of the various message types in the update time period, the number of times of negative feedback, and the number of times of neutral feedback;
    根据下式计算所述接受度阈值的更新量:The update amount of the acceptance threshold is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100003
    Figure PCTCN2018093347-appb-100003
    其中,Pos′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,Acc′ Thresh为所述接受度阈值的更新量; The Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period, and Neg′ n is the number of the user in the update period. n message type push message number negative feedback, Neu 'n for the user in reference to the neutral feedback message type push message n times the update period, Acc' Thresh is the The amount of update of the acceptance threshold;
    根据下式对所述接受度阈值进行更新计算:The acceptance threshold is updated according to the following formula:
    Acc Thresh=k 1*Acc Thresh+(1-k 1)*Acc′ ThreshAcc Thresh =k 1 *Acc Thresh +(1-k 1 )*Acc'Thresh;
    根据下式计算与标号为n的消息类型对应的用户接受度的更新量:The amount of user acceptance corresponding to the message type labeled n is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100004
    Figure PCTCN2018093347-appb-100004
    其中,Acc′ n为与标号为n的消息类型对应的用户接受度的更新量; Where Acc' n is an update amount of user acceptance corresponding to the message type labeled n;
    根据下式对与标号为n的消息类型对应的用户接受度进行更新计算:The user acceptance corresponding to the message type labeled n is updated according to the following formula:
    Acc n=k 2*Acc n+(1-k 2)*Acc′ n Acc n =k 2 *Acc n +(1-k 2 )*Acc' n
    其中,k 1、k 2均为预设的权重系数。 Where k 1 and k 2 are preset weight coefficients.
  4. 根据权利要求1至3中任一项所述的推送消息处理方法,其特征在于,所述将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型包括:The push message processing method according to any one of claims 1 to 3, wherein the pushing the message and the keywords in the preset keyword set are sequentially matched, and the matching is successful. The message type corresponding to the keyword type determined as the push message includes:
    从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词;Selecting, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
    在所述推送消息中查找所述当前关键词;Finding the current keyword in the push message;
    若在所述推送消息中未查找到所述当前关键词,则返回执行所述从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词的步骤;If the current keyword is not found in the push message, returning to performing the step of selecting, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
    若在所述推送消息中查找到所述当前关键词,则确定所述推送消息与所述当前关键词匹配成功,并将与所述当前关键词对应的消息类型确定为所述推送消息的消息类型。If the current keyword is found in the push message, determining that the push message matches the current keyword successfully, and determining a message type corresponding to the current keyword as the message of the push message Types of.
  5. 根据权利要求4所述的推送消息处理方法,其特征在于,所述优先级的计算过程包括:The push message processing method according to claim 4, wherein the calculation process of the priority comprises:
    获取在预设的统计时间段内的历史匹配记录;Obtaining a history matching record within a preset statistical time period;
    根据所述历史匹配记录统计所述关键词集合中的各个关键词匹配成功的次数;Counting, according to the historical matching record, the number of successful matching of each keyword in the keyword set;
    根据所述各个关键词匹配成功的次数确定所述各个关键词的优先级,且所述各个关键词的优先级与所述各个关键词匹配成功的次数正相关。Determining priorities of the respective keywords according to the number of times the respective keywords match successfully, and the priorities of the respective keywords are positively correlated with the number of successful matching of the respective keywords.
  6. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the following steps:
    接收消息推送服务器下发的推送消息;Receiving a push message sent by the message push server;
    将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型,所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词;Matching the push message with the keywords in the preset keyword set, and determining a message type corresponding to the successfully matched keyword as the message type of the push message, where the keyword set includes Each of the preset keyword types corresponds to each of the keyword subsets, and each keyword subset includes more than one keyword;
    获取与所述推送消息的消息类型对应的用户接受度,所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到;Obtaining a user acceptance degree corresponding to the message type of the push message, where the user acceptance degree is used to indicate a degree of acceptance of the push message of the specified message type by the user, according to the specified message type of the user within a specified time period The historical feedback record of the push message is calculated;
    若与所述消息类型对应的用户接受度大于或等于预设的接受度阈值,则将所述推送消息显示至指定的终端界面;And if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance threshold, displaying the push message to a specified terminal interface;
    若与所述消息类型对应的用户接受度小于所述接受度阈值,则禁止所述推送消息在所述终端界面的显示。And if the user acceptance corresponding to the message type is less than the acceptance threshold, the display of the push message on the terminal interface is prohibited.
  7. 根据权利要求6所述的计算机可读存储介质,其特征在于,所述用户接受度和所述接受度阈值的初始计算过程包括:The computer readable storage medium of claim 6, wherein the initial calculation process of the user acceptance and the acceptance threshold comprises:
    获取所述用户在预设的初始时间段内的历史反馈记录;Obtaining a historical feedback record of the user within a preset initial time period;
    根据所述历史反馈记录分别统计所述用户在所述初始时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;And counting, according to the historical feedback record, the number of times the user forwardly feeds the push messages of the various message types in the initial time period, the number of times of negative feedback, and the number of times of neutral feedback;
    根据下式计算所述接受度阈值:The acceptance threshold is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100005
    Figure PCTCN2018093347-appb-100005
    其中,Pos n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu n为所述用户在所述初始时间段内对标号为n的消息 类型的推送消息进行中性反馈的次数,1≤n≤N,N为各种消息类型的总数目,λ为预设的调节系数,Acc Thresh为所述接受度阈值; The Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period. The number of times the message type push message performs negative feedback, and Neu n is the number of times the user performs neutral feedback on the push message of the message type labeled n in the initial time period, 1≤n≤N, N is The total number of various message types, λ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold;
    根据下式计算与标号为n的消息类型对应的用户接受度:Calculate the user acceptance corresponding to the message type labeled n according to the following formula:
    Figure PCTCN2018093347-appb-100006
    Figure PCTCN2018093347-appb-100006
    其中,Acc n为与标号为n的消息类型对应的用户接受度。 Among them, Acc n is the user acceptance corresponding to the message type labeled n.
  8. 根据权利要求7所述的计算机可读存储介质,其特征在于,所述用户接受度和所述接受度阈值的更新过程包括:The computer readable storage medium according to claim 7, wherein the updating process of the user acceptance degree and the acceptance threshold comprises:
    获取所述用户在更新时间段内的历史反馈记录,所述更新时间段为从所述用户接受度或所述接受度阈值的最后一次更新时间到当前时间之间的时间段;Obtaining a historical feedback record of the user during an update period, where the update period is a period of time from the user acceptance or the last update time of the acceptance threshold to the current time;
    根据所述历史反馈记录分别统计所述用户在所述更新时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;And counting, according to the historical feedback record, the number of times the user forwardly feeds the push messages of the various message types in the update time period, the number of times of negative feedback, and the number of times of neutral feedback;
    根据下式计算所述接受度阈值的更新量:The update amount of the acceptance threshold is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100007
    Figure PCTCN2018093347-appb-100007
    其中,Pos′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,Acc′ Thresh为所述接受度阈值的更新量; The Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period, and Neg′ n is the number of the user in the update period. n message type push message number negative feedback, Neu 'n for the user in reference to the neutral feedback message type push message n times the update period, Acc' Thresh is the The amount of update of the acceptance threshold;
    根据下式对所述接受度阈值进行更新计算:The acceptance threshold is updated according to the following formula:
    Acc Thresh=k 1*Acc Thresh+(1-k 1)*Acc′ ThreshAcc Thresh =k 1 *Acc Thresh +(1-k 1 )*Acc'Thresh;
    根据下式计算与标号为n的消息类型对应的用户接受度的更新量:The amount of user acceptance corresponding to the message type labeled n is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100008
    Figure PCTCN2018093347-appb-100008
    其中,Acc′ n为与标号为n的消息类型对应的用户接受度的更新量; Where Acc' n is an update amount of user acceptance corresponding to the message type labeled n;
    根据下式对与标号为n的消息类型对应的用户接受度进行更新计算:The user acceptance corresponding to the message type labeled n is updated according to the following formula:
    Acc n=k 2*Acc n+(1-k 2)*Acc′ n Acc n =k 2 *Acc n +(1-k 2 )*Acc' n
    其中,k 1、k 2均为预设的权重系数。 Where k 1 and k 2 are preset weight coefficients.
  9. 根据权利要求6至8中任一项所述的计算机可读存储介质,其特征在于,所述将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型包括:The computer readable storage medium according to any one of claims 6 to 8, wherein the matching the push message with the keywords in the preset keyword set, and matching the match successfully The message type corresponding to the keyword type determined as the push message includes:
    从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键 词;Selecting, from the keyword set, a keyword with the highest priority and not yet selected as the current key word;
    在所述推送消息中查找所述当前关键词;Finding the current keyword in the push message;
    若在所述推送消息中未查找到所述当前关键词,则返回执行所述从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词的步骤;If the current keyword is not found in the push message, returning to performing the step of selecting, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
    若在所述推送消息中查找到所述当前关键词,则确定所述推送消息与所述当前关键词匹配成功,并将与所述当前关键词对应的消息类型确定为所述推送消息的消息类型。If the current keyword is found in the push message, determining that the push message matches the current keyword successfully, and determining a message type corresponding to the current keyword as the message of the push message Types of.
  10. 根据权利要求9所述的计算机可读存储介质,其特征在于,所述优先级的计算过程包括:The computer readable storage medium of claim 9, wherein the calculating process of the priority comprises:
    获取在预设的统计时间段内的历史匹配记录;Obtaining a history matching record within a preset statistical time period;
    根据所述历史匹配记录统计所述关键词集合中的各个关键词匹配成功的次数;Counting, according to the historical matching record, the number of successful matching of each keyword in the keyword set;
    根据所述各个关键词匹配成功的次数确定所述各个关键词的优先级,且所述各个关键词的优先级与所述各个关键词匹配成功的次数正相关。Determining priorities of the respective keywords according to the number of times the respective keywords match successfully, and the priorities of the respective keywords are positively correlated with the number of successful matching of the respective keywords.
  11. 一种推送消息处理终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A push message processing terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer readable instructions The following steps are implemented:
    接收消息推送服务器下发的推送消息;Receiving a push message sent by the message push server;
    将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型,所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词;Matching the push message with the keywords in the preset keyword set, and determining a message type corresponding to the successfully matched keyword as the message type of the push message, where the keyword set includes Each of the preset keyword types corresponds to each of the keyword subsets, and each keyword subset includes more than one keyword;
    获取与所述推送消息的消息类型对应的用户接受度,所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到;Obtaining a user acceptance degree corresponding to the message type of the push message, where the user acceptance degree is used to indicate a degree of acceptance of the push message of the specified message type by the user, according to the specified message type of the user within a specified time period The historical feedback record of the push message is calculated;
    若与所述消息类型对应的用户接受度大于或等于预设的接受度阈值,则将所述推送消息显示至指定的终端界面;And if the user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance threshold, displaying the push message to a specified terminal interface;
    若与所述消息类型对应的用户接受度小于所述接受度阈值,则禁止所述推送消息在所述终端界面的显示。And if the user acceptance corresponding to the message type is less than the acceptance threshold, the display of the push message on the terminal interface is prohibited.
  12. 根据权利要求11所述的推送消息处理终端设备,其特征在于,所述用户接受度和所述接受度阈值的初始计算过程包括:The push message processing terminal device according to claim 11, wherein the initial calculation process of the user acceptance degree and the acceptance threshold comprises:
    获取所述用户在预设的初始时间段内的历史反馈记录;Obtaining a historical feedback record of the user within a preset initial time period;
    根据所述历史反馈记录分别统计所述用户在所述初始时间段内对各种消息类型的 推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;And counting, according to the historical feedback record, the number of times the user forwardly feeds the push messages of the various message types in the initial time period, the number of times of negative feedback, and the number of times of neutral feedback;
    根据下式计算所述接受度阈值:The acceptance threshold is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100009
    Figure PCTCN2018093347-appb-100009
    其中,Pos n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,1≤n≤N,N为各种消息类型的总数目,λ为预设的调节系数,Acc Thresh为所述接受度阈值; The Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period. The number of times the message type push message performs negative feedback, and Neu n is the number of times the user performs neutral feedback on the push message of the message type labeled n in the initial time period, 1≤n≤N, N is The total number of various message types, λ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold;
    根据下式计算与标号为n的消息类型对应的用户接受度:Calculate the user acceptance corresponding to the message type labeled n according to the following formula:
    Figure PCTCN2018093347-appb-100010
    Figure PCTCN2018093347-appb-100010
    其中,Acc n为与标号为n的消息类型对应的用户接受度。 Among them, Acc n is the user acceptance corresponding to the message type labeled n.
  13. 根据权利要求12所述的推送消息处理终端设备,其特征在于,所述用户接受度和所述接受度阈值的更新过程包括:The push message processing terminal device according to claim 12, wherein the updating process of the user acceptance degree and the acceptance threshold comprises:
    获取所述用户在更新时间段内的历史反馈记录,所述更新时间段为从所述用户接受度或所述接受度阈值的最后一次更新时间到当前时间之间的时间段;Obtaining a historical feedback record of the user during an update period, where the update period is a period of time from the user acceptance or the last update time of the acceptance threshold to the current time;
    根据所述历史反馈记录分别统计所述用户在所述更新时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;And counting, according to the historical feedback record, the number of times the user forwardly feeds the push messages of the various message types in the update time period, the number of times of negative feedback, and the number of times of neutral feedback;
    根据下式计算所述接受度阈值的更新量:The update amount of the acceptance threshold is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100011
    Figure PCTCN2018093347-appb-100011
    其中,Pos′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,Acc′ Thresh为所述接受度阈值的更新量; The Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period, and Neg′ n is the number of the user in the update period. n message type push message number negative feedback, Neu 'n for the user in reference to the neutral feedback message type push message n times the update period, Acc' Thresh is the The amount of update of the acceptance threshold;
    根据下式对所述接受度阈值进行更新计算:The acceptance threshold is updated according to the following formula:
    Acc Thresh=k 1*Acc Thresh+(1-k 1)*Acc′ ThreshAcc Thresh =k 1 *Acc Thresh +(1-k 1 )*Acc'Thresh;
    根据下式计算与标号为n的消息类型对应的用户接受度的更新量:The amount of user acceptance corresponding to the message type labeled n is calculated according to the following formula:
    Figure PCTCN2018093347-appb-100012
    Figure PCTCN2018093347-appb-100012
    其中,Acc′ n为与标号为n的消息类型对应的用户接受度的更新量; Where Acc' n is an update amount of user acceptance corresponding to the message type labeled n;
    根据下式对与标号为n的消息类型对应的用户接受度进行更新计算:The user acceptance corresponding to the message type labeled n is updated according to the following formula:
    Acc n=k 2*Acc n+(1-k 2)*Acc′ n Acc n =k 2 *Acc n +(1-k 2 )*Acc' n
    其中,k 1、k 2均为预设的权重系数。 Where k 1 and k 2 are preset weight coefficients.
  14. 根据权利要求11至13中任一项所述的推送消息处理终端设备,其特征在于,所述将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型包括:The push message processing terminal device according to any one of claims 11 to 13, wherein the push message is sequentially matched with a keyword in a preset keyword set, and the matching is successful. The message type corresponding to the keyword type determined as the push message includes:
    从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词;Selecting, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
    在所述推送消息中查找所述当前关键词;Finding the current keyword in the push message;
    若在所述推送消息中未查找到所述当前关键词,则返回执行所述从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词的步骤;If the current keyword is not found in the push message, returning to performing the step of selecting, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
    若在所述推送消息中查找到所述当前关键词,则确定所述推送消息与所述当前关键词匹配成功,并将与所述当前关键词对应的消息类型确定为所述推送消息的消息类型。If the current keyword is found in the push message, determining that the push message matches the current keyword successfully, and determining a message type corresponding to the current keyword as the message of the push message Types of.
  15. 根据权利要求14所述的推送消息处理终端设备,其特征在于,所述优先级的计算过程包括:The push message processing terminal device according to claim 14, wherein the calculation process of the priority comprises:
    获取在预设的统计时间段内的历史匹配记录;Obtaining a history matching record within a preset statistical time period;
    根据所述历史匹配记录统计所述关键词集合中的各个关键词匹配成功的次数;Counting, according to the historical matching record, the number of successful matching of each keyword in the keyword set;
    根据所述各个关键词匹配成功的次数确定所述各个关键词的优先级,且所述各个关键词的优先级与所述各个关键词匹配成功的次数正相关。Determining priorities of the respective keywords according to the number of times the respective keywords match successfully, and the priorities of the respective keywords are positively correlated with the number of successful matching of the respective keywords.
  16. 一种推送消息处理装置,其特征在于,包括:A push message processing device, comprising:
    推送消息接收模块,用于接收消息推送服务器下发的推送消息;a push message receiving module, configured to receive a push message delivered by the message push server;
    消息类型确定模块,用于将所述推送消息与预设的关键词集合中的关键词依次进行匹配,并将与匹配成功的关键词对应的消息类型确定为所述推送消息的消息类型,所述关键词集合中包括与预设的各种消息类型分别对应的各个关键词子集,每个关键词子集中包括一个以上的关键词;a message type determining module, configured to sequentially match the push message with a keyword in a preset keyword set, and determine a message type corresponding to the successfully matched keyword as a message type of the push message, where The keyword set includes a subset of each keyword corresponding to each of the preset various message types, and each keyword subset includes more than one keyword;
    用户接受度获取模块,用于获取与所述推送消息的消息类型对应的用户接受度,所述用户接受度用于表示用户对指定消息类型的推送消息的接受程度,根据所述用户在指定时间段内对所述指定消息类型的推送消息的历史反馈记录计算得到;a user acceptance obtaining module, configured to acquire a user acceptance degree corresponding to a message type of the push message, where the user acceptance degree is used to indicate a user acceptance degree of a push message of a specified message type, according to the user at a specified time The historical feedback record of the push message of the specified message type is calculated in the segment;
    推送消息显示模块,用于若与所述消息类型对应的用户接受度大于或等于预设的接受度阈值,则将所述推送消息显示至指定的终端界面;a push message display module, configured to display the push message to a specified terminal interface if a user acceptance degree corresponding to the message type is greater than or equal to a preset acceptance threshold;
    推送消息屏蔽模块,用于若与所述消息类型对应的用户接受度小于所述接受度阈值,则禁止所述推送消息在所述终端界面的显示。The push message screening module is configured to prohibit display of the push message on the terminal interface if the user acceptance level corresponding to the message type is less than the acceptance degree threshold.
  17. 根据权利要求16所述的推送消息处理装置,其特征在于,还包括:The push message processing device according to claim 16, further comprising:
    第一记录获取模块,用于获取所述用户在预设的初始时间段内的历史反馈记录;a first record obtaining module, configured to acquire a historical feedback record of the user within a preset initial time period;
    第一统计模块,用于根据所述历史反馈记录分别统计所述用户在所述初始时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;a first statistic module, configured to separately count, according to the historical feedback record, the number of times that the user performs positive feedback on push messages of various message types in the initial time period, the number of times of negative feedback, and the neutrality The number of feedbacks;
    接受度阈值计算模块,用于根据下式计算所述接受度阈值:The acceptance threshold calculation module is configured to calculate the acceptance threshold according to the following formula:
    Figure PCTCN2018093347-appb-100013
    Figure PCTCN2018093347-appb-100013
    其中,Pos n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行正向反馈的次数,Neg n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu n为所述用户在所述初始时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,1≤n≤N,N为各种消息类型的总数目,λ为预设的调节系数,Acc Thresh为所述接受度阈值; The Pos n is the number of times the user forwardly feeds the push message of the message type labeled n in the initial time period, and the Neg n is the user labeled n in the initial time period. The number of times the message type push message performs negative feedback, and Neu n is the number of times the user performs neutral feedback on the push message of the message type labeled n in the initial time period, 1≤n≤N, N is The total number of various message types, λ is a preset adjustment coefficient, and Acc Thresh is the acceptance threshold;
    用户接受度计算模块,用于根据下式计算与标号为n的消息类型对应的用户接受度:The user acceptance calculation module is configured to calculate the user acceptance corresponding to the message type labeled n according to the following formula:
    Figure PCTCN2018093347-appb-100014
    Figure PCTCN2018093347-appb-100014
    其中,Acc n为与标号为n的消息类型对应的用户接受度。 Among them, Acc n is the user acceptance corresponding to the message type labeled n.
  18. 根据权利要求17所述的推送消息处理装置,其特征在于,还包括:The push message processing device according to claim 17, further comprising:
    第二记录获取模块,用于获取所述用户在更新时间段内的历史反馈记录,所述更新时间段为从所述用户接受度或所述接受度阈值的最后一次更新时间到当前时间之间的时间段;a second record obtaining module, configured to acquire a historical feedback record of the user during an update period, where the update period is from a last update time of the user acceptance or the acceptance threshold to a current time Time period
    第二统计模块,用于根据所述历史反馈记录分别统计所述用户在所述更新时间段内对各种消息类型的推送消息进行正向反馈的次数、进行负向反馈的次数以及进行中性反馈的次数;a second statistic module, configured to separately count, according to the historical feedback record, the number of times that the user performs positive feedback on push messages of various message types during the update time period, the number of times of negative feedback, and the neutrality The number of feedbacks;
    第一更新量计算模块,用于根据下式计算所述接受度阈值的更新量:a first update amount calculation module, configured to calculate an update amount of the acceptance threshold according to the following formula:
    Figure PCTCN2018093347-appb-100015
    Figure PCTCN2018093347-appb-100015
    其中,Pos′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进 行正向反馈的次数,Neg′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行负向反馈的次数,Neu′ n为所述用户在所述更新时间段内对标号为n的消息类型的推送消息进行中性反馈的次数,Acc′ Thresh为所述接受度阈值的更新量; The Pos′ n is the number of times the user forwardly feeds the push message of the message type labeled n in the update period, and Neg′ n is the number of the user in the update period. n message type push message number negative feedback, Neu 'n for the user in reference to the neutral feedback message type push message n times the update period, Acc' Thresh is the The amount of update of the acceptance threshold;
    接受度阈值更新模块,用于根据下式对所述接受度阈值进行更新计算:The acceptance threshold update module is configured to perform an update calculation on the acceptance threshold according to the following formula:
    Acc Thresh=k 1*Acc Thresh+(1-k 1)*Acc′ ThreshAcc Thresh =k 1 *Acc Thresh +(1-k 1 )*Acc'Thresh;
    第二更新量计算模块,用于根据下式计算与标号为n的消息类型对应的用户接受度的更新量:The second update amount calculation module is configured to calculate, according to the following formula, the update amount of the user acceptance corresponding to the message type labeled n:
    Figure PCTCN2018093347-appb-100016
    Figure PCTCN2018093347-appb-100016
    其中,Acc′ n为与标号为n的消息类型对应的用户接受度的更新量; Where Acc' n is an update amount of user acceptance corresponding to the message type labeled n;
    用户接受度更新模块,用于根据下式对与标号为n的消息类型对应的用户接受度进行更新计算:The user acceptance update module is configured to update the user acceptance corresponding to the message type labeled n according to the following formula:
    Acc n=k 2*Acc n+(1-k 2)*Acc′ n Acc n =k 2 *Acc n +(1-k 2 )*Acc' n
    其中,k 1、k 2均为预设的权重系数。 Where k 1 and k 2 are preset weight coefficients.
  19. 根据权利要求16至18中任一项所述的推送消息处理装置,其特征在于,所述消息类型确定模块包括:The push message processing apparatus according to any one of claims 16 to 18, wherein the message type determining module comprises:
    当前关键词选取单元,用于从所述关键词集合中选取优先级最高且尚未被选取过的一个关键词作为当前关键词;a current keyword selection unit, configured to select, from the keyword set, a keyword with the highest priority and not yet selected as the current keyword;
    当前关键词查找单元,用于在所述推送消息中查找所述当前关键词;a current keyword search unit, configured to search for the current keyword in the push message;
    消息类型确定单元,用于若在所述推送消息中查找到所述当前关键词,则确定所述推送消息与所述当前关键词匹配成功,并将与所述当前关键词对应的消息类型确定为所述推送消息的消息类型。a message type determining unit, configured to determine that the push message matches the current keyword successfully, and determine a message type corresponding to the current keyword, if the current keyword is found in the push message The type of message for which the message is pushed.
  20. 根据权利要求19所述的推送消息处理装置,其特征在于,还包括:The push message processing device of claim 19, further comprising:
    历史匹配记录获取模块,用于获取在预设的统计时间段内的历史匹配记录;a history matching record obtaining module, configured to acquire a history matching record in a preset statistical time period;
    匹配记录统计模块,用于根据所述历史匹配记录统计所述关键词集合中的各个关键词匹配成功的次数;a matching record statistic module, configured to count, according to the historical matching record, a number of times that each keyword in the keyword set matches successfully;
    优先级确定模块,用于根据所述各个关键词匹配成功的次数确定所述各个关键词的优先级,且所述各个关键词的优先级与所述各个关键词匹配成功的次数正相关。The priority determining module is configured to determine a priority of each keyword according to the number of times the respective keywords match successfully, and the priorities of the keywords are positively correlated with the number of successful matching of the keywords.
PCT/CN2018/093347 2018-03-30 2018-06-28 Push message processing method and apparatus, readable storage medium, and terminal device WO2019184111A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810293168.4A CN108616444B (en) 2018-03-30 2018-03-30 A kind of PUSH message processing method, computer readable storage medium and terminal device
CN201810293168.4 2018-03-30

Publications (1)

Publication Number Publication Date
WO2019184111A1 true WO2019184111A1 (en) 2019-10-03

Family

ID=63659498

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093347 WO2019184111A1 (en) 2018-03-30 2018-06-28 Push message processing method and apparatus, readable storage medium, and terminal device

Country Status (2)

Country Link
CN (1) CN108616444B (en)
WO (1) WO2019184111A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371844A (en) * 2020-02-20 2020-07-03 平安科技(深圳)有限公司 Course pushing method and related device
CN111538911A (en) * 2020-06-28 2020-08-14 中国银行股份有限公司 Information pushing method and device
CN113891123A (en) * 2021-11-08 2022-01-04 北京达佳互联信息技术有限公司 Method, device and system for pushing virtual space information
CN113938465A (en) * 2021-10-15 2022-01-14 北京奇艺世纪科技有限公司 Information sending method and device, electronic equipment and storage medium
CN114006879A (en) * 2021-10-28 2022-02-01 平安普惠企业管理有限公司 Method for outputting prompt message based on multi-person session group and related equipment

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547526B (en) * 2018-10-10 2022-06-10 平安万家医疗投资管理有限责任公司 Message pushing method, computer readable storage medium and server
CN111062734B (en) * 2018-10-16 2023-08-25 北京字节跳动网络技术有限公司 Method and device for reordering delivery information, electronic equipment and readable medium
CN109413216A (en) * 2018-12-29 2019-03-01 微梦创科网络科技(中国)有限公司 A kind of information-pushing method, device and mobile terminal
CN112087725B (en) * 2019-06-13 2022-08-23 腾讯科技(深圳)有限公司 Push message display method and device and storage medium
CN110365772A (en) * 2019-07-16 2019-10-22 中国农业银行股份有限公司 Information push method and device
CN110677824A (en) * 2019-08-29 2020-01-10 凡普数字技术有限公司 Short message sending method, device and storage medium
CN112839063A (en) * 2019-11-04 2021-05-25 腾讯科技(深圳)有限公司 Message pushing method, message display method, storage medium and computer equipment
CN111683143B (en) * 2020-06-08 2022-10-25 北京奇艺世纪科技有限公司 Message pushing method and device, electronic equipment and computer readable storage medium
CN112565342B (en) * 2020-11-13 2023-06-13 广州市百果园网络科技有限公司 Message pushing method, device, equipment and storage medium based on weight calculation
CN113489771A (en) * 2021-06-30 2021-10-08 平安普惠企业管理有限公司 Information pushing method, device, terminal and storage medium
CN115208946B (en) * 2022-07-18 2024-03-01 中国银行股份有限公司 Message pushing method, message pushing server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868264A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and system for pushing update information according to focus word
CN106713627A (en) * 2016-12-13 2017-05-24 北京奇虎科技有限公司 Method and device for pushing message in notification bar, and mobile terminal
CN107402767A (en) * 2017-07-31 2017-11-28 北京小米移动软件有限公司 The method and apparatus for showing PUSH message

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455485A (en) * 2012-05-28 2013-12-18 中兴通讯股份有限公司 Method and device for automatically updating user interest model
US10733905B2 (en) * 2014-06-09 2020-08-04 Lingozing Holding Ltd Method and system for learning languages through a general user interface
US10503793B2 (en) * 2014-09-30 2019-12-10 Oath Inc. Personalized search filter and notification system
CN106372204A (en) * 2016-08-31 2017-02-01 北京小米移动软件有限公司 Push message processing method and device
CN106453528B (en) * 2016-09-27 2019-11-01 北京小米移动软件有限公司 The method and device of PUSH message
CN107704571A (en) * 2017-09-29 2018-02-16 努比亚技术有限公司 Information intelligent recommends method, apparatus and computer-readable recording medium
CN107766482B (en) * 2017-10-13 2021-12-14 北京猎户星空科技有限公司 Information pushing and sending method, device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868264A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and system for pushing update information according to focus word
CN106713627A (en) * 2016-12-13 2017-05-24 北京奇虎科技有限公司 Method and device for pushing message in notification bar, and mobile terminal
CN107402767A (en) * 2017-07-31 2017-11-28 北京小米移动软件有限公司 The method and apparatus for showing PUSH message

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371844A (en) * 2020-02-20 2020-07-03 平安科技(深圳)有限公司 Course pushing method and related device
CN111371844B (en) * 2020-02-20 2024-01-19 平安科技(深圳)有限公司 Course pushing method and related device
CN111538911A (en) * 2020-06-28 2020-08-14 中国银行股份有限公司 Information pushing method and device
CN111538911B (en) * 2020-06-28 2024-01-23 中国银行股份有限公司 Information pushing method and device
CN113938465A (en) * 2021-10-15 2022-01-14 北京奇艺世纪科技有限公司 Information sending method and device, electronic equipment and storage medium
CN114006879A (en) * 2021-10-28 2022-02-01 平安普惠企业管理有限公司 Method for outputting prompt message based on multi-person session group and related equipment
CN113891123A (en) * 2021-11-08 2022-01-04 北京达佳互联信息技术有限公司 Method, device and system for pushing virtual space information

Also Published As

Publication number Publication date
CN108616444A (en) 2018-10-02
CN108616444B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
WO2019184111A1 (en) Push message processing method and apparatus, readable storage medium, and terminal device
US11128582B2 (en) Emoji recommendation method and apparatus
CN109299387B (en) Message pushing method and device based on intelligent recommendation and terminal equipment
US9871756B1 (en) Methods for displaying notifications
US11037344B1 (en) User content presentation based on strength of relationship
EP2075714A1 (en) Apparatus and methods for retrieving/downloading content on a communication device
US10200485B2 (en) Pushing news feed content to client devices
WO2016192244A1 (en) Message management method and device, mobile terminal and storage medium
US20090299817A1 (en) Marketing and advertising framework for a wireless device
CN111478963B (en) Message pushing method and device, electronic equipment and computer readable storage medium
WO2015169056A1 (en) Information presentation method and device
CN108965951B (en) Advertisement playing method and device
EP3352121A1 (en) Content delivery method and device
US20170169062A1 (en) Method and electronic device for recommending video
US11218390B2 (en) Filtering content based on user mobile network and data-plan
US10949896B2 (en) Distribution of embedded content items by an online system
US9531827B1 (en) Push notification delivery system with feedback analysis
CN108566334B (en) Auxiliary method, terminal and medium based on chat software
CN107426336B (en) Method and device for adjusting push message opening rate
CN109688217B (en) Message pushing method and device and electronic equipment
CN109241450B (en) Screen locking content recommendation method and device
CN110121088B (en) User attribute information determination method and device and electronic equipment
WO2018202127A1 (en) Information pushing method and device, storage medium, and electronic device
CN110809190B (en) Method and device for matching user roles based on smart television and server
CN115633010A (en) Message control method and message control device

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: 18912382

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.01.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18912382

Country of ref document: EP

Kind code of ref document: A1