CN103716139B - A kind of information pushing treating method and apparatus - Google Patents

A kind of information pushing treating method and apparatus Download PDF

Info

Publication number
CN103716139B
CN103716139B CN201310683947.2A CN201310683947A CN103716139B CN 103716139 B CN103716139 B CN 103716139B CN 201310683947 A CN201310683947 A CN 201310683947A CN 103716139 B CN103716139 B CN 103716139B
Authority
CN
China
Prior art keywords
pushed information
information
pushed
abnormal
electric terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310683947.2A
Other languages
Chinese (zh)
Other versions
CN103716139A (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.)
Tianjin Zhirong Innovation Technology Development Co ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310683947.2A priority Critical patent/CN103716139B/en
Publication of CN103716139A publication Critical patent/CN103716139A/en
Application granted granted Critical
Publication of CN103716139B publication Critical patent/CN103716139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiments of the invention provide a kind of information pushing treating method and apparatus, are related to technical field of the computer network, solve when pushed information occurs abnormal, it is impossible to resend the problem of the pushed information for occurring abnormal, improve the quality of pushed information.The method is specifically included:When the push thread for detecting the pushed information brings into operation, the pushed information is sequentially stored in the buffer queue of first electric terminal;Detect whether the pushed information is abnormal;When the pushed information for exception occur is detected, stop the push thread of the pushed information;Deletion is stored in all pushed informations before the described abnormal pushed information in the buffer queue, and resends the abnormal pushed information and all pushed informations after the abnormal pushed information.The present invention is applied in information processing.

Description

