CN113434301A - Information pushing method and device, computer equipment and storage medium - Google Patents
Information pushing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113434301A CN113434301A CN202110840905.XA CN202110840905A CN113434301A CN 113434301 A CN113434301 A CN 113434301A CN 202110840905 A CN202110840905 A CN 202110840905A CN 113434301 A CN113434301 A CN 113434301A
- Authority
- CN
- China
- Prior art keywords
- information
- sending
- pushing
- request
- target
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses an information pushing method, an information pushing device, computer equipment and a storage medium. The method comprises the following steps: acquiring an information push request; carrying out duplicate removal processing on the related information of the information pushing request to obtain intermediate information; sequencing the intermediate information to obtain target information; generating a list to be sent according to the target information; sequentially sending the corresponding target information in the list to be sent to a sending queue; and pushing the target information according to the sending queue. The method of the embodiment of the invention can avoid sending batch information at one time, realize that the phenomenon of short message missing can not occur, and push the short message according to the importance of the information.
Description
Technical Field
The present invention relates to computers, and more particularly, to an information push method, apparatus, computer device, and storage medium.
Background
In order to meet marketing or business requirements, the operating department needs to send short messages to a large number of users or make outbound calls to the users. When pushing batch information, the current operation mode is to receive a sending request and directly send the information without processing such as duplicate removal of the information, and when batch information of the same user is pushed once, the phenomenon of missing connection due to the fact that the batch information is regarded as a spam message is easily caused, and the batch information cannot be pushed according to the importance of the information.
Therefore, it is necessary to design a new method, which can not generate the phenomenon of missing short messages and can push the short messages according to the importance of the messages.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides an information pushing method, an information pushing device, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: the information pushing method comprises the following steps:
acquiring an information push request;
carrying out duplicate removal processing on the related information of the information pushing request to obtain intermediate information;
sequencing the intermediate information to obtain target information;
generating a list to be sent according to the target information;
sequentially sending the corresponding target information in the list to be sent to a sending queue;
and pushing the target information according to the sending queue.
The further technical scheme is as follows: the information pushing request comprises information needing to be pushed and terminal information for receiving the information.
The further technical scheme is as follows: the performing deduplication processing on the related information of the information pushing request to obtain intermediate information includes:
the information needing to be pushed is pushed by the information pushing request to be subjected to duplicate checking so as to obtain a duplicate checking result;
and combining the information with the repetition rate higher than a preset value according to the duplicate checking result to obtain intermediate information.
The further technical scheme is as follows: the sorting the intermediate information to obtain target information includes:
acquiring the information category corresponding to the intermediate information;
determining the priority level of the intermediate information according to the information category;
sequencing the sending sequence of the intermediate information of the same terminal information according to the priority level to obtain the sequenced intermediate information;
and marking the sending time of the sequenced intermediate information of the same terminal information according to a time interval rule to obtain target information.
The further technical scheme is as follows: after the corresponding target information in the to-be-sent list is sequentially sent to the sending queue, the method further includes:
when a new message needs to be inserted for sending in the middle, judging whether the new message has the requirement of sending time;
if the new information has the requirement of sending time, inserting the new information into a sending queue according to the requirement of sending time;
and if the new information has no requirement on the sending time, inserting the new information into the sending queue according to the priority level of the new information.
The invention also provides an information pushing device, comprising:
the request acquisition unit is used for acquiring an information push request;
the duplication removing unit is used for carrying out duplication removing processing on the relevant information of the information pushing request to obtain intermediate information;
the sorting unit is used for sorting the intermediate information to obtain target information;
the list generating unit is used for generating a list to be sent according to the target information;
a queue sending unit, configured to send the corresponding target information in the to-be-sent list to a sending queue in sequence;
and the information pushing unit is used for pushing the target information according to the sending queue.
The further technical scheme is as follows: the deduplication unit comprises:
the duplicate checking subunit is used for checking duplicate of the information needing to be pushed by the information pushing request to obtain a duplicate checking result;
and the merging subunit is used for merging the information with the repetition rate higher than the preset value according to the duplicate checking result so as to obtain the intermediate information.
The further technical scheme is as follows: the sorting unit includes:
the category acquisition subunit is used for acquiring the information category corresponding to the intermediate information;
the level determining subunit is used for determining the priority level of the intermediate information according to the information category;
the sorting subunit is configured to sort the sending order of the intermediate information of the same terminal information according to the priority level to obtain sorted intermediate information;
and the labeling subunit is used for labeling the sending time of the sorted intermediate information of the same terminal information according to a time interval rule so as to obtain the target information.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method described above.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, after the batch information is subjected to duplicate removal processing, the batch information is sorted according to the priority level and the interval sending time, the sorted information is generated into the list to be sent, and then the information in the list to be sent is transferred into the sending queue for pushing the information, so that the batch information is prevented from being sent at one time, the phenomenon of short message missing is avoided, and the pushing can be carried out according to the importance of the information.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are 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 creative efforts.
Fig. 1 is a schematic view of an application scenario of an information pushing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an information pushing method according to an embodiment of the present invention;
fig. 3 is a schematic sub-flow chart of an information pushing method according to an embodiment of the present invention;
fig. 4 is a schematic sub-flow chart of an information pushing method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating an information pushing method according to another embodiment of the present invention;
fig. 6 is a schematic block diagram of an information pushing apparatus provided in an embodiment of the present invention;
fig. 7 is a schematic block diagram of a deduplication unit of an information pushing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of a sorting unit of an information pushing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic block diagram of an information pushing apparatus according to another embodiment of the present invention;
FIG. 10 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of an information push method according to an embodiment of the present invention. Fig. 2 is a schematic flow chart of an information pushing method according to an embodiment of the present invention. The information push method is applied to the server. The server performs data interaction with the terminal and the main server, acquires requests for pushing service information in batches from the main server, performs information duplication elimination and sorting processing on the requests by the server, transmits the requests to a sending queue, and sends the information to the terminal according to the sending queue.
Fig. 2 is a schematic flow chart of an information pushing method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S160.
And S110, acquiring the information push request.
In this embodiment, the information push request includes information to be pushed and terminal information of the received information.
Of course, in other embodiments, the information pushing request further includes the type of the information.
And the main server sends a to-do request, which is an information push request, to a system provider, namely the server.
S120, carrying out duplicate removal processing on the related information of the information push request to obtain intermediate information.
In this embodiment, the intermediate information is information formed by performing deduplication on information having the same content.
In an embodiment, referring to fig. 3, the step S120 may include steps S121 to S122.
And S121, carrying out duplicate checking on the information needing to be pushed in the information pushing request to obtain a duplicate checking result.
In the present embodiment, the duplication checking result refers to the degree of overlap between information.
Specifically, the degree of overlap between two pieces of information can be determined by calculating the degree of similarity between the two pieces of information.
And S122, combining the information with the repetition rate higher than the preset value according to the duplicate checking result to obtain intermediate information.
The information with the same content is merged, so that the problem that the terminal misses information due to repeated sending of the same information can be avoided.
S130, sequencing the intermediate information to obtain target information.
In this embodiment, the target information is the intermediate time sorted according to the transmission time and the priority level.
In an embodiment, referring to fig. 4, the step S130 may include steps S131 to S134.
S131, acquiring an information category corresponding to the intermediate information;
s132, determining the priority level of the intermediate information according to the information category.
In this embodiment, each piece of intermediate information labels the information category after deduplication, so as to facilitate determination of the priority level.
S133, sequencing the sending sequence of the intermediate information of the same terminal information according to the priority level to obtain the sequenced intermediate information.
And sorting the transmission orders of the intermediate information of the same terminal information from the highest to the lowest according to the priority levels.
And S134, marking the sending time of the sorted intermediate information of the same terminal information according to a time interval rule to obtain target information.
In this embodiment, the terminal information refers to an ID number of the terminal.
The intermediate information with the same terminal ID number sorted according to the priority level can be sent according to the set time interval, for example, after the first piece of information is sent currently, the second piece of information is sent again at an interval of 20 minutes, the third piece of information is sent again at an interval of 20 minutes after the second piece of information is sent, and so on, the sending time of all the sorted intermediate information is marked.
All the marked intermediate information is sequenced according to the time sequence, and the information is sent after a period of time, so that the information can be prevented from being intercepted, and different terminal requirements can be met.
And S140, generating a list to be sent according to the target information.
And after the target information is sequenced, forming a list to be sent by the target information and the corresponding received terminal information according to the time sequence.
S150, sequentially sending the corresponding target information in the list to be sent to a sending queue.
And S160, pushing the target information according to the sending queue.
When the information is sent, part or all of the target information in the list to be sent can be sent into the sending queue, and after the sending time is up, the corresponding target information is sent.
According to the information pushing method, after the batch information is subjected to duplicate removal processing, the batch information is sequenced according to the priority level and the interval sending time, the sequenced information is generated into a list to be sent, then the information in the list to be sent is transferred into a sending queue for pushing the information, the batch information is prevented from being sent at one time, the phenomenon that short messages are missed is avoided, and the batch information can be pushed according to the importance of the information.
Fig. 5 is a flowchart illustrating an information pushing method according to another embodiment of the present invention. As shown in fig. 4, the information push method of the present embodiment includes steps S210 to S290. Steps S210 to S250 are similar to steps S110 to S150 in the above embodiments, and step S290 is similar to step S160 in the above embodiments, and are not repeated here. The added steps S260-S280 in this embodiment are described in detail below.
S260, when a new message needs to be inserted for sending in the middle, judging whether the new message has a sending time requirement;
and S270, if the new information has the requirement of sending time, inserting the new information into a sending queue according to the requirement of sending time, and executing the step S290.
In this embodiment, if there is a request for a transmission time, that is, a request for a transmission time point, the new information is directly inserted into the transmission queue, and the new information is directly transmitted at the transmission time.
S280, if the new information has no requirement for sending time, inserting the new information into the sending queue according to the priority of the new information, and executing the step S290.
If no new information needs to be sent in the middle, step S290 is executed.
If the new information has no requirement of sending time, the priority level of the new information is determined, and the new information is inserted into the sending queue according to the priority level.
For example: the target information of the terminal A comprises information 1, information 2 and information 3; the target information of the terminal B includes information 4, information 5, and information 6; after the priority ranking and the sending time marking, the following steps are carried out: a terminal A: information 1(2021-06-18, 8:00), information 3(2021-06-19, 8:00), and information 2(2021-06-20, 8: 00); and a terminal B: information 6(2021-06-18, 9:00), information 4(2021-06-18, 10:00), and information 5(2021-06-18, 11: 00); the list to be sent is: information 1 (terminal a, 2021-06-18, 8: 00); information 6 (terminal B, 2021-06-18, 9: 00); information 4 (terminal B, 2021-06-18, 10: 00); information 5 (terminal B, 2021-06-18, 11: 00); information 3 (terminal a, 2021-06-19, 8:00), information 2 (terminal a, 2021-06-20, 8: 00); the transmission queue is then integrated by the information of the current day of the list to be transmitted, such as information 1 (terminal a, 2021-06-18, 8: 00); information 6 (terminal B, 2021-06-18, 9: 00); information 4 (terminal B, 2021-06-18, 10: 00); information 5 (terminal B, 2021-06-18, 11: 00). When new information 11 appears (terminal A, 2021-06-18, 12: 00); at this time, new information 11 (terminal A, 2021-06-18, 12:00) is directly inserted into the transmission queue, namely information 1 (terminal A, 2021-06-18, 8: 00); information 6 (terminal B, 2021-06-18, 9: 00); information 4 (terminal B, 2021-06-18, 10: 00); information 5 (terminal B, 2021-06-18, 11: 00); new message 11 (terminal A, 2021-06-18, 12: 00). If the new message 11 has no transmission time requirement, when the priority level of the new message 11 is determined to be between the message 1 and the message 3, the list to be transmitted is: information 1 (terminal a, 2021-06-18, 8: 00); information 6 (terminal B, 2021-06-18, 9: 00); information 4 (terminal B, 2021-06-18, 10: 00); information 5 (terminal B, 2021-06-18, 11: 00); information 3 (terminal a, 2021-06-19, 8: 00); new information 11 (terminal a, 2021-06-20, 8: 00); information 2 (terminal a, 2021-06-21, 8: 00); therefore, the sending time of the information in the list to be sent is not fixed and is changed in real time.
Fig. 6 is a schematic block diagram of an information pushing apparatus 300 according to an embodiment of the present invention. As shown in fig. 6, the present invention also provides an information pushing apparatus 300 corresponding to the above information pushing method. The information push apparatus 300 includes a unit for executing the above information push method, and the apparatus may be configured in a server. Specifically, referring to fig. 6, the information pushing apparatus 300 includes a request obtaining unit 301, a deduplication unit 302, a sorting unit 303, a list generating unit 304, a queue sending unit 305, and an information pushing unit 309.
A request acquisition unit 301, configured to acquire an information push request; a duplicate removal unit 302, configured to perform duplicate removal processing on the relevant information of the information push request to obtain intermediate information; a sorting unit 303, configured to sort the intermediate information to obtain target information; a list generating unit 304, configured to generate a to-be-sent list according to the target information; a queue sending unit 305, configured to send target information corresponding to the to-be-sent list to a sending queue in sequence; an information pushing unit 309, configured to push the target information according to the sending queue.
In one embodiment, as shown in fig. 7, the deduplication unit 302 includes a duplication checking subunit 3021 and a merging subunit 3022.
A duplicate checking subunit 3021, configured to check duplicate of the information that needs to be pushed in the information pushing request, so as to obtain a duplicate checking result; a merging subunit 3022, configured to merge, according to the duplicate checking result, information with a repetition rate higher than a preset value to obtain intermediate information.
In one embodiment, as shown in fig. 8, the sorting unit 303 includes a category obtaining sub-unit 3031, a rank determining sub-unit 3032, a sorting sub-unit 3033, and a labeling sub-unit 3034.
A category obtaining subunit 3031, configured to obtain an information category corresponding to the intermediate information; a level determination subunit 3032, configured to determine a priority level of the intermediate information according to the information category; a sorting subunit 3033, configured to sort, according to the priority, transmission orders of the intermediate information of the same terminal information to obtain sorted intermediate information; a labeling subunit 3034, configured to label the sending time of the sorted intermediate information of the same terminal information according to a time interval rule, so as to obtain the target information.
Fig. 9 is a schematic block diagram of an information pushing apparatus 300 according to another embodiment of the present invention. As shown in fig. 9, the information pushing apparatus 300 of the present embodiment is the above embodiment, and is added with an information determining unit 306, a first inserting unit 307, and a second inserting unit 308.
An information judging unit 306, configured to judge whether the new information has a requirement for sending time when a new information sending needs to be inserted in the middle; a first inserting unit 307, configured to insert the new information into a sending queue according to a requirement of sending time if the new information has the requirement of sending time, and execute the pushing of the target information according to the sending queue; a second inserting unit 308, configured to insert the new information into the sending queue according to the priority level of the new information if the new information has no requirement for sending time, and execute the pushing of the target information according to the sending queue.
It should be noted that, as can be clearly understood by those skilled in the art, the detailed implementation process of the information pushing apparatus 300 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The information pushing apparatus 300 may be implemented in a computer program, and the computer program may be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a server, wherein the server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 comprise program instructions that, when executed, cause the processor 502 to perform an information push method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be caused to execute an information pushing method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration relevant to the present teachings and is not intended to limit the computing device 500 to which the present teachings may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
acquiring an information push request; carrying out duplicate removal processing on the related information of the information pushing request to obtain intermediate information; sequencing the intermediate information to obtain target information; generating a list to be sent according to the target information; sequentially sending the corresponding target information in the list to be sent to a sending queue; and pushing the target information according to the sending queue.
The information pushing request comprises information needing to be pushed and terminal information for receiving the information.
In an embodiment, when the processor 502 implements the step of performing deduplication processing on the related information of the information push request to obtain the intermediate information, the following steps are specifically implemented:
the information needing to be pushed is pushed by the information pushing request to be subjected to duplicate checking so as to obtain a duplicate checking result; and combining the information with the repetition rate higher than a preset value according to the duplicate checking result to obtain intermediate information.
In an embodiment, when implementing the step of sorting the intermediate information to obtain the target information, the processor 502 specifically implements the following steps:
acquiring the information category corresponding to the intermediate information; determining the priority level of the intermediate information according to the information category; sequencing the sending sequence of the intermediate information of the same terminal information according to the priority level to obtain the sequenced intermediate information; and marking the sending time of the sequenced intermediate information of the same terminal information according to a time interval rule to obtain target information.
In an embodiment, after the step of sequentially sending the target information corresponding to the to-be-sent list to the sending queue is implemented, the processor 502 further implements the following steps:
when a new message needs to be inserted for sending in the middle, judging whether the new message has the requirement of sending time; if the new information has the requirement of sending time, inserting the new information into a sending queue according to the requirement of sending time; and if the new information has no requirement on the sending time, inserting the new information into the sending queue according to the priority level of the new information.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
acquiring an information push request; carrying out duplicate removal processing on the related information of the information pushing request to obtain intermediate information; sequencing the intermediate information to obtain target information; generating a list to be sent according to the target information; sequentially sending the corresponding target information in the list to be sent to a sending queue; and pushing the target information according to the sending queue.
The information pushing request comprises information needing to be pushed and terminal information for receiving the information.
In an embodiment, when the processor executes the computer program to implement the step of performing deduplication processing on the information related to the information push request to obtain the intermediate information, the following steps are specifically implemented:
the information needing to be pushed is pushed by the information pushing request to be subjected to duplicate checking so as to obtain a duplicate checking result; and combining the information with the repetition rate higher than a preset value according to the duplicate checking result to obtain intermediate information.
In an embodiment, when the processor executes the computer program to implement the step of sorting the intermediate information to obtain the target information, the following steps are specifically implemented:
acquiring the information category corresponding to the intermediate information; determining the priority level of the intermediate information according to the information category; sequencing the sending sequence of the intermediate information of the same terminal information according to the priority level to obtain the sequenced intermediate information; and marking the sending time of the sequenced intermediate information of the same terminal information according to a time interval rule to obtain target information.
In an embodiment, after the step of sequentially sending the target information corresponding to the to-be-sent list to the sending queue by executing the computer program, the processor further implements the following steps:
when a new message needs to be inserted for sending in the middle, judging whether the new message has the requirement of sending time; if the new information has the requirement of sending time, inserting the new information into a sending queue according to the requirement of sending time; and if the new information has no requirement on the sending time, inserting the new information into the sending queue according to the priority level of the new information.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units 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, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. The information pushing method is characterized by comprising the following steps:
acquiring an information push request;
carrying out duplicate removal processing on the related information of the information pushing request to obtain intermediate information;
sequencing the intermediate information to obtain target information;
generating a list to be sent according to the target information;
sequentially sending the corresponding target information in the list to be sent to a sending queue;
and pushing the target information according to the sending queue.
2. The information pushing method according to claim 1, wherein the information pushing request includes information to be pushed and terminal information of the received information.
3. The information push method according to claim 2, wherein the performing deduplication processing on the information related to the information push request to obtain intermediate information includes:
the information needing to be pushed is pushed by the information pushing request to be subjected to duplicate checking so as to obtain a duplicate checking result;
and combining the information with the repetition rate higher than a preset value according to the duplicate checking result to obtain intermediate information.
4. The information pushing method according to claim 2, wherein the sorting the intermediate information to obtain target information comprises:
acquiring the information category corresponding to the intermediate information;
determining the priority level of the intermediate information according to the information category;
sequencing the sending sequence of the intermediate information of the same terminal information according to the priority level to obtain the sequenced intermediate information;
and marking the sending time of the sequenced intermediate information of the same terminal information according to a time interval rule to obtain target information.
5. The information pushing method according to any one of claims 1 to 4, wherein after the corresponding target information in the to-be-sent list is sequentially sent into a sending queue, the method further comprises:
when a new message needs to be inserted for sending in the middle, judging whether the new message has the requirement of sending time;
if the new information has the requirement of sending time, inserting the new information into a sending queue according to the requirement of sending time, and pushing the target information according to the sending queue;
and if the new information has no requirement on the sending time, inserting the new information into a sending queue according to the priority level of the new information, and pushing the target information according to the sending queue.
6. Information push device, its characterized in that includes:
the request acquisition unit is used for acquiring an information push request;
the duplication removing unit is used for carrying out duplication removing processing on the relevant information of the information pushing request to obtain intermediate information;
the sorting unit is used for sorting the intermediate information to obtain target information;
the list generating unit is used for generating a list to be sent according to the target information;
a queue sending unit, configured to send the corresponding target information in the to-be-sent list to a sending queue in sequence;
and the information pushing unit is used for pushing the target information according to the sending queue.
7. The information push apparatus according to claim 6, wherein the deduplication unit comprises:
the duplicate checking subunit is used for checking duplicate of the information needing to be pushed by the information pushing request to obtain a duplicate checking result;
and the merging subunit is used for merging the information with the repetition rate higher than the preset value according to the duplicate checking result so as to obtain the intermediate information.
8. The information pushing device according to claim 6, wherein the sorting unit includes:
the category acquisition subunit is used for acquiring the information category corresponding to the intermediate information;
the level determining subunit is used for determining the priority level of the intermediate information according to the information category;
the sorting subunit is configured to sort the sending order of the intermediate information of the same terminal information according to the priority level to obtain sorted intermediate information;
and the labeling subunit is used for labeling the sending time of the sorted intermediate information of the same terminal information according to a time interval rule so as to obtain the target information.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory having stored thereon a computer program and a processor implementing the method according to any of claims 1-5 when executing the computer program.
10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110840905.XA CN113434301A (en) | 2021-07-19 | 2021-07-19 | Information pushing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110840905.XA CN113434301A (en) | 2021-07-19 | 2021-07-19 | Information pushing method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113434301A true CN113434301A (en) | 2021-09-24 |
Family
ID=77761695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110840905.XA Pending CN113434301A (en) | 2021-07-19 | 2021-07-19 | Information pushing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113434301A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103428290A (en) * | 2013-08-19 | 2013-12-04 | 北京网秦天下科技有限公司 | Method and device for pushing data |
CN104636477A (en) * | 2015-02-15 | 2015-05-20 | 山东卓创资讯集团有限公司 | Push list duplicate removal method before information push |
CN104735150A (en) * | 2015-03-27 | 2015-06-24 | 努比亚技术有限公司 | Message pushing method and device |
CN104753769A (en) * | 2015-03-24 | 2015-07-01 | 新余兴邦信息产业有限公司 | Method and device for issuing messages by message queue |
US20150261774A1 (en) * | 2014-03-17 | 2015-09-17 | Citrix Systems, Inc. | Real-time push notifications for cloud-based applications |
CN105245583A (en) * | 2015-09-24 | 2016-01-13 | 北京金山安全软件有限公司 | Promotion information pushing method and device |
CN107634993A (en) * | 2017-09-05 | 2018-01-26 | 腾讯科技(深圳)有限公司 | A kind of information push event-handling method, device and electronic equipment |
CN108156205A (en) * | 2016-12-06 | 2018-06-12 | 广州市动景计算机科技有限公司 | Information push method, client, server-side and programmable device |
CN108985805A (en) * | 2017-05-31 | 2018-12-11 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus that selectivity executes push task |
CN111917863A (en) * | 2020-07-28 | 2020-11-10 | 中国平安财产保险股份有限公司 | Message pushing method and device, television equipment and computer storage medium |
CN112199207A (en) * | 2020-09-03 | 2021-01-08 | 浙江大华技术股份有限公司 | Alarm information pushing method, device, system, equipment and medium |
CN112344990A (en) * | 2020-10-21 | 2021-02-09 | 平安国际智慧城市科技股份有限公司 | Environmental anomaly monitoring method, device, equipment and storage medium |
-
2021
- 2021-07-19 CN CN202110840905.XA patent/CN113434301A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103428290A (en) * | 2013-08-19 | 2013-12-04 | 北京网秦天下科技有限公司 | Method and device for pushing data |
US20150261774A1 (en) * | 2014-03-17 | 2015-09-17 | Citrix Systems, Inc. | Real-time push notifications for cloud-based applications |
CN104636477A (en) * | 2015-02-15 | 2015-05-20 | 山东卓创资讯集团有限公司 | Push list duplicate removal method before information push |
CN104753769A (en) * | 2015-03-24 | 2015-07-01 | 新余兴邦信息产业有限公司 | Method and device for issuing messages by message queue |
CN104735150A (en) * | 2015-03-27 | 2015-06-24 | 努比亚技术有限公司 | Message pushing method and device |
CN105245583A (en) * | 2015-09-24 | 2016-01-13 | 北京金山安全软件有限公司 | Promotion information pushing method and device |
CN108156205A (en) * | 2016-12-06 | 2018-06-12 | 广州市动景计算机科技有限公司 | Information push method, client, server-side and programmable device |
CN108985805A (en) * | 2017-05-31 | 2018-12-11 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus that selectivity executes push task |
CN107634993A (en) * | 2017-09-05 | 2018-01-26 | 腾讯科技(深圳)有限公司 | A kind of information push event-handling method, device and electronic equipment |
CN111917863A (en) * | 2020-07-28 | 2020-11-10 | 中国平安财产保险股份有限公司 | Message pushing method and device, television equipment and computer storage medium |
CN112199207A (en) * | 2020-09-03 | 2021-01-08 | 浙江大华技术股份有限公司 | Alarm information pushing method, device, system, equipment and medium |
CN112344990A (en) * | 2020-10-21 | 2021-02-09 | 平安国际智慧城市科技股份有限公司 | Environmental anomaly monitoring method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109657152B (en) | Push message sending method and device, electronic equipment and readable storage medium | |
US10560405B2 (en) | Ensuring that all users of a group message receive a response to the group message | |
CN109379445A (en) | A kind of sending method and device of PUSH message | |
EP3614623A1 (en) | System and method for proof-of-work based on hash mining for reducing spam attacks | |
CN111488529B (en) | Information processing method, information processing apparatus, server, and storage medium | |
CN111338810A (en) | Method and apparatus for storing information | |
CN107426336B (en) | Method and device for adjusting push message opening rate | |
CN107704357B (en) | Log generation method and device | |
CN111062634A (en) | Approval task allocation method and device, computer equipment and storage medium | |
CN117557214A (en) | Approval aging early warning method and device for approval process information and storage medium | |
CN113434301A (en) | Information pushing method and device, computer equipment and storage medium | |
CN109862188B (en) | Information sending method and device, equipment and storage medium | |
CN116151929A (en) | Order cooperative processing method, device, equipment and medium based on message queue | |
CN112751785A (en) | Method and device for sending to-be-processed request, computer equipment and storage medium | |
CN110351330B (en) | Data uploading method and device, computer equipment and storage medium | |
CN112241357A (en) | Method, device, equipment and computer readable medium for gray scale test | |
US20170139808A1 (en) | Method and dispatcher node for server processing management | |
CN114788294A (en) | Content pushing method, device, server and storage medium | |
CN110751464A (en) | Information prompting method, device, equipment and storage medium | |
CN110618879A (en) | Message processing method and device, electronic equipment and computer readable medium | |
CN111835624B (en) | In-application message distribution method and device, computer equipment and storage medium | |
CN111866150A (en) | High-concurrency message service distribution method and device, computer equipment and storage medium | |
US8458268B1 (en) | Systems and methods for distributing spam signatures | |
CN109033343B (en) | Method and apparatus for generating information | |
CN113435931A (en) | Service data processing method and device, computer equipment and storage 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210924 |
|
RJ01 | Rejection of invention patent application after publication |