Nothing Special   »   [go: up one dir, main page]

CN104283873A - Implementation method and system of digital media server (DMS) based on multi-network card equipment - Google Patents

Implementation method and system of digital media server (DMS) based on multi-network card equipment Download PDF

Info

Publication number
CN104283873A
CN104283873A CN201410508593.2A CN201410508593A CN104283873A CN 104283873 A CN104283873 A CN 104283873A CN 201410508593 A CN201410508593 A CN 201410508593A CN 104283873 A CN104283873 A CN 104283873A
Authority
CN
China
Prior art keywords
dms
message
address
network interface
interface card
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
CN201410508593.2A
Other languages
Chinese (zh)
Other versions
CN104283873B (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 an implementation method and system of a digital media server (DMS). The method includes the steps that S1, the DMS acquires the names and the addresses of a plurality of network cards; S2, the DMS monitors messages which are received by the network cards and are from DMP devices; S3, the DMS downloads the messages and analyzes the messages; S4, the DMS is used for comparing message source addresses with the addresses of the network cards, and the network cards with the addresses of the network cards and the message source addresses placed on the same network segment are selected to be connected with the DMP devices. The system comprises the DMS, the DMP devices and multi-network card equipment which is used for connecting the DMS and the DMP devices. According to the implementation method and system of the DMS, by improving an automatic discovery protocol and a media rendering algorithm, it is guaranteed that the DMS can be found normally by the DMP devices on the network cards, the problem that list rendering is too slow in the data packet dropout and browse process is solved, the DMS can be operated conveniently, meanwhile, resource expenses are saved, and the flexibility and reliability of the entire system are improved. The implementation method and system of the DMS can be widely applied to various DMSs.

Description

Based on implementation method and the system of digital media server under many network card equipments
Technical field
The present invention relates to digital information transmission control field, particularly relate 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, is initiated to set up, be intended to solve individual PC, consumer appliances, the specification that mobile device interconnects at interior wireless network and cable network by Sony, Intel, Microsoft etc.
DMS:Digital Media Server, digital media server, provides the acquisition of media archives, recording, storage and the ability as source.
DMP:Digital Media Player, digital media player, this device general reference line can be found and play or export the ability of any media archives provided by DMS.
SSDP:Simple Service Discovery Protocol, SSDP is a kind of application layer protocol, provides the mechanism of discovering device inside localized network.
NOTIFY multicast: a kind of multicast protocol.
DVB:Digital Video Broadcasting, digital video broadcasting is by the Digital Television Open Standard of a series of international recognitions of DVB project maintenance.
XML: extend markup language, the subset of standard generalized markup language, a kind ofly makes it have structural markup language for electroactive marker subfile.
TS:Transport Stream, a kind of packet, can insert very eurypalynous data, as video, audio frequency, self-defined information etc. in TS stream.
SOAP: Simple Object Access Protocol is a kind of protocol specification of swap data, is a kind of light weight, simple, based on the agreement of XML, it is designed on WEB, exchange information that is structurized and solidification.
Base64: one of modal coded system for transmitting 8Bit syllabified code on network.
Along with the development of network, increasing embedded device configures the demand that multiple network interface card is used for meeting different application scene simultaneously, and each network interface card has different addresses.Owing to using SSDP agreement to be used for the automatic discovery of distinct device in DLNA, which limits DLNA device and must be tied on corresponding network interface card, realize receiving, sending multicast and unicast messages.
In prior art, most of DMS equipment all requires that user manually selects network interface card, or acquisition first effective network interface card is bound, and monitors SSDP message, if such user needs to realize DMS function on all network interface cards just must open multiple application.For embedded device, when multiple application is opened in employing, be that internal memory and CPU can take in a large number.As DMS need the resource in shared DVB the rendition list or movable memory equipment time, all application all must monitor corresponding event, scanning related data, and this causes efficiency too low, plays difficult management for DVB program simultaneously.Specifically, for Set Top Box, cable modem is reached the standard grade slow, if DMS reach the standard grade after cable modem just reach the standard grade, owing to not obtaining the IP address of cable modem corresponding network interface card when DMS starts, this set-top box DMS cannot start on the network interface card of correspondence.
In sum, there is following problem in prior art:
1, manually network interface card is selected, inconvenient operation.
2, the fixing network interface card of binding takies ample resources.For Set Top Box, after also bringing set-top-box opening, need to wait for that cable modem is reached the standard grade the problem that can normally start.
 
Summary of the invention
In order to solve the problems of the technologies described above, the object of this invention is to provide a kind of easy to operate, can flexibly, the implementation method of the digital media server of intelligent selection network interface card.
In order to solve the problems of the technologies described above, another object of the present invention is to provide a kind of easy to operate, can flexibly, the digital media server system of intelligent selection network interface card.
The technical solution adopted in the present invention is:
Based on an implementation method for digital media server under many network card equipments, it comprises step: S1, DMS obtain title and the address of the multiple network interface card of many network card equipments; S2, DMS monitor the message from DMP equipment that multiple network interface card receives; S3, DMS download message is also resolved message, judges this message if DMS equipment is searched message or browsed message, then resolve the address, source of message; Comparing in informed source address and multiple NIC address by S4, DMS, selects NIC address and informed source address to connect at the network interface card of the same network segment and DMP equipment.
Preferably, described step S4 specifically comprises sub-step: compare in informed source address and multiple NIC address by S41, DMS; S42, DMS select NIC address and informed source address at the network interface card of the same network segment; S43, DMS use the NIC address selected to be packaged into DMS routing information; DMS routing information is unicast to corresponding DMP equipment by S44, DMS, is connected by the network interface card selected and DMP equipment.
Preferably, also comprise step between described step S1 and S2: multiple NIC address, on multiple network interface card, is spliced into network interface card PATH by S11, DMS timing, by NOTIFY multicast, the DMP equipment DMS in notice local area network (LAN) is online; S12, DMS monitors NIC address change, when the change of discovery NIC address or when increasing network interface card newly or delete network interface card, preserves up-to-date network interface card title and address, up-to-date NIC address is spliced into network interface card PATH and by NOTIFY multicast, notifies that the DMP equipment DMS in local area network (LAN) is online.
Preferably, described NIC address is network interface card IP address.
Preferably, described step S3 specifically also comprises sub-step: S31, DMS are according to the length of message maximum response time, and arrangement is submitted in the message queue of different priorities and processes in order.
Preferably, it also comprises step: S5, DMS monitor program/contents list change, are supplied to the up-to-date programme content of DMP equipment.
Preferably, described step S5 specifically comprises sub-step: S51, DMS monitor program/contents list change; S52, when DMS monitoring program/contents list changes, first sets up a copy, by DMS program/content indexing pointed copy, and the program/content simultaneously before release; S53, DMS send the DMP equipment that program/content update message informing has been subscribed to.
Preferably, it also comprises step: S6, DMS test and calculate the connection speed between DMS and DMP equipment, and select suitable code check and/or resolution according to connection speed, and notice transcoding module carries out transcoding to program/content.
Preferably, described step S6 specifically comprises sub-step: S61, DMS send TS sky bag to carry out measuring the connection speed between DMS and DMP; S62, DMS select suitable code check and/or resolution according to connection speed, and notice transcoding module carries out transcoding to program/content; The data that transcoding completes by S63, DMS cushion, and are distributed to DMP equipment.
A kind ofly realize system based on digital media server under many network card equipments, it is for implementing a kind of implementation method based on digital media server under many network card equipments, it comprises DMS, DMP equipment and the many network card equipments for being connected DMS and DMP equipment, described many network card equipments have multiple network interface card, described DMS comprises: collecting unit, for obtaining title and the address of the multiple network interface card of many network card equipments; Monitoring unit, for monitoring the message from DMP equipment that multiple network interface card receives; Resolution unit, for resolving message, judges this message if DMS equipment is searched message or browsed message, then resolves the address, source of message; Comparison selected cell, for being compared in informed source address and multiple NIC address, selects NIC address and informed source address to connect at the network interface card of the same network segment and DMP equipment.
The invention has the beneficial effects as follows:
A kind of implementation method based on digital media server under many network card equipments of the present invention finds agreement and media Representation algorithm automatically by improving, ensure that the DMP equipment on multiple network interface card normally can find DMS, solve in data packetloss and navigation process and present the excessively slow problem of list, make digital media server realize easy to operate while, the expense that economizes on resources, improve the flexibility of whole system and reliability.
In addition, by pressure balance algorithm, the present invention also ensures that all message can respond fast; By improving content search method, reducing the mutual exclusion number of times that thread-safe brings, improving contents list surfing; By optimizing distribution algorithms, reach data integrity reliable.
The present invention can be widely used in various digital media server.
Another beneficial effect of the present invention is:
The present invention is a kind of finds agreement and media Representation algorithm based on digital media server system under many network card equipments automatically by improving, ensure that the DMP equipment on multiple network interface card normally can find DMS, solve in data packetloss and navigation process and present the excessively slow problem of list, make digital media server realize easy to operate while, the expense that economizes on resources, improve the flexibility of whole system and reliability.
In addition, by pressure balance algorithm, the present invention also ensures that all message can respond fast; By improving content search method, reducing the mutual exclusion number of times that thread-safe brings, improving contents list surfing; By optimizing distribution algorithms, reach data integrity reliable.
The present invention can be widely used in various digital media server.
 
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
Fig. 1 is the method flow diagram of an embodiment of the present invention;
Fig. 2 is the method flow diagram automatically finding a kind of embodiment of agreement in the present invention.
 
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
As depicted in figs. 1 and 2, a kind of implementation method based on digital media server under many network card equipments, it comprises step: S1, DMS obtain title and the address of the multiple network interface card of many network card equipments; S2, DMS monitor the message from DMP equipment that multiple network interface card receives; S3, DMS download message is also resolved message, judges this message if DMS equipment is searched message or browsed message, then resolve the address, source of message; Comparing in informed source address and multiple NIC address by S4, DMS, selects NIC address and informed source address to connect at the network interface card of the same network segment and DMP equipment.
Preferably, described step S4 specifically comprises sub-step: compare in informed source address and multiple NIC address by S41, DMS; S42, DMS select NIC address and informed source address at the network interface card of the same network segment; S43, DMS use the NIC address selected to be packaged into DMS routing information; DMS routing information is unicast to corresponding DMP equipment by S44, DMS, is connected by the network interface card selected and DMP equipment.
Preferably, also comprise step between described step S1 and S2: multiple NIC address, on multiple network interface card, is spliced into network interface card PATH by S11, DMS timing, by NOTIFY multicast, the DMP equipment DMS in notice local area network (LAN) is online; S12, DMS monitors NIC address change, when the change of discovery NIC address or when increasing network interface card newly or delete network interface card, preserves up-to-date network interface card title and address, up-to-date NIC address is spliced into network interface card PATH and by NOTIFY multicast, notifies that the DMP equipment DMS in local area network (LAN) is online.
Preferably, described NIC address is network interface card IP address.
Preferably, described step S3 specifically also comprises sub-step: S31, DMS are according to the length of message maximum response time, and arrangement is submitted in the message queue of different priorities and processes in order.
In the present embodiment, found by SSDP agreement between DMS and DMP equipment, when DMS reaches the standard grade or roll off the production line time, send related multicast message packet, all DMP equipment in notice local area network (LAN), the descriptor containing current DMS in message packet.Simultaneously when DMP carry out multicast search time, resolve after DMS receives and searches message and search message and to go forward side by side line correlation message back.
In the present embodiment, improve and automatically find algorithm, complete and can find DMS equipment under many network card equipments, flow process as shown in Figure 1.Below for Set Top Box, elaborate and automatically find algorithm flow.
After Set Top Box starts DMS, DMS starts correlation module and carries out being interrupted the IP address on the multiple network interface card of scanning machine top box and title, and register multicast monitoring, namely address and port that SSDP agreement specifies is monitored, the DMS that address on all network interface cards is spliced into is described document path by NOTIFY method by timing, is sent on multicast address.DMS monitors the search message from DMP simultaneously, distinguishes informed source IP address, selects the address that suitable, and uses this address to be packaged into DMS PATH, by message unicast to corresponding DMP equipment from network interface card information.In order to meet the demands, concrete implementation step is as follows:
1, during DMS initialization, obtain the number of multiple network interface card, title and corresponding address, and monitor the state variation message of network interface card, the port that binding is fixed does WEB server.
2, DMS timing is on multiple network interface card, sends NOTIFY multicast, and the equipment DMS in notice local area network (LAN) is online.
3, after DMS receives the search message of DMP, download message message also resolves corresponding message, judges whether it is search DMS equipment, if search DMS equipment, resolve informed source IP and port, the IP of informed source IP and multiple network interface card is contrasted, selects the NIC address at the same network segment; And according to searching the expired time length of message, putting into the message queue of different priorities, realizing pressure and decomposing.
4, in DMS, corresponding message processing module reads the message in message team, encapsulates suitable DMS description document address, and clean culture replies to corresponding DMP equipment.
5, corresponding DMP equipment receives and replys after message, downloads the descriptor in message, resolves the service that DMS provides, and preserves corresponding informance, completes follow-up mutual.
A simple embodiment is as follows:
DMP sends and searches message, and subsidiary maximum expired time (MX) is 10s, namely allows other equipment 10s to respond this message.
M-SEARCH?*?HTTP/1.1
ST:?ssdp:all
MAN:?"ssdp:discover"
HOST:?239.255.255.250:1900
MX:?10
Content-Length:?0
DMS searches message according to getting, and resolves and sends this informed source IP, and compared by the IP of network interface card multiple in this IP and Set Top Box, select the STB_IP of the same network segment, and encapsulation messages is in the Location of correspondence.
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, download the content of Location, resolve the service that DMS provides.
Compare traditional DMS equipment, this improvement can ensure that the DMP equipment on all network interface cards normally can find DMS, as equipment component is connected to corresponding DMS by one of them network interface card, other equipment are connected to DMS by another network interface card, and DMS only needs startup equipment just can provide service for multiple network interface card.DMS adopts pressure decomposition algorithm simultaneously, use message queue and thread pool, carry out dividing into groups by expired time to SSDP message bag, adopt priority control method, put into corresponding message queue, by special thread pool process, raise the efficiency, ensure that all DMP find DMS fast, and avoid pressure packet loss phenomenon.
Preferably, it also comprises step: S5, DMS monitor program/contents list change, are supplied to the up-to-date programme content of DMP equipment.
Preferably, described step S5 specifically comprises sub-step: S51, DMS monitor program/contents list change; S52, when DMS monitoring program/contents list changes, first sets up a copy, by DMS program/content indexing pointed copy, and the program/content simultaneously before release; S53, DMS send the DMP equipment that program/content update message informing has been subscribed to.
In this embodiment, when after relevant DMP device discovery DMS, undertaken alternately by soap protocol, soap protocol adopts HTTP and XML data to carry out alternately.Traditional DMS owing to not relating to many network interface cards situation, when receive DMP browse or look-up command time, as long as result will be browsed be packaged into corresponding XML according to browsing method output parameter.In the present embodiment, when DMS receives corresponding SOAP, judge the other side IP address, select and the network interface card of this same network segment in IP address, use this NIC address will as content URL, ensure that DMP equipment that all network interface cards access can normal browsing and playing.In many network card equipments, returning the PATH browsing result corresponding content needs according to the IP address of DMP equipment, and the network interface card that Dynamic Selection is suitable, by the respective path message encapsulation of content in XML result, returns to DMP equipment.
In addition, in many network card equipments, need the request of the simultaneously fast different network interface card access device of response, upgrade with set-top box self program/contents list and the plug of movable memory equipment, need reconstructs content list index, this relates to thread-safe and response speed.The concrete solution of the present embodiment is as follows:
1, Set Top Box DMS automatic scan Shared Folders and database, completes the scanning of movable memory equipment and the scanning of the rendition list, and the plug of detection of dynamic movable memory equipment, the renewal of the rendition list in database.
2, the SOAP that sends over of Set Top Box DMS process DMP is about when browsing or search message, obtain the other side IP information, MM top box network interface card information, select the IP information of the same network segment, use this IP, dynamic encapsulation returns results URL corresponding to middle content, and the equipment realizing the access of different network interface card can normal browsing and program request corresponding content.
3, when Set Top Box DMS listens to program/contents list renewal or movable memory equipment plug, first set up a copy, avoid thread-safe to bring mutual exclusion.After copy has been set up, by DMS content indexing pointed copy, the program/content simultaneously before release, sends GENA(and subscribes to) message, notify the DMP equipment subscribed to, DMP equipment receives after renewal from new browsing list.
4, Set Top Box DMS treatments B rowse message, uses BASE64 coding by the path of the contents list file of correspondence in Set Top Box, is generated in XML, when such client DMP carries out content broadcasting, index in contents list need not be searched again, reduce and carry out Line Procedure Mutually-exclusive, accelerate data and download response.
Traditional DMS is when message is browsed in process, operate content indexing in DMS owing to relating to multithreading simultaneously, as in navigation process, the plug of movable memory equipment, the renewal of program/contents list, thus add thread-safe lock, when such DMP browsing content list, repeatedly to lock, unlock, cause and bring queuing by thread-safe; The present invention uses two parts of concordance list methods, in time listening to data list change, rebuilds index and is saved in copy, after foundation completes, by pointer assignment to master index table, and the master index table before deleting, this process only needs simple secured synchronization mechanism, can complete data fast browsing.
Preferably, it also comprises step: S6, DMS test and calculate the connection speed between DMS and DMP equipment, and select suitable code check and/or resolution according to connection speed, and notice transcoding module carries out transcoding to program/content.
Preferably, described step S6 specifically comprises sub-step: S61, DMS send TS sky bag to carry out measuring the connection speed between DMS and DMP; S62, DMS select suitable code check and/or resolution according to connection speed, and notice transcoding module carries out transcoding to program/content; The data that transcoding completes by S63, DMS cushion, and are distributed to DMP equipment.
Traditional DMS only needs distribution local resource as in movable memory equipment, and access way is single, need not consider the impact that many network interface cards bring as aspects such as network speed imbalances; The present invention is owing to relating to multiple network interface card, and multi-user watches same channel simultaneously can not use multicast mode, and simultaneously in order to client smooth playing, solve a card problem in playing process, the present invention adopts method specific as follows:
1, DMS contents distribution preferentially ensures that tuner resource programme content is distributed, namely in time having user's broadcast code flow signal program, and suitably other DMP access numbers of adjustment.
2, when DMP equipment access, request broadcast code flow resource, during DMS lock code stream carries out transcoding, DMS sends TS sky bag and tests the speed, and calculates the connection speed between DMS and DMP.Allow because TS sky wraps in digital television standard, client directly filters out, and can't bring any negative effect.
3, the network speed that calculates according to step 2 of DMS, selects suitable code check and/or resolution, notice transcoding module carries out transcoding, and registered callbacks, when transcoding completes, data carry out cushioning, distributing by DMS.
4, in distribution procedure according to the distribution of GOB pattern, namely distribute the complete data of guarantee one section at every turn, when network congestion time, ensure that a complete data block is distributed to client, avoid client to occur mosaic.
5, the file in the removable storage of corresponding distribution, DMS presents generation pass message in process in content, respective file PATH is encoded by BASE64, multi-threaded parallel work can be reached like this, carry out when not needing to open file searching contents list index.
Advantage of the present invention is as follows:
1, the multiple network interface cards while of DMS of the present invention on audiomonitor, monitor the SSDP message on all network interface cards, judge SSDP informed source, intelligent generating messages bag, meeting all devices can normally find DMS equipment.
2, DMS of the present invention is by pressure balance algorithm, according to the MX label (maximum response time) in SSDP message packet, is according to priority submitted in the message queue of different priorities, is processed by thread pool, ensure that all message can respond fast.
3, the contents list chained address that DMS of the present invention is browsed by dynamic conditioning, lookup method returns, content on DMS can be browsed and play to the equipment reaching the access of different network interface card.
4, DMS of the present invention is by improving content search method, reduces the mutual exclusion number of times that thread-safe brings, and improves program/contents list surfing.
5, DMS of the present invention realizes intelligent sharing and the distribution of program/contents list, optimizes distribution algorithms simultaneously, realizes the reliably complete of distributing data.
A kind ofly realize system based on digital media server under many network card equipments, it is for implementing a kind of implementation method based on digital media server under many network card equipments, it comprises DMS, DMP equipment and the many network card equipments for being connected DMS and DMP equipment, described many network card equipments have multiple network interface card, described DMS comprises: collecting unit, for obtaining title and the address of the multiple network interface card of many network card equipments; Monitoring unit, for monitoring the message from DMP equipment that multiple network interface card receives; Resolution unit, for resolving message, judges this message if DMS equipment is searched message or browsed message, then resolves the address, source of message; Comparison selected cell, for being compared in informed source address and multiple NIC address, selects NIC address and informed source address to connect at the network interface card of the same network segment and DMP equipment.
Specifically implement principle and step based on digital media server system under many network card equipments and correspond to an a kind of implementation method based on digital media server under many network card equipments, do not do tired stating at this.
The present invention is a kind of finds agreement and media Representation algorithm based on digital media server system under many network card equipments automatically by improving, ensure that the DMP equipment on multiple network interface card normally can find DMS, solve in data packetloss and navigation process and present the excessively slow problem of list, make digital media server realize easy to operate while, the expense that economizes on resources, improve the flexibility of whole system and reliability.
In addition, by pressure balance algorithm, the present invention also ensures that all message can respond fast; By improving content search method, reducing the mutual exclusion number of times that thread-safe brings, improving contents list surfing; By optimizing distribution algorithms, reach data integrity reliable.
The present invention can be widely used in various digital media server.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.

Claims (10)

1., based on an implementation method for digital media server under many network card equipments, it is characterized in that, it comprises step:
S1, DMS obtain title and the address of the multiple network interface card of many network card equipments;
S2, DMS monitor the message from DMP equipment that multiple network interface card receives;
S3, DMS download message is also resolved message, judges this message if DMS equipment is searched message or browsed message, then resolve the address, source of message;
Comparing in informed source address and multiple NIC address by S4, DMS, selects NIC address and informed source address to connect at the network interface card of the same network segment and DMP equipment.
2. a kind of implementation method based on digital media server under many network card equipments according to claim 1, it is characterized in that, described step S4 specifically comprises sub-step:
Compare in informed source address and multiple NIC address by S41, DMS;
S42, DMS select NIC address and informed source address at the network interface card of the same network segment;
S43, DMS use the NIC address selected to be packaged into DMS routing information;
DMS routing information is unicast to corresponding DMP equipment by S44, DMS, is connected by the network interface card selected and DMP equipment.
3. a kind of implementation method based on digital media server under many network card equipments according to claim 1, is characterized in that, also comprise step between described step S1 and S2:
Multiple NIC address, on multiple network interface card, is spliced into network interface card PATH by S11, DMS timing, and by NOTIFY multicast, the DMP equipment DMS in notice local area network (LAN) is online;
S12, DMS monitors NIC address change, when the change of discovery NIC address or when increasing network interface card newly or delete network interface card, preserves up-to-date network interface card title and address, up-to-date NIC address is spliced into network interface card PATH and by NOTIFY multicast, notifies that the DMP equipment DMS in local area network (LAN) is online.
4. a kind of implementation method based on digital media server under many network card equipments according to any one of claims 1 to 3, is characterized in that, described 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, it is characterized in that, described step S3 specifically also comprises sub-step:
S31, DMS are according to the length of message maximum response time, and arrangement is submitted in the message queue of different priorities and processes in order.
6. a kind of implementation method based on digital media server under many network card equipments according to claim 1,2,3 or 5, it is characterized in that, it also comprises step:
S5, DMS monitor program/contents list change, are supplied to the up-to-date programme content of DMP equipment.
7. a kind of implementation method based on digital media server under many network card equipments according to claim 6, it is characterized in that, described step S5 specifically comprises sub-step:
S51, DMS monitor program/contents list change;
S52, when DMS monitoring program/contents list changes, first sets up a copy, by DMS program/content indexing pointed copy, and the program/content simultaneously before release;
S53, DMS send the DMP equipment that program/content update message informing has been subscribed to.
8. a kind of implementation method based on digital media server under many network card equipments according to claim 1,2,3,5 or 7, it is characterized in that, it also comprises step:
S6, DMS test and calculate the connection speed between DMS and DMP equipment, and select suitable code check and/or resolution according to connection speed, and notice 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, it is characterized in that, described step S6 specifically comprises sub-step:
S61, DMS send TS sky bag to carry out measuring the connection speed between DMS and DMP;
S62, DMS select suitable code check and/or resolution according to connection speed, and notice transcoding module carries out transcoding to program/content;
The data that transcoding completes by S63, DMS cushion, and are distributed to DMP equipment.
10. one kind realizes system based on digital media server under many network card equipments, it is characterized in that, it is for implementing the method as described in any one of claim 1 to 9, it comprises DMS, DMP equipment and the many network card equipments for being connected DMS and DMP equipment, described many network card equipments have multiple network interface card, and described DMS comprises:
Collecting unit, for obtaining title and the address of the multiple network interface card of many network card equipments;
Monitoring unit, for monitoring the message from DMP equipment that multiple network interface card receives;
Resolution unit, for resolving message, judges this message if DMS equipment is searched message or browsed message, then resolves the address, source of message;
Comparison selected cell, for being compared in informed source address and multiple NIC address, selects NIC address and informed source address to connect at the network interface card of the same network segment and DMP equipment.
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 true CN104283873A (en) 2015-01-14
CN104283873B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994063A (en) * 2015-05-18 2015-10-21 无锡天脉聚源传媒科技有限公司 Registration method and device of broadcast card
CN106533974A (en) * 2016-10-10 2017-03-22 网宿科技股份有限公司 Method and system for application program traffic management and terminal device provided with system
CN108600023A (en) * 2018-05-02 2018-09-28 山东浪潮通软信息科技有限公司 A kind of SOAP transmitters, SOAP receivers, data transmission method and system
CN108874820A (en) * 2017-05-11 2018-11-23 广东爱瓦力科技股份有限公司 A kind of system file searching method
CN110493311A (en) * 2019-07-17 2019-11-22 视联动力信息技术股份有限公司 A kind of method for processing business and device
CN110912762A (en) * 2018-09-14 2020-03-24 北京微播视界科技有限公司 Information acquisition method and device and information generation method and device
CN112187486A (en) * 2020-09-29 2021-01-05 青岛海信传媒网络技术有限公司 Interaction method between intelligent devices and intelligent devices

Citations (2)

* 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)
US20140082012A1 (en) * 2012-09-14 2014-03-20 General Instrument Corporation Methods and systems for enhanced access to multimedia contentt

Patent Citations (2)

* 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)
US20140082012A1 (en) * 2012-09-14 2014-03-20 General Instrument Corporation Methods and systems for enhanced access to multimedia contentt

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994063A (en) * 2015-05-18 2015-10-21 无锡天脉聚源传媒科技有限公司 Registration method and device of broadcast card
CN104994063B (en) * 2015-05-18 2018-04-10 无锡天脉聚源传媒科技有限公司 A kind of register method and device for broadcasting card
CN106533974A (en) * 2016-10-10 2017-03-22 网宿科技股份有限公司 Method and system for application program traffic management and terminal device provided with system
CN106533974B (en) * 2016-10-10 2020-04-07 网宿科技股份有限公司 Application flow management method and system and terminal equipment with system
CN108874820A (en) * 2017-05-11 2018-11-23 广东爱瓦力科技股份有限公司 A kind of 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
CN110493311A (en) * 2019-07-17 2019-11-22 视联动力信息技术股份有限公司 A kind of method for processing business and device
CN110493311B (en) * 2019-07-17 2022-04-19 视联动力信息技术股份有限公司 Service processing method and device
CN112187486A (en) * 2020-09-29 2021-01-05 青岛海信传媒网络技术有限公司 Interaction method between intelligent devices and intelligent devices

Also Published As

Publication number Publication date
CN104283873B (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN104283873A (en) Implementation method and system of digital media server (DMS) based on multi-network card equipment
CN103391277B (en) media playing method, device and system
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
EP3070954B1 (en) Method and apparatus for managing connection between broadcast receiving device and another device connected by network
US20110299543A1 (en) Method and System for Providing Virtual Gateway Services
CN102263782B (en) Information processor, information processing method and information processing system
EP1696606B1 (en) Service framework for home network
CN101159830A (en) Apparatus for receiving adaptive broadcast signal and method thereof
CN103457966B (en) Method, equipment and system of based on DLNA technology access cloud storage equipment
CN105208434A (en) Media projection method, media projection equipment, control terminal, and cloud server
CN1430838A (en) Apparatus and method for improved device interoperability
CN104394127A (en) A multimedia sharing method, device and system
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
US9807450B2 (en) Apparatus and method for media play in home network
CA3038028A1 (en) Receiving device, transmitting device, and data processing method
CN103873951A (en) Method and system for realizing adaptive playout of video streaming of digital family and related equipment
CN104040989A (en) Gateway, and method, computer program and storage means corresponding thereto
CN105656674A (en) IPTV (Internet Protocol Television) private network and Internet dual-network access method
CN103067234A (en) Identification and discovery method and system of intelligent device under heterogeneous network
EP1819101A1 (en) Method and apparatus for providing broadcasting content in UPNP network
EP3214846A1 (en) Reception device, transmission device, and data processing method
WO2011005051A2 (en) Method and apparatus for remotely controlling and upgrading firmware
CN105187867B (en) A kind of media stream control method and its device
CN105430460B (en) A kind of video data method for pushing and device based on mobile terminal
CN104519025A (en) Method, system and mobile terminal equipment for playing remote media files

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