CN109413485A - Data cache method and device - Google Patents

Data cache method and device Download PDF

Info

Publication number
CN109413485A
CN109413485A CN201710708852.XA CN201710708852A CN109413485A CN 109413485 A CN109413485 A CN 109413485A CN 201710708852 A CN201710708852 A CN 201710708852A CN 109413485 A CN109413485 A CN 109413485A
Authority
CN
China
Prior art keywords
data
data frame
data packet
packet
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710708852.XA
Other languages
Chinese (zh)
Other versions
CN109413485B (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.)
TD Tech Ltd
TD Tech Chengdu Co Ltd
Original Assignee
TD Tech 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 TD Tech Ltd filed Critical TD Tech Ltd
Priority to CN201710708852.XA priority Critical patent/CN109413485B/en
Publication of CN109413485A publication Critical patent/CN109413485A/en
Application granted granted Critical
Publication of CN109413485B publication Critical patent/CN109413485B/en
Active 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the present invention provides a kind of data cache method and device.The embodiment of the present invention passes through when being currently received the ending PS data packet that PS data packet is target data frame or the starting PS data packet of the latter data frame that PS data packet is the target data frame, it is determined whether whole PS data packets of target data frame have been received;Wherein the latter data frame of the target data frame is the latter data frame of target data frame;When timing time reaches default waiting time thresholding, if not receiving whole PS data packets of target data frame also, then the PS data packet for the target data frame having been received is exported from buffer area, so as to set default waiting time thresholding for each data frame, transmission jitter can be eliminated to a certain extent, it simultaneously again can be to avoid causing PS data packet output time delay too long because the waiting time is too long, so as to improve video display effect on the whole.

Description

