CN110311963A - Information push method, device, computer equipment and computer readable storage medium - Google Patents

Information push method, device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN110311963A
CN110311963A CN201910533076.3A CN201910533076A CN110311963A CN 110311963 A CN110311963 A CN 110311963A CN 201910533076 A CN201910533076 A CN 201910533076A CN 110311963 A CN110311963 A CN 110311963A
Authority
CN
China
Prior art keywords
push
server
message
push server
manufacturer
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
CN201910533076.3A
Other languages
Chinese (zh)
Other versions
CN110311963B (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 Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201910533076.3A priority Critical patent/CN110311963B/en
Publication of CN110311963A publication Critical patent/CN110311963A/en
Application granted granted Critical
Publication of CN110311963B publication Critical patent/CN110311963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a kind of information push method, device, computer equipment and storage mediums.This method belongs to Business Process Optimizing technology, this method comprises: obtaining the average push time delay of every push server in preset push server set;If receiving the push request of service terminal transmission, judged whether to push mode to user terminal PUSH message using manufacturer according to push request;If so, filtering out the average push push server that time delay is small and resource utilization is low from manufacturer's push server set as target push server;If not, the average push push server that time delay is small and resource utilization is low is filtered out from push server set as target push server, and target push server will be sent to PUSH message by target push server user terminal will be pushed to PUSH message, the efficiency for ensuring that message push, improves the usage experience of user.

Description

Information push method, device, computer equipment and computer readable storage medium
Technical field
The present invention relates to push technology field more particularly to a kind of information push method, device, computer equipment and calculating Machine readable storage medium storing program for executing.
Background technique
Message push is by certain technical standard or agreement, and the message for being on the internet quickly concerned about user provides News touching reaches the new technology of user.
The message that push technology is concerned about by transmission user is to user, to reduce time of the user for searching on network. It searches for according to the interest of user, filter message, and it is accurately pushed to user, helps user expeditiously to excavate valuable Message.
In the prior art, PUSH message is responsible for terminal by push server, it may due to server internal The speed for causing message to push is slower, has seriously affected the usage experience of user.
Summary of the invention
The embodiment of the invention provides a kind of information push method, device, computer equipment and storage mediums, it is intended to reach Improve the purpose of message pushing speed.
In a first aspect, the embodiment of the invention provides a kind of information push methods comprising:
Obtain the average push time delay of every push server in preset push server set, the push server Set includes manufacturer's push server set and non-manufacturer's push server set;
If receiving the push request of service terminal transmission, judged whether according to push request using push side, manufacturer For formula to user terminal PUSH message, the push request includes to PUSH message;
Push mode to user terminal PUSH message according to manufacturer, according to the sequence of average push time delay from small to large from The push server of preset quantity is filtered out in manufacturer's push server set as first object push server, is obtained The minimum first object push server of resource utilization is pushed as the second target in each first object push server Server is simultaneously sent to the second target push server by the second target Push Service to PUSH message for described Device is pushed to user terminal to PUSH message for described;
If manufacturer is not used to push mode to user terminal PUSH message, according to the sequence of average push time delay from small to large The push server of preset quantity is filtered out from non-manufacturer's push server set as third target push server, Resource utilization is minimum in each third target push server third target push server is obtained as the 4th target Push server is simultaneously sent to the 4th target push server to PUSH message by described to be pushed by the 4th target Server is pushed to user terminal to PUSH message for described.
Second aspect, the embodiment of the invention also provides a kind of message driving means comprising:
First acquisition unit, when for obtaining the average push of every push server in preset push server set Prolong, the push server set includes manufacturer's push server set and non-manufacturer's push server set;
First judging unit, if the push request for receiving service terminal transmission, requests to judge according to the push Manufacturer whether is used to push mode to user terminal PUSH message, the push request includes to PUSH message;
First screening unit, for pushing mode to user terminal PUSH message, when according to average push according to manufacturer The sequence prolonged from small to large filters out the push server of preset quantity as first from manufacturer's push server set Target push server obtains the first object Push Service that resource utilization is minimum in each first object push server Device is sent to the second target push server by institute to PUSH message as the second target push server and by described It states the second target push server and is pushed to user terminal to PUSH message for described;
Second screening unit, if for not using manufacturer's push mode to user terminal PUSH message, according to average push The sequence of time delay from small to large filters out the push server conduct of preset quantity from non-manufacturer's push server set Third target push server obtains the minimum third target push of resource utilization in each third target push server Server as the 4th target push server and by it is described to PUSH message be sent to the 4th target push server with User terminal is pushed to PUSH message by described by the 4th target push server.
The third aspect, the embodiment of the invention also provides a kind of computer equipments comprising memory and processor, it is described Computer program is stored on memory, the processor realizes the above method when executing the computer program.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the storage medium storage There is computer program, the computer program can realize the above method when being executed by a processor.
The embodiment of the invention provides a kind of information push method, device, computer equipment and storage mediums.Wherein, institute The method of stating includes: to obtain the average push time delay of every push server in preset push server set, the push clothes Device set of being engaged in includes manufacturer's push server set and non-manufacturer's push server set;If receiving pushing away for service terminal transmission Request is sent, judges whether that using manufacturer's push mode, the push is asked to user terminal PUSH message according to push request It asks including to PUSH message;Push mode to user terminal PUSH message according to manufacturer, according to average push time delay from it is small to The push server that big sequence filters out preset quantity from manufacturer's push server set is pushed as first object Server obtains resource utilization is minimum in each first object push server first object push server as the Two target push server are simultaneously sent to the second target push server by second mesh to PUSH message for described It marks push server and is pushed to user terminal to PUSH message for described;If not using manufacturer to push mode to push to user terminal Message filters out preset quantity from non-manufacturer's push server set according to the sequence of average push time delay from small to large Push server as third target push server, obtain in each third target push server resource utilization most Low third target push server is sent to the described 4th to PUSH message as the 4th target push server and by described Target push server is to be pushed to user terminal to PUSH message for described by the 4th target push server.By answering With the technical solution of the embodiment of the present invention, and can ensure using the smallest push server of average push time delay come to user's end Hold PUSH message, it is ensured that the efficiency of message push improves the usage experience of user.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of application scenarios schematic diagram of information push method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of information push method provided in an embodiment of the present invention;
Fig. 3 is a kind of sub-process schematic diagram of information push method provided in an embodiment of the present invention;
Fig. 4 is a kind of sub-process schematic diagram of information push method provided in an embodiment of the present invention;
Fig. 5 is a kind of sub-process schematic diagram of information push method provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic block diagram of message driving means provided in an embodiment of the present invention;
Fig. 7 is the schematic block diagram of the first acquisition unit of message driving means provided in an embodiment of the present invention;
Fig. 8 is the schematic block diagram of the second acquisition unit of message driving means provided in an embodiment of the present invention;
Fig. 9 is the schematic block diagram of the determination unit of message driving means provided in an embodiment of the present invention;
Figure 10 is the schematic block diagram of the first judging unit of message driving means provided in an embodiment of the present invention;
Figure 11 is a kind of schematic block diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
Fig. 1 and Fig. 2 are please referred to, Fig. 1 is the application scenarios schematic diagram of information push method provided in an embodiment of the present invention.Figure 2 be the schematic flow chart of information push method provided in an embodiment of the present invention.Method of the invention is applied to push management clothes It is engaged in device 1.Push management server 1 obtains the average push time delay of the push server 3 in preset push server set, The push server set includes manufacturer's push server set and non-manufacturer's push server set;If receiving business end End 2 send push request, push management server 1 according to the push request judge whether using manufacturer push mode to 4 PUSH message of family terminal, the push request includes to PUSH message;Mode is pushed according to manufacturer to push to user terminal 4 Message, push management server 1 filter out the smallest push clothes of average push time delay from manufacturer's push server set Device 3 be engaged in as target push server, and is sent to the target push server by the mesh to PUSH message for described It marks push server and is pushed to user terminal 4 to PUSH message for described;If manufacturer's push mode is not used to push away to user terminal Message is sent, push management server 1 filters out the smallest Push Service of average push time delay from the push server set Device 3 is used as target push server, and is sent to the target push server by the target to PUSH message for described Push server is pushed to user terminal 4 to PUSH message for described.
Fig. 2 is the flow diagram of information push method provided in an embodiment of the present invention.As shown, this method include with Lower step S1-S4.
S1 obtains the average push time delay of every push server in preset push server set.
Wherein, the push server set includes manufacturer's push server set and non-manufacturer's push server set.
In the present solution, can be by a variety of different push server (passing through different push channels) to user terminal PUSH message.Preset push server set is the set of all optional push server compositions.Push server collection Closing includes manufacturer's push server set and non-manufacturer's push server set, and manufacturer's push server collection is combined into user terminal The set for the push server composition that manufacturer provides.Non- manufacturer's push server collection is combined into the third party service organization, and (non-user is whole Hold manufacturer) provide push server composition set.The push server provided by the manufacturer of user terminal is whole to user End PUSH message can reach higher touching up to rate (more users may make to receive message).
In specific implementation, in order to judge the performance of push server, in the present solution, obtaining in push server set The average push time delay of push server.Push time delay refers to receives message from push server PUSH message to user terminal The required time.Averagely push the push time delay average value that time delay is push server.Averagely push time delay is short, illustrates to push The performance of server is high, and user terminal can receive the message of push server push within a short period of time.When averagely pushing Extend, illustrates that the performance of push server is low.
In one embodiment, specifically comprise the following steps S11-S12 referring to Fig. 3, above step S1.
S11, judges whether current time reaches preset time node.
In specific implementation, due to the performance of push server be not it is unalterable, push server can also continue to develop Optimization.For this purpose, in the present solution, only statistics push server ought for the previous period in average push time delay.
Specifically, judge whether current time reaches preset time node.It should be noted that timing node can be by ability Field technique personnel set according to the actual situation.For example, timing node may be set to the zero point of Monday weekly, this programme pair This is not especially limited.
S12 obtains each push in the push server set if current time arrived the preset time node Average push time delay of the server in characteristic statistics section.
Wherein, the terminal in the characteristic statistics section is the preset time node, and the starting point in characteristic statistics section is institute State the start time of the preset duration before preset time node.
In specific implementation, if current time arrived preset time node, obtain in the push server set Average push time delay of each push server in characteristic statistics section.The terminal in characteristic statistics section is preset time section Point, the starting point in characteristic statistics section be the preset time node before preset duration start time, it should be noted that Preset duration can be set by a person skilled in the art.For example, preset duration can be 7 days.
For example, in one embodiment, preset time node sets are the zero point of Monday.The terminal in characteristic statistics section is week One zero point, the starting point in characteristic statistics section be Monday zero point before 7 days start times (i.e. the zero point of last Monday).By This, can be realized the average push time delay that each push server in the push server set was updated at interval of one week.Ensure The accuracys of data.
If current time does not reach the preset time node, the preset time node is reached to current time When, then obtain average push time delay of each push server in characteristic statistics section in the push server set.
In one embodiment, referring to fig. 4, above step S12 specifically includes following steps S121-S123.
S121, Xiang Suoshu push server send push statistical data acquisition request, and the push statistical data acquisition is asked It asks including the characteristic statistics section.
In specific implementation, push management server sends push statistical data acquisition request to push server.Wherein, institute Stating push statistical data acquisition request includes the characteristic statistics section.
Correspondingly, push server receive push management server send push statistical data acquisition request when, The push statistical data being obtained from the characteristic statistics section, and sending to push management server includes the push The response message of statistical data.
S122 receives the response message that the push server returns, and the response message includes the push server Push statistical data in the characteristic statistics section, the push statistical data include the push server PUSH message When receiving time when receiving the message of push server push of push time and user terminal.
In specific implementation, push management server receives the response message that the push server returns.Wherein, described to answer Answering message includes push statistical data of the push server in the characteristic statistics section, the push statistical data packet Push time and user terminal when including the push server PUSH message receive disappearing for the push server push Receiving time when breath.
S123 determines the average push time delay of the push server according to the push statistical data.
In specific implementation, push management server is according to the push server PUSH message for pushing statistical data and including When receiving time when receiving message of push time and user terminal when determining the average push of the push server Prolong.
In one embodiment, above step S123 specifically comprises the following steps: S1231.
S1231, according to the following formulaCalculate the average delay T of the push server.
Wherein, n is the total quantity for the message that the push server pushes in characteristic statistics section, and i is the sequence of message Number, t2iPush time when for the push server PUSH message, t1iThe push server is received for user terminal to push away The receiving time when message sent.
S2 judges whether to push away using manufacturer if receiving the push request of service terminal transmission according to push request Send mode to user terminal PUSH message, the push request includes to PUSH message.
In specific implementation, push management server is pushed away in the push request for receiving service terminal transmission according to described Request is sent to judge whether to push mode using manufacturer to user terminal PUSH message.Push request includes to PUSH message.Manufacturer Push mode refers to through the push server PUSH message in vendor server set.Pass through pushing away in vendor server set Send server PUSH message that can reach higher touching up to rate (more users may make to receive message).
Specifically, if desired the PUSH message by way of manufacturer's push, service terminal are added preset in push request Preset second identifier symbol is added in first identifier symbol, otherwise, service terminal in push request.
Correspondingly, push management server according to the push request included characteristic identifier (first identifier symbol or Second identifier symbol) judge whether to push mode using manufacturer to user terminal PUSH message.
In one embodiment, the push request includes characteristic identifier, and the characteristic identifier is preset first special Identifier or preset second identifier symbol are levied, referring to Fig. 5, the step S2 specifically comprises the following steps S21-S23.
S21 judges whether the characteristic identifier that the push request includes is preset first identifier symbol.
In specific implementation, push management server judges whether the characteristic identifier in the push request is preset the One identifier.
It should be noted that special identifier symbol is used to indicate the movement of terminal execution.Special identifier symbol be text, symbol or The combination of person's text and symbol.For example, in one embodiment, first identifier symbol is digital " 1 ";Second identifier symbol is digital " 0 ".
S22 determines to push mode using manufacturer if the characteristic identifier in the push request is first identifier symbol To user terminal PUSH message.
In specific implementation, if the characteristic identifier in the push request is first identifier symbol, determine to use factory Quotient pushes mode to user terminal PUSH message.
S23, if the characteristic identifier in the push request is not the first identifier symbol, judgement does not use manufacturer to push Mode is to user terminal PUSH message.
In specific implementation, if the characteristic identifier in the push request is not the first identifier symbol (as second Identifier), judgement does not use manufacturer to push mode to user terminal PUSH message.
S3 pushes mode to user terminal PUSH message according to manufacturer, according to average push time delay from small to large suitable Sequence filters out the push server of preset quantity as first object push server from manufacturer's push server set, Resource utilization is minimum in each first object push server first object push server is obtained as the second target Push server is simultaneously sent to the second target push server to PUSH message by described to be pushed by second target Server is pushed to user terminal to PUSH message for described.
In specific implementation, if using manufacturer's push mode to user terminal PUSH message, according to average push time delay Sequence from small to large filters out the push server of preset quantity as the first mesh from manufacturer's push server set Mark push server.
Further, it obtains the first object that resource utilization is minimum in each first object push server and pushes clothes Business device as the second target push server and by it is described to PUSH message be sent to the second target push server with by The second target push server is pushed to user terminal to PUSH message for described.
It should be noted that preset quantity can rule of thumb be set by those skilled in the art, for example, implementing one In example, preset quantity may be set to 3.
Thereby, it is possible to ensure under the premise of using manufacturer's push mode, choose average in manufacturer's push server set Push time delay is smaller, and the push server of presently most idle (resource utilization is minimum) is as the second target push server It pushes to PUSH message, thus while guaranteeing touching up to rate, it is ensured that the efficiency of message push.
S4, if not using manufacturer's push mode to user terminal PUSH message, from small to large according to average push time delay The push server that sequence filters out preset quantity from non-manufacturer's push server set is pushed as third target to be taken It is engaged in device, obtains resource utilization is minimum in each third target push server third target push server as the 4th Target push server is simultaneously sent to the 4th target push server by the 4th target to PUSH message for described Push server is pushed to user terminal to PUSH message for described.
In specific implementation, if not using manufacturer's push mode to user terminal PUSH message, when according to average push Prolong sequence from small to large and filters out the push server of preset quantity from non-manufacturer's push server set as Three target push server.
Further, it obtains the third target that resource utilization is minimum in each third target push server and pushes clothes Business device as the 4th target push server and by it is described to PUSH message be sent to the 4th target push server with by The 4th target push server is pushed to user terminal to PUSH message for described.
Thereby, it is possible to select average push time delay smaller, and the push clothes of presently most idle (resource utilization is minimum) Business device is pushed as the second target push server to PUSH message, thus while guaranteeing that touching reaches rate, it is ensured that message The efficiency of push.
It should be noted that preset quantity can rule of thumb be set by those skilled in the art, for example, implementing one In example, preset quantity may be set to 3.
By the technical solution of the application embodiment of the present invention, every Push Service in preset push server set is obtained The average push time delay of device, if receiving the push request of service server transmission, from small to large according to average push time delay The push server that sequence filters out preset quantity from non-manufacturer's push server set is pushed as third target to be taken It is engaged in device, obtains resource utilization is minimum in each third target push server third target push server as the 4th Target push server is simultaneously sent to the 4th target push server by the 4th target to PUSH message for described Push server is pushed to user terminal to PUSH message for described, so as to ensure to push away using average push time delay is the smallest Send server to user terminal PUSH message, it is ensured that the efficiency of message push improves the usage experience of user.
Fig. 6 is a kind of schematic block diagram of message driving means provided in an embodiment of the present invention.As shown in fig. 6, corresponding to Message above method for pushing, the present invention also provides a kind of message driving means 70.The message driving means 70 includes for executing The unit of above-mentioned information push method, the device can be configured in server.Specifically, referring to Fig. 6, the message pushes Device 70 includes first acquisition unit 71, the first judging unit 72, the first screening unit 73 and the second screening unit 74.
First acquisition unit 71, for obtaining the average push of every push server in preset push server set Time delay, the push server set include manufacturer's push server set and non-manufacturer's push server set;
First judging unit 72, if the push request for receiving service terminal transmission, sentences according to push request Whether disconnected that manufacturer is used to push mode to user terminal PUSH message, the push request includes to PUSH message;
First screening unit 73, for pushing mode to user terminal PUSH message, according to average push according to manufacturer The sequence of time delay from small to large filters out the push server of preset quantity as from manufacturer's push server set One target push server obtains the first object that resource utilization is minimum in each first object push server and pushes clothes Business device as the second target push server and by it is described to PUSH message be sent to the second target push server with by The second target push server is pushed to user terminal to PUSH message for described;
Second screening unit 74, if for not using manufacturer to push mode to user terminal PUSH message, according to averagely pushing away The push server for sending the sequence of time delay from small to large to filter out preset quantity from non-manufacturer's push server set is made For third target push server, obtains the third target that resource utilization is minimum in each third target push server and push away Server is sent to be sent to the 4th target push server to PUSH message as the 4th target push server and by described To be pushed to user terminal to PUSH message for described by the 4th target push server.
In one embodiment, as shown in fig. 7, the first acquisition unit 71 includes second judgment unit 711 and second Acquiring unit 712.
Second judgment unit 711, judges whether current time reaches preset time node;
Second acquisition unit 712 obtains the push server collection if current time arrived the preset time node Average push time delay of each push server in characteristic statistics section in conjunction, wherein the terminal in the characteristic statistics section For the preset time node, the starting point in the characteristic statistics section be the preset time node before preset duration when Between starting point.
In one embodiment, as shown in figure 8, the second acquisition unit 712 includes transmission unit 7121, receiving unit 7122 and determination unit 7123.
Transmission unit 7121, for sending push statistical data acquisition request, the push system to the push server Counting acquisition request includes the characteristic statistics section;
Receiving unit 7122, the response message returned for receiving the push server, the response message includes institute Push statistical data of the push server in the characteristic statistics section is stated, the push statistical data includes the push clothes Be engaged in device PUSH message when reception when receiving the message that the push server pushes of push time and user terminal when Between;
Determination unit 7123, when for determining the average push of the push server according to the push statistical data Prolong.
In one embodiment, as shown in figure 9, the determination unit 7123 includes computing unit 7124.
Computing unit 7124, using according to the following formulaCalculate the average delay of the push server T, wherein n is the total quantity for the message that the push server pushes in characteristic statistics section, and i is the serial number of message, t2iFor Push time when the push server PUSH message, t1iThe message of the push server push is received for user terminal When receiving time.
In one embodiment, as shown in Figure 10, the push request includes characteristic identifier, first judging unit 72 Including third judging unit 721, the first judging unit 722 and the second judging unit 723.
Third judging unit 721, whether the characteristic identifier for judging that the push request includes is preset first Identifier;
First judging unit 722 determines if the characteristic identifier in the push request is first identifier symbol Mode is pushed to user terminal PUSH message using manufacturer;
Second judging unit 723 is sentenced if not being the first identifier symbol for the characteristic identifier in the push request It is fixed that manufacturer is not used to push mode to user terminal PUSH message.
It should be noted that it is apparent to those skilled in the art that, above-mentioned 60 He of message driving means The specific implementation process of each unit can refer to the corresponding description in preceding method embodiment, for convenience of description and succinctly, Details are not described herein.
Above-mentioned message driving means 60 can be implemented as a kind of form of computer program, which can be such as It is run in computer equipment shown in Figure 11.
Figure 11 is please referred to, Figure 11 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The calculating Machine equipment 500 can be server, and server can be independent server, be also possible to the server set of multiple server compositions Group.
Refering to fig. 11, which includes processor 502, memory and the net connected by system bus 501 Network interface 505, wherein memory may include non-volatile memory medium 503 and built-in storage 504.
The non-volatile memory medium 503 can storage program area 5031 and computer program 5032.The computer program 5032 are performed, and processor 502 may make to execute a kind of information push method.
The processor 502 is for providing calculating and control ability, to support the operation of entire computer equipment 500.
The built-in storage 504 provides environment for the operation of the computer program 5032 in non-volatile memory medium 503, should When computer program 5032 is executed by processor 502, processor 502 may make to execute a kind of information push method.
The network interface 505 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that in Figure 11 The structure shown, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme The restriction of computer equipment 500 thereon, specific computer equipment 500 may include more more or fewer than as shown in the figure Component perhaps combines certain components or with different component layouts.
Wherein, the processor 502 is for running computer program 5032 stored in memory, to realize following step It is rapid:
Obtain the average push time delay of every push server in preset push server set, the push server Set includes manufacturer's push server set and non-manufacturer's push server set;
If receiving the push request of service terminal transmission, judged whether according to push request using push side, manufacturer For formula to user terminal PUSH message, the push request includes to PUSH message;
Push mode to user terminal PUSH message according to manufacturer, according to the sequence of average push time delay from small to large from The push server of preset quantity is filtered out in manufacturer's push server set as first object push server, is obtained The minimum first object push server of resource utilization is pushed as the second target in each first object push server Server is simultaneously sent to the second target push server by the second target Push Service to PUSH message for described Device is pushed to user terminal to PUSH message for described;
If manufacturer is not used to push mode to user terminal PUSH message, according to the sequence of average push time delay from small to large The push server of preset quantity is filtered out from non-manufacturer's push server set as third target push server, Resource utilization is minimum in each third target push server third target push server is obtained as the 4th target Push server is simultaneously sent to the 4th target push server to PUSH message by described to be pushed by the 4th target Server is pushed to user terminal to PUSH message for described.
In one embodiment, the every push clothes in realizing the preset push server set of acquisition of processor 502 When the average push time delay step of business device, it is implemented as follows step:
Judge whether current time reaches preset time node;
If current time arrived the preset time node, each Push Service in the push server set is obtained Average push time delay of the device in characteristic statistics section, wherein the terminal in the characteristic statistics section is the preset time section Point, the starting point in the characteristic statistics section be the preset time node before preset duration start time.
In one embodiment, processor 502 is realizing each Push Service obtained in the push server set When average push time delay step of the device in characteristic statistics section, it is implemented as follows step:
Push statistical data acquisition request is sent to the push server, the push statistical data acquisition request includes The characteristic statistics section;
The response message that the push server returns is received, the response message includes the push server described Push statistical data in characteristic statistics section, pushing away when the push statistical data includes the push server PUSH message Receiving time when time and user terminal being sent to receive the message of the push server push;
The average push time delay of the push server is determined according to the push statistical data.
In one embodiment, processor 502 described determines the Push Service according to the push statistical data realizing When the average push time delay step of device, it is implemented as follows step:
According to the following formulaCalculate the average delay T of the push server, wherein n is described pushes away The total quantity for the message for sending server to push in characteristic statistics section, i are the serial number of message, t2iIt is pushed away for the push server Send push time when message, t1iThe receiving time when message of the push server push is received for user terminal.
In one embodiment, push request includes characteristic identifier, and processor 502 described is pushed away according to realizing When request being sent to judge whether to push mode to user terminal PUSH message step using manufacturer, it is implemented as follows step:
Judge whether the characteristic identifier that the push request includes is preset first identifier symbol;
If it is described push request in characteristic identifier be the first identifier accord with, determine using manufacturer push mode to Family terminal PUSH message;
If the characteristic identifier in the push request is not the first identifier symbol, judgement does not use manufacturer to push mode To user terminal PUSH message.
It should be appreciated that in the embodiment of the present application, processor 502 can be central processing unit (CentralProcessingUnit, CPU), the processor 502 can also be other general processors, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecificIntegrated Circuit, ASIC), ready-made programmable gate array (Field-ProgrammableGateArray, FPGA) or other can compile Journey logical device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be micro- place Reason device or the processor are also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, It is that relevant hardware can be instructed to complete by computer program.The computer program can be stored in a storage medium, The storage medium is computer readable storage medium.The computer program is held by least one processor in the computer system Row, to realize the process step of the embodiment of the above method.
Therefore, the present invention also provides a kind of storage mediums.The storage medium can be computer readable storage medium.This is deposited Storage media is stored with computer program.The computer program makes processor execute following steps when being executed by processor:
Obtain the average push time delay of every push server in preset push server set, the push server Set includes manufacturer's push server set and non-manufacturer's push server set;
If receiving the push request of service terminal transmission, judged whether according to push request using push side, manufacturer For formula to user terminal PUSH message, the push request includes to PUSH message;
Push mode to user terminal PUSH message according to manufacturer, according to the sequence of average push time delay from small to large from The push server of preset quantity is filtered out in manufacturer's push server set as first object push server, is obtained The minimum first object push server of resource utilization is pushed as the second target in each first object push server Server is simultaneously sent to the second target push server by the second target Push Service to PUSH message for described Device is pushed to user terminal to PUSH message for described;
If manufacturer is not used to push mode to user terminal PUSH message, according to the sequence of average push time delay from small to large The push server of preset quantity is filtered out from non-manufacturer's push server set as third target push server, Resource utilization is minimum in each third target push server third target push server is obtained as the 4th target Push server is simultaneously sent to the 4th target push server to PUSH message by described to be pushed by the 4th target Server is pushed to user terminal to PUSH message for described.
In one embodiment, the processor realizes the preset push clothes of the acquisition executing the computer program In device set of being engaged in when the average push time delay step of every push server, it is implemented as follows step:
Judge whether current time reaches preset time node;
If current time arrived the preset time node, each Push Service in the push server set is obtained Average push time delay of the device in characteristic statistics section, wherein the terminal in the characteristic statistics section is the preset time section Point, the starting point in the characteristic statistics section be the preset time node before preset duration start time.
In one embodiment, the processor realizes the acquisition Push Service executing the computer program When average push time delay step in characteristic statistics section of each push server in device set, it is implemented as follows step:
Push statistical data acquisition request is sent to the push server, the push statistical data acquisition request includes The characteristic statistics section;
The response message that the push server returns is received, the response message includes the push server described Push statistical data in characteristic statistics section, pushing away when the push statistical data includes the push server PUSH message Receiving time when time and user terminal being sent to receive the message of the push server push;
The average push time delay of the push server is determined according to the push statistical data.
In one embodiment, the processor is realized described according to push statistics in the execution computer program When data determine the average push time delay step of the push server, it is implemented as follows step:
According to the following formulaCalculate the average delay T of the push server, wherein n is described pushes away The total quantity for the message for sending server to push in characteristic statistics section, i are the serial number of message, t2iIt is pushed away for the push server Send push time when message, t1iThe receiving time when message of the push server push is received for user terminal.
In one embodiment, the push request includes characteristic identifier, and the processor is executing the computer journey Sequence and realize it is described when judging whether to push mode to user terminal PUSH message step using manufacturer according to push request, It is implemented as follows step:
Judge whether the characteristic identifier that the push request includes is preset first identifier symbol;
If it is described push request in characteristic identifier be the first identifier accord with, determine using manufacturer push mode to Family terminal PUSH message;
If the characteristic identifier in the push request is not the first identifier symbol, judgement does not use manufacturer to push mode To user terminal PUSH message.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.This hair Unit in bright embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the present invention Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in one storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing skill The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, terminal or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, reference can be made to the related descriptions of other embodiments.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, the even these modifications and changes of the present invention range that belongs to the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of information push method characterized by comprising
Obtain the average push time delay of every push server in preset push server set, the push server set Including manufacturer's push server set and non-manufacturer's push server set;
If receive service terminal transmission push request, according to the push request judge whether using manufacturer push mode to User terminal PUSH message, the push request includes to PUSH message;
Mode is pushed to user terminal PUSH message according to manufacturer, according to the sequence of average push time delay from small to large from described The push server of preset quantity is filtered out in manufacturer's push server set as first object push server, obtains each institute The minimum first object push server of resource utilization in first object push server is stated as the second target Push Service Device is simultaneously sent to the second target push server to PUSH message by described to be incited somebody to action by the second target push server It is described to be pushed to user terminal to PUSH message;
If manufacturer is not used to push mode to user terminal PUSH message, according to the average sequence of time delay from small to large that pushes from institute The push server of preset quantity is filtered out in Shu Fei manufacturer push server set as third target push server, is obtained The minimum third target push server of resource utilization is pushed as the 4th target in each third target push server Server is simultaneously sent to the 4th target push server by the 4th target Push Service to PUSH message for described Device is pushed to user terminal to PUSH message for described.
2. obtaining in preset push server set every the method according to claim 1, wherein described and pushing away Send the average push time delay of server, comprising:
Judge whether current time reaches preset time node;
If current time arrived the preset time node, each push server obtained in the push server set exists Average push time delay in characteristic statistics section, wherein the terminal in the characteristic statistics section is the preset time node, institute The starting point in characteristic statistics section is stated as the start time of the preset duration before the preset time node.
3. according to the method described in claim 2, it is characterized in that, each push obtained in the push server set Average push time delay of the server in characteristic statistics section, comprising:
Push statistical data acquisition request is sent to the push server, the push statistical data acquisition request includes described Characteristic statistics section;
The response message that the push server returns is received, the response message includes the push server in the feature The push statistical data in section is counted, when push of push statistical data when including the push server PUSH message Between and receiving time of user terminal when receiving the message of push server push;
The average push time delay of the push server is determined according to the push statistical data.
4. according to the method described in claim 3, it is characterized in that, described determine the push according to the push statistical data The average push time delay of server, comprising:
According to the following formulaCalculate the average delay T of the push server, wherein n is push clothes The total quantity for the message that business device pushes in characteristic statistics section, i are the serial number of message, t2iDisappear for push server push Push time when breath, t1iThe receiving time when message of the push server push is received for user terminal.
5. the method according to claim 1, wherein push request includes characteristic identifier, the basis The push request judges whether to push mode using manufacturer to user terminal PUSH message, comprising:
Judge whether the characteristic identifier that the push request includes is preset first identifier symbol;
If the characteristic identifier in the push request is first identifier symbol, determine to push mode using manufacturer to user's end Hold PUSH message;
If the characteristic identifier in the push request is not first identifier symbol, judgement do not use manufacturer push mode to Family terminal PUSH message.
6. a kind of message driving means characterized by comprising
First acquisition unit, for obtaining the average push time delay of every push server in preset push server set, The push server set includes manufacturer's push server set and non-manufacturer's push server set;
First judging unit, if the push request for receiving service terminal transmission, judges whether according to push request Mode is pushed to user terminal PUSH message using manufacturer, the push request includes to PUSH message;
First screening unit, for pushing mode to user terminal PUSH message according to manufacturer, according to average push time delay from It is small to filter out the push server of preset quantity as first object from manufacturer's push server set to big sequence Push server obtains the first object push server that resource utilization is minimum in each first object push server and makees The second target push server is sent to by described to PUSH message for the second target push server and by described Two target push server are pushed to user terminal to PUSH message for described;
Second screening unit, if for not using manufacturer's push mode to user terminal PUSH message, according to average push time delay Sequence from small to large filters out the push server of preset quantity as third from non-manufacturer's push server set Target push server obtains the third target Push Service that resource utilization is minimum in each third target push server Device is sent to the 4th target push server by institute to PUSH message as the 4th target push server and by described It states the 4th target push server and is pushed to user terminal to PUSH message for described.
7. message driving means according to claim 6, which is characterized in that the first acquisition unit includes:
Second judgment unit, judges whether current time reaches preset time node;
Second acquisition unit obtains in the push server set if current time arrived the preset time node Average push time delay of each push server in characteristic statistics section, wherein the terminal in the characteristic statistics section is described Preset time node, from time of the starting point in the characteristic statistics section for the preset duration before the preset time node Point.
8. message driving means according to claim 6, which is characterized in that the second acquisition unit includes:
Transmission unit, for sending push statistical data acquisition request to the push server, the push statistical data is obtained Taking request includes the characteristic statistics section;
Receiving unit, the response message returned for receiving the push server, the response message include the push clothes Push statistical data of the business device in the characteristic statistics section, the push statistical data include the push server push Push time and user terminal when message receive the receiving time when message of the push server push;
Determination unit, for determining the average push time delay of the push server according to the push statistical data.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and processor, on the memory It is stored with computer program, the processor is realized as described in any one of claim 1-5 when executing the computer program Method.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program can realize method according to any one of claims 1 to 5 when being executed by a processor.
CN201910533076.3A 2019-06-19 2019-06-19 Message pushing method and device, computer equipment and computer readable storage medium Active CN110311963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910533076.3A CN110311963B (en) 2019-06-19 2019-06-19 Message pushing method and device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910533076.3A CN110311963B (en) 2019-06-19 2019-06-19 Message pushing method and device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110311963A true CN110311963A (en) 2019-10-08
CN110311963B CN110311963B (en) 2023-04-18

