[go: up one dir, main page]

CN107920072A - A kind of multimedia sharing method and system based on data characteristics - Google Patents

A kind of multimedia sharing method and system based on data characteristics Download PDF

Info

Publication number
CN107920072A
CN107920072A CN201711135370.6A CN201711135370A CN107920072A CN 107920072 A CN107920072 A CN 107920072A CN 201711135370 A CN201711135370 A CN 201711135370A CN 107920072 A CN107920072 A CN 107920072A
Authority
CN
China
Prior art keywords
seed
server
seed node
data
stream
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
CN201711135370.6A
Other languages
Chinese (zh)
Other versions
CN107920072B (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.)
Shenzhen xiaoxiliu Technology Co.,Ltd.
Original Assignee
Shenzhen Aok Polytron Technologies Inc
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 Shenzhen Aok Polytron Technologies Inc filed Critical Shenzhen Aok Polytron Technologies Inc
Priority to CN201711135370.6A priority Critical patent/CN107920072B/en
Publication of CN107920072A publication Critical patent/CN107920072A/en
Application granted granted Critical
Publication of CN107920072B publication Critical patent/CN107920072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

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

Abstract

The present invention provides a kind of multimedia sharing method and system based on data characteristics, belongs to multimedia application field.The method of the present invention includes:Seed node is registered to seed server;Seed node draws stream, and buffer multimedia data stream to the server for providing direct broadcast service;Parse and extract the characteristic value of the key frame, characteristic value is associated with the address of key frame;Client obtains optimal seed node list to seed server, and initiates to draw to optimal seed node and flow request;Seed node judges draw in stream request whether carry characteristic value, if not, unwrap to originate from first data and send, if so, according to characteristic value query caching data, if there is this feature value, then send data, if it does not, replying request failure message, client is initiated to draw stream request according to the priority of optimal seed node list to suboptimum seed node.The present invention can effectively reduce network delay, cut operating costs.

Description

A kind of multimedia sharing method and system based on data characteristics
Technical field
The present invention relates to multimedia application field, more particularly to a kind of multimedia sharing method based on data characteristics and it is System.
Background technology
As internet environment is more and more ripe, the continuous upgrading of internet hardware, people are obtained with same cost The network bandwidth of higher and more preferable online experience were obtained, Web TV also just comes into being.
Web TV provides direct broadcast service.The scale of direct broadcast service also rapidly increases with the growth of number of users, fortune Battalion side must put into more man power and materials, so as to bring the operation cost of higher, these costs will certainly spread out user With.Meanwhile the high programme televised live of requirement of real-time is not deposited generally in whole distribution procedure and playing process, and live section Mesh stream is the concept for not possessing continuously the same document misregistration of program request file and size, thus can not picture point broadcast one Sample uses data sharing by the method for similar P2P file downloads.
Generally using HLS, (HTTP Live Streaming, are the adaptive skills of dynamic code rate of Apple to direct-broadcasting P 2 P at present Art) technology or live data is carried out it is various cut into slices and be encoded to media data packet, this can solve data point better The problem of enjoying.But in the high place of requirement of real-time, then these technologies just do not apply to.
Also some P2P technologies use the method that data are established with index necessarily to cause in transmission over networks, this method Can not be compatible with standard agreement, and extra byte space is needed in network transmission process to store the data of index, this is same When also reduce the utilization rate of bandwidth.
The content of the invention
To solve the problems of the prior art, the present invention provides a kind of multimedia sharing method based on data characteristics, also A kind of system for realizing the multimedia sharing method is provided.Compatibility and bandwidth utilization rate problem can be efficiently solved, It can guarantee that and showed well on the hardware device of low side.
The method of the present invention includes following steps:
A:Seed node is registered to seed server;
B:Seed node draws stream, and buffer multimedia data stream to the server for providing direct broadcast service;
C:Seed node parses multimedia data stream key frame, extracts the characteristic value of the key frame, and by characteristic value with The address of corresponding key frame in memory is associated;
D:Client obtains optimal seed node list to seed server, and optimal into optimal seed node list Seed node initiates to draw stream request;
E:Seed node judges draw in stream request whether carry characteristic value, is sent if not, unwrapping to originate from first data, If so, according to characteristic value query caching data, if being worth corresponding pass from this feature there are this feature value in data cached The next frame of key frame starts to send data, if it does not, replying request failure message;
F:Client receives the multimedia data stream that seed node is sent, if request failure, according to optimal seed section The priority of point list is initiated to draw stream request to suboptimum seed node.
The present invention is further improved, and in step C, multimedia data stream section stores for GOP data packets, each GOP Data packet corresponds to an incidence relation, and each incidence relation further includes current time stamp.
The present invention is further improved, and is stored the time of data and can be configured according to demand, and accumulated time exceedes setting Threshold value, then abandon earliest GOP data packets.
The present invention is further improved, and in step D, seed server is according to the network parameter of seed node and apart from visitor The distance at family end, which calculates, obtains optimal seed list.
The present invention is further improved, and in step E, in the drawing stream request of client first time, does not carry characteristic value, from First data is unwrapped the beginning and is received, if client received data packet, in the drawing stream request more than second, carries spy Value indicative.
The present invention is further improved, in step F, if all of seed node all request failures, then to offer Live server draws stream.
The present invention also provides a kind of system for realizing the multimedia sharing method, including seed node, client, seed Server and direct broadcast server, wherein, the seed node, which is used to draw to direct broadcast server, to flow, and caches live data streams;Kind Child servers are used for registered seed node, calculate optimal seed node list and are sent to the client that stream is drawn in request;Client For obtaining optimal seed node to seed server and obtaining multimedia data stream to optimal seed node;The direct broadcast service Device is used to provide multimedia data stream.
The present invention is further improved, and the direct broadcast server includes acquisition server, more than one source station server, one A above Edge Server, wherein, the acquisition server is serviced to source station server plug-flow, the Edge Server to source station Device draws stream.
The present invention is further improved, and the seed node includes set-top box, PC ends.
The present invention is further improved, and the client includes Web TV, PC ends, mobile phone, tablet.
Compared with prior art, the beneficial effects of the invention are as follows:Consumption and EMS memory occupation pole to the computing resource of equipment It is few;Agreement need not be customized when sending data, network bandwidth utilization factor is high;By this shared mechanism, client can be with Nearest node live data is pulled, network delay is reduced, user experience can be significantly improved, cut operating costs.
Brief description of the drawings
Fig. 1 is the method for the present invention flow chart;
Fig. 2 draws stream and data cached schematic diagram for seed node;
Fig. 3 is client, seed node and seed server interact schematic diagram;
Fig. 4 is present system structure diagram.
Embodiment
The present invention is described in further details with reference to the accompanying drawings and examples.
As shown in figure 4, the multimedia shared system of the present invention includes seed node, client, seed server and live Server, wherein, the direct broadcast server includes acquisition server, more than one source station server, more than one edge service Device, the source station server of this example is 3, respectively source station server A, source station server B, source station server C, Edge Server There are four, respectively Edge Server A, Edge Server B, Edge Server C, Edge Server D, wherein, the collection clothes Device be engaged in source station server plug-flow, the Edge Server is drawn to source station server to flow.
The seed node draws stream broadcasting according to the content of selection to corresponding Edge Server, and caches live data Stream, this example include two seed nodes, i.e. seed node A and STB-B (implication of STB is set-top box);Seed node outwards carries For can also carry out other normal operations while service, kind sub-services run on FTP client FTP as a background service In.
Seed server (that is to say the Tracker servers in Fig. 4) is used for registered seed node, calculates optimal seed section Point list is simultaneously sent to the client that stream is drawn in request;Client is used to obtain optimal seed node and to optimal to seed server Seed node obtains multimedia data stream.
Wherein, the seed node of this example includes set-top box, PC ends etc., but is not limited to both, or network electricity Depending on waiting intelligent terminal.The client of this example can be the intelligent terminals such as Web TV, PC ends, mobile phone, tablet.
As shown in Figure 1, the method for the present invention is realized based on said system, specifically comprise the following steps:
Step A:Seed node is registered to seed server.
This example sets up a Tracker server, for supporting the client behind fire wall to carry out communication and each kind The registration of child node.Registration request is initiated to Tracker servers when seed node starts, with outwards exposing the outlet TP of itself Location and port, facilitate other-end to draw stream service to its initiation by udp protocol.After seed node registration, each client is led to The shared seed node information of respective request program can be obtained by crossing Tracker servers.
Step B:Seed node draws stream, and buffer multimedia data stream to the server for providing direct broadcast service.
Usually, the client as seed node is initiated to draw to Edge Server flows request, and maintains several sections Data, ensure real-time.
Step C:Seed node parses multimedia data stream key frame, extracts the characteristic value of the key frame, and by feature Address of the value with corresponding key frame in memory is associated.
As shown in Fig. 2, the seed node of this example obtains GOP (Group of Pictures, picture from Edge Server Group, a GOP are exactly one group of continuous picture), then the GOP of each section is stored respectively, and according to drawing stream protocol parsing Go out key frame, and the characteristic value of the key frame is obtained by algorithm, and this feature value is related in the address of memory to key frame Connection, each incidence relation take current time stamp, and the time for storing these data can configure, more than the data of this threshold value It can normally be recycled, for example abandon earliest GOP.The live data streams that seed node is collected in memory close by holding order System.
Step D:Client obtains optimal seed node list to seed server, and into optimal seed node list Optimal seed node initiates to draw stream request.
At this time, if client will watch programme televised live, with Tracker server communications, acquisition request to be seen section The optimal seed node list of purpose, network parameter of the Tracker servers according to seed node and the distance meter apart from client Calculate and obtain optimal seed list, be sent to client, then client according to the priority of optimal seed node list first Initiate to draw stream request to optimal seed node, draw the characteristic value only with last GOP of originating end in stream request.Client The interaction at end, seed node and Tracker servers is as shown in Figure 3.
Step E:Seed node judges draw in stream request whether carry characteristic value, if not, unwrapping the beginning from first data Send, if so, according to characteristic value query caching data, if there are this feature value in data cached, from this feature value pair The next frame for the key frame answered starts to send data, if it does not, replying request failure message.
Specifically, when client is sent for the first time to seed node draws stream request, because not any in client-cache Data, then drawing stream request at this time does not carry characteristic value, after seed node receives the drawing stream situation of client, from first number Sent according to unwrapping to originate.If interrupted because certain reason is sent, when client sends drawing stream request to seed node again, because of client Data packet has been there are in the caching of end, therefore, the characteristic value of asked key frame can have been carried in drawing stream request at this time, due to Data source is identical, so no matter in any client, always the data of key frame are constant, characteristic value is namely 's.
After seed node receives the drawing stream request for carrying characteristic value, characteristic value and the caching number in self EMS memory can be directed to According to being matched, if deserved, illustrate that the key frame exists in the buffer, then directly since the next frame of the key frame Data are sent, if without caching in memory, reply request failure message, request end can be adopted according to receiveing the response at this time With suitable operation.
Step F:Client receives the multimedia data stream that seed node is sent, if request failure, according to optimal kind The priority of child list is initiated to draw stream request to suboptimum seed node.
In this example, if the optimal seed list in optimal seed node list can be incited somebody to action there is no the key frame of request The optimal seed list is deleted, and client can send to the second excellent seed node and draw stream request, if the second excellent seed section Point is still not present, then deletes the second excellent seed node, and the seed node excellent to the 3rd, which is sent, draws stream request, and so on. If all of seed node all request failures, then directly stream is drawn to the Edge Server for providing the program.
By above method as can be seen that the present invention only takes up seldom in addition to caching live data on a client device Memory preserve the mapping relations of these data, and the consumption to the computing resource of equipment is also few.Sending number According to when need not customize agreement, network bandwidth utilization factor is high;Unnecessary network broadband is reduced to waste.Pass through this shared machine System, client can pull nearest node live data, reduce network delay, can significantly improve user experience, reduce operation Cost.
The embodiment of the above is the better embodiment of the present invention, not limits the specific of the present invention with this Practical range, the scope of the present invention includes being not limited to present embodiment, all equal according to the equivalence changes of the invention made Within the scope of the present invention.

Claims (10)

1. a kind of multimedia sharing method based on data characteristics, it is characterised in that include the following steps:
A:Seed node is registered to seed server;
B:Seed node draws stream, and buffer multimedia data stream to the server for providing direct broadcast service;
C:Seed node parses multimedia data stream key frame, extracts the characteristic value of the key frame, and by characteristic value with it is corresponding Key frame address in memory be associated;
D:Client obtains optimal seed node list, and the optimal seed into optimal seed node list to seed server Node initiates to draw stream request;
E:Seed node judges draw in stream request whether carry characteristic value, is sent if not, unwrapping to originate from first data, if It is, according to characteristic value query caching data, if being worth corresponding key frame from this feature there are this feature value in data cached Next frame start send data, if it does not, reply request failure message;
F:Client receives the multimedia data stream that seed node is sent, if request failure, arranges according to optimal seed node The priority of table is initiated to draw stream request to suboptimum seed node.
2. multimedia sharing method according to claim 1, it is characterised in that:In step C, multimedia data stream section Stored for GOP data packets, each GOP data packets correspond to an incidence relation, and each incidence relation further includes current time stamp.
3. multimedia sharing method according to claim 3, it is characterised in that:The time for storing data can be according to demand Configuration, accumulated time exceed the threshold value of setting, then abandon earliest GOP data packets.
4. multimedia sharing method according to claim 1, it is characterised in that:In step D, seed server is according to kind The network parameter of child node and the optimal seed list of distance calculating acquisition apart from client.
5. multimedia sharing method according to claim 1, it is characterised in that:In step E, the drawing of client first time In stream request, characteristic value is not carried, unwrapping the beginning from first data receives, if client received data packet, second In drawing stream request more than secondary, characteristic value is carried.
6. multimedia sharing method according to claim 1, it is characterised in that:In step F, if all of seed section Point all request failures, then draw stream to the live server of offer.
A kind of 7. system for realizing claim 1-6 any one of them multimedia sharing methods, it is characterised in that including:Seed Node, client, seed server and direct broadcast server, wherein, the seed node, which is used to draw to direct broadcast server, to flow, and delays Deposit live data streams;Seed server is used for registered seed node, calculates optimal seed node list and is sent to request and draws stream Client;Client is used to obtain optimal seed node to seed server and obtains multi-medium data to optimal seed node Stream;The direct broadcast server is used to provide multimedia data stream.
8. multimedia sharing method according to claim 7, it is characterised in that:The direct broadcast server includes collection and services Device, more than one source station server, more than one Edge Server, wherein, the acquisition server to source station server plug-flow, The Edge Server is drawn to source station server to flow.
9. multimedia sharing method according to claim 8, it is characterised in that:The seed node includes set-top box, PC End, the seed node is drawn to Edge Server to flow.
10. multimedia sharing method according to claim 7, it is characterised in that:The client includes Web TV, PC End, mobile phone, tablet.
CN201711135370.6A 2017-11-14 2017-11-14 Multimedia sharing method and system based on data characteristics Active CN107920072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711135370.6A CN107920072B (en) 2017-11-14 2017-11-14 Multimedia sharing method and system based on data characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711135370.6A CN107920072B (en) 2017-11-14 2017-11-14 Multimedia sharing method and system based on data characteristics

Publications (2)

Publication Number Publication Date
CN107920072A true CN107920072A (en) 2018-04-17
CN107920072B CN107920072B (en) 2021-02-09

Family

ID=61896402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711135370.6A Active CN107920072B (en) 2017-11-14 2017-11-14 Multimedia sharing method and system based on data characteristics

Country Status (1)

Country Link
CN (1) CN107920072B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491937A (en) * 2019-09-11 2021-03-12 北京陌陌信息技术有限公司 Data transmission method, device, equipment and storage medium
CN113114761A (en) * 2021-04-12 2021-07-13 中共陕西省委党校 Data sharing exchange excitation system and method based on distributed service
CN114173145A (en) * 2021-12-08 2022-03-11 四川启睿克科技有限公司 HLS protocol-based dynamic code rate low-delay live broadcast method
CN114466022A (en) * 2021-12-31 2022-05-10 苏州浪潮智能科技有限公司 A method, device and medium for obtaining a server seed node in a cluster

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902445A (en) * 2009-05-27 2010-12-01 北京汉铭通信有限公司 Multi-media data downloading system and video system based on network
CN102594926A (en) * 2011-12-22 2012-07-18 华中科技大学 Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method
CN105451096A (en) * 2015-12-02 2016-03-30 北京暴风科技股份有限公司 Webcast system and webcast method
CN106817613A (en) * 2015-11-30 2017-06-09 腾讯科技(深圳)有限公司 Realize the method and apparatus that audio-video frequency content is played
US20170337540A1 (en) * 2016-05-23 2017-11-23 Mastercard International Incorporated Method of using bioinformatics and geographic proximity to authenticate a user and transaction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902445A (en) * 2009-05-27 2010-12-01 北京汉铭通信有限公司 Multi-media data downloading system and video system based on network
CN102594926A (en) * 2011-12-22 2012-07-18 华中科技大学 Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method
CN106817613A (en) * 2015-11-30 2017-06-09 腾讯科技(深圳)有限公司 Realize the method and apparatus that audio-video frequency content is played
CN105451096A (en) * 2015-12-02 2016-03-30 北京暴风科技股份有限公司 Webcast system and webcast method
US20170337540A1 (en) * 2016-05-23 2017-11-23 Mastercard International Incorporated Method of using bioinformatics and geographic proximity to authenticate a user and transaction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491937A (en) * 2019-09-11 2021-03-12 北京陌陌信息技术有限公司 Data transmission method, device, equipment and storage medium
CN113114761A (en) * 2021-04-12 2021-07-13 中共陕西省委党校 Data sharing exchange excitation system and method based on distributed service
CN113114761B (en) * 2021-04-12 2022-09-20 中共陕西省委党校 Data sharing exchange excitation system and method based on distributed service
CN114173145A (en) * 2021-12-08 2022-03-11 四川启睿克科技有限公司 HLS protocol-based dynamic code rate low-delay live broadcast method
CN114466022A (en) * 2021-12-31 2022-05-10 苏州浪潮智能科技有限公司 A method, device and medium for obtaining a server seed node in a cluster
CN114466022B (en) * 2021-12-31 2023-07-21 苏州浪潮智能科技有限公司 A method, device and medium for obtaining server seed nodes in a cluster

Also Published As

Publication number Publication date
CN107920072B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
KR101190534B1 (en) Access/edge node supporting multiple video streaming services using a single request protocol
US9158769B2 (en) Systems and methods for network content delivery
US9450818B2 (en) Method and system for utilizing a gateway to enable peer-to-peer communications in service provider networks
CN101394423B (en) Media positioning, searching method and system
US20120023533A1 (en) Method and apparatus for delivery of internet protocol television service
CN102263988B (en) Message service realization method of internet protocol television (IPTV) and system thereof
US20200021859A1 (en) Multicast implementation method and related network device
CN107920072A (en) A kind of multimedia sharing method and system based on data characteristics
CN109379254B (en) Network connection detection method and system based on video conference
CN101267531A (en) An interactive network TV system and its realization method
CN101521583A (en) Resource admission control method, system and device
CN107547517B (en) Audio and video program recording method, network equipment and computer device
Pandey et al. The Evolution of Over the Top (OTT): Standardization, Key Players and Challenges.
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN101471855A (en) Communication equipment and application method and system thereof
CN109302384A (en) A kind of processing method and system of data
CN104486639A (en) Community information publication mechanism and publication system
WO2023083136A1 (en) Live broadcasting method, system, bier controller, router, device, and readable medium
Mandal et al. Intelligent pre-fetching to reduce channel switching delay in IPTV systems
CN110572703A (en) Multimedia data synchronous playing method, system, terminal and storage medium
Adeliyi et al. Fast channel navigation of internet protocol television using adaptive hybrid delivery method
CN110445761A (en) A kind of video drawing stream method and device
CN105100147A (en) Controlmethod and device based on separation of content provider and service provider
CN101188740A (en) Multicast method for living broadcast network TV
CN106330751B (en) Resource dynamic request time window and terminal caching method under heterogeneous network transmission

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210524

Address after: 1403a, building B, innovation building, 198 Daxin Road, majialong community, Nantou street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen xiaoxiliu Technology Co.,Ltd.

Address before: 518000 East, 7th floor, Yizhe building, Yuquan Road, Nanshan District, Shenzhen City, Guangdong Province (office only)

Patentee before: SHENZHEN SVI TECHNOLOGY Co.,Ltd.