Data cache method and device
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of data cache methods and device.
Background technique
When real-time video monitoring system is networked by video gateway and third party's video monitoring platform, third party's video monitoring Each video frame is packaged into one or more than one program stream (Program Stream, abbreviation PS) data packet by platform, and Each PS data packet is sent to video by real-time transport protocol (Real-time Transport Protocol, abbreviation RTP) Gateway.Video gateway needs the PS data packet sended over to third party's video monitoring platform to carry out framing.
Since RTP can be realized the order transfer of the data packet of encapsulation, but the reliability of data transmission, data are not guaranteed that The problems such as transmission jitter, random ordering are easy to appear in packet transmission process, video gateway random ordering receives each PS data packet, video gateway The PS data packet received need to be cached, exported after all PS data packets for receiving a frame data from caching and carries out group Frame.
Currently, in order to guarantee smooth framing, by setting wobble buffer (JitterBuffer) to the PS packet received It is cached, to eliminate transmission jitter.JitterBuffer speculates transmission according to the timestamp that the PS data packet received carries The size of jitter conditions and adaptive adjusting buffer area, but due to the timestamp of PS packet usually marked erroneous, cause to be arranged The size of buffer zone inaccuracy is set, thus the propagation delay time of PS data packet can be caused greatly very much too long because of buffer zone or Person can not eliminate transmission jitter because buffer zone is too small.
Summary of the invention
The embodiment of the present invention provides a kind of data cache method and device, slow by setting shake in the prior art to solve Device is rushed to cache the PS packet received, to eliminate transmission jitter, since inaccuracy is arranged in the size of the buffer zone of setting, To the propagation delay time of PS data packet be caused greatly very much too long because of buffer zone or lead to not eliminate because buffer zone is too small The problem of transmission jitter.
The one aspect of the embodiment of the present invention is to provide a kind of data cache method, comprising:
PS data packet is received in real time, and will receive the PS data pack buffer to buffer area;
If being currently received ending PS data packet that the PS data packet is target data frame or the PS data packet being The starting PS data packet of the latter data frame of the target data frame, it is determined whether the target data frame has been received Whole PS data packets;
If it is determined that not receiving whole PS data packets of the target data frame also, then start timing;
When timing time reaches default waiting time thresholding, if not receiving whole PS numbers of the target data frame also According to packet, then the PS data packet for the target data frame having been received is exported from the buffer area.
The other side of the embodiment of the present invention is to provide a kind of data buffer storage device, comprising:
Cache module is received, for receiving PS data packet in real time, and the PS data pack buffer will be received to caching Area;
Determining module, if for be currently received the PS data packet be target data frame ending PS data packet or The PS data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether is had been received Whole PS data packets of the target data frame;
Timing module, for if it is determined that do not receive whole PS data packets of the target data frame also, then starting timing;
First processing module, for when timing time reaches default waiting time thresholding, if not receiving the mesh also The whole PS data packets for marking data frame, then by the PS data packet for the target data frame having been received from the buffer area Output.
Data cache method and device provided in an embodiment of the present invention, by being number of targets being currently received PS data packet Ending PS data packet or PS data packet according to frame are the starting PS data packet of the latter data frame of the target data frame When, it is determined whether whole PS data packets of target data frame have been received;Reach default waiting time thresholding in timing time When, if whole PS data packets of target data frame are not received also, by the PS data packet for the target data frame having been received It exports from buffer area, so as to set default waiting time thresholding for each data frame, can disappear to a certain extent Except transmission jitter, while again can be to avoid causing PS data packet output time delay too long because the waiting time is too long, so as to entirety Upper raising video display effect.
Detailed description of the invention
Fig. 1 is the flow chart of data cache method provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides data cache method flow chart;
Fig. 3 is the structural schematic diagram of data buffer storage device provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides data buffer storage device structural schematic diagram.
Specific embodiment
To keep technical solution of the present invention and advantage clearer, following will be combined with the drawings in the embodiments of the present invention, right Technical solution of the present invention is clearly and completely described, it is clear that and described embodiments are some of the embodiments of the present invention, Instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor Every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of data cache method provided in an embodiment of the present invention.The embodiment of the present invention is directed to the prior art In by be arranged wobble buffer the PS packet received is cached, to eliminate transmission jitter, due to the buffer zone of setting Size inaccuracy is set, to the propagation delay time of PS data packet can be caused greatly very much too long because of buffer zone or because of buffer area Domain is too small to lead to not the problem of eliminating transmission jitter, provides data cache method.This method can be used by video gateway etc. It is executed in receiving PS data packet from the device for completing framing.As shown in Figure 1, specific step is as follows for this method:
Step S101, PS data packet is received in real time, and will receive PS data pack buffer to buffer area.
In practical applications, each data frame can be packaged into one or more than one PS data packet by transmitting terminal, The PS data packet of each data frame is successively transferred to corresponding video network according to the sequencing of the timestamp of each data frame The receiving end of the videos such as pass or playback terminal, and when transmitting the PS data packet of each data frame, according to this data frame The collating sequence of PS data packet whole PS data packets of this data frame are transferred to receiving end.Receiving end is receiving a number After whole PS data packets of frame, the transmission of this data frame is just completed, whole PS data packets of data frame can be carried out Framing obtains corresponding data frame.
In the present embodiment, receiving end receives the PS data packet of transmitting terminal transmission in real time, and will receive in PS data Packet is cached to buffer area, can be by whole PS data of the data frame after receiving whole PS data packets of a data frame Packet is output in group frame buffer from buffer area, to carry out decapsulation and integration processing to each PS data packet, obtains the data frame.
It should be noted that it is sufficiently large for caching the buffer area setting of PS data packet in the present embodiment, and without adjustment The size of buffer area.
If step S102, being currently received the ending PS data packet or PS data packet that PS data packet is target data frame For the starting PS data packet of the latter data frame of target data frame, it is determined whether the whole of target data frame has been received PS data packet.
Wherein, ending PS data packet is the PS data packet with ending mark;Originating PS data packet is with origin identification PS data packet.
In the present embodiment, target data frame refers to the data frame of time earliest in the data frame cached in buffer area. It that is to say, target data frame is the data frame of early start transmission in the data frame for do not complete also at present transmission.
In the present embodiment, if being currently received the ending PS data packet or PS data that PS data packet is target data frame Packet is the starting PS data packet of the latter data frame of the target data frame, if then not sent packet loss and transmission in explanation transmission Shake leads to out-of-order situation, then should have received whole PS data packets of target data frame at this time.Therefore, in the step, If being currently received ending PS data packet that PS data packet is target data frame or PS data packet is the target data frame The starting PS data packet of the latter data frame, it is determined whether whole PS data packets of target data frame have been received.
Step S103, if it is determined that not receiving whole PS data packets of target data frame also, then start timing.
Wherein, starting timing refers to timing of starting from scratch.
In the present embodiment, however, it is determined that the whole PS data packets for not receiving target data frame also that is to say target data frame Whole PS data packets at least exist a non-receiving end of PS data packet receive, then for the target data frame starting meter When.
Step S104, when timing time reaches default waiting time thresholding, if not receiving the complete of target data frame also Portion's PS data packet then exports the PS data packet for the target data frame having been received from buffer area.
Wherein, presetting waiting time thresholding can be set by technical staff according to the requirement to video playing time delay, If the requirement to video playing time delay is very short, setting default waiting time thresholding should be shorter, and the present embodiment, which does not do this, to be had Body limits.
In the present embodiment, when timing time reaches default waiting time thresholding, if not receiving target data frame also Whole PS data packets then export the PS data packet for the target data frame having been received from buffer area, to avoid because waiting Time delay caused by PS data packet is too long.
The embodiment of the present invention is by being currently received the ending PS data packet or PS that PS data packet is target data frame When data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether number of targets has been received According to whole PS data packets of frame;When timing time reaches default waiting time thresholding, if not receiving target data frame also Whole PS data packets then export the PS data packet for the target data frame having been received from buffer area, so as to be directed to Each data frame sets default waiting time thresholding, can eliminate transmission jitter to a certain extent, at the same again can to avoid because Waiting time is too long to cause PS data packet output time delay too long, so as to improve video display effect on the whole.
Fig. 2 be another embodiment of the present invention provides data cache method flow chart.On the basis of the above embodiments, In the present embodiment, however, it is determined that the whole PS data packets for not receiving target data frame also, then after starting timing, further includes: Before timing time reaches default waiting time thresholding, if whole PS data packets of target data frame are received, by number of targets It is exported from buffer area according to whole PS data packets of frame.As shown in Fig. 2, specific step is as follows for this method:
Step S201, PS data packet is received in real time, and will receive PS data pack buffer to buffer area.
The step is consistent with above-mentioned steps S101, and details are not described herein again for the present embodiment.
If step S202, being currently received the ending PS data packet or PS data packet that PS data packet is target data frame For the starting PS data packet of the latter data frame of the target data frame, it is determined whether target data frame has been received Whole PS data packets.
Wherein, ending PS data packet is the PS data packet with ending mark;Originating PS data packet is with origin identification PS data packet.
In the present embodiment, target data frame refers to the data frame of time earliest in the data frame cached in buffer area. It that is to say, target data frame is the data frame of early start transmission in the data frame for do not complete also at present transmission.
In the present embodiment, after receiving each PS data packet, determine whether PS data packet has target data frame The origin identification of the latter data frame of ending mark or the target data frame.If the PS data packet has target data The ending of frame identifies, it is determined that the PS data packet is the ending PS data packet of target data frame;If the PS data packet is with described The origin identification of the latter data frame of target data frame, it is determined that the PS data packet is the latter number of the target data frame According to the starting PS data packet of frame.
In the step, if being currently received the ending PS data packet or PS data packet that PS data packet is target data frame For the starting PS data packet of the latter data frame of the target data frame, if then illustrating, not sent packet loss and transmission are trembled in transmission It is dynamic to lead to out-of-order situation, then whole PS data packets of target data frame should be had received at this time.Therefore, in the step, if It is currently received ending PS data packet that PS data packet is target data frame or after PS data packet is the target data frame The starting PS data packet of one data frame, it is determined whether whole PS data packets of target data frame have been received.
If it is determined that whole PS data packets of target data frame have been received, S206 is thened follow the steps, by target data frame Whole PS data packets exported from buffer area.If it is determined that not receiving whole PS data packets of target data frame also, then execute Step S203-S205 carries out data buffer storage processing according to default waiting time thresholding.
Step S203, if it is determined that not receiving whole PS data packets of target data frame also, then start timing.
The step is consistent with above-mentioned steps S103, and details are not described herein again for the present embodiment.
Step S204, before timing time reaches default waiting time thresholding, if receiving the whole of target data frame PS data packet then exports whole PS data packets of target data frame from buffer area.
In the present embodiment, before timing time reaches default waiting time thresholding, if receiving the complete of target data frame Portion's PS data packet, it is determined that completed the transmission of target data frame, whole PS data packets of target data frame are postponed immediately It deposits in area and exports, framing is carried out with the PS data packet to target data frame, so as to reduce the propagation delay time of data frame.
Step S205, when timing time reaches default waiting time thresholding, if not receiving the complete of target data frame also Portion's PS data packet then exports the PS data packet for the target data frame having been received from buffer area.
Wherein, presetting waiting time thresholding can be set by technical staff according to the requirement to video playing time delay, If the requirement to video playing time delay is very short, setting default waiting time thresholding should be shorter, and the present embodiment, which does not do this, to be had Body limits.
In the present embodiment, when timing time reaches default waiting time thresholding, if not receiving target data frame also Whole PS data packets then export the PS data packet for the target data frame having been received from buffer area, to avoid because waiting Time delay caused by PS data packet is too long.
Step S206, if it is determined that whole PS data packets of target data frame have been received, then by the complete of target data frame Portion's PS data packet is exported from buffer area.
If the embodiment of the present invention passes through the ending PS data packet or PS for being currently received that PS data packet is target data frame Data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether number of targets has been received According to whole PS data packets of frame;Before timing time reaches default waiting time thresholding, if receiving the complete of target data frame Portion's PS data packet, it is determined that completed the transmission of target data frame, whole PS data packets of target data frame are postponed immediately It deposits in area and exports, framing is carried out with the PS data packet to target data frame, waited realizing for the setting of each data frame is default Time threshold can eliminate transmission jitter to a certain extent, while again can be to avoid leading to PS data because the waiting time is too long On the basis of packet output time delay is too long of, it can be further reduced the propagation delay time of data frame, so as to further increase video Result of broadcast.
Fig. 3 is the structural schematic diagram of data buffer storage device provided in an embodiment of the present invention.Number provided in an embodiment of the present invention The process flow that the offer of data cache method embodiment can be provided according to buffer storage, as shown in figure 3, the device 30 includes: to connect Receive cache module 301, determining module 302, timing module 303 and first processing module 304.
Specifically, cache module 301 is received for receiving PS data packet in real time, and will be received PS data pack buffer and be arrived Buffer area.
If determining module 302 is used to be currently received the ending PS data packet or PS that PS data packet is target data frame Data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether number of targets has been received According to whole PS data packets of frame.
Timing module 303 is used to then start timing if it is determined that do not receive whole PS data packets of target data frame also.
First processing module 304 is used for when timing time reaches default waiting time thresholding, if not receiving target also Whole PS data packets of data frame, then export the PS data packet for the target data frame having been received from buffer area.
Wherein, ending PS data packet is the PS data packet with ending mark;Originating PS data packet is with origin identification PS data packet.
Device provided in an embodiment of the present invention can be specifically used for executing embodiment of the method provided by above-mentioned Fig. 1, specifically Details are not described herein again for function.
The embodiment of the present invention is by being currently received the ending PS data packet or PS that PS data packet is target data frame When data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether number of targets has been received According to whole PS data packets of frame;When timing time reaches default waiting time thresholding, if not receiving target data frame also Whole PS data packets then export the PS data packet for the target data frame having been received from buffer area, so as to be directed to Each data frame sets default waiting time thresholding, can eliminate transmission jitter to a certain extent, at the same again can to avoid because Waiting time is too long to cause PS data packet output time delay too long, so as to improve video display effect on the whole.
Fig. 4 be another embodiment of the present invention provides data buffer storage device structural schematic diagram.In the base of above-described embodiment On plinth, as shown in figure 4, the device 30 further include: Second processing module 305.
Second processing module 305 is used to then start meter if it is determined that do not receive whole PS data packets of target data frame also When after, before timing time reaches default waiting time thresholding, if receiving whole PS data packets of target data frame, Whole PS data packets of target data frame are exported from buffer area.
In the present embodiment, which can also include: third processing module 306.
If third processing module 306 be used for be currently received PS data packet be target data frame ending PS data packet, Or PS data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether is had been received After whole PS data packets of target data frame, however, it is determined that whole PS data packets that target data frame has been received, then by mesh Whole PS data packets of mark data frame are exported from buffer area.
Wherein, ending PS data packet is the PS data packet with ending mark;Originating PS data packet is with origin identification PS data packet.
Device provided in an embodiment of the present invention can be specifically used for executing embodiment of the method provided by above-mentioned Fig. 2, specifically Details are not described herein again for function.
If the embodiment of the present invention passes through the ending PS data packet or PS for being currently received that PS data packet is target data frame Data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether number of targets has been received According to whole PS data packets of frame;Before timing time reaches default waiting time thresholding, if receiving the complete of target data frame Portion's PS data packet, it is determined that completed the transmission of target data frame, whole PS data packets of target data frame are postponed immediately It deposits in area and exports, framing is carried out with the PS data packet to target data frame, waited realizing for the setting of each data frame is default Time threshold can eliminate transmission jitter to a certain extent, while again can be to avoid leading to PS data because the waiting time is too long On the basis of packet output time delay is too long of, it can be further reduced the propagation delay time of data frame, so as to further increase video Result of broadcast.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (8)

1. a kind of data cache method characterized by comprising
PS data packet is received in real time, and will receive the PS data pack buffer to buffer area;
If being currently received ending PS data packet that the PS data packet is target data frame or the PS data packet being described The starting PS data packet of the latter data frame of target data frame, it is determined whether the complete of the target data frame has been received Portion's PS data packet;If it is determined that not receiving whole PS data packets of the target data frame also, then start timing;
When timing time reaches default waiting time thresholding, if not receiving whole PS data of the target data frame also Packet, then export the PS data packet for the target data frame having been received from the buffer area.
2. the method according to claim 1, wherein described if it is determined that not receiving the target data frame also Whole PS data packets, then after starting timing, further includes:
Before timing time reaches default waiting time thresholding, if receiving whole PS data packets of the target data frame, Then whole PS data packets of the target data frame are exported from the buffer area.
3. the method according to claim 1, wherein if described be currently received the PS data packet as number of targets According to the starting PS number for the latter data frame that the PS data packet of the ending of frame or the PS data packet are the target data frame According to packet, it is determined whether after having been received whole PS data packets of the target data frame, further includes:
If it is determined that whole PS data packets of the target data frame have been received, then by whole PS numbers of the target data frame It is exported from the buffer area according to packet.
4. method according to claim 1-3, which is characterized in that
The ending PS data packet is the PS data packet with ending mark;
The starting PS data packet is the PS data packet with origin identification.
5. a kind of data buffer storage device characterized by comprising
Cache module is received, for receiving PS data packet in real time, and the PS data pack buffer will be received to buffer area;
Determining module, if being the ending PS data packet of target data frame or described for being currently received the PS data packet PS data packet is the starting PS data packet of the latter data frame of the target data frame, it is determined whether is had been received described Whole PS data packets of target data frame;
Timing module, for if it is determined that do not receive whole PS data packets of the target data frame also, then starting timing;
First processing module, for when timing time reaches default waiting time thresholding, if not receiving the number of targets also It is according to whole PS data packets of frame, then the PS data packet for the target data frame having been received is defeated from the buffer area Out.
6. device according to claim 5, which is characterized in that further include:
Second processing module then starts for described if it is determined that do not receive whole PS data packets of the target data frame also After timing, before timing time reaches default waiting time thresholding, if receiving whole PS numbers of the target data frame According to packet, then whole PS data packets of the target data frame are exported from the buffer area.
7. device according to claim 5, which is characterized in that further include:
Third processing module, if for the PS data for being currently received the ending that the PS data packet is target data frame Packet or the PS data packet are the starting PS data packet of the latter data frame of the target data frame, it is determined whether After received whole PS data packets to the target data frame,
If it is determined that whole PS data packets of the target data frame have been received, then by whole PS numbers of the target data frame It is exported from the buffer area according to packet.
8. according to the described in any item devices of claim 5-7, which is characterized in that
The ending PS data packet is the PS data packet with ending mark;
The starting PS data packet is the PS data packet with origin identification.
CN201710708852.XA 2017-08-17 2017-08-17 Data caching method and device Active CN109413485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710708852.XA CN109413485B (en) 2017-08-17 2017-08-17 Data caching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710708852.XA CN109413485B (en) 2017-08-17 2017-08-17 Data caching method and device