Family

ID=68076929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910533076.3A Active CN110311963B (en) 2019-06-19 2019-06-19 Message pushing method and device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110311963B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990699A (en) * 2019-11-29 2020-04-10 广州市百果园信息技术有限公司 Information pushing system, method, device, equipment and storage medium
CN111093159A (en) * 2019-12-23 2020-05-01 北京奇艺世纪科技有限公司 Message pushing method and device, server and computer readable storage medium
CN113382088A (en) * 2021-07-27 2021-09-10 中国银行股份有限公司 Mobile banking message pushing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing
CN107689988A (en) * 2017-08-18 2018-02-13 广州市百果园信息技术有限公司 A kind of method, apparatus, electronic equipment and the terminal device of message push
US9979674B1 (en) * 2014-07-08 2018-05-22 Avi Networks Capacity-based server selection
CN108063724A (en) * 2018-01-12 2018-05-22 吉浦斯信息咨询(深圳)有限公司 Information push method and its system based on Android platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9979674B1 (en) * 2014-07-08 2018-05-22 Avi Networks Capacity-based server selection
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing
CN107689988A (en) * 2017-08-18 2018-02-13 广州市百果园信息技术有限公司 A kind of method, apparatus, electronic equipment and the terminal device of message push
CN108063724A (en) * 2018-01-12 2018-05-22 吉浦斯信息咨询(深圳)有限公司 Information push method and its system based on Android platform

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990699A (en) * 2019-11-29 2020-04-10 广州市百果园信息技术有限公司 Information pushing system, method, device, equipment and storage medium
US12058223B2 (en) 2019-11-29 2024-08-06 Bigo Technology Pte. Ltd. System and method for pushing information, and device and storage medium thereof
CN111093159A (en) * 2019-12-23 2020-05-01 北京奇艺世纪科技有限公司 Message pushing method and device, server and computer readable storage medium
CN111093159B (en) * 2019-12-23 2022-03-04 北京奇艺世纪科技有限公司 Message pushing method and device, server and computer readable storage medium
CN113382088A (en) * 2021-07-27 2021-09-10 中国银行股份有限公司 Mobile banking message pushing method and device
CN113382088B (en) * 2021-07-27 2023-12-19 中国银行股份有限公司 Mobile phone banking message pushing method and device

