CN110336849A - Information-pushing method, information push-delivery apparatus and terminal - Google Patents
Information-pushing method, information push-delivery apparatus and terminal Download PDFInfo
- Publication number
- CN110336849A CN110336849A CN201910339803.2A CN201910339803A CN110336849A CN 110336849 A CN110336849 A CN 110336849A CN 201910339803 A CN201910339803 A CN 201910339803A CN 110336849 A CN110336849 A CN 110336849A
- Authority
- CN
- China
- Prior art keywords
- push
- current
- information
- time
- time difference
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
The present invention provides a kind of information-pushing method, information push-delivery apparatus and terminal, information-pushing method includes: detecting whether to get the data packet of server push, wherein the data packet includes pushed information and push time;When getting the data packet, the current time of the server is calculated according to the time difference;According to the push time and the current time, score the current push channel for pushing the data packet, to obtain appraisal result;According to appraisal result, determination switches over the current push channel.According to the technical solution of the present invention, pushed information can be monitored in real time, it is ensured that the timeliness of pushed information greatly improves the reliability of push.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of information-pushing method, a kind of information push-delivery apparatus
With a kind of terminal.
Background technique
With development in science and technology, the terminals such as mobile phone, computer are increasingly relied on by user, and no matter living or working can all use
Mobile phone understands various information whenever and wherever possible, and universal with 4G network, and short message pushed information mode is gradually declined, and APP is pushed away
Sending becomes a kind of information media being simple and efficient, and not only freely, but also speed is faster.However existing push mode is easy to meeting
Cause information to squeeze because of server push overabundance of data, eventually causing information issues slowly, many important information fail and
When be sent to user, cause information invalid so that information push reliability reduce, in this regard, there is presently no effective solution sides
Case.
Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of new information push scheme, right in real time
Pushed information is monitored, it is ensured that the timeliness of pushed information greatly improves the reliability of push.
In view of this, the invention proposes a kind of new information-pushing methods, comprising: detect whether to get server push
The data packet sent, wherein the data packet includes pushed information and push time;When getting the data packet, according to when
Between difference calculate the current time of the server;According to the push time and the current time, to for pushing the number
It scores according to the current push channel of packet, to obtain appraisal result;According to appraisal result, determine to the current push channel
It switches over.
In the technical scheme, server is in propelling data, other than pushed information, incidentally will increase the push time,
When system receives the data packet of server push, when calculating the current time of server according to the time difference, and being based on current
Between and push time for getting determine whether to switch current push channel, sentence to carry out timeliness to pushed information based on the time
Fixed, only effective information could be pushed via current push channel, avoid the push of priceless value information, it is ensured that pushed information
Timeliness greatly improves the reliability of push.
In the above-mentioned technical solutions, it is preferable that it is described according to the push time and the current time, to for pushing
The step of current push channel of the data packet is scored, specifically includes: storing multiple time difference ranges, and each
Incidence relation between the time difference range and scoring score value;Calculate the push time and it is described it is current between target
Time difference;According to the incidence relation, scoring score value corresponding with the object time difference is searched.
In any of the above-described technical solution, it is preferable that it is described according to appraisal result, it determines to the current push channel
The step of switching over specifically includes: when scoring score value corresponding with the object time difference is less than predetermined score value, determining
Switch the current push channel;When scoring score value corresponding with the object time difference is more than or equal to predetermined score value, really
It is fixed not switch the current push channel.
According to the second aspect of the invention, propose a kind of information push-delivery apparatus, comprising: detection unit, for detect be
The no data packet for getting server push, wherein the data packet includes pushed information and push time;Computing unit is used
In when getting the data packet, the current time of the server is calculated according to the time difference;Processing unit, for according to institute
Push time and the current time are stated, is scored the current push channel for pushing the data packet, to be commented
Divide result;Determination unit, for according to appraisal result, determination to switch over the current push channel.
In the technical scheme, server is in propelling data, other than pushed information, incidentally will increase the push time,
When system receives the data packet of server push, when calculating the current time of server according to the time difference, and being based on current
Between and push time for getting determine whether to switch current push channel, sentence to carry out timeliness to pushed information based on the time
Fixed, only effective information could be pushed via current push channel, avoid the push of priceless value information, it is ensured that pushed information
Timeliness greatly improves the reliability of push.
In the above-mentioned technical solutions, it is preferable that further include: storage unit, for storing multiple time difference ranges, and
Incidence relation between each time difference range and scoring score value;The processing unit, specifically for being pushed away described in calculating
Send the time and it is described it is current between object time difference searched and the object time difference pair according to the incidence relation
The scoring score value answered.
In any of the above-described technical solution, it is preferable that the determination unit is specifically used for: when poor with the object time
When being worth corresponding scoring score value less than predetermined score value, determines and switch the current push channel;When with the object time difference
When corresponding scoring score value is more than or equal to predetermined score value, determination does not switch the current push channel.
According to the third aspect of the invention we, a kind of terminal is proposed, comprising: processor;And with the processor communication
The memory of connection;Wherein, the memory is stored with readable instruction, when the readable instruction is executed by the processor
Realize the method as described in any one of above-mentioned technical proposal.
According to the fourth aspect of the invention, a kind of computer readable storage medium is proposed, computer is stored thereon with
Program, the computer program realize the method as described in any one of above-mentioned technical proposal when executed.
By above technical scheme, pushed information is monitored in real time, it is ensured that the timeliness of pushed information greatly improves
The reliability of push.
Detailed description of the invention
Fig. 1 shows the schematic flow diagram of the information-pushing method of embodiment according to the present invention;
Fig. 2 shows the schematic block diagrams of the information push-delivery apparatus of embodiment according to the present invention;
Fig. 3 shows the schematic block diagram of the terminal of embodiment according to the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Below in conjunction with Fig. 1 to Fig. 3, technical scheme is described further:
As shown in Figure 1, the information-pushing method of embodiment according to the present invention, comprising the following steps:
S102 detects whether the data packet for getting server push, wherein when the data packet includes pushed information and push
Between.
S104 calculates the current time of the server according to the time difference when getting the data packet.
S106 is logical to the current push for pushing the data packet according to the push time and the current time
Road scores, to obtain appraisal result.
S108, according to appraisal result, determination switches over the current push channel.
Server is in propelling data, other than pushed information, incidentally will increase the push time, system receives server
When the data packet of push, the current time of server is calculated according to the time difference, and based on current time and the push got
Time determines whether to switch current push channel, to carry out timeliness judgement, only effective information to pushed information based on the time
It could be pushed via current push channel, avoid the push of priceless value information, it is ensured that the timeliness of pushed information greatly improves
In addition the reliability of push does not increase additional channels in process of information push, so the consumption of electricity will not be caused additionally.
Further, described according to the push time and the current time, work as to for pushing the data packet
The step of preceding push channel is scored, specifically includes: storing multiple time difference ranges and each time difference model
Enclose the incidence relation between the score value that scores;Calculate the push time and it is described it is current between object time difference;According to
The incidence relation searches scoring score value corresponding with the object time difference.
Further, the step of switching over to the current push channel, is determined according to appraisal result, specifically included: when
When scoring score value corresponding with the object time difference is less than predetermined score value, determines and switch the current push channel;When with
When the corresponding scoring score value of the object time difference is more than or equal to predetermined score value, determination does not switch the current push channel.
As shown in Fig. 2, the information push-delivery apparatus of embodiment according to the present invention, comprising: detection unit 202, computing unit
204, processing unit 206 and determination unit 208.
Wherein, detection unit 202 is for detecting whether get the data packet of server push, wherein the data packet
Including pushed information and push time;Computing unit 204 is used for when getting the data packet, calculated according to the time difference described in
The current time of server;Processing unit 206 is used for according to the push time and the current time, to described for pushing
The current push channel of data packet scores, to obtain appraisal result;Determination unit 208 is used to be determined according to appraisal result
The current push channel is switched over.
In the technical scheme, server is in propelling data, other than pushed information, incidentally will increase the push time,
When system receives the data packet of server push, when calculating the current time of server according to the time difference, and being based on current
Between and push time for getting determine whether to switch current push channel, sentence to carry out timeliness to pushed information based on the time
Fixed, only effective information could be pushed via current push channel, avoid the push of priceless value information, it is ensured that pushed information
Timeliness greatly improves the reliability of push.
Further, further includes: storage unit 210, for storing multiple time difference ranges and each time
Incidence relation between difference range and scoring score value;The processing unit 206 is specifically used for calculating the push time and institute
The object time difference between current is stated, according to the incidence relation, searches scoring point corresponding with the object time difference
Value.
Further, the determination unit 208 is specifically used for: when scoring score value corresponding with the object time difference is small
When predetermined score value, determines and switch the current push channel;When scoring score value corresponding with the object time difference is greater than
When equal to predetermined score value, determination does not switch the current push channel.
As shown in figure 3, the terminal 300 of embodiment according to the present invention, comprising: memory 302, processor 304 and communication
Bus 306.Wherein, memory 302 is configured to storage executable instruction;Processor 304, be configured to execute storage instruction with
It realizes such as the step of above-mentioned any embodiment the method, thus has whole technical effects of the data analysing method, herein
It repeats no more.
Specifically, above-mentioned memory 302 may include the mass storage for data or instruction.For example rather than
Limitation, memory 302 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic
Disk, tape or universal serial bus (Universal Serial Bus, USB) driver or two or more the above
Combination.In a suitable case, memory 302 may include the medium of removable or non-removable (or fixed).Suitable
In the case of, memory 302 can be inside or outside synthesized gateway disaster tolerance equipment.In a particular embodiment, 302 right and wrong of memory
Volatile solid-state.In a particular embodiment, memory 302 includes read-only memory (ROM).In a suitable case,
The ROM can be the ROM of masked edit program, programming ROM (PROM), erasable PROM (EPROM), electric erasable PROM
(EEPROM), electrically-alterable ROM (EAROM) or the combination of flash memory or two or more the above.Processor 304 can
To include central processing unit (CPU) or specific integrated circuit (Application Specific Integrated
Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.Communication bus
306 for realizing the connection communication between signal processor 304 and memory 302.Communication bus 306 can be industrial standard body
Architecture (Industry Standard Architecture, ISA) bus, external equipment interconnection (Peripheral
Component Interconnect, PCI) bus or extension standards architecture (Extended Industry
Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control bus
Deng.
The embodiment of fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence is realized when computer program is executed by processor such as the step of any of the above-described technical solution the method, thus has the number
According to whole technical effects of analysis method, details are not described herein.Computer readable storage medium may include that can store or pass
Any medium of defeated information.The example of computer readable storage medium include electronic circuit, semiconductor memory devices, ROM,
Flash memory, erasable ROM (EROM), floppy disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link etc..Code segment can
It is downloaded with the computer network via internet, Intranet etc..
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and technical solution of the present invention proposes a kind of new
Information pushes scheme, is monitored in real time to pushed information, it is ensured that the timeliness of pushed information greatly improves the reliable of push
Property.
It is merely a preferred embodiment of the present invention, is not intended to restrict the invention, for the technology of this field described in upper
For personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of information-pushing method characterized by comprising
Detect whether to get the data packet of server push, wherein the data packet includes pushed information and push time;
When getting the data packet, the current time of the server is calculated according to the time difference;
According to the push time and the current time, the current push channel for pushing the data packet is commented
Point, to obtain appraisal result;
According to appraisal result, determination switches over the current push channel.
2. information-pushing method according to claim 1, which is characterized in that described according to the push time and described to work as
The preceding time specifically includes the step of scoring the current push channel for pushing the data packet:
The incidence relation that multiple time difference ranges and each time difference range are stored between the score value that scores;
Calculate the push time and it is described it is current between object time difference;
According to the incidence relation, scoring score value corresponding with the object time difference is searched.
3. information-pushing method according to claim 2, which is characterized in that it is described according to appraisal result, it determines to described
The step of current push channel switches over, specifically includes:
When scoring score value corresponding with the object time difference is less than predetermined score value, determine that the switching current push is logical
Road;
When scoring score value corresponding with the object time difference is more than or equal to predetermined score value, determining ought be pushed forward described in not switching
Send channel.
4. a kind of information push-delivery apparatus characterized by comprising
Detection unit, for detecting whether getting the data packet of server push, wherein the data packet includes pushed information
And the push time;
Computing unit, for calculating the current time of the server according to the time difference when getting the data packet;
Processing unit, for being pushed forward to for pushing working as the data packet according to the push time and the current time
Channel is sent to score, to obtain appraisal result;
Determination unit, for according to appraisal result, determination to switch over the current push channel.
5. information push-delivery apparatus according to claim 4, which is characterized in that further include:
Storage unit, for storing between multiple time difference ranges and each time difference range and scoring score value
Incidence relation;
The processing unit, specifically for calculate the push time and it is described it is current between object time difference, according to institute
Incidence relation is stated, scoring score value corresponding with the object time difference is searched.
6. information push-delivery apparatus according to claim 5, which is characterized in that the determination unit is specifically used for:
When scoring score value corresponding with the object time difference is less than predetermined score value, determine that the switching current push is logical
Road;
When scoring score value corresponding with the object time difference is more than or equal to predetermined score value, determining ought be pushed forward described in not switching
Send channel.
7. a kind of terminal characterized by comprising
Processor;And
The memory being connect with the processor communication;
Wherein, the memory is stored with readable instruction, and the readable instruction is realized when being executed by the processor as weighed
Benefit require any one of 1 to 3 described in method.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
Method according to any one of claims 1 to 3 is realized when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910339803.2A CN110336849A (en) | 2019-04-25 | 2019-04-25 | Information-pushing method, information push-delivery apparatus and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910339803.2A CN110336849A (en) | 2019-04-25 | 2019-04-25 | Information-pushing method, information push-delivery apparatus and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110336849A true CN110336849A (en) | 2019-10-15 |
Family
ID=68139934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910339803.2A Pending CN110336849A (en) | 2019-04-25 | 2019-04-25 | Information-pushing method, information push-delivery apparatus and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336849A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068869A (en) * | 2015-09-29 | 2015-11-18 | 北京网诺星云科技有限公司 | Method and device for pushing information in mobile terminal |
CN108540365A (en) * | 2017-03-06 | 2018-09-14 | 周强 | The method and system that information pushes immediately in a kind of network information service |
CN108965032A (en) * | 2018-08-22 | 2018-12-07 | 北京奇虎科技有限公司 | A kind of message push amount statistical method and device based on round-robin queue |
CN109298929A (en) * | 2018-10-12 | 2019-02-01 | 平安科技(深圳)有限公司 | Timing task carrying-out time recommended method, device, equipment and storage medium |
-
2019
- 2019-04-25 CN CN201910339803.2A patent/CN110336849A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068869A (en) * | 2015-09-29 | 2015-11-18 | 北京网诺星云科技有限公司 | Method and device for pushing information in mobile terminal |
CN108540365A (en) * | 2017-03-06 | 2018-09-14 | 周强 | The method and system that information pushes immediately in a kind of network information service |
CN108965032A (en) * | 2018-08-22 | 2018-12-07 | 北京奇虎科技有限公司 | A kind of message push amount statistical method and device based on round-robin queue |
CN109298929A (en) * | 2018-10-12 | 2019-02-01 | 平安科技(深圳)有限公司 | Timing task carrying-out time recommended method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111611573B (en) | Data processing method, related equipment and medium for realizing terminal equipment switching | |
EP3975378A1 (en) | Charging method and apparatus, charging system, electronic device, storage medium | |
CN112735124B (en) | Traffic data analysis method, device, equipment, vehicle and storage medium | |
CN108876434B (en) | User portrait construction method and device, computing device and readable storage medium | |
CN108092685B (en) | Double-card-slot terminal double-card-slot state identification method, device, equipment and medium | |
BR0314366A (en) | Method and system for providing routing information for establishing connections in the communication system, mobile terminal, routing server, and, computer program | |
CN105758409A (en) | Navigation method and system | |
CN106534268B (en) | Data sharing method and device | |
CN112257542B (en) | Obstacle sensing method, storage medium and electronic device | |
CN106546252B (en) | Navigation method and device | |
CN113923775B (en) | Method, device, equipment and storage medium for evaluating quality of positioning information | |
CN110336849A (en) | Information-pushing method, information push-delivery apparatus and terminal | |
CN113837669B (en) | Evaluation index construction method of label system and related device | |
CN115344315B (en) | Skin switching method and device of applet page and electronic equipment | |
CN105323748A (en) | Testing error uploading method and device | |
CN105827508A (en) | Processing method and processing system of joining vehicle terminal in group, vehicle terminal and server | |
CN114328908A (en) | Question and answer sentence quality inspection method and device and related products | |
CN116074209A (en) | Data prediction method, device, equipment and computer storage medium | |
CN101282183B (en) | Communication checker, communication-state detection system and method for checking communication state | |
CN111122008B (en) | Method and device for determining core temperature of high-voltage wire | |
CN113962232A (en) | Analog card switching method and device, computer readable medium and mobile terminal | |
CN103117928B (en) | Method and device for improving chip forwarding performance | |
CN104902441A (en) | Dialing method, dialing device and mobile terminal | |
CN111190989B (en) | Discrete trajectory analysis method and device, electronic equipment and readable storage medium | |
CN115016434B (en) | Bench, whole vehicle data linkage method and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191015 |