A kind of information pushing treating method and apparatus
Technical field
The present invention relates to technical field of the computer network, more particularly to a kind of information pushing treating method and apparatus.
Background technology
Fructus Mali pumilae sending out notice services (Apple Push Notification Service, abbreviation APNs) notifying from one Individual supplier provider is sent on the equipment specified.Notice is a pushed information, including two major parts of data: Token(Token)And Payload(Payload).Similar to telephone number, the information that it includes positions can APNs to token The equipment of client application is mounted with, authentication checks are used for by APNs also.Payload is one based on JavaScript language Lightweight data interchange format(JavaScript Object Notation, abbreviation JSON)The attribute list of definition, in detail Carefully describe how the application on equipment should point out user.
According to the regulation of APNS agreements, if APNS detects the Token failures in pushed information, need to push away the failure Deliver letters the asynchronous return of ID and error code of breath.Due to the return of the ID and error code information of pushed information be it is asynchronous, When provider receives the ID and error code of failure Token from APNs, warp-wise APNs have sent part pushed information, and APNS agreements do not preserve the pushed information for having sent, and so occur that the Token that cannot resend failure pushes letter The problem of breath.Meanwhile, the push quality of meeting strong influence Token pushed information.
The content of the invention
Embodiments of the invention provide a kind of information pushing treating method and apparatus, solve and go out during pushed information When now abnormal, it is impossible to resend the problem of the pushed information having been sent from, improve the quality of pushed information.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of first aspect, there is provided information pushing processing method, is applied to the first electric terminal, and methods described includes:
When the push thread for detecting pushed information brings into operation, the pushed information is sequentially stored in into described first In the buffer queue of electric terminal;
Detect whether the pushed information is abnormal;
When the pushed information for exception occur is detected, stop the push thread of the pushed information;
Deletion is stored in all pushed informations before the described abnormal pushed information in the buffer queue, and again Send the abnormal pushed information and all pushed informations after the abnormal pushed information.
In the first possible implementation, with reference in a first aspect, methods described also includes:
Detect whether the quantity of the pushed information in the buffer queue exceedes predetermined number threshold value;
If the quantity for detecting the pushed information reaches predetermined number threshold value, delete Breath.
It is in second possible implementation, with reference to first aspect or the first possible implementation, described when inspection When measuring the push thread of the pushed information and bringing into operation, the pushed information is sequentially stored in into first electric terminal Buffer queue in before, also include:
The pushed information is sent to user equipment by the second electric terminal, is being received in order to the user equipment After the pushed information, to second electric terminal, second electric terminal is according to the feedback information for send feedback information Judge whether the ID of the pushed information for sending error code and exception to first electric terminal;
It is described to detect whether the pushed information exception occurs, including:
Detect whether the ID of the pushed information of the error code and exception that receive the second electric terminal transmission;
If receiving the ID of the error code and the abnormal pushed information, judge that the pushed information occurs different Often.
In the third possible implementation, with reference to second possible implementation,
The error code is that second electric terminal is sent according to the form and the user equipment of the pushed information Feedback information obtain.
In the 4th kind of possible implementation, with reference to second possible implementation, the deletion is stored in described The all pushed informations before described abnormal pushed information in buffer queue, and resend the abnormal pushed information Before all pushed informations afterwards, also include:
The abnormal push letter is searched in the buffer queue according to the ID of the described abnormal pushed information for receiving Breath.
In the 5th kind of possible implementation, with reference to first aspect or the first possible implementation, it is described again After sending the abnormal pushed information and all pushed informations after the abnormal pushed information, also include:
All pushed informations after the abnormal pushed information and the abnormal pushed information have resend Cheng Hou, sends new pushed information and the new pushed information is sequentially stored in the buffer queue.
Second aspect, there is provided a kind of information pushing processing meanss, described device include:
Memory element, for when the push thread for detecting pushed information brings into operation, by the pushed information successively It is stored in the buffer queue of first electric terminal;
Detector unit, for detecting whether the pushed information is abnormal;
Processing unit, for when the pushed information for exception occur is detected, stopping the push thread of the pushed information;
The processing unit, before being additionally operable to delete the described abnormal pushed information being stored in the buffer queue All pushed informations, and resend the abnormal pushed information and all push letters after the abnormal pushed information Breath.
In the first possible implementation, with reference to second aspect, described device also includes:
The detector unit, it is default whether the quantity of the pushed information for being additionally operable to detect in the buffer queue exceedes Amount threshold;
Unit is deleted, if the quantity for detecting the pushed information reaches predetermined number threshold value, institute is deleted successively State pushed information.
In second possible implementation, with reference to second aspect or the first possible implementation, described device Also include:
Transmitting element, for sending the pushed information to user equipment by the second electric terminal, in order to the use Family equipment after the pushed information is received send feedback information to second electric terminal, the second electric terminal root Judge whether the ID of the pushed information for sending error code and exception to first electric terminal according to the feedback information;
The detector unit includes:
Detection module, for detecting whether the push for receiving error code and exception that second electric terminal sends is believed The ID of breath;
Judge module, if the ID for receiving the error code and the abnormal pushed information, pushes away described in judgement Breath of delivering letters occurs abnormal.
In the third possible implementation, with reference to second possible implementation,
The error code is that second electric terminal is sent according to the form and the user equipment of the pushed information Feedback information obtain.
In the 4th kind of possible implementation, with reference to second possible implementation, described device also includes:
Searching unit, searches in the buffer queue for the ID according to the described abnormal pushed information for receiving described Abnormal pushed information.
In the 5th kind of possible implementation, with reference to second aspect or the first possible implementation,
The processing unit, is additionally operable to all after the abnormal pushed information and the abnormal pushed information After the completion of pushed information resends, send new pushed information and the new pushed information is sequentially stored in into the caching In queue.
The information pushing treating method and apparatus that embodiments of the invention are provided, by inciting somebody to action while pushed information is sent The pushed information for having sent is stored in buffer queue, when pushed information occurs abnormal, is directly deleted in the buffer queue All pushed informations before abnormal pushed information the abnormal pushed information stored in resending the buffer queue With all pushed informations after the abnormal pushed information, solve when pushed information occurs abnormal, it is impossible to resend There is the problem of abnormal pushed information, improve the quality of pushed information.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
A kind of schematic flow sheet of information pushing processing method that Fig. 1 is provided for embodiments of the invention;
The schematic flow sheet of another kind of information pushing processing method that Fig. 2 is provided for embodiments of the invention;
The schematic flow sheet of another information pushing processing method that Fig. 3 is provided for embodiments of the invention;
A kind of structural representation of information pushing processing meanss that Fig. 4 is provided for embodiments of the invention;
The structural representation of another kind of information pushing processing meanss that Fig. 5 is provided for embodiments of the invention;
The structural representation of another information pushing processing means that Fig. 6 is provided for embodiments of the invention;
A kind of structural representation of information pushing processing meanss that Fig. 7 is provided for another embodiment of the present invention;
The structural representation of another kind of information pushing processing meanss that Fig. 8 is provided for another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiments of the invention provide a kind of information pushing processing method, are applied to the first electric terminal, with reference to Fig. 1 institutes Show, the method is comprised the following steps:
101st, when the push thread for detecting pushed information brings into operation, the first electric terminal by the pushed information successively It is stored in the buffer queue of the first electric terminal.
Specifically, the first electric terminal is communicated with user equipment by the second electric terminal.When the first electric terminal Server when sending pushed information to user equipment by the server of the second electric terminal, often send a pushed information then First electric terminal then can be stored in the pushed information that this has sent in the buffer queue of the first electric terminal.Wherein, should Buffer queue is to be arranged in the memorizer of the first electric terminal dedicated for storing pushed information in advance.
102nd, whether the first electric terminal detection pushed information is abnormal.
Specifically, the first electric terminal is by detecting whether to receive the error code of the second electric terminal transmission and exception The ID of pushed information abnormal to judge whether to occur pushed information situation.
103rd, when the pushed information for exception occur is detected, the first electric terminal stops the push thread of pushed information.
Specifically, when there is pushed information generation exception, stop sending pushed information to user equipment, to avoid rear supervention There is mistake in the pushed information sent, and abnormal pushed information occurs in convenient subsequently resending.
104th, the first electric terminal deletes all push letters being stored in before the pushed information of the exception in buffer queue Breath, and resend all pushed informations after the pushed information of abnormal pushed information and exception.
It should be noted that step 103 and step 104 in the process of implementation no sequencing point, i.e., step 103 is stopped Only pushed information before the pushed information for pushing thread and step 104 suppressing exception of pushed information, resends All pushed informations after breath and abnormal pushed information can be carried out on execution sequence simultaneously.
The information pushing processing method that embodiments of the invention are provided, by having been sent while pushed information is sent Pushed information be stored in buffer queue, when pushed information occurs abnormal, the direct suppressing exception in the buffer queue All pushed informations before pushed information the abnormal pushed information that stores in resending the buffer queue and this is different All pushed informations after normal pushed information, solve when pushed information occurs abnormal, it is impossible to resend appearance different The problem of normal pushed information, improves the quality of pushed information.
Embodiments of the invention provide a kind of information pushing processing method, and the method is applied to the first electric terminal, reference Shown in Fig. 2, the method is comprised the following steps:
201st, the first electric terminal sends pushed information to user equipment by the second electric terminal, in order to user equipment After pushed information is received, to the second electric terminal, the second electric terminal judges whether send feedback information according to feedback information Send the electric terminals of ID to first of the pushed information of error code and exception.Pushed information occurs abnormal situation to be included:Push Information errors, network error etc..
Wherein, error code is that the second electric terminal is obtained according to the feedback information that the form and user equipment of pushed information send Arrive.
In the present invention, pushed information can be Token pushed informations.
Specifically, the second electric terminal detects whether the form of the pushed information for receiving is correct first, if finding to push The format error of information then sends the ID of corresponding error code and the pushed information to the first electric terminal;If the lattice of pushed information The feedback information that the correct user equipment that then the second electric terminal inspection is received of formula sends, the feedback information can be:Confirm Character(Acknowledgement, abbreviation ACK)Or negative acknowledge character(Negative Acknowledgement, abbreviation NACK).If The feedback information that the detection of second electric terminal is received is NACK, then send corresponding error code and push away with this to the first electric terminal Deliver letters breath ID give the first electric terminal;If the feedback information that detection is received is ACK, do not deal with.Meanwhile, the first electronics The reason for can there is mistake according to the error code analysis for receiving in terminal, and appearance mistake is searched according to the ID of pushed information Pushed information.Wherein, whether the pushed information that the pushed information that user equipment judgement is received is obtained with the needs being obtained ahead of time It is identical come send feedback information;If the pushed information that the pushed information for receiving is obtained with the needs being obtained ahead of time is identical, send out ACK characters are sent to the second electric terminal;If the pushed information that the pushed information for receiving is obtained with the needs being obtained ahead of time not phase Together, then NACK characters are sent to the second electric terminal.
202nd, when the push thread for detecting pushed information brings into operation, the first electric terminal by the pushed information successively It is stored in the buffer queue of the first electric terminal.
Wherein, the buffer queue is the buffer queue of a limited storage space, the storage of pushed information can be according to The principle of first in first out is carried out.The buffer queue is to be arranged in the memorizer of the first electric terminal dedicated for storage in advance Pushed information, the capacity of buffer queue can be set according to the actual capacity of the first electric terminal.
203rd, the first electric terminal detects whether the push letter of the error code and exception for receiving the transmission of the second electric terminal The ID of breath.
First electric terminal can be with according to whether receive the push letter of the error code and exception of the transmission of the second electric terminal The ID of breath is judging whether pushed information exception occurs.
If the 204, receiving the ID of the pushed information of error code and exception, the first electric terminal judges that pushed information occurs It is abnormal.
205th, when the pushed information for exception occur is detected, the first electric terminal stops the push thread of pushed information.
When detecting the situation of generation pushed information exception, the first electric terminal stops by the second electric terminal to user Equipment sends pushed information, it is to avoid mistake occurs in the follow-up pushed information for sending.
206th, the first electric terminal deletes all push letters being stored in before the pushed information of the exception in buffer queue Breath, and resend all pushed informations after the pushed information of abnormal pushed information and exception.
It should be noted that step 205 and step 206 in the process of implementation no sequencing point, i.e., step 205 is stopped Only pushed information before the pushed information for pushing thread and step 206 suppressing exception of pushed information, resends abnormal pushing away Deliver letters breath and exception pushed information after all pushed informations on execution sequence can be and meanwhile it is carrying out, or Step 206 is performed after step 205.
Specifically, after stopping sending pushed information to user equipment, according to the ID of the pushed information of the exception for receiving The position that abnormal pushed information is located is searched in buffer queue, by the abnormal pushed information position before it is all Pushed information is deleted, and is saved buffer queue designated space, is facilitated the first electric terminal to carry out follow-up operation.Suppressing exception is pushed away The pushed information delivered letters before breath position, such first electric terminal are only needed to buffer queue when resending directly In all pushed informations resend once, without pushing away before first crossing abnormal pushed information position Deliver letters breath, retransmit the pushed information after the pushed information position of abnormal pushed information and exception, greatly save The operating process of electric terminal and time.
The information pushing processing method that embodiments of the invention are provided, by having been sent while pushed information is sent Pushed information be stored in buffer queue, when pushed information occurs abnormal, the direct suppressing exception in the buffer queue All pushed informations before pushed information the abnormal pushed information that stores in resending the buffer queue and this is different All pushed informations after normal pushed information, solve when pushed information occurs abnormal, it is impossible to resend appearance different The problem of normal pushed information, improves the quality of pushed information.Further, the pushing efficiency of pushed information can be improved.
Embodiments of the invention provide a kind of information pushing processing method, and the method is applied to the first electric terminal, reference Shown in Fig. 3, the method is comprised the following steps:
301st, the first electric terminal sends pushed information to user equipment by the second electric terminal, in order to user equipment After pushed information is received, to the second electric terminal, the second electric terminal judges whether send feedback information according to feedback information Send the electric terminals of ID to first of the pushed information of error code and exception.
Wherein, error code is that the second electric terminal is obtained according to the feedback information that the form and user equipment of pushed information send Arrive.
302nd, when the push thread for detecting pushed information brings into operation, the first electric terminal by the pushed information successively It is stored in the buffer queue of the first electric terminal.
303rd, whether the quantity of the pushed information in the first electric terminal detection buffer queue exceedes predetermined number threshold value.
Wherein, predetermined number threshold value is the first electric terminal according to the memory capacity of the memorizer of the first electric terminal and pushes away The memory space delivered letters required for breath is set in advance, is a variable numerical value.
If the quantity for the 304, detecting pushed information reaches predetermined number threshold value, the first electric terminal deletes push successively Information.
When electric terminal detects the quantity of the pushed information in buffer queue and reaches default amount threshold, electronic equipment Order according to storage pushed information is that the order of first in first out deletes pushed information successively, it is ensured that pushed information in buffer queue Quantity is less than predetermined number threshold value, it is to avoid the situation that internal memory exhausts occurs in electric terminal, it is ensured that the push thread of pushed information It is normally carried out.
305th, the first electric terminal detects whether the push letter of the error code and exception for receiving the transmission of the second electric terminal The ID of breath.
If the 306, receiving the ID of the pushed information of error code and exception, the first electric terminal judges that pushed information occurs It is abnormal.
307th, when the pushed information for exception occur is detected, the first electric terminal stops the push thread of pushed information.
308th, the first electric terminal searches abnormal push away in buffer queue according to the ID of the pushed information of the exception for receiving Deliver letters breath.
First electric terminal is according to the abnormal pushed information of the ID lookups of abnormal pushed information in buffer queue Position, facilitates the first electric terminal to process the pushed information in buffer queue.
309th, the first electric terminal deletes all push letters being stored in before the pushed information of the exception in buffer queue Breath, and resend all pushed informations after the pushed information of abnormal pushed information and exception.
It should be noted that step 307~308 and step 309 in the process of implementation no sequencing point, i.e. step 307~308 and step 309 suppressing exception pushed information before pushed information, resend normal pushed information and exception push away The all pushed informations delivered letters after breath can be while carry out, or step 309 is in step 307 on execution sequence Perform after~308.
310th, after the completion of all pushed informations after the pushed information of abnormal pushed information and exception resend, First electric terminal sends new pushed information and new pushed information is sequentially stored in buffer queue.
Specifically, when resending abnormal pushed information and the pushed information after the abnormal pushed information, first Electric terminal does not preserve the pushed information that these resend, but during new pushed information is sent, and this new is pushed away Breath of delivering letters is sequentially stored in buffer queue.
Optionally, when resend abnormal pushed information and exception pushed information after all pushed informations when, All pushed informations after the pushed information of the abnormal pushed information and exception are stored in buffer queue, caching is covered Original pushed information in queue.
Wherein, in the present embodiment, the detailed description of the step step identical with step in above-described embodiment refers to above-mentioned enforcement Description in example, here is omitted.
The information pushing processing method that embodiments of the invention are provided, by having been sent while pushed information is sent Pushed information be stored in buffer queue, when pushed information occurs abnormal, the direct suppressing exception in the buffer queue All pushed informations before pushed information the abnormal pushed information that stores in resending the buffer queue and this is different All pushed informations after normal pushed information, solve when pushed information occurs abnormal, it is impossible to resend appearance different The problem of normal pushed information, improves the quality of pushed information.Further, the pushing efficiency of pushed information can be improved.
Embodiments of the invention provide a kind of information pushing processing meanss 4, for realizing the arbitrary correspondence in Fig. 1~Fig. 3 The information pushing processing method that provided of embodiment of the method, with reference to shown in Fig. 4, the device 4 includes:Memory element 41, detection Unit 42, processing unit 43, wherein:
Memory element 41, for when the push thread for detecting pushed information brings into operation, pushed information being deposited successively Storage is in the buffer queue of the first electric terminal.
Detector unit 42, for detecting whether pushed information is abnormal.
Processing unit 43, for when the pushed information for exception occur is detected, stopping the push thread of pushed information.
Processing unit 43, all push letters being additionally operable to before deleting the pushed information of the exception being stored in buffer queue Breath, and resend all pushed informations after the pushed information of abnormal pushed information and exception.
The information pushing processing meanss that embodiments of the invention are provided, by having been sent while pushed information is sent Pushed information be stored in buffer queue, when pushed information occurs abnormal, the direct suppressing exception in the buffer queue All pushed informations before pushed information the abnormal pushed information that stores in resending the buffer queue and this is different All pushed informations after normal pushed information, solve when pushed information occurs abnormal, it is impossible to resend appearance different The problem of normal pushed information, improves the quality of pushed information.
Further, with reference to shown in Fig. 5, the device 4 also includes:Unit 44 is deleted, wherein:
Whether detector unit 42, the quantity of the pushed information being additionally operable in detection buffer queue exceed predetermined number threshold value.
Unit 44 is deleted, if the quantity for detecting pushed information reaches predetermined number threshold value, is deleted successively and is pushed Information.
Further, with reference to shown in Fig. 6, the device 4 also includes:Transmitting element 45, wherein:
Transmitting element 45, for sending pushed information to user equipment by the second electric terminal, in order to user equipment After pushed information is received, to the second electric terminal, the second electric terminal judges whether send feedback information according to feedback information Send the electric terminals of ID to first of the pushed information of error code and exception.
Specifically, with reference to shown in Fig. 7, detector unit 42 includes:Detection module 421 and judge module 422, wherein:
Detection module 421, for detecting whether receiving the push letter of the error code and exception of the transmission of the second electric terminal The ID of breath.
Judge module 422, if the ID of the pushed information for receiving error code and exception, judges that pushed information occurs It is abnormal.
Wherein, error code is that the second electric terminal is obtained according to the feedback information that the form and user equipment of pushed information send Arrive.
Further, with reference to shown in Fig. 8, the device also includes:Searching unit 46, wherein:
Searching unit 46, the ID for the pushed information according to the exception for receiving search abnormal push in buffer queue Information.
Further alternative, processing unit 43 is additionally operable to after the pushed information of abnormal pushed information and exception After the completion of all pushed informations resend, send new pushed information and new pushed information is sequentially stored in into buffer queue In.
It should be noted that the implementation of each unit and each module in information pushing processing meanss in the present embodiment The associated description in correlation method embodiment be may be referred to interaction.
The information pushing processing meanss that embodiments of the invention are provided, by having been sent while pushed information is sent Pushed information be stored in buffer queue, when pushed information occurs abnormal, the direct suppressing exception in the buffer queue All pushed informations before pushed information the abnormal pushed information that stores in resending the buffer queue and this is different All pushed informations after normal pushed information, solve when pushed information occurs abnormal, it is impossible to resend appearance different The problem of normal pushed information, improves the quality of pushed information.Further, the pushing efficiency of pushed information can be improved.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, the program Upon execution, perform the step of including said method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.