Also Published As

Publication number Publication date
CN110311963B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN110311963A (en) Information push method, device, computer equipment and computer readable storage medium
CN111263409B (en) Method, system and related equipment for providing metadata information of network function service
CN108156265B (en) A kind of application control method and mobile device
CN107241344B (en) Client is intercepted to the method, apparatus and system of the access of hostile network server
CN108777666A (en) The shunt method and relevant device of link aggregation
CN106941493A (en) A kind of network security situation awareness result output intent and device
CN108664613A (en) Data query method, apparatus, computer equipment and storage medium
CN103178989A (en) Method and device for calculating visit hotness
CN106375102B (en) A kind of service registration method, application method and relevant apparatus
CN109800269A (en) Data managing method, device, computer equipment and storage medium
CN109086158A (en) A kind of Analysis on Abnormal method, apparatus and server
CN109614168A (en) Memory Optimize Method and device
CN106649856A (en) Database access device, system and method
WO2019144803A1 (en) Traffic statistics method and apparatus, storage medium, and electronic apparatus
CN109857802A (en) Daily record data synchronous method, device, equipment and computer readable storage medium
CN109542627A (en) Node switching method, device, supervisor, node device and distributed system
CN107704317B (en) Intelligent device and application management method thereof and device with storage function
EP3329407A1 (en) Application centric network experience monitoring
CN105745911B (en) For using subscription profile repository to provide method, system and the computer-readable medium of real-time data network use information
KR101246361B1 (en) Method, server and recording medium for providing lag occurrence non-abusing service using relay server
CN112383513A (en) Crawler behavior detection method and device based on proxy IP address pool and storage medium
CN108124021A (en) Internet protocol IP address obtains, the method, apparatus and system of website visiting
CN106487552A (en) A kind of determination method of net element information, device and network management topological system
CN109976896A (en) Business re-scheduling treating method and apparatus
CN105208084B (en) Method and device for determining resources to be deployed

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