CN104811771B - A kind of processing method and processing device of video push failure - Google Patents

A kind of processing method and processing device of video push failure Download PDF

Info

Publication number
CN104811771B
CN104811771B CN201510202304.0A CN201510202304A CN104811771B CN 104811771 B CN104811771 B CN 104811771B CN 201510202304 A CN201510202304 A CN 201510202304A CN 104811771 B CN104811771 B CN 104811771B
Authority
CN
China
Prior art keywords
client
video
push
mark
apns
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.)
Expired - Fee Related
Application number
CN201510202304.0A
Other languages
Chinese (zh)
Other versions
CN104811771A (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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201510202304.0A priority Critical patent/CN104811771B/en
Publication of CN104811771A publication Critical patent/CN104811771A/en
Application granted granted Critical
Publication of CN104811771B publication Critical patent/CN104811771B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data

Abstract

The invention discloses a kind of processing method and processing device of video push failure, to realize the processing to video push failure, so as to improve the success rate of video push.Methods described includes:During to the APNS server push video, the mark of client corresponding to the video and the video is recorded;When receive the transmission of APNS servers to the failure of client push video notice when, according to client described in the identifier lookup of the client and the client being recorded in after the client;Video corresponding to the client and the client being recorded in after the client is resend and gives APNS servers, the APNS servers are used to the video being sent to each self-corresponding client.The technical scheme can carry out in good time processing to the situation of video push failure, avoid the leakage hair of client video push, improve the success rate to client push video.

Description

A kind of processing method and processing device of video push failure
Technical field
The present invention relates to Internet technical field, more particularly to a kind of processing method and processing device of video push failure.
Background technology
At present, can not be directly to ios client during video operator when sending the video recommended to the client of ios systems End sends video, but the video of recommendation first is sent into APNS (Apple Push Notification Service, apple The service of fruit sending out notice) server, video is sent to ios clients by APNS servers.If APNS servers are objective to ios Family end sends video success, then and APNS servers are not to be notified that video operator, only when sending video failure, APNS servers are just notified that video operator sends failure.Video operator to APNS servers send video to receive send out Between sending the notice of failure, hundreds of milliseconds to 2 seconds of delay is probably needed, and during this period of time, video operator still may be used To send other videos to APNS servers, still, other video councils sent in this period are lost by APNS servers Processing is lost, without attempting to issue ios clients, and APNS servers will not send other videos to video operator and send mistake The notice lost, so, the user of ios clients also just can not receive the video of recommendation, and video operator can not also lose to sending The video lost carries out any subsequent treatment.
The content of the invention
The present invention provides a kind of processing method and processing device of video push failure, to realize the place to video push failure Reason, so as to improve the success rate of video push.
The present invention provides a kind of processing method of video push failure, including:
During to the APNS server push video, the mark of client corresponding to the video and the video is recorded;
When receiving the notice to fail to client push video of APNS servers transmission, according to the client Client described in identifier lookup and the client being recorded in after the client;
Video corresponding to the client and the client being recorded in after the client is resend to APNS Server, the APNS servers are used to the video being sent to each self-corresponding client.
In one embodiment, the mark for recording client corresponding to the video and the video, including:
According to the time order and function order of pushing video, the mark of client corresponding to the video and the video is recorded.
In one embodiment, it is described when the notice to the failure of client push video for receiving the transmission of APNS servers When, after client described in the identifier lookup of the client and the client being recorded in after the client, institute Stating method also includes:
Delete the record of the client and its corresponding video before being located at the client.
In one embodiment, methods described also includes:
When not receiving the notice of pushing video failure in preset time period, the video and its corresponding client are deleted The record at end.
In one embodiment, methods described also includes:
Record the number by the APNS servers to the client push video;
When the number reaches preset times threshold value, delete the record of the client and its corresponding video and cancel Operation to the client push video.
Some beneficial effects of the embodiment of the present invention can include:
The technical scheme can be when receiving the notice to fail to client push video of APNS servers transmission, weight Video corresponding to the client and its client afterwards is newly sent, so as to carry out in good time place to the situation of video push failure Reason, the leakage hair of client video push is avoided, improves the success rate to client push video.
The embodiment of the present invention also provides a kind of processing unit of video push failure, including:
First logging modle, during for the APNS server push video, record the video and the video pair The mark for the client answered;
Searching modul, for when receive APNS servers transmission to client push video failure notice when, root According to client described in the identifier lookup of the client and the client being recorded in after the client;
Sending module, for by video weight corresponding to the client and the client being recorded in after the client New to be sent to APNS servers, the APNS servers are used to the video being sent to each self-corresponding client.
In one embodiment, first logging modle includes:
Record sub module, for the time order and function order according to pushing video, record the video and the video is corresponding Client mark.
In one embodiment, described device also includes:
First removing module, for when the notice to the failure of client push video for receiving the transmission of APNS servers When, after client described in the identifier lookup of the client and the client being recorded in after the client, delete Except the client before the client and its record of corresponding video.
In one embodiment, described device also includes:
Second removing module, for when not receiving the notice of pushing video failure in preset time period, described in deletion The record of video and its corresponding client.
In one embodiment, described device also includes:
Second logging modle, for recording the number by the APNS servers to the client push video;
Cancel pushing module, for when the number reaches preset times threshold value, deleting the client and its corresponding The record of video simultaneously cancels the operation to the client push video.
Some beneficial effects of the embodiment of the present invention can include:
The device can be sent out again when receiving the notice to fail to client push video of APNS servers transmission Video corresponding to the client and its client afterwards is given, so as to carry out in good time processing to the situation of video push failure, The leakage hair of client video push is avoided, improves the success rate to client push video.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the processing method of video push failure in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the processing method of video push failure in the embodiment of the present invention;
Fig. 3 is a kind of block diagram of the processing unit of video push failure in the embodiment of the present invention;
Fig. 4 is a kind of block diagram of the first logging modle 31 in processing unit of video push failure in the embodiment of the present invention;
Fig. 5 is the block diagram of the processing unit of another video push failure in the embodiment of the present invention
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
A kind of processing method of video push failure provided by the invention is used in the video server of network side, main To be directed to the processing after the failure of ios client push video.
Fig. 1 is a kind of flow chart of the processing method of video push failure in the embodiment of the present invention.As shown in figure 1, the party Method comprises the following steps S11-S13:
Step S11, during to APNS server push videos, record the mark of client corresponding to video and video.
The step may be embodied as:According to the time order and function order of pushing video, client corresponding to video and video is recorded The mark at end.
Step S12, when receiving the notice to fail to client push video of APNS servers transmission, according to client The identifier lookup client at end and the client being recorded in after client.
Because the mark of client corresponding to video and video is the time order and function journal according to pushing video, because This, the client found and the client being recorded in after client, that is, this receives pushing video and unsuccessfully corresponds to Client and its failure handling is carried out by APNS servers afterwards but fails to give notice the client of APNS servers.
Step S13, video corresponding to client and the client being recorded in after client is resend to APNS Server, APNS servers are used to video being sent to each self-corresponding client.
Using technical scheme provided in an embodiment of the present invention, being pushed away to client for APNS servers transmission can received When sending the notice of video failure, video corresponding to the client and its client recorded afterwards is resend, so as to video The situation of push failure carries out in good time processing, avoids the leakage hair of client video push, improves and regarded to client push The success rate of frequency.
In one embodiment, after step S13, the above method is further comprising the steps of:Deletion is located at above-mentioned client Client before and its record of corresponding video.In the embodiment, being recorded in above-mentioned client, (i.e. video server connects Receive pushing video failure notice corresponding to client) before client and its corresponding video delete, it is meant that note Record the client before above-mentioned client and successfully pushed video, without carrying out subsequent treatment again.
In one embodiment, the above method is further comprising the steps of:When pushing video is not received in preset time period During the notice of failure, video and its record of corresponding client are deleted.Under normal circumstances, video server is to APNS servers Send between video arrives and receive the notice for sending failure, probably hundreds of milliseconds to 2 seconds of delay of needs, therefore can be when will be default Between section be arranged to 2 seconds, if within 2 seconds, video server be not received by pushing video failure notice when, illustrate that this is regarded Client push success corresponding to frequency, therefore can be by the video and its record deletion of corresponding client.
In one embodiment, as shown in Fig. 2 the further comprising the steps of S21-S22 of the above method:
Step S21, record pass through number of the APNS servers to client push video.
Step S22, when the number reaches preset times threshold value, delete the client and its corresponding video record, And cancel the operation to the client push video.
For example, preset times threshold value is 3 times, when record passes through number of the APNS servers to a certain client push video When reaching 3 times, then it is no longer attempt to the client push video, and deletes the record of the client and its corresponding video, from And unnecessary operation is saved, mitigate the burden of video server, then whereabouts other client push videos, more improve and regard The efficiency of frequency server pushing video.
Corresponding to a kind of processing method of video push failure in above-described embodiment, the embodiment of the present invention also provides one kind The processing unit of video push failure, as shown in figure 3, the device includes:
First logging modle 31, during for APNS server push videos, record client corresponding to video and video Mark.
Searching modul 32, for when receive APNS servers transmission to client push video failure notice when, According to the identifier lookup client of client and the client being recorded in after client.
Sending module 33, for video corresponding to client and the client being recorded in after client to be resend APNS servers are given, APNS servers are used to video being sent to each self-corresponding client.
In one embodiment, as shown in figure 4, the first logging modle 31 includes record sub module 311, for according to push The time order and function order of video, record the mark of client corresponding to video and video.
In one embodiment, as shown in figure 5, said apparatus also includes:
First removing module 34, for when the notice to the failure of client push video for receiving the transmission of APNS servers When, after the identifier lookup client of client and the client being recorded in after client, deletion is located at client Client before and its record of corresponding video.
Second removing module 35, for when not receiving the notice of pushing video failure in preset time period, deletion to regard The record of frequency and its corresponding client.
Second logging modle 36, pass through number of the APNS servers to client push video for recording
Cancel pushing module 37, for when number reaches preset times threshold value, deleting the client and its corresponding regarding The record of frequency simultaneously cancels the operation to the client push video.
Using device provided in an embodiment of the present invention, being regarded to client push for APNS servers transmission can received During the notice of frequency failure, video corresponding to the client and its client afterwards is resend, so as to fail to video push Situation carry out in good time processing, avoid the leakage hair of client video push, improve the success to client push video Rate.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. processing method of video push failure, it is characterised in that including:
    During to APNS server push videos, the mark of client corresponding to the video and the video is recorded;
    When receiving the notice to fail to client push video of APNS servers transmission, according to the mark of the client The client and the client being recorded in after the client are searched, wherein, the APNS servers are according to each The sequencing of the mark of client carrys out pushing video, and the client after the client refers to the mark of client described Client after the mark of client;
    Video corresponding to the client and the client being recorded in after the client is resend and gives APNS services Device, the APNS servers are used to the video being sent to each self-corresponding client.
  2. 2. the method as described in claim 1, it is characterised in that
    The mark for recording client corresponding to the video and the video, including:
    According to the time order and function order of pushing video, the mark of client corresponding to the video and the video is recorded.
  3. 3. the method as described in claim 1, it is characterised in that
    It is described when receive APNS servers transmission to client push video failure notice when, according to the client Client described in identifier lookup and the client being recorded in after the client, methods described also include:
    The record of the client and its corresponding video before being located at the client is deleted, wherein, the APNS servers are According to the sequencing of the mark of each client come pushing video, the client before the client refers to the mark of client Know the client before the mark of the client.
  4. 4. the method as described in claim 1, it is characterised in that methods described also includes:
    When not receiving the notice of pushing video failure in preset time period, the video and its corresponding client are deleted Record.
  5. 5. the method as described in claim 1, it is characterised in that methods described also includes:
    Record the number by the APNS servers to the client push video;
    When the number reaches preset times threshold value, delete the record of the client and its corresponding video and cancel to this The operation of client push video.
  6. A kind of 6. processing unit of video push failure, it is characterised in that including:
    First logging modle, during for APNS server push videos, record client corresponding to the video and the video The mark at end;
    Searching modul, for when receive APNS servers transmission to client push video failure notice when, according to institute Client described in the identifier lookup of client and the client being recorded in after the client are stated, wherein, the APNS clothes Business device is come pushing video according to the sequencing of the mark of each client, and the client after the client refers to client Client of the mark at end after the mark of the client;
    Sending module, for video corresponding to the client and the client being recorded in after the client to be sent out again APNS servers are given, the APNS servers are used to the video being sent to each self-corresponding client.
  7. 7. device as claimed in claim 6, it is characterised in that first logging modle includes:
    Record sub module, for the time order and function order according to pushing video, record objective corresponding to the video and the video The mark at family end.
  8. 8. device as claimed in claim 6, it is characterised in that described device also includes:
    First removing module, for when receive APNS servers transmission to client push video failure notice when, root According to client described in the identifier lookup of the client and the client being recorded in after the client, delete positioned at described The record of client and its corresponding video before client, wherein, the APNS servers are according to each client The sequencing of mark carrys out pushing video, and the client before the client refers to the mark of client in the client Client before mark.
  9. 9. device as claimed in claim 6, it is characterised in that described device also includes:
    Second removing module, for when not receiving the notice of pushing video failure in preset time period, deleting the video And its record of corresponding client.
  10. 10. device as claimed in claim 6, it is characterised in that described device also includes:
    Second logging modle, for recording the number by the APNS servers to the client push video;
    Cancel pushing module, for when the number reaches preset times threshold value, deleting the client and its corresponding video Record and cancel operation to the client push video.
CN201510202304.0A 2015-04-24 2015-04-24 A kind of processing method and processing device of video push failure Expired - Fee Related CN104811771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510202304.0A CN104811771B (en) 2015-04-24 2015-04-24 A kind of processing method and processing device of video push failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510202304.0A CN104811771B (en) 2015-04-24 2015-04-24 A kind of processing method and processing device of video push failure

Publications (2)

Publication Number Publication Date
CN104811771A CN104811771A (en) 2015-07-29
CN104811771B true CN104811771B (en) 2017-12-15

Family

ID=53696189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510202304.0A Expired - Fee Related CN104811771B (en) 2015-04-24 2015-04-24 A kind of processing method and processing device of video push failure

Country Status (1)

Country Link
CN (1) CN104811771B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109802995B (en) * 2018-12-13 2023-04-11 深圳壹账通智能科技有限公司 Message pushing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769787A (en) * 2012-08-02 2012-11-07 中兴通讯股份有限公司 Time shifting method and time shifting equipment of mobile phone terminal channel
CN102802048A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Multi-screen interaction system and method
CN103024491A (en) * 2012-12-31 2013-04-03 传聚互动(北京)科技有限公司 Video playing method and video playing system of mobile terminal
CN103533428A (en) * 2012-10-31 2014-01-22 Tcl集团股份有限公司 Method for releasing intelligent terminal webpage video to television for broadcasting and intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9306879B2 (en) * 2012-06-08 2016-04-05 Apple Inc. Message-based identification of an electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769787A (en) * 2012-08-02 2012-11-07 中兴通讯股份有限公司 Time shifting method and time shifting equipment of mobile phone terminal channel
CN102802048A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Multi-screen interaction system and method
CN103533428A (en) * 2012-10-31 2014-01-22 Tcl集团股份有限公司 Method for releasing intelligent terminal webpage video to television for broadcasting and intelligent terminal
CN103024491A (en) * 2012-12-31 2013-04-03 传聚互动(北京)科技有限公司 Video playing method and video playing system of mobile terminal

Also Published As

Publication number Publication date
CN104811771A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
US10432652B1 (en) Methods for detecting and mitigating malicious network behavior and devices thereof
CN106464572B (en) Message attachment management
CN107888695B (en) The method and cloud platform equipment of cloud platform creation mirror image
EP3918753A1 (en) Preservation of policy and charging for a subscriber following a user-plane element failover
CN109586991B (en) Adaptive context aware functional chain business method and system in communication network
EP2610767A1 (en) Web page download time analysis
CN108063714B (en) Network request processing method and device
CN105991412B (en) Information push method and device
CN106557269A (en) The method and apparatus of storage cloud disk resource
WO2015005962A1 (en) System and method for identifying problems on a network
CN103841111A (en) Method for preventing data from being submitted repeatedly and server
CA3026527A1 (en) Method of delivering advertisement information, method of implementing electronic voucher, and system
EP3493587B1 (en) Apparatus and method for data delivery in delay-tolerant network (dtn)
US20170026399A1 (en) Delaying Phishing Communication
CN113517985B (en) File data processing method and device, electronic equipment and computer readable medium
US10079735B2 (en) Optimization of web page download duration based on resource key performance indicator and network performance metric
CN113556584A (en) Screenshot transmission method and device of cloud mobile phone, electronic equipment and storage medium
CN105897549A (en) Message sending and receiving methods and message sending and receiving devices
CN104601541A (en) Data transmission method, server and user equipment
CN104811771B (en) A kind of processing method and processing device of video push failure
CN104333584B (en) CDN document distribution systems and method
EP3349411A1 (en) Systems and methods of intent-based lawful interception (li) in communication networks
CN106789301A (en) A kind of method and device of the running log of generation WEB gateways
CN106790181A (en) The verification method of electronic health record file, server and terminal device
CN105897684A (en) Malicious attack detection method and device of transcoding system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A processing method and device for video push failure

Effective date of registration: 20210104

Granted publication date: 20171215

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001527

PE01 Entry into force of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171215

Termination date: 20210424

CF01 Termination of patent right due to non-payment of annual fee