CN107347065A - A kind of data push method and device, a kind of terminal and storage medium - Google Patents

A kind of data push method and device, a kind of terminal and storage medium Download PDF

Info

Publication number
CN107347065A
CN107347065A CN201710518820.3A CN201710518820A CN107347065A CN 107347065 A CN107347065 A CN 107347065A CN 201710518820 A CN201710518820 A CN 201710518820A CN 107347065 A CN107347065 A CN 107347065A
Authority
CN
China
Prior art keywords
video
caching
frame
difference
capacity
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.)
Withdrawn
Application number
CN201710518820.3A
Other languages
Chinese (zh)
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.)
Shanghai Jun Chong Information Technology Co Ltd
Original Assignee
Shanghai Jun Chong Information 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 Shanghai Jun Chong Information Technology Co Ltd filed Critical Shanghai Jun Chong Information Technology Co Ltd
Priority to CN201710518820.3A priority Critical patent/CN107347065A/en
Publication of CN107347065A publication Critical patent/CN107347065A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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/80Responding to QoS
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

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

Abstract

The application provides a kind of data push method and device, a kind of terminal and storage medium, methods described include:According to the video capacity in prefixed time interval collection caching;Push strategy to the frame of video in caching is determined according to the video capacity of collection;According to the frame of video in the push strategy push caching of determination.

Description

A kind of data push method and device, a kind of terminal and storage medium
Technical field
The present invention relates to the audio frequency and video processing technology field of computer software, more particularly to a kind of data push method and dress Put, a kind of terminal and storage medium.
Background technology
At present, in live, low latency, high quality are always the target that user pursues;In order to obtain low latency, in outside In the case that environment is constant, typically realized by reducing the data volume of plug-flow, technology realizes that optional compression ratio is higher Audio frequency and video algorithm, the quality of such audio frequency and video will reduce;In order to provide high quality, in the case where external environment condition is constant, one As by improving the code checks of audio frequency and video, so may result in the rise of plug-flow data volume.
It can therefore be seen that low latency and high quality are conflicting, particularly in weak net (bandwidth is less than 300kbit/s) feelings Under condition, contradiction can be protruded more, and occur during live picture flower screen, delay or it is not smooth the problems such as, it is live The Consumer's Experience of viewer end is bad.
The content of the invention
In view of this, picture during a kind of live delay, the solution in the case of weak net of reduction of the application offer is live Slack data push method and device, a kind of terminal and storage medium.
On the one hand, the application provides a kind of data push method, including:
According to the video capacity in prefixed time interval collection caching;
Push strategy to the frame of video in caching is determined according to the video capacity of collection;
According to the frame of video in the push strategy push caching of determination.
Alternatively,
Video capacity in the collection caching according to prefixed time interval includes:
According to the video capacity and record in prefixed time interval collection caching;
It is described to determine that the push strategy to the frame of video in caching includes according to the video capacity of collection:
It is adjacent corresponding to the difference and the difference between video capacity in the caching that statistics arbitrary neighborhood gathers twice Acquisition time;
According to the time sequencing for forming the difference, the rate of change of the difference is calculated;
If the rate of change meets preparatory condition, transmission of video code check is reduced;
It is described to include according to the push strategy propelling data of determination:
According to the frame of video in the transmission of video code check push caching of reduction.
Alternatively,
It is described to determine that the push strategy to the frame of video in caching includes according to the video capacity of collection:
If the video capacity in the caching is more than first threshold, the lasting frame of video received that abandons is until receiving key Terminate during frame.
Alternatively,
The preparatory condition includes:
The rate of change is more than Second Threshold and the difference continuously increases according to the time sequencing for forming the difference.
On the other hand, the application provides a kind of data-pushing device, including:
Acquisition module, for according to the video capacity in prefixed time interval collection caching;
Processing module, for determining the push strategy to the frame of video in caching according to the video capacity of collection;
Pushing module, for the frame of video in the push strategy push caching according to determination.
Alternatively,
The acquisition module includes:
Logging modle, for according to the video capacity and record in prefixed time interval collection caching;
The processing unit includes:
Statistical module, the difference and the difference between video capacity in the caching gathered twice for counting arbitrary neighborhood Adjacent acquisition time corresponding to value;
Computing module, for according to the time sequencing for forming the difference, calculating the rate of change of the difference;
Code module is dropped, if meeting preparatory condition for the rate of change, reduces transmission of video code check;
The pushing module includes:
Sending module, for the frame of video in the transmission of video code check push caching according to reduction.
Alternatively,
The processing module includes:
Judge module, if being more than first threshold for the video capacity in the caching;
Frame losing module, the frame of video for persistently abandoning reception terminate when receiving key frame.
Alternatively,
The preparatory condition includes:
The rate of change is more than Second Threshold and the difference continuously increases according to the time sequencing for forming the difference.
On the other hand, the application provides a kind of terminal, including processor and memory, the memory storage have computer Instruction, the processor call the computer instruction and perform above-mentioned data push method.
On the other hand, the application provides a kind of storage medium, is stored with computer instruction, on the computer instruction performs State data push method.
A kind of data push method and device, a kind of terminal and the storage medium that the present patent application provides, by weak net In the case of implement video push strategy come reduce the traffic volume of frame of video solve it is live during occur video pictures delay, flower Screen plays the problems such as not smooth.
Brief description of the drawings
Fig. 1 is a kind of flow chart for data push method that the embodiment of the application one provides;
Fig. 2 is a kind of flow chart for data push method that the embodiment of the application one provides;
Fig. 3 is a kind of flow chart for data push method that the embodiment of the application one provides;
Fig. 4 is a kind of structural representation for data-pushing device that the embodiment of the application one provides;
Fig. 5 is a kind of structural representation for data-pushing device that the embodiment of the application one provides;
Fig. 6 is the structural representation for the processing module that the embodiment of the application one provides;
Fig. 7 is a kind of structural representation for data-pushing device that the embodiment of the application one provides.
Embodiment
Many details are elaborated in the following description in order to fully understand the application.But the application can be with Much it is different from other manner described here to implement, those skilled in the art can be in the situation without prejudice to the application intension Under do similar popularization, therefore the application is not limited by following public specific implementation.
In this application, there is provided a kind of data push method and device, a kind of terminal and storage medium, in following reality Apply in example and be described in detail one by one.
Referring to Fig. 1, the embodiment of the application one provides a kind of data push method, including step 101 is to step 103.
Step 101:According to the video capacity in prefixed time interval collection caching.
In the present embodiment, the time interval can be set according to the network environment being presently in, in collection caching Video capacity be gather current cache in frame of video number.
Step 102:Push strategy to the frame of video in caching is determined according to the video capacity of collection.
In the present embodiment, the push for being adapted to video in current cache is selected according to the size of the current video capacity of collection Strategy.
Step 103:According to the frame of video in the push strategy push caching of determination.
The data push method that the embodiment of the present application provides, is obtained in current cache according to default time interval first The size of video capacity, suitable frame of video is selected to push strategy according to the size of the video capacity got, can be in weak net In the case of adjust the push strategy of frame of video in time according to the video capacity in the caching that gets, solve net cast process Middle video pictures postpone and played slack problem.
Referring to Fig. 2, the embodiment of the application one provides a kind of data push method, including step 201 is to step 205.
Step 201:According to the video capacity and record in prefixed time interval collection caching.
In the present embodiment, the video capacity in current cache is gathered according to default time interval, and will gather every time Video capacity into current cache is recorded.
Step 202:The difference and the difference pair between video capacity in the caching that statistics arbitrary neighborhood gathers twice The adjacent acquisition time answered.
In the present embodiment, the difference between video capacity in the caching of the arbitrary neighborhood of statistics collection is at least twice but not It is limited to twice, can be specifically set according to practical application, the difference is regarding in the caching of adjacent acquisition time rearward The video capacity that frequency capacity is subtracted in the forward caching of acquisition time obtains, such as in the caching of collection first second and second second Video capacity, the video capacity subtracted with the video capacity in the caching of second second in the caching of first second obtain difference.
Step 203:According to the time sequencing for forming the difference, the rate of change of the difference is calculated.
In the present embodiment, the rate of change of the difference is calculated according to the time sequencing for forming the difference.
Step 204:If the rate of change meets preparatory condition, transmission of video code check is reduced.
In the present embodiment, the preparatory condition can specifically be set according to current network environment, the transmission of video Code check includes Three Estate, from high to low respectively the first estate, the second grade and the tertiary gradient, if being reduced to minimum video Transmission code rate will also decline, then can ignore, and avoid the too low of transmission of video code check drop from causing video pictures flower screen, during reduction is live Video pictures quality.
Illustrated in the embodiment of the present application by taking Three Estate as an example, can be by the transmission of video code check in practical application The grade of other quantity is divided into, the application is not construed as limiting to this.
Step 205:According to the frame of video in the transmission of video code check push caching of reduction.
In the embodiment of the present application, the difference meter between video capacity in the caching gathered twice according to statistics arbitrary neighborhood The rate of change of the difference is calculated, by determining that the rate of change meets the preparatory condition of setting, actively to reduce transmission of video code Rate, frame of video traffic volume is reduced, solve the problems, such as that video pictures postpone during net cast under weak net environment so that video is drawn Face can be with smooth playing in the case where ensureing quality.
In the embodiment of the application one, the preparatory condition includes:
The rate of change is more than Second Threshold and the difference continuously increases according to the time sequencing for forming the difference.
In the embodiment of the present application, the rate of change is more than the Second Threshold set according to current network conditions and the difference When being worth growth trend continuous according to the time sequencing for forming the difference, it is necessary to reduce transmission of video code check to reduce video Traffic volume, the delay of net cast picture in weak net environment being reduced, the Second Threshold can specifically limit according to practical application, When the difference is continuously incremented by according to the time sequencing for forming the difference, then transmission of video code check is reduced to reduce frame of video Traffic volume, it can more accurately judge the delay of live middle picture, avoiding the occurrence of repeatedly reduces transmission of video code check to video The quality of picture impacts.
In the embodiment of the application one, the rate of change of the difference according to formed the time sequencing of the difference in increase, under During the discontinuous growth such as drop or growth, growth, decline, then need what is gathered twice according to time interval statistics arbitrary neighborhood again The rate of change of difference described in the mathematic interpolation between video capacity in caching, it is to reduce or carry to reselect code check adjustment Height, the accuracy of lifting transmission of video code check push strategy.
Referring to Fig. 3, the embodiment of the application one provides a kind of data push method, including step 301 is to step 305.
Step 301:According to the video capacity in prefixed time interval collection caching.
Step 302:Judge whether the video capacity in the caching is more than first threshold, if it is, performing step 303; If it is not, then perform step 305.
In the present embodiment, first threshold is set according to current network conditions, judges that the video in the current cache of collection holds Whether the size of amount is more than first threshold.
Step 303:The lasting frame of video received that abandons terminates when receiving key frame.
In the present embodiment, video can set a key frame every 30 frame of video in practical application, so lose every time Abandon as 30 frame of video.
Step 304:Push the frame of video not abandoned.
Step 305:Push all videos frame received.
In the present embodiment, when the video capacity in the caching is more than the first threshold set, then frame of video is abandoned, is pressed According to the frame of video in this frame losing strategy push caching.
In the embodiment of the present application, the traffic volume of frame of video is reduced using video frame losing strategy, is not influenceing video pictures matter Solve the slack problem of net cast picture in weak net environment in the case of amount, reduce the delay of picture in net cast.
In practical application, the data push method that the embodiment of the present application provides can apply in electronic equipment, the electricity Sub- equipment can be a kind of terminal, such as can be mobile phone, tablet personal computer, desktop computer, notebook computer etc., below with mobile phone Exemplified by the embodiment of the present application provide data push method illustrate.
In the present embodiment, main broadcaster end can be passed through by mobile phone recorded voice and video pictures, the sound and video pictures The Voice & Video encoder of mobile phone, which exists after being encoded in the caching of audio frequency and video, waits network sending module to obtain, current main When the network environment for broadcasting end is that bandwidth is less than 300kbit/s and is more than 80kbit/s, the network sending module is according to default Video capacity in time interval collection caching, such as the video capacity and record in the time interval collection cachings of every ten seconds;Such as Shown in table 1:The difference between the 10th second and the 20th second video capacity is counted between 5, the 20th second and the 30th second video capacities Difference be 6, the 30th second difference between the 40th second video capacity is 4 and the corresponding adjacent acquisition time of the difference.
Table 1 is the example of the mapping table of the video capacity of the acquisition time that the embodiment of the application one provides and collection.
Table 1
From table 1 it follows that when acquisition time is the 10th second, the video in the corresponding 10th second caching collected holds Amount is 10 frame of video.
According to the time sequencing for forming the difference, the rate of change of the difference, the rate of change of the difference is calculated Second Threshold is all higher than, if Second Threshold is 10%, the rate of change of difference described in the present embodiment is all higher than 10%, and in connecting It is continuous to increase, illustrate that current network conditions are poor, it is necessary to reduce transmission of video code check.
In the present embodiment, transmission of video code check is arranged to three-level, from high to low respectively the first estate, the second grade and The tertiary gradient, when network environment is poor needs reduction video code rate to be adjusted, it can once reduce the video of a grade Transmission code rate, it is reduced to after the tertiary gradient to ensure that video quality no longer carries out decline adjustment.
Tired out alternatively it is also possible to which the transmission of video code check is directly reduced into the lowest class with quickly reducing in caching Long-pending frame of video.
Network sending module receives the frame of video reduced after transmission code rate grade, then sends the frame of video received To network.
The embodiment of the present application realizes reduction video frame transmission amount in weak net environment using code check adjustable strategies, and it is straight to solve video The problem of broadcasting middle video pictures delay so that picture is not in flower screen during net cast and video pictures are played and compared It is smooth;In practical application, it can also be combined using code check adjustable strategies are reduced with frame losing strategy to reduce video frame transmission amount.
In the embodiment of the application one, if network condition takes a turn for the better, the rate of change of the difference is less than Second Threshold and described When difference continuously reduces according to the time sequencing for forming the difference, then transmission of video one grade of code check is improved, can basis Current network environment adjusts most suitable transmission of video code check at any time;If highest transmission of video code check grade is brought up to No longer improve, avoid causing network transmission congestion.
The data push method that the embodiment of the present application provides can apply in electronic equipment, and the electronic equipment can be A kind of terminal, such as can be mobile phone, tablet personal computer, desktop computer, notebook computer etc..
Specifically, the data push method that the embodiment of the present application provides can apply to install in electronic equipment it is any should With program, the application program can include the live software of audio frequency and video, Games Software etc..
Referring to Fig. 4, the embodiment of the application one provides a kind of data-pushing device, including:
Acquisition module 401, for according to the video capacity in prefixed time interval collection caching;
Processing module 402, for determining the push strategy to the frame of video in caching according to the video capacity of collection;
Pushing module 403, for the frame of video in the push strategy push caching according to determination.
The data-pushing device that the embodiment of the present application provides, is obtained in current cache according to default time interval first The size of video capacity, suitable frame of video is selected to push strategy according to the size of the video capacity got, can be in weak net In the case of adjust the push strategy of frame of video in time according to the video capacity in the caching that gets, solve net cast process Middle video pictures postpone and played slack problem.
Referring to Fig. 5, the acquisition module 401 includes:
Logging modle 501, for according to the video capacity and record in prefixed time interval collection caching;
The processing module 402 includes:
Statistical module 502, difference between video capacity in the caching gathered twice for counting arbitrary neighborhood and Adjacent acquisition time corresponding to the difference;
Computing module 503, for according to the time sequencing for forming the difference, calculating the rate of change of the difference;
Code module 504 is dropped, if meeting preparatory condition for the rate of change, reduces transmission of video code check;
The pushing module 403 includes:
Sending module 505, for the frame of video in the transmission of video code check push caching according to reduction.
In the embodiment of the present application, the difference meter between video capacity in the caching gathered twice according to statistics arbitrary neighborhood The rate of change of the difference is calculated, by determining that the rate of change meets the preparatory condition of setting, actively to reduce transmission of video code Rate, frame of video traffic volume is reduced, solve the problems, such as that video pictures postpone during net cast under weak net environment so that video is drawn Face can be with smooth playing in the case where ensureing quality.
Referring to Fig. 6, the processing module 402 includes:
Judge module 601, if being more than first threshold for the video capacity in the caching;
Frame losing module 602, the frame of video for persistently abandoning reception terminate when receiving key frame.
In the embodiment of the present application, the traffic volume of frame of video is reduced using video frame losing strategy, is not influenceing video pictures matter Solves the slack problem of net cast picture in weak net environment in the case of amount so that be not in picture in net cast Delay, and during net cast video pictures quality it is high.
Alternatively, the preparatory condition includes:
The rate of change is more than Second Threshold and the difference continuously increases according to the time sequencing for forming the difference.
In the embodiment of the present application, the rate of change is more than the Second Threshold set according to specific equipment or current network conditions And during continuous according to the time sequencing for forming the difference growth trend of the difference, it is necessary to reduce transmission of video code check and come The traffic volume of frame of video is reduced, reduces the delay of net cast picture in weak net environment.
The exemplary scheme of the above-mentioned data-pushing device for the present embodiment.It should be noted that the data-pushing device Technical scheme and the technical scheme of above-mentioned data push method belong to same design, the technical scheme of data-pushing device is not The detail content of detailed description, it may refer to the description of the technical scheme of above-mentioned data push method.
The data-pushing device that the embodiment of the present application provides can apply in electronic equipment, and the electronic equipment can be A kind of terminal, such as can be mobile phone, tablet personal computer, desktop computer, notebook computer etc..
Specifically, the data-pushing device that the embodiment of the present application provides can apply to install in electronic equipment it is any should With program, the application program can include the live software of audio frequency and video frequency, Games Software etc..
Referring to Fig. 7, the data-pushing device provided by taking tablet personal computer as an example the embodiment of the present application illustrates.
The data-pushing device of the present embodiment is used in during the net cast of tablet personal computer, and the data-pushing device includes Audio coding module 701, audio buffer 702, video encoding module 703, video cache 704, network sending module 705, network 706。
For the ease of understanding transmission of video code check, transmission of video code check is arranged to three-level in the present embodiment, from high to low Respectively the first estate, the second grade and the tertiary gradient, can when network environment is poor needs reduction video code rate to be adjusted Once to reduce the transmission of video code check of a grade, it is reduced to after the tertiary gradient to ensure that video quality is no longer carried out down Falling tone is whole.
Tired out alternatively it is also possible to which the transmission of video code check is directly reduced into the lowest class with quickly reducing in caching Long-pending frame of video.
The Voice & Video that main broadcaster end is recorded using tablet personal computer passes through audio coding module 701 and Video coding mould respectively Block 703 is sent in audio buffer 702 and video cache 704, and network sending module 705 is from the audio buffer 702 and video Audio frame and frame of video are gathered in caching 704 and then the audio frame collected and frame of video are sent to network 706.
So that network sending module 705 receives frame of video as an example, the network environment at current anchor end is less than for bandwidth 300kbit/s, network sending module 705 such as gathered according to the video capacity in prefixed time interval collection caching every 10 seconds Video capacity in once caching, then passes to frame losing module, the frame losing module detects by the video capacity collected When video capacity in the caching is more than first threshold, when such as larger than 10%, the network sending module 705 abandons video Frame, the video of the present embodiment are provided with a key frame every 30 frame of video, and the frame losing module persistently abandons network transmission The frame of video that module receives terminates when receiving key frame, and the frame of video received afterwards is sent to network 706.
In the embodiment of the present application, the traffic volume of frame of video, the picture in net cast is not influenceed are reduced using frame losing strategy Solve in the case of weak net the slack problem of picture in net cast in the case of quality, can preferably solve it is live during The problem of picture postpones.
The embodiment of the application one provides a kind of terminal, including processor and memory, the memory storage have computer Instruction, the processor call the computer instruction and perform above-mentioned data push method.
The exemplary scheme of the above-mentioned data-pushing terminal for the present embodiment.It should be noted that the data-pushing terminal Technical scheme and the technical scheme of above-mentioned data push method belong to same design, the technical scheme of data-pushing terminal is not The detail content of detailed description, it may refer to the description of the technical scheme of above-mentioned data push method.
It should be noted that the terminal can be desktop PC, notebook, palm PC and cloud server etc. Computing device.It will be appreciated by persons skilled in the art that terminal is for receiving data and export structure after being handled Equipment.The example above is not the restriction to terminal, is that can also include input-output equipment, network in some occasions, terminal Access device, bus etc..
The processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the terminal, utilizes various interfaces and the various pieces of the whole terminal of connection.
The memory mainly includes storing program area and storage data field, wherein, storing program area can store operation system Application program (such as sound-playing function, image player function etc.) needed for system, at least one function etc.;Storage data field can Storage uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.In addition, memory can include height Fast random access memory, nonvolatile memory, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card can also be included (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.
The embodiment of the application one provides a kind of storage medium, is stored with computer instruction, on the computer instruction performs State data push method.
A kind of exemplary scheme of above-mentioned storage medium for the present embodiment.It should be noted that the skill of the storage medium Art scheme and the technical scheme of above-mentioned data push method belong to same design, and the technical scheme of storage medium is not described in detail Detail content, may refer to the description of the technical scheme of above-mentioned data push method.
The computer instruction includes computer program code, the computer program code can be source code form, Object identification code form, executable file or some intermediate forms etc..The computer-readable medium can include:Institute can be carried Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, the computer for stating computer program code store Device, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior Appropriate increase and decrease can be carried out according to legislation in jurisdiction and the requirement of patent practice by holding, such as in some jurisdictions of courts Area, electric carrier signal and telecommunication signal are not included according to legislation and patent practice, computer-readable medium.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
Present invention disclosed above preferred embodiment is only intended to help and illustrates the present invention.Alternative embodiment is not detailed All details are described, it is only described embodiment also not limit the invention.Obviously, according to the content of this specification, It can make many modifications and variations.This specification is chosen and specifically describes these embodiments, is to preferably explain the present invention Principle and practical application so that skilled artisan can be best understood by and utilize the present invention.The present invention is only Limited by claims and its four corner and equivalent.

Claims (10)

  1. A kind of 1. data push method, it is characterised in that including:
    According to the video capacity in prefixed time interval collection caching;
    Push strategy to the frame of video in caching is determined according to the video capacity of collection;
    According to the frame of video in the push strategy push caching of determination.
  2. 2. according to the method for claim 1, it is characterised in that
    Video capacity in the collection caching according to prefixed time interval includes:
    According to the video capacity and record in prefixed time interval collection caching;
    It is described to determine that the push strategy to the frame of video in caching includes according to the video capacity of collection:
    It is adjacent corresponding to the difference and the difference between video capacity in the caching that statistics arbitrary neighborhood gathers twice to adopt Collect the time;
    According to the time sequencing for forming the difference, the rate of change of the difference is calculated;
    If the rate of change meets preparatory condition, transmission of video code check is reduced;
    It is described to include according to the push strategy propelling data of determination:
    According to the frame of video in the transmission of video code check push caching of reduction.
  3. 3. according to the method for claim 1, it is characterised in that
    It is described to determine that the push strategy to the frame of video in caching includes according to the video capacity of collection:
    If the video capacity in the caching is more than first threshold, the lasting frame of video received that abandons is when receiving key frame Terminate.
  4. 4. according to the method for claim 2, it is characterised in that
    The preparatory condition includes:
    The rate of change is more than Second Threshold and the difference continuously increases according to the time sequencing for forming the difference.
  5. A kind of 5. data-pushing device, it is characterised in that including:
    Acquisition module, for according to the video capacity in prefixed time interval collection caching;
    Processing module, for determining the push strategy to the frame of video in caching according to the video capacity of collection;
    Pushing module, for the frame of video in the push strategy push caching according to determination.
  6. 6. device according to claim 5, it is characterised in that
    The acquisition module includes:
    Logging modle, for according to the video capacity and record in prefixed time interval collection caching;
    The processing unit includes:
    Statistical module, the difference and the difference pair between video capacity in the caching gathered twice for counting arbitrary neighborhood The adjacent acquisition time answered;
    Computing module, for according to the time sequencing for forming the difference, calculating the rate of change of the difference;
    Code module is dropped, if meeting preparatory condition for the rate of change, reduces transmission of video code check;
    The pushing module includes:
    Sending module, for the frame of video in the transmission of video code check push caching according to reduction.
  7. 7. device according to claim 5, it is characterised in that
    The processing module includes:
    Judge module, if being more than first threshold for the video capacity in the caching;
    Frame losing module, the frame of video for persistently abandoning reception terminate when receiving key frame.
  8. 8. device according to claim 6, it is characterised in that
    The preparatory condition includes:
    The rate of change is more than Second Threshold and the difference continuously increases according to the time sequencing for forming the difference.
  9. 9. a kind of terminal, it is characterised in that including processor and memory, the memory storage has computer instruction, described Processor calls data push method of the computer instruction simultaneously described in perform claim requirement 1-4 any one.
  10. 10. a kind of storage medium, it is characterised in that be stored with computer instruction, the computer instruction perform claim requires 1-4 Data push method described in any one.
CN201710518820.3A 2017-06-29 2017-06-29 A kind of data push method and device, a kind of terminal and storage medium Withdrawn CN107347065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710518820.3A CN107347065A (en) 2017-06-29 2017-06-29 A kind of data push method and device, a kind of terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710518820.3A CN107347065A (en) 2017-06-29 2017-06-29 A kind of data push method and device, a kind of terminal and storage medium

Publications (1)

Publication Number Publication Date
CN107347065A true CN107347065A (en) 2017-11-14

Family

ID=60257631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710518820.3A Withdrawn CN107347065A (en) 2017-06-29 2017-06-29 A kind of data push method and device, a kind of terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107347065A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587511A (en) * 2018-12-24 2019-04-05 网易(杭州)网络有限公司 More equipment net cast methods, equipment, system and storage medium
CN110535810A (en) * 2018-05-25 2019-12-03 视联动力信息技术股份有限公司 A kind of processing method and terminal of video data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938606A (en) * 2009-07-03 2011-01-05 北京大学 Method, system and device for propelling multimedia data
CN105100876A (en) * 2015-08-28 2015-11-25 北京奇艺世纪科技有限公司 Streaming media playing method and device
CN105392023A (en) * 2015-10-29 2016-03-09 深圳云聚汇数码有限公司 Video live broadcasting method and device in network jitter environment
CN105611309A (en) * 2015-12-22 2016-05-25 北京奇虎科技有限公司 Video transmission method and device
CN105744342A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Data transmission method and device for mobile terminal
CN105979345A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Video data processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938606A (en) * 2009-07-03 2011-01-05 北京大学 Method, system and device for propelling multimedia data
CN105100876A (en) * 2015-08-28 2015-11-25 北京奇艺世纪科技有限公司 Streaming media playing method and device
CN105392023A (en) * 2015-10-29 2016-03-09 深圳云聚汇数码有限公司 Video live broadcasting method and device in network jitter environment
CN105979345A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Video data processing method and device
CN105611309A (en) * 2015-12-22 2016-05-25 北京奇虎科技有限公司 Video transmission method and device
CN105744342A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Data transmission method and device for mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535810A (en) * 2018-05-25 2019-12-03 视联动力信息技术股份有限公司 A kind of processing method and terminal of video data
CN109587511A (en) * 2018-12-24 2019-04-05 网易(杭州)网络有限公司 More equipment net cast methods, equipment, system and storage medium

Similar Documents

Publication Publication Date Title
CN107333163A (en) A kind of method for processing video frequency and device, a kind of terminal and storage medium
CN103379363A (en) Video processing method and apparatus, mobile terminal and system
CN108495142A (en) Method for video coding and device
CN108347580B (en) Method for processing video frame data and electronic equipment
JP6999631B2 (en) Audio processing methods, devices, electronic devices and storage media
CN110149554B (en) Video image processing method and device, electronic equipment and storage medium
CN106688239A (en) Video downloading method, apparatus, and system
WO2019128667A1 (en) Video playback method and terminal, server and storage medium
CN105979274A (en) Distributive cache storage method for dynamic self-adaptive video streaming media
WO2015070761A1 (en) Smart tv media player and caption processing method thereof, and smart tv
CN108830892A (en) Face image processing process, device, electronic equipment and computer readable storage medium
CN110677649B (en) Artifact removing method based on machine learning, artifact removing model training method and device
CN107371062A (en) The method of video pictures auto zoom
CN102724557A (en) Method and device for coding control in multi-flow audio live broadcasting
CN107347065A (en) A kind of data push method and device, a kind of terminal and storage medium
CN111225209A (en) Video data plug flow method, device, terminal and storage medium
CN107040825B (en) Terminal, television, multi-screen interaction system and screen capture parameter setting method
CN107948715A (en) Live network broadcast method and device
CN106792139A (en) A kind of data dispatching method and data dispatch equipment
CN106649645B (en) Playlist processing method and device
CN108632667B (en) A kind of coding/decoding method and terminal of multimedia file
CN109495776B (en) Audio sending and playing method and intelligent terminal
CN109117110B (en) Data processing method and device for dynamic voice fusion
CN103607629B (en) Multimedia file playing method and electronic terminal
CN107734360B (en) Control method and device of streaming media 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171114