Publications (2)

Publication Number Publication Date
CN109413485A true CN109413485A (en) 2019-03-01
CN109413485B CN109413485B (en) 2022-02-01

Family

ID=65455141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710708852.XA Active CN109413485B (en) 2017-08-17 2017-08-17 Data caching method and device

Country Status (1)

Country Link
CN (1) CN109413485B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529501A (en) * 2003-10-17 2004-09-15 中兴通讯股份有限公司 Video data network ditter elimlating method for H.323 conference television system
CN1531276A (en) * 2003-03-13 2004-09-22 华为技术有限公司 Self adaptable jitter caching method for eliminating IP speech data jitter
JP2005322995A (en) * 2004-05-06 2005-11-17 Nippon Telegr & Teleph Corp <Ntt> Buffer control method in real-time video image transfer, transmitting terminal, receiving terminal, video image distributing system and program
CN1989747A (en) * 2004-09-21 2007-06-27 日立通讯技术株式会社 Node device, packet control device, radio communication device, and transmission control method
JP2009081571A (en) * 2007-09-25 2009-04-16 Oki Electric Ind Co Ltd Data frame transmission device and data frame transmission method
CN101742333A (en) * 2009-12-17 2010-06-16 中兴通讯股份有限公司 Stable output method of media data and device
CN102025687A (en) * 2009-09-10 2011-04-20 浙江省公众信息产业有限公司 Method for preventing mosaic at client under condition of insufficient video decoding capability
CN102333209A (en) * 2011-10-26 2012-01-25 杭州华三通信技术有限公司 Data transmission method and equipment applied to video monitoring system
CN103002354A (en) * 2012-12-14 2013-03-27 四川九洲电器集团有限责任公司 Method and system for eliminating network jitter of video data during transmission
CN103795649A (en) * 2013-11-06 2014-05-14 桂林电子科技大学 Network delay jitter smoothing method
CN104158834A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Method and device for processing voice data
US20140341202A1 (en) * 2011-10-07 2014-11-20 Andrew J. Patti Communication Over A Wireless Connection
EP3047585A1 (en) * 2013-09-19 2016-07-27 Binauric SE Adaptive jitter buffer
CN106571991A (en) * 2016-11-09 2017-04-19 湖南戈人自动化科技有限公司 Method and data for transmitting data
US20170180263A1 (en) * 2015-12-21 2017-06-22 Xiaomi Inc. Method and apparatus for handling network jitter

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531276A (en) * 2003-03-13 2004-09-22 华为技术有限公司 Self adaptable jitter caching method for eliminating IP speech data jitter
CN1529501A (en) * 2003-10-17 2004-09-15 中兴通讯股份有限公司 Video data network ditter elimlating method for H.323 conference television system
JP2005322995A (en) * 2004-05-06 2005-11-17 Nippon Telegr & Teleph Corp <Ntt> Buffer control method in real-time video image transfer, transmitting terminal, receiving terminal, video image distributing system and program
CN1989747A (en) * 2004-09-21 2007-06-27 日立通讯技术株式会社 Node device, packet control device, radio communication device, and transmission control method
JP2009081571A (en) * 2007-09-25 2009-04-16 Oki Electric Ind Co Ltd Data frame transmission device and data frame transmission method
CN102025687A (en) * 2009-09-10 2011-04-20 浙江省公众信息产业有限公司 Method for preventing mosaic at client under condition of insufficient video decoding capability
CN101742333A (en) * 2009-12-17 2010-06-16 中兴通讯股份有限公司 Stable output method of media data and device
US20140341202A1 (en) * 2011-10-07 2014-11-20 Andrew J. Patti Communication Over A Wireless Connection
CN102333209A (en) * 2011-10-26 2012-01-25 杭州华三通信技术有限公司 Data transmission method and equipment applied to video monitoring system
CN103002354A (en) * 2012-12-14 2013-03-27 四川九洲电器集团有限责任公司 Method and system for eliminating network jitter of video data during transmission
CN104158834A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Method and device for processing voice data
EP3047585A1 (en) * 2013-09-19 2016-07-27 Binauric SE Adaptive jitter buffer
CN103795649A (en) * 2013-11-06 2014-05-14 桂林电子科技大学 Network delay jitter smoothing method
US20170180263A1 (en) * 2015-12-21 2017-06-22 Xiaomi Inc. Method and apparatus for handling network jitter
CN106571991A (en) * 2016-11-09 2017-04-19 湖南戈人自动化科技有限公司 Method and data for transmitting data

Also Published As

Publication number Publication date
CN109413485B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN106921996B (en) A kind of statistical method, CU and the DU of 2 statistic of layer
US9203734B2 (en) Optimized bi-directional communication in an information centric network
US10645145B2 (en) Method and apparatus for accelerating data transmission in a network communication system
US20110170542A1 (en) Distributed multicast packet replication with centralized quality of service
WO2004010311A3 (en) Method and apparatus for zero-copy receive buffer management
WO2008045321A3 (en) Method, system, and computer program product for resequencing of data segments received over a bonding channel set
CN101873337A (en) Zero-copy data capture technology based on rt8169 gigabit net card and Linux operating system
US20140222960A1 (en) Method and Apparatus for Rapid Data Distribution
US20120102243A1 (en) Method for the recovery of a clock and system for the transmission of data between data memories by remote direct memory access and network station set up to operate in the method as a transmitting or,respectively,receiving station
CN105677754B (en) Obtain the methods, devices and systems of subitem metadata in file system
CN112154669A (en) Correlation of video stream frame timestamps based on system clock
CN103746938A (en) Method and device for transmitting data packet
CN110113306A (en) Distribute the method and the network equipment of data
CN104753813B (en) The method that DMA transmits message
CN1863158B (en) IP message fragment cache memory and forwarding method
CN103685060B (en) data packet sending method and device
US10178018B2 (en) Transmission and reception devices
WO2017114378A1 (en) Forwarding of ip data packet
CN106411778A (en) Data forwarding method and device
EP2846470A1 (en) A method of mobile terminal internal communications
CN104866528A (en) Multi-platform data acquisition method and system
US20150281109A1 (en) System for en-queuing and de-queuing data packets in communication network
KR20150100926A (en) Offload method, device and system
CN103327129A (en) Domain name analyticmethod for multi-WAN-port gateway device
US8447878B2 (en) Receiving apparatus, transmitting apparatus, communication system, and method of detecting buffer setting of relay server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant