CN108874876B - Message pushing method, computer readable storage medium and terminal equipment - Google Patents

Message pushing method, computer readable storage medium and terminal equipment Download PDF

Info

Publication number
CN108874876B
CN108874876B CN201810414850.4A CN201810414850A CN108874876B CN 108874876 B CN108874876 B CN 108874876B CN 201810414850 A CN201810414850 A CN 201810414850A CN 108874876 B CN108874876 B CN 108874876B
Authority
CN
China
Prior art keywords
keyword
message
push
title name
window title
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810414850.4A
Other languages
Chinese (zh)
Other versions
CN108874876A (en
Inventor
姜翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810414850.4A priority Critical patent/CN108874876B/en
Priority to PCT/CN2018/096255 priority patent/WO2019210585A1/en
Publication of CN108874876A publication Critical patent/CN108874876A/en
Application granted granted Critical
Publication of CN108874876B publication Critical patent/CN108874876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the technical field of computers, and particularly relates to a message pushing method, a computer readable storage medium and a terminal device. The method comprises the steps of firstly obtaining a window title name displayed on a terminal device of a user, then sequentially matching the window title name with each keyword in a preset keyword configuration file, if the matching is successful, determining a message type corresponding to the keyword successfully matched with the window title name as an optimal message type, finally selecting a specified number of optimal push messages from a preset push message database, and pushing the selected optimal push messages to the terminal device. By the embodiment of the invention, the push message corresponding to the window currently opened by the user can be pushed according to the window currently opened by the user, so that the real-time property of message push is ensured, and the user experience is greatly improved.

Description

Message pushing method, computer readable storage medium and terminal equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a message pushing method, a computer-readable storage medium, and a terminal device.
Background
With the rapid development of the mobile internet and the popularization of intelligent terminal devices, people tend to use the terminal devices to obtain information and services more and more, and the way that an application program client installed in the traditional terminal device actively pulls information to a server has many defects, so that the push technology is produced accordingly. The push technology of the push server does not need a user to continuously refresh the application program client to check the message update, and the push server can automatically and continuously send the push message to the application program client, so that the interaction performance between the client and the server is greatly improved. However, the current message pushing method generally pushes the message to the user at a certain fixed time, so that the pushing instantaneity is difficult to guarantee, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a message pushing method, a computer-readable storage medium, and a terminal device, so as to solve the problems that the real-time performance of the current message pushing method is difficult to be guaranteed and the user experience is poor.
A first aspect of an embodiment of the present invention provides a message pushing method, which may include:
acquiring a window title name displayed on terminal equipment of a user;
sequentially matching the window title name with each keyword in a preset keyword configuration file, wherein the keyword configuration file comprises keyword subsets respectively corresponding to various preset message types, and each keyword subset comprises more than one keyword;
if the matching is successful, determining the message type corresponding to the keyword successfully matched with the window title name as the preferred message type;
selecting a specified number of preferred push messages from a preset push message database, and pushing the selected preferred push messages to the terminal equipment, wherein the preferred push messages are push messages with message types consistent with the preferred message types.
A second aspect of embodiments of the present invention provides a computer-readable storage medium storing computer-readable instructions, which when executed by a processor implement the steps of:
acquiring a window title name displayed on a terminal device of a user;
sequentially matching the window title name with each keyword in a preset keyword configuration file, wherein the keyword configuration file comprises keyword subsets respectively corresponding to various preset message types, and each keyword subset comprises more than one keyword;
if the matching is successful, determining the message type corresponding to the keyword successfully matched with the window title name as the preferred message type;
selecting a specified number of preferred push messages from a preset push message database, and pushing the selected preferred push messages to the terminal equipment, wherein the preferred push messages are push messages with message types consistent with the preferred message types.
A third aspect of the embodiments of the present invention provides a message push terminal device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, where the processor executes the computer-readable instructions to implement the following steps:
acquiring a window title name displayed on a terminal device of a user;
sequentially matching the window title name with each keyword in a preset keyword configuration file, wherein the keyword configuration file comprises keyword subsets respectively corresponding to various preset message types, and each keyword subset comprises more than one keyword;
if the matching is successful, determining the message type corresponding to the keyword successfully matched with the window title name as the preferred message type;
selecting a specified number of preferred push messages from a preset push message database, and pushing the selected preferred push messages to the terminal device, wherein the preferred push messages are push messages with message types consistent with the preferred message types.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the method comprises the steps of firstly obtaining a window title name displayed on a terminal device of a user, then sequentially matching the window title name with each keyword in a preset keyword configuration file, if the matching is successful, determining a message type corresponding to the keyword successfully matched with the window title name as an optimal message type, finally selecting a specified number of optimal push messages from a preset push message database, and pushing the selected optimal push messages to the terminal device. By the embodiment of the invention, the push message corresponding to the window currently opened by the user can be pushed according to the window currently opened by the user, so that the real-time property of message push is ensured, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an embodiment of a message pushing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow diagram of updating a keyword profile;
FIG. 3 is a block diagram of an embodiment of a message pushing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a message push terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of a message pushing method according to an embodiment of the present invention may include:
step S101, a window title name displayed on the terminal device of the user is acquired.
The window title name may be a title name in a title bar of an Application (APP) window currently being used by a user.
Specifically, idProcess and idthread in an Application Programming Interface (API) provided by a system of the terminal device may be nulled to obtain all user process messages in the current system, then the user process messages are processed through a process processing function, and finally the processed user process messages are identified, so that the process name of the Application and the window title name of the open window are obtained while normal operation of the Application is not affected.
Optionally, a Hook function may be registered in the terminal device to monitor a process of accessing the application program, and a user process message of the process of accessing the application program is acquired through the Hook function registered in the terminal device. Wherein, the Hook function, i.e. Hook function, is a platform of the message processing mechanism, the application program can set up a subroutine program on it to monitor the window message, and the monitored window can be created by other processes, and when the window message arrives, the window message is processed before the window processing function is executed.
In addition, the Hook mechanism allows an application program to intercept and process a message or a specific event, the Hook is actually a program segment for processing the message, a Hook function is hung in the system through system call, before a popup message reaches a target window, the Hook function captures the window message firstly, and then the Hook function can process the window message, or can continue to transfer the window message without processing, and can also forcibly end the transfer of the window message.
And step S102, sequentially matching the window title name with each keyword in a preset keyword configuration file.
Preferably, before the window title name is sequentially matched with each keyword in a preset keyword configuration file, the keyword configuration file may be further updated through a process shown in fig. 2:
step S201, sending a configuration update request to a preset configuration server.
The configuration server is used for storing the current latest keyword configuration file and providing an updated standard for the terminal equipment.
Step S202, receiving the configuration information fed back by the configuration server.
The configuration information includes a first message digest value, where the first message digest value is obtained by processing a keyword configuration file in the configuration server using a preset message digest algorithm, and in this example, the message digest algorithm may be an MD5 algorithm, an SHA-1 algorithm, or other similar algorithms. A message digest algorithm can transform an input of arbitrary length into an output of fixed length, which is a compression mapping, i.e., the length of the output is usually much smaller than the length of the input, different inputs may hash into the same output, and it is impossible to uniquely determine the input value from the output value, i.e., a process of compressing a message of arbitrary length into a message digest of a fixed length.
Step S203, determining whether the first message digest value is consistent with the second message digest value.
The second message digest value is obtained by processing the locally stored keyword configuration file by using the message digest algorithm.
If the first message digest value is not consistent with the second message digest value, it indicates that the locally stored keyword configuration file is not consistent with the keyword configuration file in the configuration server, that is, the locally stored keyword configuration file is not the latest version and needs to be updated, at this time, step S204 is performed, and if the first message digest value is consistent with the second message digest value, it indicates that the locally stored keyword configuration file is consistent with the keyword configuration file in the configuration server, that is, the locally stored keyword configuration file is the latest version and does not need to be updated, at this time, step S205 is performed.
Step S204, downloading the keyword configuration file in the configuration server, and replacing the locally stored keyword configuration file with the keyword configuration file in the configuration server.
Step S205, the locally stored keyword configuration file is maintained.
In another possible implementation of this embodiment, the configuration server may instruct the terminal device to update the keyword configuration file, that is, when the keyword configuration file in the configuration server changes, the configuration server sends the current latest keyword configuration file to the terminal device, and after receiving the configuration file, the terminal device replaces the locally stored keyword configuration file with the configuration file.
The keyword configuration file comprises keyword subsets respectively corresponding to various preset message types, and each keyword subset comprises more than one keyword. For example, message types such as advertisement, news information, system notification, etc. may be divided, and each type of push information sets a subset of keywords corresponding to the type of push information. For example, the keyword subset of the advertisement class may include: keywords such as "advertisement", "promotion", "offer", "price reduction", etc.
Preferably, priorities may be set for the keywords, and the priorities may be specifically set by the user according to the usage habit of the user, which is not specifically limited in this embodiment.
When matching is carried out, firstly, a keyword which has the highest priority and is not selected yet is selected from the keyword configuration file to serve as a current keyword, then the current keyword is searched for in the window title name, if the current keyword is not searched for in the window title name, the step of selecting the keyword which has the highest priority and is not selected yet from the keyword configuration file to serve as the current keyword is executed in a return mode, and if the current keyword is searched for in the window title name, the window title name and the current keyword are determined to be successfully matched. And if all the keywords are traversed and any keyword is not found in the window title name, determining that the matching fails.
And step S103, judging whether the matching is successful.
That is, it is determined whether any keyword in the keyword profile is included in the window title name. If the matching is not successful, step S104 is executed, and if the matching is successful, step S105 and the subsequent steps are executed.
And step S104, not pushing the message.
And step S105, determining the message type corresponding to the keyword successfully matched with the window title name as the preferred message type.
Step S106, selecting a specified number of preferable push messages from a preset push message database, and pushing the selected preferable push messages to the terminal equipment.
The preferred push message is a push message with a message type consistent with the preferred message type.
Specifically, the push times and click times of each preferred push message in a specified time period are first acquired from the historical statistics record respectively, and then the preference index of each preferred push message is calculated according to the following formula respectively:
Figure BDA0001649081820000071
wherein N is the serial number of the preferred push message, N is more than or equal to 1 and less than or equal to N, N is the total number of the preferred push messages, clickNum n SendNum for the number of clicks of the nth preferred push message n Is the push times of the nth preferred push message, min is a minimum function, ξ 1 And xi 2 Are all preset weight coefficients, and xi 12 =1, for example, ξ may be set 1 =ξ 2 =0.5,PriIndex n Is the preference index of the nth preferred push message.
And finally, selecting a specified number of preferred push messages from the push message database in sequence according to the descending order of the priority indexes.
Preferably, the specified number of setup procedures may include:
firstly, the display duration of the window title name on the terminal equipment is obtained.
Then, the display duration of the window title name on each target device in a specified time period is respectively obtained from the historical statistics records.
The target device is a terminal device that is a statistical object of the history statistical record.
Finally, the specified number is calculated according to the following formula:
Figure BDA0001649081820000072
wherein ShowTime is the window title name on the terminal deviceHN is the serial number of the target device, HN is more than or equal to 1 and less than or equal to HN, HN is the total number of the target device, hiShowTime hn For the display duration of the window title name on the hn-th target device, benchNum is a preset reference number, and the value thereof may be set according to an actual situation, for example, may be set to 3, 5, 10, and so on. MaxTime = max (HiShowTime) 1 ,HiShowTime 2 ,......,HiShowTime hn ,......,HiShowTime HN ) Min is a minimum function, max is a maximum function, floor is a down-rounding function, and SNum is the specified number.
To sum up, in the embodiments of the present invention, a window title name displayed on a terminal device of a user is first obtained, then the window title name is sequentially matched with each keyword in a preset keyword configuration file, if the matching is successful, a message type corresponding to the keyword successfully matched with the window title name is determined as an optimal message type, and finally, a specified number of optimal push messages are selected from a preset push message database, and the selected optimal push messages are pushed to the terminal device. By the embodiment of the invention, the push message corresponding to the window currently opened by the user can be pushed according to the window currently opened by the user, so that the real-time property of message push is ensured, and the user experience is greatly improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 3 shows a structure diagram of an embodiment of a message pushing apparatus according to an embodiment of the present invention, which corresponds to the message pushing method described in the foregoing embodiment.
In this embodiment, an apparatus for pushing a message may include:
a window title name obtaining module 301, configured to obtain a window title name displayed on a terminal device of a user;
a keyword matching module 302, configured to match the window title name with each keyword in a preset keyword configuration file in sequence, where the keyword configuration file includes keyword subsets respectively corresponding to various preset message types, and each keyword subset includes more than one keyword;
a preferred message type determining module 303, configured to determine, if the matching is successful, a message type corresponding to the keyword successfully matched with the window title name as a preferred message type;
a preferred push message selecting module 304, configured to select a specified number of preferred push messages from a preset push message database, where the preferred push messages are push messages of a message type consistent with the preferred message type;
a preferred push message pushing module 305, configured to push the selected preferred push message to the terminal device.
Further, the message pushing device may further include:
the updating request sending module is used for sending a configuration updating request to a preset configuration server;
a feedback information receiving module, configured to receive configuration information fed back by the configuration server, where the configuration information includes a first message digest value, and the first message digest value is a message digest value obtained by processing a keyword configuration file in the configuration server using a preset message digest algorithm;
the digest value judging module is used for judging whether the first message digest value is consistent with a second message digest value, wherein the second message digest value is obtained by processing a locally stored keyword configuration file by using the message digest algorithm;
and the configuration file replacement module is used for downloading the keyword configuration file in the configuration server and replacing the locally stored keyword configuration file by using the keyword configuration file in the configuration server if the first message digest value is inconsistent with the second message digest value.
Further, the keyword matching module may include:
the current keyword selection unit is used for selecting a keyword which has the highest priority and is not selected from the keyword configuration file as a current keyword;
a current keyword searching unit, configured to search the window title name for the current keyword;
and the matching success determining unit is used for determining that the window title name and the current keyword are successfully matched if the current keyword is found in the window title name.
Further, the preferred push message extracting module may include:
the data acquisition unit is used for respectively acquiring the push times and click times of each preferred push message in a specified time period from the historical statistical records;
a preferred index calculation unit for calculating a preferred index for each preferred push message, respectively, according to the following formula:
Figure BDA0001649081820000091
wherein N is the serial number of the preferred push message, N is more than or equal to 1 and less than or equal to N, N is the total number of the preferred push messages, clickNum n SendNum for the number of clicks of the nth preferred push message n Is the push times of the nth preferred push message, min is a minimum function, ξ 1 And xi 2 Are all preset weight coefficients, and xi 12 =1,PriIndex n A preference index for the nth preferred push message;
and the preferred push message selecting unit is used for sequentially selecting a specified number of preferred push messages from the push message database according to the descending order of the priority indexes.
Further, the message pushing device may further include:
the first display duration acquisition module is used for acquiring the display duration of the window title name on the terminal equipment;
a second display duration obtaining module, configured to obtain, from a historical statistical record, display durations of the window title names on target devices within a specified time period, where the target devices are terminal devices that are statistical objects of the historical statistical record;
a specified number calculation module for calculating the specified number according to the following formula:
Figure BDA0001649081820000101
wherein, showTime is the display duration of the window title name on the terminal device, HN is the serial number of the target device, HN is more than or equal to 1 and less than or equal to HN, HN is the total number of the target device, hiShowTime hn For the display duration of the window title name on the hn-th target device, benchmark is a preset reference number, and MaxTime = max (hishwime) 1 ,HiShowTime 2 ,......,HiShowTime hn ,......,HiShowTime HN ) Min is a minimum function, max is a maximum function, floor is a down-rounding function, and SNum is the specified number.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, modules and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Fig. 4 shows a schematic block diagram of a message push terminal device according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown.
In this embodiment, the message push terminal device 4 may be a computing device such as a mobile phone, a tablet computer, an intelligent watch, an intelligent bracelet, and intelligent glasses. The message push terminal device 4 may include: a processor 40, a memory 41, and computer readable instructions 42 stored in the memory 41 and executable on the processor 40, such as computer readable instructions to perform the message push method described above. The processor 40, when executing the computer readable instructions 42, implements the steps in the various message pushing method embodiments described above, such as the steps S101 to S106 shown in fig. 1. Alternatively, the processor 40, when executing the computer readable instructions 42, implements the functions of the modules/units in the above device embodiments, such as the functions of the modules 301 to 305 shown in fig. 3.
Illustratively, the computer readable instructions 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer-readable instruction segments capable of performing specific functions, which are used for describing the execution process of the computer-readable instructions 42 in the message push terminal device 4.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the message push terminal device 4, such as a hard disk or a memory of the message push terminal device 4. The memory 41 may also be an external storage device of the message push terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like equipped on the message push terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the message push terminal device 4. The memory 41 is used for storing the computer readable instructions and other instructions and data required by the message push terminal device 4. The memory 41 may also be used to temporarily store data that has been output or is to be output.
Each functional unit in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes a plurality of computer readable instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, etc. for storing computer readable instructions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A message pushing method, comprising:
acquiring a window title name displayed on a terminal device of a user;
sequentially matching the window title name with each keyword in a preset keyword configuration file, wherein the keyword configuration file comprises keyword subsets respectively corresponding to various preset message types, and each keyword subset comprises more than one keyword;
if the matching is successful, determining the message type corresponding to the keyword successfully matched with the window title name as the preferred message type;
respectively acquiring the push times and click times of each preferred push message in a specified time period from historical statistical records; the preference index for each preferred push message is calculated separately according to:
Figure FDA0004098024920000011
wherein N is the serial number of the preferred push message, N is more than or equal to 1 and less than or equal to N, N is the total number of the preferred push messages, clickNum n SendNum for the number of clicks of the nth preferred push message n Push times of the nth preferred push message, min is a minimum function, ξ 1 And xi 2 Are all preset weight coefficients, and xi 12 =1,PriIndex n A preference index for the nth preferred push message; and selecting a specified number of preferred push messages from a preset push message database according to the sequence of the preferred indexes from large to small, and pushing the selected preferred push messages to the terminal equipment, wherein the preferred push messages are push messages with the message types consistent with the preferred message types.
2. The message pushing method according to claim 1, before sequentially matching the window title name with each keyword in a preset keyword profile, further comprising:
sending a configuration updating request to a preset configuration server;
receiving configuration information fed back by the configuration server, wherein the configuration information comprises a first message digest value, and the first message digest value is obtained by processing a keyword configuration file in the configuration server by using a preset message digest algorithm;
judging whether the first message digest value is consistent with a second message digest value, wherein the second message digest value is obtained by processing a locally stored keyword configuration file by using the message digest algorithm;
and if the first message abstract value is inconsistent with the second message abstract value, downloading the keyword configuration file in the configuration server, and replacing the locally stored keyword configuration file with the keyword configuration file in the configuration server.
3. The message pushing method according to claim 1, wherein the sequentially matching the window title name with each keyword in a preset keyword configuration file comprises:
selecting a keyword which has the highest priority and is not selected from the keyword configuration file as a current keyword;
searching the current keyword in the window title name;
if the current keyword is not found in the window title name, returning to execute the step of selecting one keyword which has the highest priority and is not selected yet from the keyword configuration file as the current keyword;
and if the current keyword is found in the window title name, determining that the window title name is successfully matched with the current keyword.
4. Message pushing method according to any of claims 1 to 3, characterized in that said specified number of setup procedures comprises:
acquiring the display duration of the window title name on the terminal equipment;
respectively acquiring the display duration of the window title name on each target device in a specified time period from a historical statistical record, wherein the target device is a terminal device which is a statistical object of the historical statistical record;
calculating the specified number according to:
Figure FDA0004098024920000021
wherein, showTime is the display duration of the window title name on the terminal device, HN is the serial number of the target device, HN is more than or equal to 1 and less than or equal to HN, HN is the total number of the target device, hiShowTime hn For the display duration of the window title name on the hn-th target device, benchmark is a preset reference number, and MaxTime = max (hishwime) 1 ,HiShowTime 2 ,......,HiShowTime hn ,......,HiShowTime HN ) Min is a minimum function, max is a maximum function, floor is a down-rounding function, and SNum is the specified number.
5. A computer readable storage medium storing computer readable instructions, which when executed by a processor implement the steps of the message push method according to any one of claims 1 to 4.
6. A message push terminal device comprising a memory, a processor and computer readable instructions stored in said memory and executable on said processor, wherein said processor when executing said computer readable instructions performs the steps of:
acquiring a window title name displayed on a terminal device of a user;
sequentially matching the window title name with each keyword in a preset keyword configuration file, wherein the keyword configuration file comprises keyword subsets respectively corresponding to various preset message types, and each keyword subset comprises more than one keyword;
if the matching is successful, determining the message type corresponding to the keyword successfully matched with the window title name as the preferred message type;
respectively acquiring the push times and click times of each preferred push message in a specified time period from the historical statistical records; the preference index for each preferred push message is calculated separately according to:
Figure FDA0004098024920000031
wherein N is the serial number of the preferred push message, N is more than or equal to 1 and less than or equal to N, N is the total number of the preferred push messages, clickNum n SendNum for the number of clicks of the nth preferred push message n Is the push times of the nth preferred push message, min is a minimum function, ξ 1 And xi 2 Are all preset weight coefficients, and xi 12 =1,PriIndex n A preference index for the nth preferred push message; and selecting a specified number of preferred push messages from a preset push message database according to the sequence of the preferred indexes from large to small, and pushing the selected preferred push messages to the terminal equipment, wherein the preferred push messages are push messages with the message types consistent with the preferred message types.
7. The message pushing terminal device according to claim 6, further comprising, before matching the window title name with each keyword in a preset keyword profile in sequence:
sending a configuration updating request to a preset configuration server;
receiving configuration information fed back by the configuration server, wherein the configuration information comprises a first message digest value, and the first message digest value is obtained by processing a keyword configuration file in the configuration server by using a preset message digest algorithm;
judging whether the first message digest value is consistent with a second message digest value, wherein the second message digest value is obtained by processing a locally stored keyword configuration file by using the message digest algorithm;
and if the first message digest value is inconsistent with the second message digest value, downloading the keyword configuration file in the configuration server, and replacing the locally stored keyword configuration file with the keyword configuration file in the configuration server.
8. The message pushing terminal device according to claim 6, wherein said matching the window title name with each keyword in a preset keyword configuration file in sequence comprises:
selecting a keyword which has the highest priority and is not selected from the keyword configuration file as a current keyword;
searching the current keyword in the window title name;
if the current keyword is not found in the window title name, returning to execute the step of selecting a keyword which has the highest priority and is not selected from the keyword configuration file as the current keyword;
and if the current keyword is found in the window title name, determining that the window title name is successfully matched with the current keyword.
CN201810414850.4A 2018-05-03 2018-05-03 Message pushing method, computer readable storage medium and terminal equipment Active CN108874876B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810414850.4A CN108874876B (en) 2018-05-03 2018-05-03 Message pushing method, computer readable storage medium and terminal equipment
PCT/CN2018/096255 WO2019210585A1 (en) 2018-05-03 2018-07-19 Message push method and apparatus, and computer readable storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810414850.4A CN108874876B (en) 2018-05-03 2018-05-03 Message pushing method, computer readable storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108874876A CN108874876A (en) 2018-11-23
CN108874876B true CN108874876B (en) 2023-04-18

Family

ID=64327365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810414850.4A Active CN108874876B (en) 2018-05-03 2018-05-03 Message pushing method, computer readable storage medium and terminal equipment

Country Status (2)

Country Link
CN (1) CN108874876B (en)
WO (1) WO2019210585A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535769B (en) * 2020-04-15 2023-11-03 北京京东振世信息技术有限公司 Method and device for inquiring information
CN111881339B (en) * 2020-06-05 2024-03-22 百度在线网络技术(北京)有限公司 Method and device for pushing and notifying resource information, electronic equipment and storage medium
CN113515700B (en) * 2021-07-01 2024-02-20 深圳追一科技有限公司 Information pushing method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713410A (en) * 2016-10-27 2017-05-24 腾讯科技(深圳)有限公司 User information acquisition method and related devices

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
KR101606319B1 (en) * 2015-01-26 2016-03-24 성균관대학교산학협력단 Method of push messages management using database
CN105915612A (en) * 2016-04-19 2016-08-31 北京金山安全软件有限公司 Push message acquisition method, message push method and device
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
CN106790534A (en) * 2016-12-21 2017-05-31 全球能源互联网研究院 A kind of power system information push method, apparatus and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713410A (en) * 2016-10-27 2017-05-24 腾讯科技(深圳)有限公司 User information acquisition method and related devices

Also Published As

Publication number Publication date
CN108874876A (en) 2018-11-23
WO2019210585A1 (en) 2019-11-07

Similar Documents

Publication Publication Date Title
CN108763502B (en) Information recommendation method and system
US20230104506A1 (en) Push notification delivery system with feedback analysis
US10534635B2 (en) Personal digital assistant
CN107864301B (en) Client label management method, system, computer equipment and storage medium
CN110413867B (en) Method and system for content recommendation
US20190166216A1 (en) Information pushing method and device
CN108874876B (en) Message pushing method, computer readable storage medium and terminal equipment
US20200356572A1 (en) Search ranking method and apparatus, electronic device and storage medium
CN110782291A (en) Advertisement delivery user determination method and device, storage medium and electronic device
US9531827B1 (en) Push notification delivery system with feedback analysis
CN112104505B (en) Application recommendation method, device, server and computer readable storage medium
CN110782286A (en) Advertisement pushing method and device, server and computer readable storage medium
CN107426336B (en) Method and device for adjusting push message opening rate
CN113641712B (en) Hit processing method, device, equipment and storage medium for complex event
CN108985805B (en) Method and device for selectively executing push task
CN114119123A (en) Information pushing method and device
CN108012558B (en) Telephone number normalization and information discoverability
CN111009299A (en) Similar medicine recommendation method and system, server and medium
US20140214844A1 (en) Multiple classification models in a pipeline
CN107784062B (en) Product data processing system and method
CN116781568A (en) Data monitoring alarm method, device, equipment and storage medium
CN115858815A (en) Method for determining mapping information, advertisement recommendation method, device, equipment and medium
US8880546B1 (en) System, method, and computer program for refining a set of keywords utilizing historical activity thresholds
CN115062086A (en) Application program function pushing method and device, computer equipment and storage medium
CN114496139A (en) Quality control method, device, equipment and system of electronic medical record and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant