CN106657218A - Streaming media file processing system and streaming media file processing method - Google Patents

Streaming media file processing system and streaming media file processing method Download PDF

Info

Publication number
CN106657218A
CN106657218A CN201610835480.2A CN201610835480A CN106657218A CN 106657218 A CN106657218 A CN 106657218A CN 201610835480 A CN201610835480 A CN 201610835480A CN 106657218 A CN106657218 A CN 106657218A
Authority
CN
China
Prior art keywords
section
file
server
files
flow table
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.)
Pending
Application number
CN201610835480.2A
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.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System 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 Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201610835480.2A priority Critical patent/CN106657218A/en
Publication of CN106657218A publication Critical patent/CN106657218A/en
Pending 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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • 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/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/2871Implementation details of single intermediate entities

Landscapes

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

Abstract

The invention provides a streaming media file processing system and a streaming media file processing method, wherein the streaming media file processing system comprises the components of a slice server, a service middle member and at least one streamer server. The slicer server receives a target streaming media file and performs decoding on the target streaming media file for obtaining at least two slice files. A program multicast flow table is formed according to a decoding time point which corresponds with each slice file. At least two slice files and the program multicast flow table are transmitted to the service middle member. When the service middle member receives at least two slice files and the program multicast flow table, the service middle member transmits a searching instruction to each streamer server. The streamer server reads at least two slice files and the program multicast flow table from the service middle member in receiving the searching instruction which is transmitted from the service middle member. Through the streaming media file processing system and the streaming media file processing method, the streamer server can acquire a plurality of slice files of the streaming media file in time.

Description

A kind of files in stream media processing system and method
Technical field
The present invention relates to areas of information technology, more particularly to a kind of files in stream media processing system and method.
Background technology
At present, it is right respectively for each channel in order to realize the audio or video program of multi-user's simultaneously program request same channel Answer files in stream media, it usually needs section server in carry out slicing treatment, will files in stream media with time sequencing fractionation For multiple section files, and multiple section files are distributed to into multiple stream pushing servers with time sequencing, with stream pushing server phase Terminal device even then can according to multiple section papers continueds that current stream pushing server is continuously received play corresponding audio frequency or Video.
It can be seen that, section server needs for each section file to be sent respectively to each stream pushing server, works as channel When excessive or connection section server stream pushing server quantity is excessive, the number of times of server distribution section file of cutting into slices is more, Prevent stream pushing server is from obtaining in time multiple section files of files in stream media.
The content of the invention
A kind of files in stream media processing system and method are embodiments provided, stream pushing server can in time obtain stream Multiple section files of media file.
In a first aspect, a kind of files in stream media processing system is embodiments provided, including:
Section server, service middleware and at least one stream pushing server;Wherein,
The section server, for receiving target files in stream media, and by the target files in stream media be decoded as to Few two sections file;Corresponding decoding time point is distinguished according to each described section file and forms program multicast flow table;Will At least two section file and the program multicast flow table are sent to the service middleware;
The service middleware, for receiving at least two section file and during the program multicast flow table, Send query statement to stream pushing server each described respectively;
The stream pushing server, for when the query statement that the service middleware sends is received, from the service Middleware reads at least two section file and the program multicast flow table.
Preferably,
The section server includes:Decoding unit and the first construction unit;Wherein,
The decoding unit, for the target files in stream media to be decoded as at least two sections text according to preset duration Part, and the corresponding file name of current slice file is set;
First construction unit, for distinguishing corresponding decoding time point according to each described section file, using each Individual section file distinguishes corresponding file name and forms program multicast flow table.
Preferably,
The section server, further includes:Memory cell and information transmitting unit;Wherein,
The memory cell, for storing each described section file;
Described information transmitting element, for described at least two to be cut into slices files, the program multicast flow table and each The storage address that the individual section file is corresponded to respectively in the memory cell is sent to the service middleware;
The stream pushing server, including:Request of data unit, for receiving the inquiry that the service middleware sends During instruction, from the service middleware at least two sections file, the program multicast flow table and each institute are read State the storage address that section file is corresponded to respectively in the memory cell of the section server.
Preferably,
The stream pushing server, also includes:Second construction unit, storage processing unit and download processing unit;Wherein,
Second construction unit, for building document directory structure according to the program multicast flow table;
The storage processing unit, for according to the document directory structure storage at least two sections file;
The download processing unit, for when the request of data unit receives each section file, according to institute State program multicast flow table and inquire about the document directory structure, to determine whether there is acquisition time positioned at current slice file pair Before the target acquisition time answered and the target slice file that is not stored in the document directory structure, if it is, The target is obtained according to storage address of the target slice file correspondence in the memory cell of the section server to cut Piece file, and target slice file correspondence is stored to the document directory structure.
Preferably,
Also include:At least one client;Wherein, at least one client and at least one stream pushing server It is connected;
The client, for according at least two section files and section of the stream pushing server reading of correspondence connection Mesh multicast flow table, plays the audio or video of the correspondence target files in stream media.
Second aspect, embodiments provides a kind of based on arbitrary described files in stream media process in first aspect The method that system processes files in stream media, including:
Section server receives target files in stream media;
The target files in stream media is decoded as at least two section files by section server;
Section server distinguishes corresponding decoding time point and forms program multicast flow table according to each described section file;
Section server sends described at least two section files and the program multicast flow table to the service Part;
Service middleware receiving at least two section file and during the program multicast flow table, respectively to each The individual stream pushing server sends query statement;
Stream pushing server reads when the query statement that the service middleware sends is received from the service middleware At least two section file and the program multicast flow table.
Preferably,
The target files in stream media is decoded as at least two section files by the section server, including:Section clothes The target files in stream media is decoded as at least two section files by the decoding unit of business device according to preset duration, and setting is worked as The front corresponding file name of file of cutting into slices;
The section server distinguishes corresponding decoding time point and forms program multicast according to each described section file Flow table, including:First construction unit of section server distinguishes corresponding decoding time point according to each described section file, Distinguish corresponding file name using each section file and form program multicast flow table.
Preferably,
In the decoding unit of the section server target files in stream media is decoded as at least according to preset duration Two section files, and arrange after the corresponding file name of current slice file, also include:The memory cell of section server Store each described section file;
The section server sends described at least two section files and the program multicast flow table to the service Middleware, including:Section server information transmitting unit will described at least two section files, the program multicast flow table with And the storage address that each described section file is corresponded to respectively in the memory cell is sent to the service middleware;
The stream pushing server when the query statement that the service middleware sends is received, from the service middleware At least two section file and the program multicast flow table are read, including:The request of data unit of stream pushing server is connecing When receiving the query statement that the service middleware sends, from the service middleware read at least two sections file, The program multicast flow table and each described section file are corresponded to respectively in the memory cell of the section server Storage address.
Preferably, also include:
Second construction unit of stream pushing server builds document directory structure according to the program multicast flow table;
The storage processing unit of stream pushing server is according to the document directory structure storage at least two sections file;
The download processing unit of stream pushing server the request of data unit receive each section file when, according to The program multicast flow table inquires about the document directory structure, to determine whether there is acquisition time positioned at current slice file Before corresponding target acquisition time and the target slice file that is not stored in the document directory structure, if it is, Then the storage address according to target slice file correspondence in the memory cell of the section server obtains the target Section file, and target slice file correspondence is stored to the document directory structure.
Preferably, also include:
At least two section files and program multicast flow table that client reads according to the stream pushing server of correspondence connection, broadcast It is rivals in a contest and answers the audio or video of the target files in stream media..
The processing system and method for a kind of files in stream media are embodiments provided, within the system, section service The target files in stream media of reception is decoded as multiple section files by device, and distinguishes corresponding decoding according to each section file Time point formed program multicast flow table, after by program multicast flow table and at least two section files send to service middleware (ratio Such as router), stream pushing server can be in reading service middleware after the query statement for receiving service middleware transmission At least two section files and program multicast flow table;As fully visible, server of cutting into slices only needs the multiple sections text for decoding it Part is sent to service middleware, without being directly distributed to each stream pushing server, distributes speed, accordingly, plug-flow Server can in time obtain multiple section files of files in stream media.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structural representation of files in stream media processing system that one embodiment of the invention is provided;
Fig. 2 is the structural representation of another kind of files in stream media processing system that one embodiment of the invention is provided;
Fig. 3 is the structural representation of another files in stream media processing system that one embodiment of the invention is provided;
Fig. 4 is the structural representation of another files in stream media processing system that one embodiment of the invention is provided;
Fig. 5 is a kind of flow chart of streaming media file processing method that one embodiment of the invention is provided;
Fig. 6 is the flow chart of another kind of streaming media file processing method that one embodiment of the invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, a kind of files in stream media processing system is embodiments provided, including:
Section server 101, the stream pushing server 103 of service middleware 102 and at least one;Wherein,
The section server 101, for receiving target files in stream media, and the target files in stream media is decoded as At least two section files;Corresponding decoding time point is distinguished according to each described section file and forms program multicast flow table; Described at least two section files and the program multicast flow table are sent to the service middleware;
The service middleware 102, for receiving at least two section file and the program multicast flow table When, send query statement to stream pushing server each described 103 respectively;
The stream pushing server 103, for when the query statement of the transmission of the service middleware 102 is received, from institute State service middleware 102 and read at least two section file and the program multicast flow table.
In the above embodiment of the present invention, the target files in stream media of reception is decoded as multiple section texts by section server Part, and program multicast flow table is formed according to each corresponding decoding time point of section file difference, after by program multicast flow table Send to service middleware (such as router) with least two section files, stream pushing server can be being received in the middle of service At least two section files and program multicast flow table after the query statement that part sends in reading service middleware;As fully visible, Section server only needs the multiple section files for decoding it to be sent to service middleware, without being directly distributed to each Stream pushing server, distributes speed, and accordingly, stream pushing server can in time obtain multiple section files of files in stream media.
Further, the program multicast flow table that for convenience client terminal device reads according to the stream pushing server of correspondence connection The corresponding audio or video of target files in stream media is accurately played with least two section files, as shown in Fig. 2 the present invention one In individual preferred embodiment, the section server 101 includes:The construction unit 1012 of decoding unit 101 and first;Wherein,
The decoding unit 1011, cuts for the target files in stream media to be decoded as at least two according to preset duration Piece file, and the corresponding file name of current slice file is set;
First construction unit 1012, for distinguishing corresponding decoding time point according to each described section file, utilizes Each section file distinguishes corresponding file name and forms program multicast flow table.
For example, when the corresponding audio or video playing duration of target files in stream media that section server is received is During 30s, target files in stream media can be decoded as 30 section files by decoding unit according to preset duration (such as 1s), each It is 1s that section file distinguishes corresponding playing duration, and decoding unit can simultaneously arrange decoding when target files in stream media is decoded Each the section file for being formed afterwards distinguishes corresponding file name, such as with the corresponding decoding time point life of current slice file Name current slice file;Accordingly, the first construction unit distinguishes corresponding decoding time point according to each section file, utilizes Each corresponding file name formation program multicast flow table of section file difference, corresponding 30 for target files in stream media The corresponding sequential of playing of section file is defined, so that stream pushing server is receiving this 30 section files and program multicast After flow table, the client of correspondence connection can according to the program multicast flow table accurately play this 30 corresponding audio frequency of section file or Video.
It should be noted that when section server sends at least two section files to service middleware, should be with each Respectively corresponding acquisition time is foundation to individual section file, successively each section file is sent to clothes according to its time sequencing Business middleware.
Further, because will cut into slices file and corresponding program multicast flow table of server of cutting into slices is sent to service middleware Afterwards, may there is packet loss phenomenon in service middleware in file of cutting into slices, cause stream pushing server complete from service middleware Corresponding each the section file of target files in stream media is obtained, therefore, in order that stream pushing server can completely obtain correspondence Each section file of the target files in stream media, as shown in figure 3, in a preferred embodiment of the invention, the section clothes Business device 101, further includes:Memory cell 1013 and information transmitting unit 1014;Wherein,
The memory cell 1013, for storing each described section file;
Described information transmitting element 1014, for by described at least two cut into slices files, the program multicast flow table and The storage address that each described section file is corresponded to respectively in the memory cell 1013 is sent to the service middleware 102;
The stream pushing server 103, including:Request of data unit 1031, for receiving the service middleware 102 During the query statement of transmission, from the service middleware 102 at least two sections file, the program multicast flow table are read And each described section file corresponds to respectively the storage address in the memory cell 1013 of the section server 101.
It should be appreciated that memory cell can integrated setting same cut into slices server physical machine in, it is also possible to It is the physical machine separate with section server;Storage address can be the physical address of storage section file, it is also possible to when To should physical address the network address (such as URL address).
Accordingly, as shown in figure 3, in a preferred embodiment of the invention, the stream pushing server 103 also includes:Second Construction unit 1032, storage processing unit 1033 and download processing unit 1034;Wherein,
Second construction unit 1032, for building document directory structure according to the program multicast flow table;
The storage processing unit 1033, for according to the document directory structure storage at least two sections text Part;
The download processing unit 1034, for receiving each section file in the request of data unit 1031 When, the document directory structure is inquired about according to the program multicast flow table, it is located at currently with determining whether there is acquisition time Before section file corresponding target acquisition time and the target slice file that is not stored in the document directory structure, If it is, the storage according to target slice file correspondence in the memory cell 1013 of the section server 101 Location obtains the target slice file, and target slice file correspondence is stored to the document directory structure.
For example, request of data unit reads section file section file A, section file C, section from service middleware Mesh multicast flow table [A, B, C] and section file A, B, C correspond to respectively the storage address in the memory cell of section server, Second construction unit can build document directory structure, and file A, file B and file C are included under the file destination catalogue, Storage processing unit respectively stores section file A and section file C to the file A and file C of file destination catalogue, Download processing unit inquires about document directory structure according to program multicast flow table, it may be determined that acquisition time is located at section file C pair Before the target acquisition time answered and the target slice file B that is not stored in document directory structure under file B, this When, download processing unit can be according to the target slice file B correspondences that information receiving unit is received in the storage list of server of cutting into slices Storage address in unit obtains target slice file B, and target slice file is stored to the file B of document directory structure Under.
Further, as shown in figure 4, in a preferred embodiment of the invention, also including:At least one client 401;Its In, at least one client 401 is connected with least one stream pushing server 103;
The client 401, at least two section texts read according to the stream pushing server 103 of correspondence connection Part and program multicast flow table, play the audio or video of the correspondence target files in stream media.
For example, when stream pushing server reads section file A, B, C, and program multicast flow table from service middleware [A, B, C], client terminal device can respectively play section file A, B, C according to program multicast flow table with time sequencing, to realize Persistently play the audio or video of correspondence target files in stream media.
As shown in figure 5, embodiments providing a kind of based on the files in stream media as described in arbitrary in above-mentioned embodiment The method that processing system processes files in stream media, including:
Step 501, section server receives target files in stream media;
The target files in stream media is decoded as at least two section files by step 502, section server;
Step 503, section server distinguishes corresponding decoding time point and forms program according to each described section file Multicast flow table;
Step 504, section server sends described at least two section files and the program multicast flow table to described Service middleware;
Step 505, service middleware divides when at least two section file and the program multicast flow table is received Query statement is not sent to stream pushing server each described;
Step 506, stream pushing server when the query statement that the service middleware sends is received, from the service Between part read at least two sections file and program multicast flow table.
In a preferred embodiment of the invention, the target files in stream media is decoded as at least two by the section server Individual section file, including:Section server decoding unit according to preset duration by the target files in stream media be decoded as to Few two sections file, and the corresponding file name of current slice file is set;
The section server distinguishes corresponding decoding time point and forms program multicast according to each described section file Flow table, including:First construction unit of section server distinguishes corresponding decoding time point according to each described section file, Distinguish corresponding file name using each section file and form program multicast flow table.
In a preferred embodiment of the invention, the section server decoding unit according to preset duration by the mesh Mark files in stream media is decoded as at least two section files, and arranges after the corresponding file name of current slice file, also wraps Include:The memory cell of section server stores each described section file;
The section server sends described at least two section files and the program multicast flow table to the service Middleware, including:Section server information transmitting unit will described at least two section files, the program multicast flow table with And the storage address that each described section file is corresponded to respectively in the memory cell is sent to the service middleware;
The stream pushing server when the query statement that the service middleware sends is received, from the service middleware At least two section file and the program multicast flow table are read, including:The request of data unit of stream pushing server is connecing When receiving the query statement that the service middleware sends, from the service middleware read at least two sections file, The program multicast flow table and each described section file are corresponded to respectively in the memory cell of the section server Storage address.
In a preferred embodiment of the invention, also include:
A1:Second construction unit of stream pushing server builds document directory structure according to the program multicast flow table;
A2:The storage processing unit of stream pushing server is according to the document directory structure storage at least two sections text Part;
A3:The download processing unit of stream pushing server the request of data unit receive each section file when, The document directory structure is inquired about according to the program multicast flow table, to determine whether there is acquisition time positioned at current slice Before file corresponding target acquisition time and the target slice file that is not stored in the document directory structure, if It is that then the storage address according to target slice file correspondence in the memory cell of the section server obtains the mesh Mark section file, and target slice file correspondence is stored to the document directory structure.
In a preferred embodiment of the invention, also include:
At least two section files and program multicast flow table that client reads according to the stream pushing server of correspondence connection, broadcast It is rivals in a contest and answers the audio or video of the target files in stream media.
For the technical scheme of the clearer explanation embodiment of the present invention, below with by Streaming Media text as shown in Figure 4 Part processing system is processed as a example by files in stream media, and the processing method of files in stream media can include following each step.
Step 601, it is 15s target Streaming Medias that server 101 of cutting into slices receives the playing duration of radio server system offer File.
Target files in stream media is decoded as three by step 602, the decoding unit 1011 of server 101 of cutting into slices with preset duration Individual section file, and each corresponding file name of section file difference is set.
In the embodiment of the present invention, when preset duration as a example by 5s, decoding unit decoding target files in stream media available three Individual section file, using three sections, respectively three section files of corresponding decoding time point setting distinguish corresponding filename Referred to as A, B, C, wherein, the time order and function order of the corresponding decoding time point of each section file difference is A, B, C.
Step 603, memory cell 1013 storage section file A, B, C of server 101 of cutting into slices.
Step 604, the first construction unit 1012 of server 101 of cutting into slices distinguishes corresponding text using each section file Part title forms program multicast flow table [A, B, C].
Step 605, cut into slices server 101 information transmitting unit 1014 by program multicast flow table [A, B, C], section file A, B, C and section file A, B, C correspond to respectively section server 101 memory cell 1013 in storage address send to Service middleware.
In the embodiment of the present invention, information transmitting unit will cut into slices file when sending to service middleware, should be with text of cutting into slices The time order and function order of the corresponding decoding time point of part A, B, C difference, section file A, B, C are respectively sent in the middle of service Part.
Step 606, service middleware 102 is receiving program multicast flow table [A, B, C], section file A, B, C and is cutting When piece file A, B, C correspond to respectively the storage address in the memory cell 1013 for cutting into slices server 101, push away to each respectively Streaming server 103 sends query statement.
Step 607, stream pushing server 103 receive service middleware 102 transmission query statement when, stream pushing server 103 request of data unit 1031 read from service middleware 102 program multicast flow table [A, B, C], section file A, B, C with And section file A, B, C correspond to respectively the storage address in the memory cell 1013 of section server 101.
Step 608, the program that the second construction unit 1032 of stream pushing server 103 reads according to request of data unit 1031 Multicast flow table [A, B, C], builds document directory structure.
In the embodiment of the present invention, file A, file B and file C are may include in document directory structure.
Step 609, the storage processing unit 1033 of stream pushing server 103 utilizes the file of the structure of the second construction unit 1032 Each section file that bibliographic structure storage information receiving unit 1031 reads.
In the embodiment of the present invention, when receiving the section file that section server sends due to service middleware, it is understood that there may be The information receiving unit of packet loss phenomenon, i.e. stream pushing server possibly cannot completely read section server phase service middleware and send out The whole section files for sending, for example, when information receiving unit reads section file A and section file C, will can cut into slices File A and section file C are stored respectively to the file A and file C of document directory structure.
Step 610, the program that the download processing unit 1034 of stream pushing server 103 reads according to information receiving unit 1031 Multicast flow table [A, B, C] inquires about document directory structure, to determine whether there is acquisition time positioned at current slice file correspondence Target acquisition time before and be not stored to the target slice file of document directory structure;If it is, execution step 611;Otherwise, execution step 612.
In the embodiment of the present invention, it may be determined that there is the file B that target slice file B is not stored to document directory structure Under.
Step 611, the download processing unit 1034 of stream pushing server 103 takes according to target slice file B correspondences in section Storage address in the memory cell 1013 of business device 101, obtains target slice file B, and target slice file B is stored to text Under the file B of part bibliographic structure.
Step 612, client 401 is according to program multicast flow table [A, B, C], and the document directory structure of stream pushing server Section file A, B, C of middle storage, plays the audio or video of correspondence target files in stream media.
Each embodiment of the invention at least has the advantages that:
1st, in one embodiment of the invention, the target files in stream media of reception is decoded as multiple section texts by section server Part, and program multicast flow table is formed according to each corresponding decoding time point of section file difference, after by program multicast flow table Send to service middleware (such as router) with least two section files, stream pushing server can be being received in the middle of service At least two section files and program multicast flow table after the query statement that part sends in reading service middleware;As fully visible, Section server only needs the multiple section files for decoding it to be sent to service middleware, without being directly distributed to each Stream pushing server, distributes speed, and accordingly, stream pushing server can in time obtain multiple section files of files in stream media.
2nd, in one embodiment of the invention, each the section file for server storage target files in stream media of cutting into slices, while By each section file, respectively corresponding storage address is sent to stream pushing server to Jing service middlewares so that stream pushing server Detect fail it is complete read whole section files that section server sends to service middleware when, can be according to file of cutting into slices Storage address from section server in obtain section file.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply presence between these entities or operation Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non- Exclusiveness is included, so that a series of process, method, article or equipment including key elements not only includes those key elements, But also including other key elements being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element for being limited by sentence " including a 〃 ", does not arrange Except also there is other identical factor in including the process of the key element, method, article or equipment.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of files in stream media processing system, it is characterised in that include:
Section server, service middleware and at least one stream pushing server;Wherein,
The section server, for receiving target files in stream media, and is decoded as at least two by the target files in stream media Individual section file;Corresponding decoding time point is distinguished according to each described section file and forms program multicast flow table;Will be described At least two section files and the program multicast flow table are sent to the service middleware;
The service middleware, for when at least two section file and the program multicast flow table is received, distinguishing Query statement is sent to stream pushing server each described;
The stream pushing server, for when the query statement that the service middleware sends is received, from the middle of the service Part reads at least two section file and the program multicast flow table.
2. files in stream media processing system according to claim 1, it is characterised in that
The section server includes:Decoding unit and the first construction unit;Wherein,
The decoding unit, for the target files in stream media to be decoded as at least two section files according to preset duration, And the corresponding file name of current slice file is set;
First construction unit, for distinguishing corresponding decoding time point according to each described section file, is cut using each Piece file distinguishes corresponding file name and forms program multicast flow table.
3. files in stream media processing system according to claim 2, it is characterised in that
The section server, further includes:Memory cell and information transmitting unit;Wherein,
The memory cell, for storing each described section file;
Described information transmitting element, for described at least two to be cut into slices files, the program multicast flow table and each institute State the section storage address that corresponds to respectively in the memory cell of file to send to the service middleware;
The stream pushing server, including:Request of data unit, for receiving the query statement that the service middleware sends When, from the service middleware read it is described at least two section file, the program multicast flow table and each described in cut Piece file corresponds to respectively the storage address in the memory cell of the section server.
4. files in stream media processing system according to claim 3, it is characterised in that
The stream pushing server, also includes:Second construction unit, storage processing unit and download processing unit;Wherein,
Second construction unit, for building document directory structure according to the program multicast flow table;
The storage processing unit, for according to the document directory structure storage at least two sections file;
The download processing unit, for when the request of data unit receives each section file, according to the section Mesh multicast flow table inquires about the document directory structure, corresponding positioned at current slice file to determine whether there is acquisition time Before target acquisition time and the target slice file that is not stored in the document directory structure, if it is, according to Storage address of the target slice file correspondence in the memory cell of the section server obtains the target slice text Part, and target slice file correspondence is stored to the document directory structure.
5. according to arbitrary described files in stream media processing system in Claims 1-4, it is characterised in that also include:At least one Individual client;Wherein, at least one client is connected with least one stream pushing server;
The client, for according at least two section files and program set of the stream pushing server reading of correspondence connection Flow table is broadcast, the audio or video of the correspondence target files in stream media is played.
6. a kind of method that files in stream media is processed based on arbitrary described files in stream media processing system in claim 1 to 5, Characterized in that, including:
Section server receives target files in stream media;
The target files in stream media is decoded as at least two section files by section server;
Section server distinguishes corresponding decoding time point and forms program multicast flow table according to each described section file;
Section server sends described at least two section files and the program multicast flow table to the service middleware;
Service middleware is receiving at least two section file and during the program multicast flow table, respectively to each institute State stream pushing server and send query statement;
Stream pushing server reads described when the query statement that the service middleware sends is received from the service middleware At least two section files and the program multicast flow table.
7. method according to claim 6, it is characterised in that
The target files in stream media is decoded as at least two section files by the section server, including:Section server Decoding unit the target files in stream media is decoded as by least two section files according to preset duration, and arrange and currently cut The corresponding file name of piece file;
The section server distinguishes corresponding decoding time point and forms program multicast flow table according to each described section file, Including:First construction unit of section server distinguishes corresponding decoding time point according to each described section file, utilizes Each section file distinguishes corresponding file name and forms program multicast flow table.
8. method according to claim 7, it is characterised in that
The target files in stream media is decoded as at least two according to preset duration in the decoding unit of the section server Section file, and arrange after the corresponding file name of current slice file, also include:The memory cell storage of section server Each described section file;
The section server sends described at least two section files and the program multicast flow table to the service Part, including:The information transmitting unit of section server described at least two will cut into slices files, the program multicast flow table and often One section storage address for corresponding to respectively in the memory cell of file is sent to the service middleware;
The stream pushing server reads when the query statement that the service middleware sends is received from the service middleware At least two section file and the program multicast flow table, including:The request of data unit of stream pushing server is being received During the query statement that the service middleware sends, from the service middleware at least two sections file, described is read Program multicast flow table and each described section file correspond to respectively the storage in the memory cell of the section server Address.
9. method according to claim 8, it is characterised in that also include:
Second construction unit of stream pushing server builds document directory structure according to the program multicast flow table;
The storage processing unit of stream pushing server is according to the document directory structure storage at least two sections file;
The download processing unit of stream pushing server the request of data unit receive each section file when, according to described Program multicast flow table inquires about the document directory structure, to determine whether there is acquisition time positioned at current slice file correspondence Target acquisition time before and the target slice file that is not stored in the document directory structure, if it is, root The target slice is obtained according to storage address of the target slice file correspondence in the memory cell of the section server File, and target slice file correspondence is stored to the document directory structure.
10. according to arbitrary described method in claim 6 to 9, it is characterised in that also include:
At least two section files and program multicast flow table that client reads according to the stream pushing server of correspondence connection, it is right to play Answer the audio or video of the target files in stream media.
CN201610835480.2A 2016-09-20 2016-09-20 Streaming media file processing system and streaming media file processing method Pending CN106657218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610835480.2A CN106657218A (en) 2016-09-20 2016-09-20 Streaming media file processing system and streaming media file processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610835480.2A CN106657218A (en) 2016-09-20 2016-09-20 Streaming media file processing system and streaming media file processing method

Publications (1)

Publication Number Publication Date
CN106657218A true CN106657218A (en) 2017-05-10

Family

ID=58852024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610835480.2A Pending CN106657218A (en) 2016-09-20 2016-09-20 Streaming media file processing system and streaming media file processing method

Country Status (1)

Country Link
CN (1) CN106657218A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426629A (en) * 2017-06-19 2017-12-01 网宿科技股份有限公司 A kind of streaming media file processing method and live broadcast system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883255A (en) * 2010-06-17 2010-11-10 中兴通讯股份有限公司 Processing system and method thereof for ordering programs in interactive network television
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
CN105376612A (en) * 2014-08-26 2016-03-02 华为技术有限公司 Video playing method, media equipment, playing equipment and multimedia system
CN105430510A (en) * 2015-12-02 2016-03-23 北京四达时代软件技术股份有限公司 Video on demand method, gateway, smart terminal and video on demand system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883255A (en) * 2010-06-17 2010-11-10 中兴通讯股份有限公司 Processing system and method thereof for ordering programs in interactive network television
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
CN105376612A (en) * 2014-08-26 2016-03-02 华为技术有限公司 Video playing method, media equipment, playing equipment and multimedia system
CN105430510A (en) * 2015-12-02 2016-03-23 北京四达时代软件技术股份有限公司 Video on demand method, gateway, smart terminal and video on demand system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426629A (en) * 2017-06-19 2017-12-01 网宿科技股份有限公司 A kind of streaming media file processing method and live broadcast system

Similar Documents

Publication Publication Date Title
EP2888892B1 (en) Communication receiver
JP2007011928A5 (en)
CN103078847B (en) Method for storing and reading multi-code-rate stream file and relevant device
CN102843351A (en) Streaming media service processing method, streaming media server and system
CN101789975B (en) Method and system for download contents of PVOD (push video on demand) business
CN102710966A (en) Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)
RU2007105492A (en) GROUPING OF SESSION OBJECTS
CN105323597B (en) MP4 document play-back method, treating method and apparatus and play system
WO2013159703A1 (en) Offline download method, multimedia file download method and system thereof
CN105376612A (en) Video playing method, media equipment, playing equipment and multimedia system
CN105185391A (en) Method and device for multi-user sound box control
CN103716662A (en) Mixed transmission method and server
CN104902343A (en) Methods for transmitting and playing audio/video and message, server and terminal
CN101588287B (en) Method, device and system for scheduling and downloading peer-to-peer network data
EP1887719A3 (en) Web service provision system and web service provision method for providing digital broadcast receiver terminal with web service
CN103051976A (en) Method, system and equipment for distributing HLS (HyperText Transfer Protocol Living Steaming) content by CDN (Content Distribute Network)
CN101447882A (en) Method and device for playing advertisement
CN104702978B (en) A kind of method and netcast equipment of video data positioning
CN105100839A (en) Video file downloading method, device, server and terminal equipment
CN105117490A (en) Method and device for displaying lyrics of song played by intelligent sound box
CN101827078A (en) Inquiry method, server and communication system for configured data difference
CN101127827B (en) System and method for optimizing transmission of ESG data in DVB-H system
CN106686083A (en) Video file downloading method and device
CN103763575B (en) A kind of programme method of combination and device
CN104080017A (en) Method, device and system for playing tab files

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication