CN110401845A - First screen playing method, device, computer equipment and storage medium - Google Patents

First screen playing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110401845A
CN110401845A CN201910780091.8A CN201910780091A CN110401845A CN 110401845 A CN110401845 A CN 110401845A CN 201910780091 A CN201910780091 A CN 201910780091A CN 110401845 A CN110401845 A CN 110401845A
Authority
CN
China
Prior art keywords
picture group
length
frame
transmission
frame fragment
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
CN201910780091.8A
Other languages
Chinese (zh)
Other versions
CN110401845B (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.)
Beijing Horizon Yuntian Technology Co Ltd
Original Assignee
Beijing Horizon Yuntian 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 Beijing Horizon Yuntian Technology Co Ltd filed Critical Beijing Horizon Yuntian Technology Co Ltd
Priority to CN201910780091.8A priority Critical patent/CN110401845B/en
Publication of CN110401845A publication Critical patent/CN110401845A/en
Application granted granted Critical
Publication of CN110401845B publication Critical patent/CN110401845B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • 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
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

This application involves a kind of first screen playing method, device, computer equipment and storage mediums.The described method includes: obtaining the configuration information of the player of terminal, configuration information includes the corresponding caching section length of player, obtain pre-stored picture group data, parsing obtains transmission sequence and the length information of each picture group of each picture group in picture group data, according to length information and caching section length, the transmission length of each picture group is set, by the way of frame-skipping, the player that each picture group is sent to terminal according to length is sent according to sequence is sent carries out first screen in player and plays.The time delay that first screen plays can reduce using this method.

Description

First screen playing method, device, computer equipment and storage medium
Technical field
This application involves video data transmission technical fields, more particularly to a kind of first screen playing method, device, computer Equipment and storage medium.
Background technique
It is higher and higher for the demand of video data transmission technology with the development of live streaming industry, carrying out net cast When, " blank screen " phenomenon when being played in order to avoid first screen, often cache in the server picture group (Group of Pictures, GOP), the phenomenon that before transmitting live video data, the GOP of caching is sent to player, first screen " blank screen " is solved with this.
In traditional approach, the length of a GOP is between 2s-10s, and server needs to cache multiple GOP, due to GOP's Length is longer, can reduce video code rate and reduce bandwidth traffic, therefore, when carrying out first screen at present and playing, need to send compared with Long GOP, the delay played so as to cause first screen become larger.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of head for being able to solve the first screen big problem of playout-delay Screen playing method, device, computer equipment and storage medium.
A kind of head screen playing method, which comprises
Obtain the configuration information of the player of terminal;The configuration information includes the corresponding caching section length of player;
Pre-stored picture group data are obtained, parsing obtains the transmission sequence of each picture group in the picture group data And the length information of each picture group;
According to the length information and the caching section length, the transmission length of each picture group is set;
By the way of frame-skipping, is sorted according to the transmission and be sent to each picture group according to the transmission length The player of terminal carries out first screen in player and plays.
In one of the embodiments, further include: the frame fragment of each picture group is set, so that each picture group The sum of length of frame fragment is equal to the buffer area length information;The frame fragment is long as the transmission of each picture group Degree.
In one of the embodiments, further include: according to transmission sequence and the length information, be successively read each The length of the picture group;Judge the length of current picture group and the frame fragment of foregoing description picture group and, if be greater than institute Caching section length is stated, if frame fragment otherwise is arranged according to the length of the current picture group;If so, the picture after judgement Whether the sum of length of group is greater than 0, if so, the frame fragment of setting current picture group so that the frame fragment of current picture group with The sum of frame fragment of picture group is less than the caching section length before, if it is not, the frame fragment of current picture group is then arranged, so that working as The frame fragment of preceding picture group is equal to the caching section length with the sum of frame fragment of picture group before.
In one of the embodiments, further include: the frame fragment picture group intercepts from left to right.
In one of the embodiments, further include: according to the transmission length of the frame fragment and transmission sequence, successively Send the picture group;Judge that current picture group is sent and whether reach the transmission length, if so, using the side of frame-skipping Formula carries out the transmission of next picture group;Until all picture groups are sent to the player of terminal.
A kind of first screen playing device, described device include:
Configuration obtains module, the configuration information of the player for obtaining terminal;The configuration information includes player pair The caching section length answered;
Data acquisition module, for obtaining pre-stored picture group data, parsing obtains each in the picture group data The transmission sequence of a picture group and the length information of each picture group;
Length setup module, for each picture group to be arranged according to the length information and the caching section length Send length;
Sending module, for being sorted each picture group according to the transmission according to described by the way of frame-skipping The player that length is sent to terminal is sent, first screen is carried out in player and is played.
The length setup module is also used to be arranged the frame fragment of each picture group in one of the embodiments, so that The sum of length of frame fragment of each picture group is equal to the buffer area length information;Using the frame fragment as each institute State the transmission length of picture group.
The length setup module is also used to be sorted according to the transmission in one of the embodiments, and the length is believed Breath, is successively read the length of each picture group;Judge the length of current picture group and the frame fragment of foregoing description picture group Sum, if be greater than the caching section length, if otherwise according to the current picture group length be arranged frame fragment;If so, Whether the sum of length of the picture group is greater than 0 after judgement, if so, the frame fragment of setting current picture group, so that currently The frame fragment of picture group is less than the caching section length with the sum of frame fragment of picture group before, if it is not, current picture is then arranged The frame fragment of group, so that the frame fragment of current picture group is equal to the caching section length with the sum of frame fragment of picture group before.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Obtain the configuration information of the player of terminal;The configuration information includes the corresponding caching section length of player;
Pre-stored picture group data are obtained, parsing obtains the transmission sequence of each picture group in the picture group data And the length information of each picture group;
According to the length information and the caching section length, the transmission length of each picture group is set;
By the way of frame-skipping, is sorted according to the transmission and be sent to each picture group according to the transmission length The player of terminal carries out first screen in player and plays.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Obtain the configuration information of the player of terminal;The configuration information includes the corresponding caching section length of player;
Pre-stored picture group data are obtained, parsing obtains the transmission sequence of each picture group in the picture group data And the length information of each picture group;
According to the length information and the caching section length, the transmission length of each picture group is set;
By the way of frame-skipping, is sorted according to the transmission and be sent to each picture group according to the transmission length The player of terminal carries out first screen in player and plays.
Above-mentioned head screen playing method, device, computer equipment and storage medium, by getting caching section length, picture Picture group is successively sent in buffer area by the length information of group sequence and picture group by the way of frame-skipping, and the present invention is real Example is applied, by the way of frame-skipping, the length of picture group can be greatly shortened, and be effectively retained the information of each picture group, from And the delay that first screen plays effectively is shortened, realizing the first screen second opens.
Detailed description of the invention
Fig. 1 is the application scenario diagram of first screen playing method in one embodiment;
Fig. 2 is the flow diagram of first screen playing method in one embodiment;
Fig. 3 is the flow diagram that frame fragment step is arranged in one embodiment;
Fig. 4 is the structural block diagram of first screen playing device in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Head screen playing method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, terminal 102 It is communicated with server 104 by network by network.Wherein, terminal 102 can be, but not limited to be various personal computers, Laptop, smart phone, tablet computer and portable wearable device, server 104 can with independent server or Person is the server cluster of multiple server compositions to realize.
Specifically, terminal 102 requests live data, and server 104 is got in terminal 102 when carrying out first screen broadcasting The caching section length of player, so that picture group data according to the pre-stored data carry out frame-skipping transmission, it can effectively avoid Occur first screen blank screen phenomenon in terminal 102, and the time delay that first screen plays can be effectively reduced.
In one embodiment, as shown in Fig. 2, providing a kind of first screen playing method, it is applied in Fig. 1 in this way It is illustrated for server, comprising the following steps:
Step 202, the configuration information of the player of terminal is obtained.
The application program installed in the terminal that player refers to, terminal can be operate in Android, IOS, Terminal under the environment such as Windowsphone.Configuration information refers to the corresponding caching section length of player, it is however generally that, caching The length unit in area is byte, such as caching section length is 10000 bytes, then the maximum data that can cache 10000 bytes, this In embodiment, when being used in first screen broadcasting, the size of picture group data can be indicated with code stream, when code stream refers to unit Interior data traffic, therefore in buffer area when stored picture group, the unit of buffer area can be converted into the second, such as: picture group Size is 3s, and the length of buffer area is 5s.
Step 204, pre-stored picture group data are obtained.
The length information of transmission sequence and each picture group in picture group data comprising each picture group.Send sequence Refer to that each picture group is sent to the sequence in player.Length information refers to that the length of each picture group, unit are the seconds.
Picture group, is one group of continuous picture, and a picture group includes intra-coded frame, preceding paragraph prediction frame and two-way interior Interleave, thus a picture group contain current key frame to next key frame whole frame data.Therefore, picture is being carried out When group is sent, it is thus necessary to determine that the transmission sequence of picture group sends sequence.
Step 206, according to length information and caching section length, the transmission length of each picture group is set.
The length that length refers to sending picture group is sent, such as: the length of picture group is 5s, according to demand, sends length Degree can be 1s, 2s, 5s etc..
Step 208, by the way of frame-skipping, each picture group is sent to terminal according to length is sent according to sequence is sent Player, first screen is carried out in player and is played.
When frame-skipping refers to that stopping sends current picture group, jumps to next picture group and sent.
In above-mentioned head screen playing method, the length by getting caching section length, picture group sequence and picture group is believed Picture group, by the way of frame-skipping, is successively sent in buffer area, the embodiment of the present invention by breath, can be with by the way of frame-skipping The length of picture group is greatly shortened, and has been effectively retained the information of each picture group, to effectively shorten what first screen played Delay, realizing the first screen second opens.
In one of the embodiments, when the length of setting screen group, specifically using the frame that each picture group is arranged Segment, so that the sum of length of frame fragment of each picture group is equal to buffer area length information, using frame fragment as each picture The transmission length of group.In the present embodiment, frame fragment refers to a segment in picture group, it is worth noting that, frame piece is set Section is not simply to save as frame fragment from the data extracted in picture group.In the above manner, can be by the overall length of picture group Degree, which is compressed to, is equal to caching section length, greatly shortens the length of picture group, to reduce the time delay that first screen plays.
In a specific embodiment, the preserving type of frame fragment can be the data extracted in picture group, be also possible to Record position in picture group.By the way of extracting data, when carrying out picture group transmission, it is corresponding that picture group can be directly transmitted Frame fragment, when carrying out picture group transmission, send the position that records in picture group by the way of recording picture group position.
In a specific embodiment, the frame fragment picture group intercepts from left to right, and interception can be extracted Data are also possible to by the way of intercepting head and the tail data, record position of the frame fragment in picture group.It refers to from left to right By the head end of picture group initially as the head end for recording frame.Such as: the length of picture group is 5s, and frame fragment 3s is then intercepted It is the preceding 3s of picture group.
In one of the embodiments, as shown in figure 3, providing a kind of schematic flow chart that frame fragment step is arranged, tool Body includes the following steps:
Step 302, according to sequence and length information is sent, it is successively read the length of each picture group.
Step 304, judge the length of current picture group and the frame fragment of picture group before and M, if be greater than buffer area Length S, if it is not, then go to step 306, if so, going to step 308.
Step 306, then frame fragment is set according to the length of current picture group.
Step 308, whether the sum of length of picture group N is greater than 0 after judgement, if then going to step 310, if otherwise Go to step 312.
Step 310, the frame fragment of current picture group is set, so that the frame of the frame fragment of current picture group and picture group before The sum of segment K is less than caching section length S.
Step 312, the frame fragment of current picture group is set, so that the frame of the frame fragment of current picture group and picture group before The sum of segment K is equal to caching section length S.
For step 304, the sum of the length of current picture group and the frame fragment of picture group before is referred to according to the row of transmission Sequence, the total length of the frame fragment of all picture group selections before current picture group are summed with the length of current picture group.For example, Picture group includes the first picture group and the second picture group before, and the length of the frame fragment of the first picture group is 2s, the second picture group The length of frame fragment be 1s, current picture group is third picture group, and the length of picture group is 3s, then the length of current picture group With the frame fragment of picture group before and be 6s.
For step 308, whether the sum of length of picture group is greater than 0 later, and the above specific example explains, if in total Have 6 picture groups, the length of the 5th picture group is 0, and the length of the 6th picture group is 0, then after picture group the sum of length etc. In 0.
In another embodiment, when carrying out picture group transmission, the specific steps are as follows: according to the transmission length of frame fragment With transmission sequence, picture group is successively sent, judges that current picture group is sent and whether reaches transmission length, if so, using The mode of frame-skipping carries out the transmission of next picture group, until picture group is sent to the player of terminal.In the present embodiment, lead to Cross the mode of frame-skipping, it is possible to reduce the length of picture group, to reduce the time delay that first screen plays.
Below with a specific embodiment, the present invention will be described.
In one embodiment, first screen playing method executes in accordance with the following steps.
S1, two picture groups of server allocating cache, and getting the caching section length of terminal is S.
S2 receives the first screen request of data that terminal is sent.
S3, judges whether the total length of picture group gop1 and gop2 are greater than caching section length S, if it is not, S4 is then jumped to, if It is to jump to S5.
Picture group gop1 and picture group gop2 are sent to terminal, are stored in the buffer area of terminal by S4.
The length of S5, picture group gop1 are 0, then send the data that picture group gop2 length is equal to S, the length of picture group gop2 Degree is equal to 0, then sends the data that picture group gop1 length is equal to S, gop1 and gop2 are all larger than zero, send the previous section of gop1 Data, then frame-skipping to gop2 send the previous section data of gop2, to ensure that the sum of the two data are equal to S.
It should be understood that although each step in the flow chart of Fig. 2 and 3 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2 and 3 at least A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps Ground executes.
In one embodiment, as shown in figure 4, providing a kind of first screen playing device, comprising: configuration acquisition module 402, Data acquisition module 404, length setup module 406 and sending module 408, in which:
Configuration obtains module 402, the configuration information of the player for obtaining terminal;The configuration information includes player Corresponding caching section length;
Data acquisition module 404, for obtaining pre-stored picture group data, parsing is obtained in the picture group data The transmission sequence of each picture group and the length information of each picture group;
Length setup module 406, for each picture group to be arranged according to the length information and the caching section length Transmission length;
Sending module 408, for being sorted each picture group according to the transmission according to institute by the way of frame-skipping It states and sends the player that length is sent to terminal, first screen is carried out in player and is played.
Length setup module 406 is also used to be arranged the frame fragment of each picture group in one of the embodiments, so that respectively The sum of length of frame fragment of a picture group is equal to the buffer area length information;Using the frame fragment as each described The transmission length of picture group.
Length setup module 406 is also used to be sorted according to the transmission in one of the embodiments, and the length is believed Breath, is successively read the length of each picture group;Judge the length of current picture group and the frame fragment of foregoing description picture group Sum, if be greater than the caching section length, if otherwise according to the current picture group length be arranged frame fragment;If so, Whether the sum of length of the picture group is greater than 0 after judgement, if so, the frame fragment of setting current picture group, so that currently The frame fragment of picture group is less than the caching section length with the sum of frame fragment of picture group before, if it is not, current picture is then arranged The frame fragment of group, so that the frame fragment of current picture group is equal to the caching section length with the sum of frame fragment of picture group before.
The frame fragment being arranged in length setup module 406 in one of the embodiments, is that picture group intercepts from left to right 's.
Sending module 408 is also used to transmission length and the hair according to the frame fragment in one of the embodiments, Sequence is sent, the picture group is successively sent;Judge that current picture group is sent and whether reaches the transmission length, if so, By the way of frame-skipping, the transmission of next picture group is carried out;Until all picture groups are sent to the player of terminal.
The restriction that may refer to above for first screen playing method is limited about first the specific of screen playing device, herein not It repeats again.Modules in above-mentioned first screen playing device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment also correspondence is configured with buffer area, and buffer area can be realized by Redis, for configuring picture group data. The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program is held by processor To realize a kind of first screen playing method when row.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with The step of computer program, which realizes method in above-described embodiment when executing computer program.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated The step of machine program realizes method in above-described embodiment when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of head screen playing method, which comprises
Obtain the configuration information of the player of terminal;The configuration information includes the corresponding caching section length of player;
Obtain pre-stored picture group data, parsing obtain each picture group in the picture group data transmission sequence and The length information of each picture group;
According to the length information and the caching section length, the transmission length of each picture group is set;
By the way of frame-skipping, is sorted according to the transmission and each picture group is sent to terminal according to the transmission length Player, first screen is carried out in player and is played.
2. the method according to claim 1, wherein described according to the length information and the caching head of district Degree, is arranged the transmission length of each picture group, comprising:
The frame fragment of each picture group is set, so that the sum of length of frame fragment of each picture group is equal to the buffer area Length information;
Using the frame fragment as the transmission length of each picture group.
3. according to the method described in claim 2, it is characterized in that, the frame fragment of each picture group of setting includes:
According to transmission sequence and the length information, it is successively read the length of each picture group;
Judge the length of current picture group and the frame fragment of foregoing description picture group and, if be greater than the caching section length, If frame fragment otherwise is arranged according to the length of the current picture group;
If so, whether the sum of length of the picture group is greater than 0 after judgement, if so, the frame piece of setting current picture group Section, so that the frame fragment of current picture group is less than the caching section length with the sum of frame fragment of picture group before, if it is not, then setting The frame fragment of current picture group is set, so that the frame fragment of current picture group is equal to described delay with the sum of frame fragment of picture group before Deposit section length.
4. method according to any one of claims 1 to 3, which is characterized in that the frame fragment is the picture group from a left side To right interception.
5. method according to any one of claims 1 to 3, which is characterized in that it is described by the way of frame-skipping, according to described Send the player that each picture group is sent to terminal by sequence according to the transmission length, comprising:
According to the transmission length of the frame fragment and transmission sequence, the picture group is successively sent;
Judge that current picture group is sent and whether reach the transmission length, if so, being carried out next by the way of frame-skipping The transmission of a picture group;
Until all picture groups are sent to the player of terminal.
6. a kind of first screen playing device, which is characterized in that described device includes:
Configuration obtains module, the configuration information of the player for obtaining terminal;The configuration information includes that player is corresponding Cache section length;
Data acquisition module, for obtaining pre-stored picture group data, parsing obtains each picture in the picture group data The transmission sequence of face group and the length information of each picture group;
Length setup module, for the transmission of each picture group to be arranged according to the length information and the caching section length Length;
Sending module, for being sorted each picture group according to the transmission according to the transmission by the way of frame-skipping Length is sent to the player of terminal, and first screen is carried out in player and is played.
7. device according to claim 6, which is characterized in that the length setup module is also used to be arranged each picture group Frame fragment so that the sum of length of frame fragment of each picture group be equal to the buffer area length information;By the frame Transmission length of the segment as each picture group.
8. device according to claim 7, which is characterized in that the length setup module is also used to be arranged according to the transmission Sequence and the length information are successively read the length of each picture group;Judge the length and the foregoing description of current picture group The sum of the frame fragment of picture group, if be greater than the caching section length, if being otherwise arranged according to the length of the current picture group Frame fragment;If so, whether the sum of length of the picture group is greater than 0 after judgement, if so, the frame of setting current picture group Segment, so that the frame fragment of current picture group is less than the caching section length with the sum of frame fragment of picture group before, if it is not, then The frame fragment of current picture group is set, so that the frame fragment of current picture group is with the sum of frame fragment of picture group before equal to described Cache section length.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of any one of claims 1 to 5 the method is realized when being executed by processor.
CN201910780091.8A 2019-08-22 2019-08-22 First screen playing method and device, computer equipment and storage medium Active CN110401845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910780091.8A CN110401845B (en) 2019-08-22 2019-08-22 First screen playing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910780091.8A CN110401845B (en) 2019-08-22 2019-08-22 First screen playing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110401845A true CN110401845A (en) 2019-11-01
CN110401845B CN110401845B (en) 2021-08-20

Family

ID=68329143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910780091.8A Active CN110401845B (en) 2019-08-22 2019-08-22 First screen playing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110401845B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596568A (en) * 2021-07-01 2021-11-02 广州虎牙科技有限公司 Video playing method and device, intelligent terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488273A (en) * 2016-10-10 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus of transmission live video
CN106604064A (en) * 2016-12-30 2017-04-26 北京奇艺世纪科技有限公司 Rapid broadcasting method and device
CN106713941A (en) * 2017-01-04 2017-05-24 北京百度网讯科技有限公司 Audio and video live broadcast implementation method and server
CN107483976A (en) * 2017-09-26 2017-12-15 武汉斗鱼网络科技有限公司 Live management-control method, device and electronic equipment
CN109618179A (en) * 2019-01-21 2019-04-12 北京数码视讯软件技术发展有限公司 Ultra high-definition net cast quickly plays broadcasting method and device
CN110113621A (en) * 2018-02-01 2019-08-09 腾讯科技(深圳)有限公司 Playing method and device, storage medium, the electronic device of media information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488273A (en) * 2016-10-10 2017-03-08 广州酷狗计算机科技有限公司 A kind of method and apparatus of transmission live video
CN106604064A (en) * 2016-12-30 2017-04-26 北京奇艺世纪科技有限公司 Rapid broadcasting method and device
CN106713941A (en) * 2017-01-04 2017-05-24 北京百度网讯科技有限公司 Audio and video live broadcast implementation method and server
CN107483976A (en) * 2017-09-26 2017-12-15 武汉斗鱼网络科技有限公司 Live management-control method, device and electronic equipment
CN110113621A (en) * 2018-02-01 2019-08-09 腾讯科技(深圳)有限公司 Playing method and device, storage medium, the electronic device of media information
CN109618179A (en) * 2019-01-21 2019-04-12 北京数码视讯软件技术发展有限公司 Ultra high-definition net cast quickly plays broadcasting method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596568A (en) * 2021-07-01 2021-11-02 广州虎牙科技有限公司 Video playing method and device, intelligent terminal and computer readable storage medium
CN113596568B (en) * 2021-07-01 2023-10-17 广州虎牙科技有限公司 Video playing method and device, intelligent terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110401845B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
KR102499335B1 (en) Neural network data processing apparatus, method and electronic device
CN109992465A (en) Service tracks method, apparatus and computer readable storage medium
US10911816B2 (en) Information processing system
US20100058409A1 (en) Audio and video testing methodology
CN111182322B (en) Director control method and device, electronic equipment and storage medium
US20110022684A1 (en) File transfer system and file transfer method
CN110401845A (en) First screen playing method, device, computer equipment and storage medium
CN110099414A (en) Network resource transmission method, apparatus, computer equipment and storage medium
US20120147023A1 (en) Caching apparatus and method for video motion estimation and compensation
CN115113812A (en) Write data signal delay control method, apparatus, device, and medium
US10127189B2 (en) Multidimensional stage adaptive transmission control system
KR20130077246A (en) Method and system for reducing excessive process of panorama moving picture by cpu on smart-tv
CN112995610A (en) Method for application in shared in-existence multi-channel video monitoring
US11438448B2 (en) Network application program product and method for processing application layer protocol
CN113596486A (en) Data information storage method, reading device, terminal and storage medium
CN104219538B (en) A kind of audio frequency and video gather upload and data processing method and system in real time
CN107135416A (en) Method for downloading video and device
CN106961635A (en) Massaging device
US7400275B2 (en) Encoding/decoding device for compressing or expanding digital data
CN112135163A (en) Video playing starting method and device
CN110636368A (en) Media playing method and device
CN112423117A (en) Web end video playing method and device and computer equipment
CN112738574B (en) Screen recording data processing method and device, computer equipment and storage medium
CN109525886A (en) Control method, device, equipment and the storage medium of video playout speed
CN109996288A (en) Data Cascading Methods, device, computer equipment and the storage medium of rlc layer

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