CN108874876A - A kind of information push method, computer readable storage medium and terminal device - Google Patents

A kind of information push method, computer readable storage medium and terminal device Download PDF

Info

Publication number
CN108874876A
CN108874876A CN201810414850.4A CN201810414850A CN108874876A CN 108874876 A CN108874876 A CN 108874876A CN 201810414850 A CN201810414850 A CN 201810414850A CN 108874876 A CN108874876 A CN 108874876A
Authority
CN
China
Prior art keywords
message
keyword
title
push
preferred
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.)
Granted
Application number
CN201810414850.4A
Other languages
Chinese (zh)
Other versions
CN108874876B (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

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 field of computer technology more particularly to a kind of information push methods, computer readable storage medium and terminal device.The method obtains the window title title shown on the terminal device of user first, then the window title title is successively matched with each keyword in preset keyword configuration file, if successful match, type of message corresponding with the successful keyword of window title name-matches is then determined as preferred message type, the preferred PUSH message specified number is finally chosen in preset PUSH message database, and the preferred PUSH message of selection is pushed into the terminal device.Through the embodiment of the present invention, the window checked can be currently open according to user, push corresponding PUSH message for it, ensure that the real-time of message push, user experience greatly promotes.

Description

A kind of information push method, computer readable storage medium and terminal device
Technical field
The invention belongs to field of computer technology more particularly to a kind of information push methods, computer readable storage medium And terminal device.
Background technique
With the rapid development of mobile Internet and intelligent terminal equipment it is universal, people increasingly tend to using Terminal device obtains information and service, and the application client installed in traditional terminal device is actively to server pull There are many deficiencies for the mode of information, therefore push technology comes into being.The push technology of push server does not need user not Stop refreshing application client to check information updating, PUSH message can be continuously sent to by push server automatically Application client substantially increases the interactive performance between client and server.But current information push method one As be to push messages to user in certain regular times, the real-time of push is difficult to ensure that user experience is poor.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of information push method, computer readable storage medium and terminals Equipment is difficult to ensure with the information push method real-time for solving current, the poor problem of user experience.
The first aspect of the embodiment of the present invention provides a kind of information push method, may include:
Obtain the window title title shown on the terminal device of user;
The window title title is successively matched with each keyword in preset keyword configuration file, institute State in keyword configuration file includes keyword subset corresponding with preset various type of messages, each keyword subset In include more than one keyword;
If successful match, type of message corresponding with the successful keyword of window title name-matches is determined as Preferred message type;
Choose the preferred PUSH message specified number in preset PUSH message database, and by selection it is described preferably PUSH message pushes to the terminal device, and the preferred PUSH message is that type of message and the preferred message type are consistent PUSH message.
The second aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer-readable instruction, and the computer-readable instruction realizes following steps when being executed by processor:
Obtain the window title title shown on the terminal device of user;
The window title title is successively matched with each keyword in preset keyword configuration file, institute State in keyword configuration file includes keyword subset corresponding with preset various type of messages, each keyword subset In include more than one keyword;
If successful match, type of message corresponding with the successful keyword of window title name-matches is determined as Preferred message type;
Choose the preferred PUSH message specified number in preset PUSH message database, and by selection it is described preferably PUSH message pushes to the terminal device, and the preferred PUSH message is that type of message and the preferred message type are consistent PUSH message.
The third aspect of the embodiment of the present invention provide a kind of message push terminal device, including memory, processor with And the computer-readable instruction that can be run in the memory and on the processor is stored, described in the processor execution Following steps are realized when computer-readable instruction:
Obtain the window title title shown on the terminal device of user;
The window title title is successively matched with each keyword in preset keyword configuration file, institute State in keyword configuration file includes keyword subset corresponding with preset various type of messages, each keyword subset In include more than one keyword;
If successful match, type of message corresponding with the successful keyword of window title name-matches is determined as Preferred message type;
Choose the preferred PUSH message specified number in preset PUSH message database, and by selection it is described preferably PUSH message pushes to the terminal device, and the preferred PUSH message is that type of message and the preferred message type are consistent PUSH message.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention is obtained in user first Terminal device on the window title title that shows, then will be in the window title title and preset keyword configuration file Each keyword successively matched, will be with the successful keyword pair of window title name-matches if successful match The type of message answered is determined as preferred message type, finally chosen in preset PUSH message database specify number it is preferred PUSH message, and the preferred PUSH message of selection is pushed into the terminal device.Through the embodiment of the present invention, Ke Yigen The window checked is currently open according to user, pushes corresponding PUSH message for it, ensure that the real-time of message push Property, user experience greatly promotes.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of one embodiment flow chart of information push method in the embodiment of the present invention;
Fig. 2 is the schematic flow diagram being updated to keyword configuration file;
Fig. 3 is a kind of one embodiment structure chart of message driving means in the embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of message push terminal device in the embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, a kind of one embodiment of information push method may include in the embodiment of the present invention:
Step S101 obtains the window title title shown on the terminal device of user.
The window title title can be in the title bar of active user's application program currently in use (APP) window Title.
Specifically, the application programming interface (Application that the system of terminal device can be provided Programming Interface, API) in idProcess and idThresd emptied, obtain current system in institute There is user's process message, function is then handled by process and handles these consumer process message, it is finally processed to these Consumer process message is identified, to realize while not influencing application program normal operation, gets application program Process title and the window title title for opening window.
Optionally, the process that Hook function monitoring access application can be registered in the terminal device, by this The Hook function registered in terminal device obtains the consumer process message for accessing the process of the application program.Wherein, Hook letter Several namely Hook Function, is a platform of message processing facility, and subprogram can be arranged above with besel in application program Mouth message, and the window monitored can be what other processes were created, after window message reaches, execute window processing The pre-treatment of the function window message.
In addition, Hook mechanism allows application program to intercept and capture processing message or particular event, hook is actually a processing The program segment of message, is called by system, and Hook function is linked into system, before pop-up message does not reach target window, Hook function just first captures the window message, and then Hook function can not also be dealt with the working process window message And continue to transmit the window message, the transmitting for terminating the window message can also be forced.
Step S102, by each keyword in the window title title and preset keyword configuration file successively into Row matching.
Preferably, by each keyword in the window title title and preset keyword configuration file successively into Before row matching, the keyword configuration file can also be updated by process as shown in Figure 2:
Step S201 sends configuration to preset configuration server and updates request.
Since keyword may be as the time is continually changing, the keyword configuration file can correspondingly not yet Disconnected to change, the configuration server provides update for storing current newest keyword configuration file for terminal device Standard.
Step S202 receives the configuration information of the configuration server feedback.
It include first message digest value in the configuration information, the first message digest value is to be plucked using preset message The message digest value for wanting algorithm to handle the keyword configuration file in the configuration server, in this example, The Message Digest 5 can be MD5 algorithm, SHA-1 algorithm and other similar algorithms.Message Digest 5 can be The Input transformation of random length is at the output of regular length, and this conversion is a kind of compression mapping, it is, the length of output is logical Often much smaller than the length of input, different inputs may hash to identical output, and can not come from output valve unique It determines input value, is briefly exactly a kind of mistake of the eap-message digest of the message compression by random length to a certain regular length Journey.
Step S203 judges whether the first message digest value is consistent with second message digest value.
The second message digest value be using the Message Digest 5 to the keyword configuration file being locally stored into The message digest value that row processing obtains.
If the first message digest value and the second message digest value are inconsistent, illustrate the keyword being locally stored Configuration file and the keyword configuration file in the configuration server are inconsistent, that is to say, that the keyword configuration being locally stored File is not newest version, needs to be updated it, step S204 is executed at this time, if the first message digest value and institute It states that second message digest value is consistent, then illustrates the keyword in the keyword configuration file being locally stored and the configuration server Configuration file is consistent, that is to say, that the keyword configuration file being locally stored has been newest version, without carrying out more to it Newly, step S205 is executed at this time.
Step S204 downloads the keyword configuration file in the configuration server, and using in the configuration server Keyword configuration file replace the keyword configuration file that is locally stored.
Step S205 keeps the keyword configuration file being locally stored.
The above process is the process of terminal device active more new keywords configuration file, in the alternatively possible of the present embodiment In realization, the update of keyword configuration file can be carried out come instruction terminal equipment by the configuration server, i.e., is matched when described When setting the keyword configuration file in server and changing, the configuration server will current newest keyword configuration file It is sent to terminal device, after terminal device receives the configuration file, the keyword being locally stored is replaced using the configuration file Configuration file.
It include keyword subset corresponding with preset various type of messages in the keyword configuration file, each It include more than one keyword in keyword subset.For example, commercial paper, Domestic News class, system notice class etc. can be divided Type of message, each type of pushed information are respectively provided with corresponding keyword subset.For example, the keyword subset of commercial paper In may include:The keywords such as " advertisement ", " promotion ", " preferential ", " price reduction ".
Preferably, priority can also be set for each keyword, it specifically can be by user according to oneself use habit It is configured, this implementation is not especially limited this.
When being matched, highest priority is chosen first from the keyword configuration file and was not yet selected Then one keyword searches the current key word, if described as current key word in the window title title The current key word is not found in window title title, then returns and is chosen from the keyword configuration file described in execution Highest priority and the step of a keyword being not yet selected is as current key word, if in the window title title In find the current key word, it is determined that the window title title and the current key word successful match.If traversal Complete all keywords do not find any one keyword in the window title title yet, it is determined that it fails to match.
Step S103, judges whether successful match.
Namely whether judge in the window title title comprising any one pass in the keyword configuration file Keyword.If matching is unsuccessful, S104 is thened follow the steps, if successful match, thens follow the steps S105 and its subsequent step.
Step S104 is pushed without message.
Type of message corresponding with the successful keyword of window title name-matches is determined as preferably by step S105 Type of message.
Step S106 chooses the preferred PUSH message specified number in preset PUSH message database, and will choose The preferred PUSH message push to the terminal device.
The preferred PUSH message is type of message and the consistent PUSH message of preferred message type.
Specifically, each preferred PUSH message at the appointed time pushing away in section is obtained respectively from historical statistics record first Number and number of clicks are sent, then calculates separately the preferred index of each preferred PUSH message according to the following formula:
Wherein, n is the serial number of preferred PUSH message, and 1≤n≤N, N are the total number of preferred PUSH message, ClickNumn For the number of clicks of n-th of preferred PUSH message, SendNumnFor the push times of n-th of preferred PUSH message, min is minimum Value function, ξ1And ξ2It is preset weight coefficient, and ξ12=1, for example, ξ can be set12=0.5, PriIndexnFor The preferred index of n-th of preferred PUSH message.
It finally successively chooses and refers to from the PUSH message database according to the sequence of the priority index from big to small The preferred PUSH message of fixed number purpose.
Preferably, the setting up procedure specified number may include:
Firstly, obtaining display duration of the window title title on the terminal device.
Then, the window title title is obtained respectively from historical statistics record at the appointed time in section in each target Display duration in equipment.
The target device is the terminal device as the objects of statistics of historical statistics record.
Finally, being specified number described in calculating according to the following formula:
Wherein, ShowTime is display duration of the window title title on the terminal device, and hn sets for target Standby serial number, 1≤hn≤HN, HN are the total number of target device, HiShowTimehnIt is the window title title at hn Display duration on target device, BenchNum are preset benchmark number, and value can be configured according to the actual situation, For example, 3,5,10 etc. can be set to.MaxTime=max (HiShowTime1,HiShowTime2,......, HiShowTimehn,......,HiShowTimeHN), min is minimum value function, and max is max function, and floor is downward Bracket function, SNum are described specify number.
In conclusion the embodiment of the present invention obtains the window title title shown on the terminal device of user first, so The window title title is successively matched with each keyword in preset keyword configuration file afterwards, if matching at Type of message corresponding with the successful keyword of window title name-matches is then determined as preferred message type, most by function The preferred PUSH message specified number is chosen in preset PUSH message database afterwards, and the preferred push of selection is disappeared Breath pushes to the terminal device.Through the embodiment of the present invention, the window checked can be currently open according to user, be it Corresponding PUSH message is pushed, ensure that the real-time of message push, user experience greatly promotes.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to a kind of information push method described in foregoing embodiments, Fig. 3 shows provided in an embodiment of the present invention one One embodiment structure chart of kind message driving means.
In the present embodiment, a kind of message driving means may include:
Window title name acquiring module 301, for obtaining the window title title shown on the terminal device of user;
Keywords matching module 302, for by the window title title with it is each in preset keyword configuration file A keyword is successively matched, and includes pass corresponding with preset various type of messages in the keyword configuration file Keyword subset includes more than one keyword in each keyword subset;
Preferred message determination type module 303 will be with window title name-matches success if being used for successful match The corresponding type of message of keyword be determined as preferred message type;
It is preferred that PUSH message choose module 304, for chosen in preset PUSH message database specify number it is excellent PUSH message is selected, the preferred PUSH message is type of message and the consistent PUSH message of preferred message type;
It is preferred that PUSH message pushing module 305, sets for the preferred PUSH message chosen to be pushed to the terminal It is standby.
Further, the message driving means can also include:
Request sending module is updated, updates request for sending configuration to preset configuration server;
Feedback information receiving module, for receiving the configuration information of configuration server feedback, in the configuration information Including first message digest value, the first message digest value is using preset Message Digest 5 to the configuration server In the message digest value that is handled of keyword configuration file;
Digest value judgment module, for judging whether the first message digest value is consistent with second message digest value, institute Stating second message digest value is to be handled to obtain to the keyword configuration file being locally stored using the Message Digest 5 Message digest value;
Configuration file replacement module, if inconsistent for the first message digest value and the second message digest value, The keyword configuration file in the configuration server is then downloaded, and uses the keyword configuration file in the configuration server Replace the keyword configuration file being locally stored.
Further, the Keywords matching module may include:
Current key word selection unit, for choosing highest priority from the keyword configuration file and being not yet chosen The keyword taken is as current key word;
Current key word searching unit, for searching the current key word in the window title title;
Successful match determination unit, if for finding the current key word in the window title title, really The fixed window title title and the current key word successful match.
Further, the preferred PUSH message selection module may include:
Data capture unit, for obtaining each preferred PUSH message at the appointed time section in recording from historical statistics respectively Interior push times and number of clicks;
It is preferred that exponent calculation unit, for calculating separately the preferred index of each preferred PUSH message according to the following formula:
Wherein, n is the serial number of preferred PUSH message, and 1≤n≤N, N are the total number of preferred PUSH message, ClickNumn For the number of clicks of n-th of preferred PUSH message, SendNumnFor the push times of n-th of preferred PUSH message, min is minimum Value function, ξ1And ξ2It is preset weight coefficient, and ξ12=1, PriIndexnFor the preferred finger of n-th of preferred PUSH message Number;
It is preferred that PUSH message selection unit, for successively being pushed away from described according to the sequence of the priority index from big to small Send the preferred PUSH message chosen and specified number in message database.
Further, the message driving means can also include:
First display duration obtains module, for obtaining the window title title in the display on the terminal device It is long;
Second display duration obtains module, is referring to for obtaining the window title title in recording from historical statistics respectively Display duration in section of fixing time on each target device, the target device are the statistics as historical statistics record The terminal device of object;
Computing module is specified number, for calculating described specify number according to the following formula:
Wherein, ShowTime is display duration of the window title title on the terminal device, and hn sets for target Standby serial number, 1≤hn≤HN, HN are the total number of target device, HiShowTimehnIt is the window title title at hn Display duration on target device, BenchNum are preset benchmark number, MaxTime=max (HiShowTime1, HiShowTime2,......,HiShowTimehn,......,HiShowTimeHN), min is minimum value function, and max is maximum Value function, floor are downward bracket function, and SNum is described specifies number.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description, The specific work process of module and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Fig. 4 shows a kind of schematic block diagram of message push terminal device provided in an embodiment of the present invention, for the ease of saying Bright, only parts related to embodiments of the present invention are shown.
In the present embodiment, the message push terminal device 4 can be mobile phone, tablet computer, smartwatch, intelligent hand Ring and intelligent glasses etc. calculate equipment.The message pushes terminal device 4:Processor 40, memory 41 and storage In the memory 41 and the computer-readable instruction 42 that can run on the processor 40, such as execute above-mentioned message The computer-readable instruction of method for pushing.The processor 40 realizes above-mentioned each disappear when executing the computer-readable instruction 42 Cease the step in method for pushing embodiment, such as step S101 to S106 shown in FIG. 1.Alternatively, the processor 40 executes institute The function of each module/unit in above-mentioned each Installation practice, such as module shown in Fig. 3 are realized when stating computer-readable instruction 42 301 to 305 function.
Illustratively, the computer-readable instruction 42 can be divided into one or more module/units, one Or multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Institute Stating one or more module/units can be the series of computation machine readable instruction section that can complete specific function, the instruction segment For describing implementation procedure of the computer-readable instruction 42 in message push terminal device 4.
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the message push terminal device 4, such as message push is eventually The hard disk or memory of end equipment 4.The memory 41 is also possible to the External memory equipment of the message push terminal device 4, Such as the plug-in type hard disk being equipped on the message push terminal device 4, intelligent memory card (Smart Media Card, SMC), Secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 41 may be used also Both to include that the message pushes the internal storage unit of terminal device 4 or including External memory equipment.The memory 41 is used Other instruction and datas needed for storing the computer-readable instruction and message push terminal device 4.It is described to deposit Reservoir 41 can be also used for temporarily storing the data that has exported or will export.
The functional units in various embodiments of the present invention may be integrated into one processing unit, is also possible to each Unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both may be used To use formal implementation of hardware, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a storage medium, including several computer-readable instructions are used so that one Platform computer equipment (can be personal computer, server or the network equipment etc.) executes described in each embodiment of the present invention The all or part of the steps of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of computer-readable instruction.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that:It still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of information push method, which is characterized in that including:
Obtain the window title title shown on the terminal device of user;
The window title title is successively matched with each keyword in preset keyword configuration file, the pass Include keyword subset corresponding with preset various type of messages in keyword configuration file, is wrapped in each keyword subset Include more than one keyword;
If successful match, type of message corresponding with the successful keyword of window title name-matches is determined as preferably Type of message;
Choose the preferred PUSH message specified number in preset PUSH message database, and by the preferred push of selection Message pushes to the terminal device, and the preferred PUSH message is type of message and the consistent push of preferred message type Message.
2. information push method according to claim 1, which is characterized in that by the window title title with it is preset Before each keyword in keyword configuration file is successively matched, further include:
Configuration, which is sent, to preset configuration server updates request;
The configuration information of configuration server feedback is received, includes first message digest value in the configuration information, described the One message digest value be using preset Message Digest 5 to the keyword configuration file in the configuration server at Manage obtained message digest value;
Judge whether the first message digest value is consistent with second message digest value, the second message digest value is uses institute State the message digest value that Message Digest 5 handles the keyword configuration file being locally stored;
If the first message digest value and the second message digest value are inconsistent, the pass in the configuration server is downloaded Keyword configuration file, and text is configured using the keyword that the keyword configuration file replacement in the configuration server is locally stored Part.
3. information push method according to claim 1, which is characterized in that described by the window title title and default Keyword configuration file in each keyword successively carry out matching include:
Highest priority is chosen from the keyword configuration file and a keyword being not yet selected is closed as current Keyword;
The current key word is searched in the window title title;
If not finding the current key word in the window title title, returns and match described in execution from the keyword It sets and chooses the step of highest priority and a keyword being not yet selected are as current key word in file;
If finding the current key word in the window title title, it is determined that the window title title is worked as with described Preceding Keywords matching success.
4. information push method according to claim 1, which is characterized in that described in preset PUSH message database Choosing the preferred PUSH message specified number includes:
It obtains push times of each preferred PUSH message at the appointed time in section respectively from historical statistics record and clicks time Number;
The preferred index of each preferred PUSH message is calculated separately according to the following formula:
Wherein, n is the serial number of preferred PUSH message, and 1≤n≤N, N are the total number of preferred PUSH message, ClickNumnIt is n-th The number of clicks of a preferred PUSH message, SendNumnFor the push times of n-th of preferred PUSH message, min is minimum value letter Number, ξ1And ξ2It is preset weight coefficient, and ξ12=1, PriIndexnFor the preferred index of n-th of preferred PUSH message;
It successively chooses from the PUSH message database and specifies number according to the sequence of the priority index from big to small It is preferred that PUSH message.
5. information push method according to any one of claim 1 to 4, which is characterized in that it is described specify number set The process of setting includes:
Obtain display duration of the window title title on the terminal device;
The window title title is obtained respectively from historical statistics record at the appointed time in section on each target device Show duration, the target device is the terminal device as the objects of statistics of historical statistics record;
It is specified number described in calculating according to the following formula:
Wherein, ShowTime is display duration of the window title title on the terminal device, and hn is target device Serial number, 1≤hn≤HN, HN are the total number of target device, HiShowTimehnIt is the window title title in the hn target Display duration in equipment, BenchNum are preset benchmark number, MaxTime=max (HiShowTime1, HiShowTime2,......,HiShowTimehn,......,HiShowTimeHN), min is minimum value function, and max is maximum Value function, floor are downward bracket function, and SNum is described specifies number.
6. a kind of computer readable storage medium, the computer-readable recording medium storage has computer-readable instruction, special Sign is, realizes that the message as described in any one of claims 1 to 5 pushes away when the computer-readable instruction is executed by processor The step of delivery method.
7. a kind of message pushes terminal device, including memory, processor and storage are in the memory and can be described The computer-readable instruction run on processor, which is characterized in that the processor executes real when the computer-readable instruction Existing following steps:
Obtain the window title title shown on the terminal device of user;
The window title title is successively matched with each keyword in preset keyword configuration file, the pass Include keyword subset corresponding with preset various type of messages in keyword configuration file, is wrapped in each keyword subset Include more than one keyword;
If successful match, type of message corresponding with the successful keyword of window title name-matches is determined as preferably Type of message;
Choose the preferred PUSH message specified number in preset PUSH message database, and by the preferred push of selection Message pushes to the terminal device, and the preferred PUSH message is type of message and the consistent push of preferred message type Message.
8. message according to claim 7 pushes terminal device, which is characterized in that by the window title title and in advance If keyword configuration file in each keyword successively matched before, further include:
Configuration, which is sent, to preset configuration server updates request;
The configuration information of configuration server feedback is received, includes first message digest value in the configuration information, described the One message digest value be using preset Message Digest 5 to the keyword configuration file in the configuration server at Manage obtained message digest value;
Judge whether the first message digest value is consistent with second message digest value, the second message digest value is uses institute State the message digest value that Message Digest 5 handles the keyword configuration file being locally stored;
If the first message digest value and the second message digest value are inconsistent, the pass in the configuration server is downloaded Keyword configuration file, and text is configured using the keyword that the keyword configuration file replacement in the configuration server is locally stored Part.
9. message according to claim 7 pushes terminal device, which is characterized in that it is described by the window title title with Each keyword in preset keyword configuration file successively carries out matching:
Highest priority is chosen from the keyword configuration file and a keyword being not yet selected is closed as current Keyword;
The current key word is searched in the window title title;
If not finding the current key word in the window title title, returns and match described in execution from the keyword It sets and chooses the step of highest priority and a keyword being not yet selected are as current key word in file;
If finding the current key word in the window title title, it is determined that the window title title is worked as with described Preceding Keywords matching success.
10. message according to any one of claims 7 to 9 pushes terminal device, which is characterized in that described preset The preferred PUSH message specified number is chosen in PUSH message database includes:
It obtains push times of each preferred PUSH message at the appointed time in section respectively from historical statistics record and clicks time Number;
The preferred index of each preferred PUSH message is calculated separately according to the following formula:
Wherein, n is the serial number of preferred PUSH message, and 1≤n≤N, N are the total number of preferred PUSH message, ClickNumnIt is n-th The number of clicks of a preferred PUSH message, SendNumnFor the push times of n-th of preferred PUSH message, min is minimum value letter Number, ξ1And ξ2It is preset weight coefficient, and ξ12=1, PriIndexnFor the preferred index of n-th of preferred PUSH message;
It successively chooses from the PUSH message database and specifies number according to the sequence of the priority index from big to small It is preferred that PUSH message.
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 true CN108874876A (en) 2018-11-23
CN108874876B 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
CN108874876B (en) 2023-04-18
WO2019210585A1 (en) 2019-11-07

Similar Documents

Publication Publication Date Title
US20240080370A1 (en) Push notification delivery system with feedback analysis
WO2018183570A1 (en) Method and apparatus for generating push notifications
CN106845999A (en) Risk subscribers recognition methods, device and server
CN108984553B (en) Caching method and device
US10552863B1 (en) Machine learning approach for causal effect estimation
JP6233673B2 (en) Information providing method, apparatus and device
CN108874876A (en) A kind of information push method, computer readable storage medium and terminal device
US9531827B1 (en) Push notification delivery system with feedback analysis
CN109669931A (en) Historical data exception analysis method, system, equipment and storage medium
US20150348052A1 (en) Crm-based discovery of contacts and accounts
US10817845B2 (en) Updating messaging data structures to include predicted attribute values associated with recipient entities
CN111400465A (en) Generation method and device of customer service robot, electronic equipment and medium
WO2022116431A1 (en) Click through rate (ctr) prediction method and apparatus
CN110162537A (en) Data query method and device, storage medium and electronic equipment
US11948573B2 (en) Automatically rectifying in real-time anomalies in natural language processing systems
CN115759433A (en) Method and device for determining waiting duration of business handling and server
CN107256231B (en) Team member identification device, method and system
US20220172712A1 (en) Machine learning to propose actions in response to natural language questions
WO2022068280A1 (en) Data processing method and apparatus, device, and storage medium
CN108667875A (en) information updating method and device
CN110069508A (en) Data analysing method, device and terminal device based on big data
US9183595B1 (en) Using link strength in knowledge-based authentication
CN113256240A (en) Message processing method and device and server
US9600770B1 (en) Method for determining expertise of users in a knowledge management system
CN114331379B (en) Method for outputting task to be handled, model training method and device

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