CN104283873B - Realization method and system based on digital media server under many network card equipments - Google Patents

Realization method and system based on digital media server under many network card equipments Download PDF

Info

Publication number
CN104283873B
CN104283873B CN201410508593.2A CN201410508593A CN104283873B CN 104283873 B CN104283873 B CN 104283873B CN 201410508593 A CN201410508593 A CN 201410508593A CN 104283873 B CN104283873 B CN 104283873B
Authority
CN
China
Prior art keywords
dms
message
network interface
address
equipment
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.)
Expired - Fee Related
Application number
CN201410508593.2A
Other languages
Chinese (zh)
Other versions
CN104283873A (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 Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201410508593.2A priority Critical patent/CN104283873B/en
Publication of CN104283873A publication Critical patent/CN104283873A/en
Application granted granted Critical
Publication of CN104283873B publication Critical patent/CN104283873B/en
Expired - Fee Related 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the realization method and system of digital media server.Method includes step:S1, DMS obtain title and the address of multiple network interface cards;S2, DMS monitor the message from DMP equipment that multiple network interface cards are received;S3, DMS download message are simultaneously parsed to message;S4, DMS compare informed source address and multiple NIC address, and selection NIC address and informed source address are set up with DMP equipment in the network interface card of the same network segment and be connected.System includes DMS, DMP equipment and many network card equipments for connecting DMS and DMP equipment.The present invention is by improving automatic discovery agreement and media presentation algorithm, ensure that the DMP equipment on multiple network interface cards can normally find DMS, presentation list is excessively slow in solving the problems, such as data packetloss and navigation process, while so that digital media server realizes easy to operate, the expense that economizes on resources, the flexibility for improving whole system and reliability.The composite can be widely applied to various digital media servers.

Description

Realization method and system based on digital media server under many network card equipments
Technical field
The present invention relates to digital information transmission control field, more particularly to a kind of implementation method of digital media server, The invention also discloses a kind of digital media server system.
Background technology
DLNA:Digital Living Network Alliance, establishment, purport are initiated by Sony, Intel, Microsoft etc. Solving individual PC, consumer appliances, the specification that mobile device interconnects in interior wireless network and cable network.
DMS:Digital Media Server, digital media server, there is provided the acquisition of media archives, recording, storage Deposit and as the ability in source.
DMP:Digital Media Player, digital media player, this device refers to can be found and play on line Or the ability of any media archives provided by DMS is provided.
SSDP:Simple Service Discovery Protocol, SSDP is a kind of application layer Agreement, there is provided the mechanism of discovering device inside localized network.
NOTIFY multicasts:A kind of multicast protocol.
DVB:Digital Video Broadcasting, DVB is by a series of states of DVB project maintenances The DTV Open Standard that border recognizes.
XML:Extensible markup language, the subset of standard generalized markup language, one kind has it for marking e-file There is structural markup language.
TS:A kind of Transport Stream, packet can insert the data of many types in TS streams, such as regard Frequently, audio, self-defined information etc..
SOAP:Simple Object Access Protocol, is a kind of protocol specification of exchange data, is a kind of light weight, simple, base In the agreement of XML, it is designed to exchange structuring and solidification information on WEB.
Base64:It is most commonly used for transmitting one of coded system of 8Bit syllabified codes on network.
With the development of network, increasing embedded device configures multiple network interface cards and is used for meeting different application simultaneously The demand of scape, and each network interface card possesses different addresses.Due to using SSDP agreements in DLNA for completing distinct device Automatic discovery, must be tied on corresponding network interface card which limits DLNA device, realize receiving, send multicast and unicast and disappear Breath.
In the prior art, most of DMS equipment requires that user manually selects network interface card, or obtains first effective network interface card Bound, monitored SSDP message, such user just must be turned on multiple answering if necessary to realize DMS functions on all network interface cards With.For embedded device, when using multiple applications are opened, either internal memory and CPU can largely take.As DMS is needed When sharing the resource in DVB the rendition lists or movable memory equipment, all of application all has to listen to correspondence event, sweeps Related data is retouched, this causes efficiency too low, difficult management is played simultaneously for DVB programs.Specifically, for Set Top Box, Cable modem is reached the standard grade slow, if cable modem is just reached the standard grade after DMS reaches the standard grade, is not obtained when starting due to DMS The IP address of power taking cable modem correspondence network interface card, this set-top box DMS cannot start on corresponding network interface card.
In sum, there is problems with prior art:
1st, network interface card, inconvenient operation are manually selected.
2nd, bind fixed network interface card and take ample resources.For Set Top Box, also bring after set-top-box opening, it is necessary to wait Cable modem is reached the standard grade the problem that can normally start.
The content of the invention
In order to solve the above-mentioned technical problem, it is an object of the invention to provide one kind it is easy to operate, can flexibly, intelligent selection net The implementation method of the digital media server of card.
In order to solve the above-mentioned technical problem, it is easy to operate it is a further object to provide one kind, can flexibly, intelligently Select the digital media server system of network interface card.
The technical solution adopted in the present invention is:
A kind of implementation method based on digital media server under many network card equipments, it includes step:S1, DMS obtain many The title of network card equipment multiple network interface card and address;S2, DMS monitor the message from DMP equipment that multiple network interface cards are received;S3, DMS download messages are simultaneously parsed to message, judge the message if DMS equipment is searched message or browses message, then parsed The source address of message;S4, DMS compare informed source address and multiple NIC address, select NIC address and message Source address is set up with DMP equipment in the network interface card of the same network segment and is connected.
Preferably, the step S4 specifically includes sub-step:S41, DMS enter informed source address and multiple NIC address Row is compared;S42, DMS select NIC address and informed source address in the network interface card of the same network segment;S43, DMS use the net of selection Card address is packaged into DMS routing informations;DMS routing informations are unicast to corresponding DMP equipment by S44, DMS, by the net for selecting Card is set up with DMP equipment and is connected.
Preferably, step is also included between the step S1 and S2:S11, DMS timing on multiple network interface cards, by multiple nets Card address is spliced into network interface card PATH, by NOTIFY multicasts, notifies that the DMP equipment DMS in LAN is online;S12, DMS Monitor NIC address change, when NIC address change is found or when increasing network interface card newly or deleting network interface card, preserve newest network interface card title and Address, network interface card PATH is spliced into and by NOTIFY multicasts by newest NIC address, notifies the DMP equipment in LAN DMS is online.
Preferably, the NIC address is network interface card IP address.
Preferably, the step S3 specifically also includes sub-step:S31, DMS according to the length of message maximum response time, Arrangement in order is processed in being submitted to the message queue of different priorities.
Preferably, it also includes step:S5, DMS monitor program/contents list change, there is provided give DMP equipment newest program Content.
Preferably, the step S5 specifically includes sub-step:S51, DMS monitor program/contents list change;S52, when When DMS monitoring program/contents lisies change, a copy is first set up, DMS programs/content indexing pointer is pointed into copy, Program/content discharge simultaneously before;S53, DMS send the DMP equipment that program/content update message informing has been subscribed to.
Preferably, it also includes step:S6, DMS are tested and are calculated the connection speed between DMS and DMP equipment, and root Suitable code check and/or resolution ratio are selected according to connection speed, notifies that transcoding module carries out transcoding to program/content.
Preferably, the step S6 specifically includes sub-step:S61, DMS send the empty bags of TS and measure between DMS and DMP Connection speed;S62, DMS select suitable code check and/or resolution ratio according to connection speed, notify transcoding module to program/interior Appearance carries out transcoding;The data that transcoding is completed are entered row buffering by S63, DMS, and are distributed to DMP equipment.
A kind of to realize system based on digital media server under many network card equipments, it is used to implement a kind of based on many network interface cards The implementation method of digital media server under equipment, it includes DMS, DMP equipment and many nets for connecting DMS and DMP equipment Card apparatus, many network card equipments have multiple network interface cards, and the DMS includes:Collecting unit, it is multiple for obtaining many network card equipments The title of network interface card and address;Monitoring unit, for monitoring the message from DMP equipment that multiple network interface cards are received;Resolution unit, For being parsed to message, the message is judged if DMS equipment is searched message or browses message, then parse the source of message Address;Select unit is compared, for informed source address and multiple NIC address to be compared, NIC address and message is selected Source address is set up with DMP equipment in the network interface card of the same network segment and is connected.
The beneficial effects of the invention are as follows:
A kind of implementation method based on digital media server under many network card equipments of the present invention is by improving automatic discovery association Negotiation media presentation algorithm, the DMP equipment on multiple network interface cards that ensured can normally find DMS, solve data packetloss and clear The excessively slow problem of list is presented during looking at so that while digital media server realizes easy to operate, the expense that economizes on resources, Improve flexibility and the reliability of whole system.
In addition, the present invention also ensures that all message can quick response by pressure balance algorithm;Searched by improving content Suo Fangfa, reduces the mutual exclusion number of times that thread-safe brings, and improves contents list surfing;By optimizing distribution algorithms, reach Data are completely reliable.
The composite can be widely applied to various digital media servers.
Another beneficial effect of the invention is:
One kind of the invention is based on digital media server system under many network card equipments by improving automatic discovery agreement and matchmaker Body Representation algorithm, the DMP equipment on multiple network interface cards that ensured can normally find DMS, solve data packetloss and navigation process Middle that the excessively slow problem of list is presented so that while digital media server realizes easy to operate, the expense that economizes on resources, raising are whole The flexibility of individual system and reliability.
In addition, the present invention also ensures that all message can quick response by pressure balance algorithm;Searched by improving content Suo Fangfa, reduces the mutual exclusion number of times that thread-safe brings, and improves contents list surfing;By optimizing distribution algorithms, reach Data are completely reliable.
The composite can be widely applied to various digital media servers.
Brief description of the drawings
Specific embodiment of the invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the method flow diagram of an embodiment of the present invention;
Fig. 2 is automatic discovery a kind of method flow diagram of embodiment of agreement in the present invention.
Specific embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.
As depicted in figs. 1 and 2, a kind of implementation method based on digital media server under many network card equipments, it includes step Suddenly:S1, DMS obtain title and the address of many network card equipment multiple network interface cards;S2, DMS monitor that multiple network interface cards receive from DMP The message of equipment;S3, DMS download message are simultaneously parsed to message, judge the message if DMS equipment searches message or clear Look at message, then parse the source address of message;S4, DMS compare informed source address and multiple NIC address, select net Card address and informed source address are set up with DMP equipment in the network interface card of the same network segment and are connected.
Preferably, the step S4 specifically includes sub-step:S41, DMS enter informed source address and multiple NIC address Row is compared;S42, DMS select NIC address and informed source address in the network interface card of the same network segment;S43, DMS use the net of selection Card address is packaged into DMS routing informations;DMS routing informations are unicast to corresponding DMP equipment by S44, DMS, by the net for selecting Card is set up with DMP equipment and is connected.
Preferably, step is also included between the step S1 and S2:S11, DMS timing on multiple network interface cards, by multiple nets Card address is spliced into network interface card PATH, by NOTIFY multicasts, notifies that the DMP equipment DMS in LAN is online;S12, DMS Monitor NIC address change, when NIC address change is found or when increasing network interface card newly or deleting network interface card, preserve newest network interface card title and Address, network interface card PATH is spliced into and by NOTIFY multicasts by newest NIC address, notifies the DMP equipment in LAN DMS is online.
Preferably, the NIC address is network interface card IP address.
Preferably, the step S3 specifically also includes sub-step:S31, DMS according to the length of message maximum response time, Arrangement in order is processed in being submitted to the message queue of different priorities.
In the present embodiment, found by SSDP agreements between DMS and DMP equipment, when DMS reaches the standard grade or be offline Wait, send related multicast message packet, notify all DMP equipment in LAN, the description containing current DMS in message packet Information.Simultaneously when DMP carries out multicast to be searched, parsing is searched message and carries out related news reply after DMS receives lookup message.
In the present embodiment, automatic discovery algorithm is improved, completion can find DMS equipment under many network card equipments, flow Journey is as shown in Figure 1.Below by taking Set Top Box as an example, automatic discovery algorithm flow is elaborated.
Set Top Box start DMS after, DMS start correlation module carry out interruption scanning Set Top Box multiple network interface cards on IP address and Title, and register multicast monitoring, that is, address and port that SSDP agreements specify are monitored, regularly the address on all network interface cards is spliced Into DMS document path is described by NOTIFY methods, be sent on multicast address.DMS monitors the search from DMP and disappears simultaneously Breath, distinguishes informed source IP address, a suitable address is selected from network interface card information, and be packaged into DMS roads using this address Footpath message, by message unicast to corresponding DMP equipment.In order to meet requirement, specific implementation step is as follows:
1st, when DMS is initialized, number, title and the corresponding address of multiple network interface cards are obtained, and monitors the state change of network interface card Message, binds fixed port and does WEB server.
2nd, DMS timings send NOTIFY multicasts on multiple network interface cards, notify that the equipment DMS in LAN is online.
3rd, after DMS receives the search message of DMP, download message message simultaneously parses correspondence message, judges whether to be to look for DMS equipment, if being to look for DMS equipment, parses informed source IP and port, and the IP of informed source IP and multiple network interface cards is carried out Contrast, NIC address of the selection in the same network segment;And according to the expired time length of message is searched, it is put into different priorities In message queue, realize that pressure is decomposed.
4th, correspondence message processing module reads the message in message team in DMS, encapsulates suitable DMS and describes file address, Unicast replies to corresponding DMP equipment.
5th, after correspondence DMP equipment receives reply message, the description information in message is downloaded, parses the service that DMS is provided, and And corresponding informance is preserved, complete follow-up interaction.
One simple embodiment is as follows:
DMP sends and searches message, and subsidiary maximum expired time (MX) is 10s, that is, allow other equipment 10s to respond this and disappear Breath.
M-SEARCH * HTTP/1.1
ST: ssdp:all
MAN: "ssdp:discover"
HOST: 239.255.255.250:1900
MX: 10
Content-Length: 0
According to getting lookup message, parsing sends this informed source IP to DMS, and by multiple nets in this IP and Set Top Box The IP of card is compared, and selects the STB_IP of the same network segment, and encapsulation messages are in corresponding Location.
HTTP/1.1 200 OK
ST:urn:schemas-upnp-org:device:MediaServer:1
USN:uuid:5be4a6db-f611-4f26-85a4-411169d7880b::urn:schemas-upnp-org: device:MediaServer:1
Location:http://STB_IP:port/root.xml
OPT:"http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS:81cb417d741bd3efbceb10660370971a
Cache-Control:max-age=900
Server:stb linux UPnP/1.5 UPnP-Device-Host/1.0
Ext:
After DMP equipment receives corresponding message, the content of Location, the service that parsing DMS is provided are downloaded.
Compared to traditional DMS equipment, this improvement can ensure that the DMP equipment on all network interface cards can normally find DMS, As equipment component is connected to correspondence DMS by one of network interface card, other equipment is connected to DMS by another network interface card, and DMS is only needed Starting an equipment can be with for multiple network interface cards provides service.DMS uses pressure decomposition algorithm simultaneously, using message queue and Thread pool, carries out being grouped by expired time to SSDP message packages, using priority control method, is put into corresponding message queue, Processed by special thread pool, improve efficiency, it is ensured that all DMP quickly have found DMS, and avoid pressure packet loss phenomenon.
Preferably, it also includes step:S5, DMS monitor program/contents list change, there is provided give DMP equipment newest program Content.
Preferably, the step S5 specifically includes sub-step:S51, DMS monitor program/contents list change;S52, when When DMS monitoring program/contents lisies change, a copy is first set up, DMS programs/content indexing pointer is pointed into copy, Program/content discharge simultaneously before;S53, DMS send the DMP equipment that program/content update message informing has been subscribed to.
In the embodiment, after related DMP equipment finds DMS, interacted by soap protocol, soap protocol is used HTTP and XML data are interacted.Traditional DMS due to not being related to many network interface card situations, when receiving browsing or look-up command for DMP When, as long as will browse result is packaged into correspondence XML according to browsing method output parameter.In the present embodiment, DMS receives correspondence SOAP When, judge the network interface card of other side's IP address, selection and the same network segment of this IP address, will be protected as content URL using this NIC address Demonstrate,proving DMP equipment that all network interface cards access normal browsing and can play.In many network card equipments, return is browsed in result correspondence The PATH of appearance needs the IP address according to DMP equipment, and the suitable network interface card of dynamic select seals the respective path message of content It is attached in XML results, returns to DMP equipment.
In addition, it is necessary to the request of quick response difference network interface card access device simultaneously in many network card equipments, with set-top box from Body program/contents list is updated and the plug of movable memory equipment is indexed, it is necessary to reconstruct contents list, and this is related to thread peace Complete and response speed.The specific solution of the present embodiment is as follows:
1st, Set Top Box DMS automatically scannings Shared Folders and database, complete scanning and the program of movable memory equipment The scanning of list, and dynamic detection movable memory equipment plug, the renewal of the rendition list in database.
2nd, when the SOAP that Set Top Box DMS treatment DMP is sended over is on browsing or searching message, other side's IP information is obtained, Matching Set Top Box network interface card information, selects the IP information of the same network segment, and using this IP, content is corresponding in dynamic encapsulation returning result URL, realizes that the equipment that different network interface cards are accessed can normal browsing and program request corresponding content.
3rd, when Set Top Box DMS listens to program/contents list renewal or movable memory equipment plug, first set up a Copy, it is to avoid thread-safe brings mutual exclusion.After the completion of copy is set up, DMS content indexings pointer is pointed into copy, while discharging it Preceding program/content, sends GENA(Subscribe to)Message, the DMP equipment that had subscribed to of notice, DMP equipment receive after renewal from New browsing list.
4th, Set Top Box DMS treatment Browse message, path of the corresponding contents list file in Set Top Box is used BASE64 is encoded, and is generated in XML, when such client DMP carries out content broadcasting, it is not necessary to search index in contents list again, Reduction carries out Line Procedure Mutually-exclusive, accelerates data and downloads response.
Traditional DMS when treatment browses message, due to be related to multithreading simultaneously operate DMS in content indexing, As in navigation process, the plug of movable memory equipment, the renewal of program/contents list is locked so as to add thread-safe, this When sample DMP browsing content lists, to lock repeatedly, unlock, cause to bring queuing by thread-safe;The present invention uses two parts of ropes Draw table method, when data list change is listened to, rebuild index and be saved in copy, after the completion of foundation, by pointer assignment The master index table given before master index table, and deletion, this process only needs to simple secured synchronization mechanism, you can complete data Fast browsing.
Preferably, it also includes step:S6, DMS are tested and are calculated the connection speed between DMS and DMP equipment, and root Suitable code check and/or resolution ratio are selected according to connection speed, notifies that transcoding module carries out transcoding to program/content.
Preferably, the step S6 specifically includes sub-step:S61, DMS send the empty bags of TS and measure between DMS and DMP Connection speed;S62, DMS select suitable code check and/or resolution ratio according to connection speed, notify transcoding module to program/interior Appearance carries out transcoding;The data that transcoding is completed are entered row buffering by S63, DMS, and are distributed to DMP equipment.
Traditional DMS is only needed in distribution local resource such as movable memory equipment, and access way is single, it is not necessary to examined Consider the influence that for example aspect such as network speed imbalance is brought of many network interface cards;The present invention is watched simultaneously due to being related to multiple network interface cards, multi-user Same channel can not use multicast mode, while for client smooth playing, interim card in playing process is solved the problems, such as, the present invention It is specific as follows using method:
1st, DMS content distributions preferentially ensure that tuner resource programme content is distributed, i.e., ought have user's broadcast code flow signal section When mesh, other DMP access numbers are suitably adjusted.
2nd, when DMP equipment is accessed, broadcast code flow resource is asked, during DMS lock codes stream carries out transcoding, DMS sends TS Sky bag is tested the speed, and calculates the connection speed between DMS and DMP.Because the empty bags of TS are allowed in digital television standard, client End directly filters out, and can't bring any negative effect.
3rd, the network speed that DMS is calculated according to step 2, selects suitable code check and/or resolution ratio, notifies that transcoding module is turned Code, and registered callbacks, when transcoding is completed, data are entered row buffering, distribution by DMS.
4th, distribute according to GOB patterns in distribution procedure, i.e., distribution ensures one section of complete data every time, when network congestion Wait, ensure that a complete data block is distributed to client, it is to avoid mosaic occurs in client.
5th, the file in correspondence distribution removable Storage, DMS generates PATH during content presentation, by correspondence text Part PATH is encoded by BASE64, can so reach multi-threaded parallel work, it is not necessary to carried out when opening file Search contents list index.
Advantages of the present invention is as follows:
1st, DMS of the present invention monitors the SSDP message on all network interface cards while listening for the multiple network interface cards in equipment, judges SSDP Informed source, intelligence generation message package, meeting all devices can normally find DMS equipment.
2nd, DMS of the present invention is by pressure balance algorithm, the MX labels (maximum response time) in SSDP message packets, According to priority it is submitted in the message queue of different priorities, is processed by thread pool, ensures that all message can quickly ring Should.
3rd, DMS of the present invention reaches different nets by the contents list chained address that dynamically adjustment is browsed, lookup method is returned The equipment that clamping enters can browse and play the content on DMS.
4th, DMS of the present invention reduces the mutual exclusion number of times that thread-safe brings by improving content search method, improve program/ Contents list surfing.
5th, DMS of the present invention realizes intelligent sharing and the distribution of program/contents list, while optimizing distribution algorithms, realizes dividing Send out the complete reliability of data.
A kind of to realize system based on digital media server under many network card equipments, it is used to implement a kind of based on many network interface cards The implementation method of digital media server under equipment, it includes DMS, DMP equipment and many nets for connecting DMS and DMP equipment Card apparatus, many network card equipments have multiple network interface cards, and the DMS includes:Collecting unit, it is multiple for obtaining many network card equipments The title of network interface card and address;Monitoring unit, for monitoring the message from DMP equipment that multiple network interface cards are received;Resolution unit, For being parsed to message, the message is judged if DMS equipment is searched message or browses message, then parse the source of message Address;Select unit is compared, for informed source address and multiple NIC address to be compared, NIC address and message is selected Source address is set up with DMP equipment in the network interface card of the same network segment and is connected.
One kind corresponds to a kind of base based on digital media server system specific implementation principle and step under many network card equipments In the implementation method of digital media server under many network card equipments, tired stating is not done herein.
One kind of the invention is based on digital media server system under many network card equipments by improving automatic discovery agreement and matchmaker Body Representation algorithm, the DMP equipment on multiple network interface cards that ensured can normally find DMS, solve data packetloss and navigation process Middle that the excessively slow problem of list is presented so that while digital media server realizes easy to operate, the expense that economizes on resources, raising are whole The flexibility of individual system and reliability.
In addition, the present invention also ensures that all message can quick response by pressure balance algorithm;Searched by improving content Suo Fangfa, reduces the mutual exclusion number of times that thread-safe brings, and improves contents list surfing;By optimizing distribution algorithms, reach Data are completely reliable.
The composite can be widely applied to various digital media servers.
Above is preferable implementation of the invention is illustrated, but the invention is not limited to the implementation Example, those of ordinary skill in the art can also make a variety of equivalent variations or replace on the premise of without prejudice to spirit of the invention Change, these equivalent deformations or replacement are all contained in the application claim limited range.

Claims (10)

1. a kind of implementation method based on digital media server under many network card equipments, it is characterised in that it includes step:
S1, DMS obtain title and the address of many network card equipment multiple network interface cards;
S2, DMS monitor the message from DMP equipment that multiple network interface cards are received;
S3, DMS download message are simultaneously parsed to message, judge the message if DMS equipment is searched message or browses message, Then parse the source address of message;
S4, DMS compare informed source address and multiple NIC address, and selection NIC address and informed source address are same The network interface card of one network segment is set up with DMP equipment and is connected;
Wherein, the DMS is digital media server, and the DMP is digital media player.
2. a kind of implementation method based on digital media server under many network card equipments according to claim 1, its feature It is that the step S4 specifically includes sub-step:
S41, DMS compare informed source address and multiple NIC address;
S42, DMS select NIC address and informed source address in the network interface card of the same network segment;
S43, DMS are packaged into DMS routing informations using the NIC address of selection;
DMS routing informations are unicast to corresponding DMP equipment by S44, DMS, are set up with DMP equipment by the network interface card for selecting and are connected.
3. a kind of implementation method based on digital media server under many network card equipments according to claim 1, its feature It is also to include step between the step S1 and S2:
Multiple NIC address are spliced into network interface card PATH by S11, DMS timing on multiple network interface cards, by NOTIFY multicasts, Notify that the DMP equipment DMS in LAN is online;
S12, DMS monitor NIC address change, when finding NIC address change or increasing network interface card newly or delete network interface card, preserve newest Network interface card title and address, are spliced into network interface card PATH and by NOTIFY multicasts, in notice LAN by newest NIC address DMP equipment DMS it is online.
4. a kind of realization side based on digital media server under many network card equipments according to any one of claims 1 to 3 Method, it is characterised in that the NIC address is network interface card IP address.
5. a kind of implementation method based on digital media server under many network card equipments according to claim 4, its feature It is that the step S3 specifically also includes sub-step:
S31, DMS are arranged be submitted in the message queue of different priorities in order according to the length of message maximum response time Processed.
6. a kind of implementation method based on digital media server under many network card equipments according to claim 1,2,3 or 5, Characterized in that, it also includes step:
S5, DMS monitor program/contents list change, there is provided give DMP equipment newest programme content.
7. a kind of implementation method based on digital media server under many network card equipments according to claim 6, its feature It is that the step S5 specifically includes sub-step:
S51, DMS monitor program/contents list change;
S52, when DMS monitors program/contents list to change, first sets up a copy, and DMS programs/content indexing is referred to Pin points to copy, while the program/content before release;
S53, DMS send the DMP equipment that program/content update message informing has been subscribed to.
8. a kind of realization side based on digital media server under many network card equipments according to claim 1,2,3,5 or 7 Method, it is characterised in that it also includes step:
S6, DMS are tested and are calculated the connection speed between DMS and DMP equipment, and select suitable code check according to connection speed And/or resolution ratio, notify that transcoding module carries out transcoding to program/content.
9. a kind of implementation method based on digital media server under many network card equipments according to claim 8, its feature It is that the step S6 specifically includes sub-step:
S61, DMS send the connection speed that the empty bags of TS are measured between DMS and DMP;
S62, DMS select suitable code check and/or resolution ratio according to connection speed, notify that transcoding module is carried out to program/content Transcoding;
The data that transcoding is completed are entered row buffering by S63, DMS, and are distributed to DMP equipment.
10. it is a kind of that system is realized based on digital media server under many network card equipments, it is characterised in that it is used to implement such as power Profit requires the method described in 1 to 9 any one, and it includes DMS, DMP equipment and is set for connecting many network interface cards of DMS and DMP equipment Standby, many network card equipments have multiple network interface cards, and the DMS includes:
Collecting unit, title and address for obtaining many network card equipment multiple network interface cards;
Monitoring unit, for monitoring the message from DMP equipment that multiple network interface cards are received;
Resolution unit, for being parsed to message, judges the message if DMS equipment is searched message or browses message, then Parse the source address of message;
Select unit is compared, for informed source address and multiple NIC address to be compared, NIC address and message is selected Source address is set up with DMP equipment in the network interface card of the same network segment and is connected.
CN201410508593.2A 2014-09-28 2014-09-28 Realization method and system based on digital media server under many network card equipments Expired - Fee Related CN104283873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410508593.2A CN104283873B (en) 2014-09-28 2014-09-28 Realization method and system based on digital media server under many network card equipments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410508593.2A CN104283873B (en) 2014-09-28 2014-09-28 Realization method and system based on digital media server under many network card equipments

Publications (2)

Publication Number Publication Date
CN104283873A CN104283873A (en) 2015-01-14
CN104283873B true CN104283873B (en) 2017-06-23

Family

ID=52258356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410508593.2A Expired - Fee Related CN104283873B (en) 2014-09-28 2014-09-28 Realization method and system based on digital media server under many network card equipments

Country Status (1)

Country Link
CN (1) CN104283873B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994063B (en) * 2015-05-18 2018-04-10 无锡天脉聚源传媒科技有限公司 A kind of register method and device for broadcasting card
CN106533974B (en) * 2016-10-10 2020-04-07 网宿科技股份有限公司 Application flow management method and system and terminal equipment with system
CN108874820B (en) * 2017-05-11 2021-11-30 广东爱瓦力科技股份有限公司 System file searching method
CN108600023A (en) * 2018-05-02 2018-09-28 山东浪潮通软信息科技有限公司 A kind of SOAP transmitters, SOAP receivers, data transmission method and system
CN110912762A (en) * 2018-09-14 2020-03-24 北京微播视界科技有限公司 Information acquisition method and device and information generation method and device
CN110493311B (en) * 2019-07-17 2022-04-19 视联动力信息技术股份有限公司 Service processing method and device
CN112187486B (en) * 2020-09-29 2023-07-18 青岛海信传媒网络技术有限公司 Interaction method between intelligent devices and intelligent device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724334A (en) * 2012-06-30 2012-10-10 华为技术有限公司 Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140082012A1 (en) * 2012-09-14 2014-03-20 General Instrument Corporation Methods and systems for enhanced access to multimedia contentt

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724334A (en) * 2012-06-30 2012-10-10 华为技术有限公司 Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA)

Also Published As

Publication number Publication date
CN104283873A (en) 2015-01-14

Similar Documents

Publication Publication Date Title
CN104283873B (en) Realization method and system based on digital media server under many network card equipments
TWI602415B (en) Method and apparatus for flexible caching of delivered media
CN101159830B (en) Apparatus for receiving adaptive broadcast signal and method thereof
JP5198440B2 (en) Network digital TV middleware
CN105227587B (en) Set up the network equipment and method of IPTV session
US20020032754A1 (en) Method and apparatus for profiling in a distributed application environment
US9674581B2 (en) Content discovery and playback in a network environment
CN109348171A (en) A kind of view networking monitoring video acquiring method and device
EP1696606B1 (en) Service framework for home network
US20160309237A1 (en) Method and apparatus for managing connection between broadcast receiving device and another device connected by network
US10880024B2 (en) Reception device, transmission device, and data processing method
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
US8694583B2 (en) Information processing apparatus and method for controlling the same
US11025352B2 (en) Reception device, transmission device, and data processing method
US10164788B2 (en) Remote control method and system using control user interface
CN102362506A (en) Request signal of an image program according to specific input sources based on the received list to the external display devices
CN104885430B (en) The device and method of media are played in home network
MX2010008642A (en) A method and device for sending and receiving metadata for an application providing an iptv service.
CN110113558A (en) Data processing method, device, system and computer readable storage medium
WO2005099175A1 (en) Method and apparatu sfor supporting multicast of av data in a network
US11418273B2 (en) Reception device, transmission device, and data processing method
CN105187867B (en) A kind of media stream control method and its device
JP2010033277A (en) Server device
WO2012079317A1 (en) Transmission method, device and system for digital television interactive contents
CN104038480B (en) Method for discovering equipment and system in a kind of UPnP systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170623

Termination date: 20200928

CF01 Termination of patent right due to non-payment of annual fee