Claims (12)

1. a kind of information pushing processing method, is applied to the first electric terminal, it is characterised in that methods described includes:
When the second electric terminal transmission pushed information is detected to user equipment, the push thread of the pushed information that brings into operation, And the pushed information is sequentially stored in the buffer queue of first electric terminal;
Detect whether the pushed information is abnormal;
When the pushed information for exception occur is detected, stop the push thread of the pushed information;
Deletion is stored in all pushed informations before the described abnormal pushed information in the buffer queue, and resends All pushed informations after the abnormal pushed information and the abnormal pushed information;
Wherein, pushed information is sent to user equipment by the second electric terminal, in order to the user equipment receiving After stating pushed information, send feedback information to second electric terminal, sentence according to the feedback information by second electric terminal The ID of the disconnected pushed information for whether sending error code and exception is to first electric terminal.
2. method according to claim 1, it is characterised in that whether the detection pushed information before exception, also Including:
Detect whether the quantity of the pushed information in the buffer queue exceedes predetermined number threshold value;
If the quantity for detecting the pushed information reaches predetermined number threshold value, the pushed information is deleted successively.
3. method according to claim 1 and 2, it is characterised in that whether the detection pushed information exception occurs, Including:
Detect whether the ID of the pushed information of the error code and exception that receive the second electric terminal transmission;
If receiving the ID of the error code and the abnormal pushed information, judge that the pushed information occurs abnormal.
4. method according to claim 3, it is characterised in that
The error code is second electric terminal according to the anti-of form and the user equipment transmission of the pushed information What feedforward information was obtained.
5. method according to claim 3, it is characterised in that the deletion is stored in described different in the buffer queue All pushed informations before normal pushed information, and resend all pushed informations after the abnormal pushed information Before, also include:
The abnormal pushed information is searched in the buffer queue according to the ID of the described abnormal pushed information for receiving.
6. method according to claim 1 and 2, it is characterised in that it is described resend the abnormal pushed information and After all pushed informations after the abnormal pushed information, also include:
After the completion of all pushed informations after the abnormal pushed information and the abnormal pushed information resend, Send new pushed information and the new pushed information is sequentially stored in the buffer queue.
7. a kind of information pushing processing meanss, it is characterised in that described device includes:
Memory element, for when the second electric terminal transmission pushed information is detected to user equipment, bring into operation push letter The push thread of breath, and the pushed information is sequentially stored in the buffer queue of the first electric terminal;
Detector unit, for detecting whether the pushed information is abnormal;
Processing unit, for when the pushed information for exception occur is detected, stopping the push thread of the pushed information;
The processing unit, it is all before being additionally operable to delete the described abnormal pushed information being stored in the buffer queue Pushed information, and resend the abnormal pushed information and all pushed informations after the abnormal pushed information;
Transmitting element, for sending pushed information to user equipment by the second electric terminal, exists in order to the user equipment After receiving the pushed information, to second electric terminal, second electric terminal is according to described anti-for send feedback information Feedforward information judges whether the ID of the pushed information for sending error code and exception to first electric terminal.
8. device according to claim 7, it is characterised in that
Whether the detector unit, the quantity of the pushed information for being additionally operable to detect in the buffer queue exceed predetermined number Threshold value;
Described device also includes:
Unit is deleted, if the quantity for detecting the pushed information reaches predetermined number threshold value, is pushed away described in deletion successively Deliver letters breath.
9. the device according to claim 7 or 8, it is characterised in that the detector unit includes:
Detection module, for detecting whether receiving error code and the pushed information of exception that second electric terminal sends ID;
Judge module, if the ID for receiving the error code and the abnormal pushed information, judges that described push is believed Breath occurs abnormal.
10. device according to claim 9, it is characterised in that
The error code is second electric terminal according to the anti-of form and the user equipment transmission of the pushed information What feedforward information was obtained.
11. devices according to claim 9, it is characterised in that described device also includes:
Searching unit, searches the exception in the buffer queue for the ID according to the described abnormal pushed information for receiving Pushed information.
12. devices according to claim 7 or 8, it is characterised in that
The processing unit, all push being additionally operable to after the abnormal pushed information and the abnormal pushed information After the completion of information resends, send new pushed information and the new pushed information is sequentially stored in into the buffer queue In.
CN201310683947.2A 2013-12-10 2013-12-10 A kind of information pushing treating method and apparatus Active CN103716139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310683947.2A CN103716139B (en) 2013-12-10 2013-12-10 A kind of information pushing treating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310683947.2A CN103716139B (en) 2013-12-10 2013-12-10 A kind of information pushing treating method and apparatus

Publications (2)

Publication Number Publication Date
CN103716139A CN103716139A (en) 2014-04-09
CN103716139B true CN103716139B (en) 2017-03-29

Family

ID=50408760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310683947.2A Active CN103716139B (en) 2013-12-10 2013-12-10 A kind of information pushing treating method and apparatus

Country Status (1)

Country Link
CN (1) CN103716139B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997662A (en) * 2014-05-27 2014-08-20 深圳创维-Rgb电子有限公司 Program pushing method and system
CN105404666B (en) * 2015-11-12 2018-11-02 华中师范大学 A kind of learning process serializing recommendation method
CN106991314A (en) * 2016-01-20 2017-07-28 阿里巴巴集团控股有限公司 A kind of date storage method and device
CN106201585A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 A kind of Notification Method and electronic equipment
WO2019000465A1 (en) * 2017-06-30 2019-01-03 广东欧珀移动通信有限公司 Information processing method and device, storage medium, and terminal
CN114489907B (en) * 2022-01-29 2024-03-12 国泰新点软件股份有限公司 System operation guiding method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394029A (en) * 2001-06-22 2003-01-29 三菱电机株式会社 Transmitter, receiver, transceiver and communication system for repeating management
CN1734997A (en) * 2004-08-11 2006-02-15 华为技术有限公司 Data transmission method
CN1823332A (en) * 2003-05-27 2006-08-23 诺基亚公司 System and method for user notification
CN101091373A (en) * 2004-12-28 2007-12-19 富士通株式会社 Retransmission controller
CN101193312A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 Self-adapted error recovery device, video communication system and method based on feedback

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394029A (en) * 2001-06-22 2003-01-29 三菱电机株式会社 Transmitter, receiver, transceiver and communication system for repeating management
CN1823332A (en) * 2003-05-27 2006-08-23 诺基亚公司 System and method for user notification
CN1734997A (en) * 2004-08-11 2006-02-15 华为技术有限公司 Data transmission method
CN101091373A (en) * 2004-12-28 2007-12-19 富士通株式会社 Retransmission controller
CN101193312A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 Self-adapted error recovery device, video communication system and method based on feedback

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"一种改进Go-Back-NARQ策略研究";胡建军;《计算机应用与软件》;20111206;第28卷(第7期);第1页第4段 *

Also Published As

Publication number Publication date
CN103716139A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN103716139B (en) A kind of information pushing treating method and apparatus
CN110008757B (en) Data protection method and system in updating of terminal firmware of Internet of things
CN107908494A (en) Processing method, device, electronic equipment and the storage medium of anomalous event
CN103259797B (en) data file transmission method and platform
CN109743135A (en) A kind of method of breakpoint transmission file transmission
US8190693B2 (en) Reclaiming lost internet customers
CN104348578B (en) The method and device of data processing
CN103841111A (en) Method for preventing data from being submitted repeatedly and server
CN112822260B (en) File transmission method and device, electronic equipment and storage medium
CN110431783A (en) The method and apparatus for sending feedback information
CN104079623B (en) Multistage cloud storage synchronisation control means and system
CN106921561B (en) A kind of information processing method and device
CN103984633B (en) A kind of bank main passes down the automatization test system of operation
CN101453479A (en) Fast document transmission system
CN107276728A (en) A kind of data transmission method and device
CN102355480A (en) File transmission method, system, client and server based on trivial file transfer protocol (TFTP)
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
CN106533790A (en) Method, apparatus and system for deploying storage server, and storage server
CN105100145A (en) Method and device for interacting user information and method and device for acquiring user information
CN107688938A (en) A kind of method and apparatus of offline electronic payment
CN111010441B (en) Block chain cross-chain method and system and electronic equipment
CN114138542A (en) Data configuration method of electric energy meter, electric energy meter and readable storage medium
CN112181930A (en) File management method and device of virtual switching matrix
CN109783215A (en) Abnormal task processing method and relevant apparatus
CN104780142A (en) Client using scene state processing method, client using scene state processing system and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20191121

Granted publication date: 20170329

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20220621

Granted publication date: 20170329

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220714

Address after: 300467 917-2, Chuangzhi building, 482 Zhongxin eco city, Binhai New Area, Tianjin

Patentee after: Tianjin Zhirong Innovation Technology Development Co.,Ltd.

Address before: 100089 room 6184, 6th floor, building 19, 68 Xueyuan South Road, Haidian District, Beijing

Patentee before: LE SHI INTERNET INFORMATION & TECHNOLOGY CORP., BEIJING