CN103414689A - Connection method and connection device of digital living network alliance (DLNA) equipment - Google Patents

Connection method and connection device of digital living network alliance (DLNA) equipment Download PDF

Info

Publication number
CN103414689A
CN103414689A CN2013102940604A CN201310294060A CN103414689A CN 103414689 A CN103414689 A CN 103414689A CN 2013102940604 A CN2013102940604 A CN 2013102940604A CN 201310294060 A CN201310294060 A CN 201310294060A CN 103414689 A CN103414689 A CN 103414689A
Authority
CN
China
Prior art keywords
equipment
described equipment
identification information
description document
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013102940604A
Other languages
Chinese (zh)
Inventor
文茂阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN2013102940604A priority Critical patent/CN103414689A/en
Publication of CN103414689A publication Critical patent/CN103414689A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a connection method of digital living network alliance (DLNA) equipment and a connection device of digital living network alliance (DLNA) equipment. The connection method of the digital living network alliance (DLNA) equipment comprises the following steps that: equipment search information is transmitted in a multicast manner; self identification information which is returned by certain equipment according to received equipment search information is received; whether the equipment is initially connected is judged according to the self identification information returned by the equipment; when the equipment is not initially connected, whether description files of the equipment are updated or not can be indentified; only if the equipment is initially connected, or the description files of the equipment are updated when the equipment is not initially connected, a request for obtaining the description files of the equipment is transmitted; and the description files of the equipment are parsed. A method in which communication connection with the equipment can be realized according to parse results is adopted, and therefore, the problem of repeat obtaining and parsing of description files of the same digital living network alliance (DLNA) equipment can be avoided, and connection speed of the connection between equipment in the digital living network alliance (DLNA) can be improved, and the stability of the operation of the digital living network alliance (DLNA) can be improved.

Description

The method of attachment of DLNA equipment and device
Technical field
The present invention relates to the communications field, also relate to the digital mobile network technology, relate in particular to a kind of method of attachment and device of DLNA equipment.
Background technology
DLNA(Digital Living Network Alliance, digital mobile network alliance) be an alliance organization formed by consumer electronics, mobile phone and manufacturer computer, its target be to create a set of can be so that the product of each manufacturer be connected to each other, the industrial standard adapted to mutually, thus realize Digital Life for the consumer.At present, DLNA is widely used; Because the each interconnected Remote Acquisitioning that all needs between DLNA equipment is also resolved the xml(Xtensible Markup Language to method, apparatus, XML (extensible Markup Language)) this device description file, this duplicates the situation of transmitting and resolving same device description file between DLNA equipment of interconnected mistake before just causing, the work of resolving simultaneously the xml file is also relatively time-consuming, has therefore affected the interconnect speeds of each equipment of DLNA and interconnected stability.
Summary of the invention
Given this, be necessary to provide a kind of method of attachment and device of DLNA equipment, be intended to avoid same device description file between DLNA equipment repeat transmit and resolve, improve the interconnect speeds of each equipment of DLNA.
The embodiment of the invention discloses a kind of method of attachment of DLNA equipment, comprise the following steps:
Multicast transmitting apparatus search information;
Receive the self identification information that a certain equipment returns according to the described equipment search information received;
According to the self identification information that described equipment returns, whether judgement is first connection with described equipment;
If with described equipment be not first connection, judge whether the description document of described equipment has renewal; And, when the description document of described equipment is not upgraded, communicate and be connected with described equipment according to the analysis result of having stored;
If with described equipment be first connection, though or be not that the description document of the described equipment of first connection has renewal, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, communicate and be connected with described equipment according to analysis result.
Preferably, described self identification information comprises equipment identification information;
The described self identification information of returning according to described equipment, judgement comprises with the step whether described equipment is first connection:
According to the equipment identification information that described equipment returns, search the storage directory of preservation;
If can find the storage directory with described equipment identification information name, judgement is not first connection with described equipment;
If can not find the storage directory with described equipment identification information name, judgement is first connection with described equipment.
Preferably, described self identification information also comprises file integrality information;
If described and described equipment is not first connection, judge whether the description document of described equipment has the step of renewal to comprise:
Search the file integrality information with description document in the storage directory of described equipment identification information name, itself and the file integrality information received are compared;
If two file integrality information are consistent, judge that the description document of described equipment is not upgraded;
If two file integrality information are inconsistent, judge that the description document of described equipment has renewal.
Preferably, before described multicast transmitting apparatus search information, also comprise:
The equipment identification information of historical InterWorking Equipment of take is catalogue, creates the data store list, and the description document of same equipment is stored under the storage directory that the equipment identification information of described equipment is corresponding.
Preferably, described equipment identification information comprises:
MAC Address.
Preferably, described file integrality information comprises the MD5 value.
The embodiment of the invention also discloses a kind of jockey of DLNA equipment, comprising:
Information sending module, send and comprise the equipment search information of storaging mark information for multicast;
The communication connection module, for:
Receive the self identification information that a certain equipment returns according to the described equipment search information received;
According to the self identification information that described equipment returns, whether judgement is first connection with described equipment;
If with described equipment be not first connection, judge whether the description document of described equipment has renewal; And, when the description document of described equipment is not upgraded, communicate and be connected with described equipment according to the analysis result of having stored;
If with described equipment be first connection, though or be not that the description document of the described equipment of first connection has renewal, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, communicate and be connected with described equipment according to analysis result.
Preferably, described self identification information comprises equipment identification information;
Described communication connection module also for:
According to the equipment identification information that described equipment returns, search the storage directory of preservation;
If can find the storage directory with described equipment identification information name, judgement is not first connection with described equipment;
If can not find the storage directory with described equipment identification information name, judgement is first connection with described equipment.
Preferably, described self identification information also comprises file integrality information;
Described communication connection module also for:
Search the file integrality information with description document in the storage directory of described equipment identification information name, itself and the file integrality information received are compared;
If two file integrality information are consistent, judge that the description document of described equipment is not upgraded;
If two file integrality information are inconsistent, judge that the description document of described equipment has renewal.
Preferably, the jockey of described DLNA equipment also comprises:
The list creating module, be catalogue for take the equipment identification information of historical InterWorking Equipment, creates the data store list, and the description document of same equipment is stored under the storage directory that the equipment identification information of described equipment is corresponding.
Preferably, described identification information comprises MAC Address.
Preferably, described file integrality information comprises the MD5 value.
The embodiment of the present invention is by multicast transmitting apparatus search information; Receive the self identification information that a certain equipment returns according to the described equipment search information received; And, according to the self identification information that this equipment returns, judge whether with this equipment be first connection; When being not first connection, whether the description document of identifying this equipment has renewal; Only with this equipment be first connection, though or while with description document that this equipment is not this equipment of first connection, renewal being arranged, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, according to analysis result, communicate with described equipment the method be connected, avoid repeated obtain and resolved the problem of the description document of same DLNA equipment, improve the connection speed connected between each equipment in DLNA, improved the stability of DLNA operation.
The accompanying drawing explanation
Fig. 1 is the method for attachment one embodiment schematic flow sheet of DLNA equipment of the present invention;
Fig. 2 is the another embodiment schematic flow sheet of the method for attachment of DLNA equipment of the present invention;
Fig. 3 is the jockey one embodiment high-level schematic functional block diagram of DLNA equipment of the present invention;
Fig. 4 is the another embodiment high-level schematic functional block diagram of the jockey of DLNA equipment of the present invention.
The realization of embodiment of the present invention purpose, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Below in conjunction with Figure of description and specific embodiment, further illustrate technical scheme of the present invention.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the method for attachment one embodiment schematic flow sheet of DLNA equipment of the present invention; As shown in Figure 1, the method for attachment of DLNA equipment of the present invention comprises the following steps:
Step S01, multicast transmitting apparatus search information;
In the present embodiment, for convenience of description, the A equipment of take in DLNA equipment is the subject of implementation of each step, and the equipment be connected with described A devices communicating is called B equipment.
In the DLNA network, A equipment multicast transmitting apparatus search information, to find other equipment in the DLNA network that can establish a communications link.
In the present embodiment, in concrete application scenarios, A equipment can pass through UDP(User Datagram Protocol, User Datagram Protoco (UDP)) port sends a kind of communication data form under the multicast M-SEARCH(SSDP agreement of SSDP protocol format to the DLNA network) bag, for finding the UPNP equipment of DLNA network.
The self identification information that step S02, a certain equipment of reception return according to the described equipment search information received;
UPNP equipment in the DLNA network (being defined as B equipment, follow-up all referred to as B equipment) need to respond to the search message of A equipment after receiving the M-SEARCH message of A equipment transmission.After B equipment is received M-SEARCH message, return to self identification information to A equipment, A equipment receives the self identification information that B equipment returns.
Step S03, the self identification information of returning according to described equipment, whether judgement is first connection with described equipment; If perform step S04; If not, perform step S05;
Step S04, transmission are obtained the request of the description document of described equipment, and are proceeded to step S07;
Step S05, judge whether the description document of described equipment has renewal; If perform step S04; If not, perform step S06;
The analysis result that step S06, basis have been stored communicates and is connected with described equipment;
The description document of the described equipment that step S07, parsing are obtained, communicate and be connected with described equipment according to analysis result;
The self identification information that A equipment returns according to B equipment, whether judgement is first connection with B equipment; In the present embodiment, described self identification information comprises equipment identification information.
Equipment identification information in the self identification information that A equipment returns according to B equipment, search all catalogues or the file stored.The storage directory of the equipment identification information name of returning with B equipment if can find, judgement is not first connection with B equipment; The storage directory of the equipment identification information name of returning with B equipment if can not find, judgement is first connection with B equipment.If with B equipment be first connection, A equipment sends the request of the description document obtain B equipment to B equipment; The request of B device responds A equipment, to the description document of A equipment transmission B equipment self, after A gets the description document of B equipment, resolve the description document of the B equipment obtained, and communicates and be connected with B equipment according to analysis result.In a preferred embodiment, described equipment identification information comprises MAC Address.
Because A equipment be take the equipment identification information of historical InterWorking Equipment and is catalogue, set up a data store list, and the description document of same equipment and self identification information are stored under the catalogue that this equipment identification information is corresponding, therefore when A equipment and B equipment are not first connection, equipment identification information in the self identification information that A equipment returns according to B equipment, search the storage directory of self preserving; Thereby can, according to the storage directory that whether can find the equipment identification information name of returning with B equipment, judge whether with B equipment be first connection.
If A equipment and B equipment are not first connections, A equipment judges whether the description document of B equipment has renewal.In the present embodiment, the described self identification information that B equipment returns also comprises file integrality information; At A equipment, judge while with B equipment, being not first connection, A equipment is searched the file integrality information with description document in the storage directory of the equipment identification information name of B equipment, and its file integrality information with the reception of A equipment is compared.If two file integrality information are consistent, judge that the description document of described equipment is not upgraded; If two file integrality information are inconsistent, judge that the description document of described equipment has renewal.In a preferred embodiment, described file integrality information comprises the MD5 value.
If A equipment and B equipment are first connections, though or A equipment and B equipment be not first connection, the description document of B equipment has renewal, A equipment sends the request of obtaining the description document after the B renewal of the equipment; The request of B device responds A equipment, send the description document after the B renewal of the equipment to A equipment, after A gets the description document after the B renewal of the equipment, resolves the description document after the B renewal of the equipment of obtaining, and communicates and be connected with B equipment according to analysis result.
In a preferred embodiment, description document for fear of repeated resolution B equipment, A equipment can be stored the analysis result of the description document of B equipment, so that communicate while being connected next time with B equipment, not more under news, A equipment can directly communicate and be connected with B equipment according to analysis result in the description document of B equipment.Further, for the ease of unified management with search, A equipment can be stored in the analysis result of the description document of B equipment under the storage directory with the equipment identification information name of B equipment.
The implementation process of the method for attachment of DLNA equipment of the present invention is below described again with concrete application scenarios.
In the concrete application scenarios of the present embodiment, the multicast of A equipment sends the M-SEARCH bag, after receiving the SEARCH RESPONSE bag that B equipment returns, searches all storage directories of self preserving; The MAC Address of the B equipment in the SEARCH RESPONSE bag returned according to B equipment, judge whether to find the storage directory with the MAC Address name of B equipment; If can not find the storage directory with the MAC Address name of B equipment, be considered as carrying out interconnected for the first time with B equipment.If found the storage directory with the MAC Address name of B equipment, it is not interconnected for the first time being considered as with B equipment.Now, need to judge whether the description document of B equipment has renewal, and concrete grammar comprises: the device description file under the storage directory of this name of MAC Address with B equipment is carried out to md5 check; If the check value in the SEARCH RESPONSE that check value and B equipment send bag is different, illustrate that the description document of B equipment has renewal, A equipment need to obtain the device description file after the B renewal of the equipment and resolve.If the check value is identical with the check value that B equipment sends, illustrate that the description document of B equipment is not upgraded, can directly use existing device description file and analysis result thereof.At A equipment and B equipment, be only interconnected first, or A equipment and B equipment are not that first connection but the description document of B equipment have more under news, A equipment is just by TCP(Transmission Control Protocol, transmission control protocol) port obtains request to B equipment Transmit message; In other situation, A equipment can directly be used the B device description file originally kept and the analysis result of the description document of B equipment is communicated and is connected with B equipment.
When A equipment need to obtain the description document of B equipment, to B equipment, send the request of obtaining the B device description file, after B equipment is received the description document request of A equipment transmission, to A equipment, return to the device description file of self or the description document after self renewal by tcp port.In the situation that A equipment receives the new description document after the B renewal of the equipment, A equipment overrides corresponding description document under the storage directory of the MAC Address with B equipment name of original storage, the description document of the B equipment after the renewal that the new parsing of laying equal stress on is obtained, finally, based on the description document after above-mentioned processing, A equipment and B equipment carry out interconnected.Simultaneously, the analysis result of the description document after A equipment preservation B renewal of the equipment.
The present embodiment is by multicast transmitting apparatus search information; Receive the self identification information that a certain equipment returns according to the described equipment search information received; And, according to the self identification information that this equipment returns, judge whether with this equipment be first connection; When being not first connection, whether the description document of identifying this equipment has renewal; Only with this equipment be first connection, though or while with description document that this equipment is not this equipment of first connection, renewal being arranged, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, according to analysis result, communicate with described equipment the method be connected, avoid repeated obtain and resolved the problem of the description document of same DLNA equipment, improve the connection speed connected between each equipment in DLNA, improved the stability of DLNA operation.
Please refer to Fig. 2, Fig. 2 is the another embodiment schematic flow sheet of the method for attachment of DLNA equipment of the present invention; The difference of the present embodiment and the described embodiment of Fig. 1 is only to have increased step S10; The present embodiment only is specifically described step S10, and other related steps of method of attachment of relevant DLNA equipment of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 2, the method for attachment of DLNA equipment of the present invention also comprises step before in " step S01, multicast transmitting apparatus search information ":
Step S10, establishment data store list.
For the ease of the storage of information with search, A equipment be take the equipment identification information of historical InterWorking Equipment and is catalogue, create the data store list, be stored under the catalogue that the equipment identification information of described equipment is corresponding by the description document of same equipment and to the analysis result of the description document of described equipment.Such as, A equipment be take the MAC Address of historical InterWorking Equipment and is catalogue, by the description document of same equipment and to the analysis result of this description document, be stored in simultaneously under the catalogue that this device mac address is corresponding, be convenient to follow-up searching and managing.
The present embodiment is by creating a method be used to the list of storing historical InterWorking Equipment information, in order to again with the historical InterWorking Equipment of storage, communicate and be connected and the description document information of this equipment while not upgrading, directly with this equipment, be connected, further improved the connection speed of DLNA equipment; Simultaneously, also improved the convenience of DLNA equipment connection.
Please refer to Fig. 3, Fig. 3 is the jockey one embodiment high-level schematic functional block diagram of DLNA equipment of the present invention; As shown in Figure 3, the jockey of DLNA equipment of the present invention comprises: information sending module 01 and communication connection module 02.
Information sending module 01, for multicast transmitting apparatus search information;
In the present embodiment, for convenience of description, the A equipment of take in DLNA equipment is the subject of implementation of each step, and the equipment be connected with described A devices communicating is called B equipment.
In the DLNA network, the information sending module 01 multicast transmitting apparatus search information in A equipment, to find other equipment in the DLNA network that can establish a communications link.
In the present embodiment, in concrete application scenarios, information sending module 01 can send the multicast M-SEARCH bag of SSDP protocol format to the DLNA network by udp port, for finding the UPNP equipment of DLNA network.
Communication connection module 02, for: the self identification information that a certain equipment returns according to the described equipment search information received received; According to the self identification information that described equipment returns, whether judgement is first connection with described equipment; If with described equipment be not first connection, judge whether the description document of described equipment has renewal; And, when the description document of described equipment is not upgraded, communicate and be connected with described equipment according to the analysis result of having stored; If with described equipment be first connection, though or be not that the description document of the described equipment of first connection has renewal, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, communicate and be connected with described equipment according to analysis result.
UPNP equipment in the DLNA network (being defined as B equipment, follow-up all referred to as B equipment) returns to self identification information to A equipment after receiving the M-SEARCH message of information sending module 01 transmission, and A equipment receives the self identification information that B equipment returns.
The self identification information that communication connection module 02 is returned according to B equipment, whether judgement is first connection with B equipment; In the present embodiment, described self identification information comprises equipment identification information.
Equipment identification information in the self identification information that A equipment returns according to B equipment, search all catalogues or the file stored.The storage directory of the equipment identification information name of returning with B equipment if can find, judgement is not first connection with B equipment; The storage directory of the equipment identification information name of returning with B equipment if can not find, judgement is first connection with B equipment.If with B equipment be first connection, communicate to connect module 02 and to B equipment, send the request of the description document obtain B equipment; The request of B device responds A equipment, to the description document of A equipment transmission B equipment self, communication connection module 02, after the description document of B equipment, is resolved the description document of the B equipment obtained, and communicates and is connected with B equipment according to analysis result.In a preferred embodiment, described equipment identification information comprises MAC Address.
Because A equipment be take the equipment identification information of historical InterWorking Equipment and is catalogue, set up a data store list, and the description document of same equipment and self identification information are stored under the catalogue that this equipment identification information is corresponding, therefore when A equipment and B equipment are not first connection, equipment identification information in the self identification information that A equipment returns according to B equipment, search the storage directory of self preserving; Thereby can, according to the storage directory that whether can find the equipment identification information name of returning with B equipment, judge whether with B equipment be first connection.
Whether if A equipment and B equipment are not first connections, communicating to connect the description document that module 02 judges B equipment has renewal; In the present embodiment, the described self identification information that B equipment returns also comprises file integrality information; At A equipment, judge while with B equipment, being not first connection, communication connection module 02 is searched the file integrality information with description document in the storage directory of the equipment identification information name of B equipment, and its file integrality information with the reception of A equipment is compared.If two file integrality information are consistent, the description document that communicates to connect the described equipment of module 02 judgement is not upgraded; If two file integrality information are inconsistent, the description document that communicates to connect the described equipment of module 02 judgement has renewal.In a preferred embodiment, described file integrality information comprises the MD5 value.
If A equipment and B equipment are first connections, though or A equipment and B equipment be not first connection, the description document of B equipment has renewal, communicates to connect module 02 and sends the request of obtaining the description document after the B renewal of the equipment; The request of B device responds A equipment, send the description document after the B renewal of the equipment to A equipment, and communication connection module 02, after the description document after the B renewal of the equipment, is resolved the description document after the B renewal of the equipment of obtaining, and communicates and is connected with B equipment according to analysis result.
In a preferred embodiment, description document for fear of repeated resolution B equipment, communication connection module 02 can be stored the analysis result of the description document of B equipment, so that communicate while being connected next time with B equipment, not more under news, communication connection module 02 can directly communicate and be connected with B equipment according to analysis result in the description document of B equipment.Further, for the ease of unified management with search, communication connection module 02 can be by under the storage directory of the analysis result of the description document of B equipment storage with the equipment identification information name of B equipment.
The course of work of the jockey of DLNA equipment of the present invention is below described again with concrete application scenarios.
In the concrete application scenarios of the present embodiment, information sending module 01 multicast sends the M-SEARCH bag, and communication connection module 02 is searched all storage directories of self preserving after receiving the SEARCH RESPONSE bag that B equipment returns; The MAC Address of the B equipment in the SEARCH RESPONSE bag returned according to B equipment, judge whether to find the storage directory with the MAC Address name of B equipment; If communication connection module 02 can not find the storage directory with the MAC Address name of B equipment, be considered as carrying out interconnected for the first time with B equipment.If communication connection module 02 has found the storage directory with the name of the MAC Address of B equipment, communicating to connect module 02, to be considered as with B equipment be not interconnected for the first time.Now, communication connection module 02 needs to judge whether the description document of B equipment has renewal, and concrete grammar comprises: the device description file under the storage directory of the name of the MAC Address with B equipment is carried out to md5 check; If the check value in the SEARCH RESPONSE that check value and B equipment send bag is different, illustrate that the description document of B equipment has renewal, communicate to connect module 02 and need to obtain the device description file after the B renewal of the equipment and resolve.If the check value is identical with the check value that B equipment sends, illustrate that the description document of B equipment is not upgraded, can directly use existing device description file and analysis result thereof.At A equipment and B equipment, be only interconnected first, or A equipment and B equipment is not that first connection but the description document of B equipment have more under news, communication connection module 02 is just obtained request by tcp port to B equipment Transmit message; In other situation, communication connection module 02 can directly be used the B device description file originally kept and the analysis result of the description document of B equipment is communicated and is connected with B equipment.
When communication connection module 02 need to be obtained the description document of B equipment, to B equipment, send the request of obtaining the B device description file, after B equipment is received the description document request of A equipment transmission, to A equipment, return to the device description file of self or the description document after self renewal by tcp port.In the situation that communicate to connect the new description document after module 02 receives the B renewal of the equipment, A equipment overrides corresponding description document under the storage directory of the MAC Address with B equipment name of original storage, the description document of the B equipment after the renewal that the new parsing of laying equal stress on is obtained, finally, based on the description document after above-mentioned processing, communication connection module 02 is carried out interconnected with B equipment.Simultaneously, communication connection module 02 is preserved the analysis result of the description document after upgrading.
The present embodiment is by multicast transmitting apparatus search information; Receive the self identification information that a certain equipment returns according to the described equipment search information received; And, according to the self identification information that this equipment returns, judge whether with this equipment be first connection; When being not first connection, whether the description document of identifying this equipment has renewal; Only with this equipment be first connection, though or while with description document that this equipment is not this equipment of first connection, renewal being arranged, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, according to analysis result, communicate and be connected with described equipment, avoid repeated obtain and resolved the problem of the description document of same DLNA equipment, improved the connection speed connected between each equipment in DLNA, improved the stability of DLNA operation.
Please refer to Fig. 4, Fig. 4 is the another embodiment high-level schematic functional block diagram of the jockey of DLNA equipment of the present invention.The difference of the present embodiment and the described embodiment of Fig. 3 is to have increased list creating module 03; The present embodiment only is specifically described list creating module 03, about other related modules of jockey of DLNA equipment of the present invention, please refer to the specific descriptions of related embodiment, does not repeat them here.
As shown in Figure 4, the jockey of DLNA equipment of the present invention also comprises:
List creating module 03, create the data store list.
For the ease of the storage of information with search, list creating module 03 creates a data store list, be used to storing the corresponding link information of historical InterWorking Equipment.List creating module 03 be take the equipment identification information of historical InterWorking Equipment and is catalogue, create the data store list, be stored under the catalogue that the equipment identification information of described equipment is corresponding by the description document of same equipment and to the analysis result of the description document of described equipment.Such as, list creating module 03 be take the MAC Address of historical InterWorking Equipment and is catalogue, by the description document of same equipment and to the analysis result of this description document, be stored in simultaneously under the catalogue that this device mac address is corresponding, be convenient to follow-up searching and managing.
The present embodiment is by creating one be used to storing the list of historical InterWorking Equipment information, in order to again with the historical InterWorking Equipment of storage, communicate and be connected and the description document information of this equipment while not upgrading, directly with this equipment, be connected, further improved the connection speed of DLNA equipment; Simultaneously, also improved the convenience of DLNA equipment connection.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (12)

1. the method for attachment of a DLNA equipment, is characterized in that, comprises the following steps:
Multicast transmitting apparatus search information;
Receive the self identification information that a certain equipment returns according to the described equipment search information received;
According to the self identification information that described equipment returns, whether judgement is first connection with described equipment;
If with described equipment be not first connection, judge whether the description document of described equipment has renewal; And, when the description document of described equipment is not upgraded, communicate and be connected with described equipment according to the analysis result of having stored;
If with described equipment be first connection, though or be not that the description document of the described equipment of first connection has renewal, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, communicate and be connected with described equipment according to analysis result.
2. the method for claim 1, is characterized in that, described self identification information comprises equipment identification information;
The described self identification information of returning according to described equipment, judgement comprises with the step whether described equipment is first connection:
According to the equipment identification information that described equipment returns, search the storage directory of preservation;
If can find the storage directory with described equipment identification information name, judgement is not first connection with described equipment;
If can not find the storage directory with described equipment identification information name, judgement is first connection with described equipment.
3. method as claimed in claim 2, is characterized in that, described self identification information also comprises file integrality information;
If described and described equipment is not first connection, judge whether the description document of described equipment has the step of renewal to comprise:
Search the file integrality information with description document in the storage directory of described equipment identification information name, itself and the file integrality information received are compared;
If two file integrality information are consistent, judge that the description document of described equipment is not upgraded;
If two file integrality information are inconsistent, judge that the description document of described equipment has renewal.
4. method as claimed in claim 2, is characterized in that, also comprises before described multicast transmitting apparatus search information:
The equipment identification information of historical InterWorking Equipment of take is catalogue, creates the data store list, and the description document of same equipment is stored under the storage directory that the equipment identification information of described equipment is corresponding.
5. method as described as claim 2 to 4 any one, is characterized in that, described equipment identification information comprises MAC Address.
6. method as claimed in claim 3, is characterized in that, described file integrality information comprises the MD5 value.
7. the jockey of a DLNA equipment, is characterized in that, comprising:
Information sending module, send and comprise the equipment search information of storaging mark information for multicast;
The communication connection module, for:
Receive the self identification information that a certain equipment returns according to the described equipment search information received;
According to the self identification information that described equipment returns, whether judgement is first connection with described equipment;
If with described equipment be not first connection, judge whether the description document of described equipment has renewal; And, when the description document of described equipment is not upgraded, communicate and be connected with described equipment according to the analysis result of having stored;
If with described equipment be first connection, though or be not that the description document of the described equipment of first connection has renewal, send the request of the description document of obtaining described equipment; The description document of the described equipment that parsing is obtained, communicate and be connected with described equipment according to analysis result.
8. device as claimed in claim 7, is characterized in that, described self identification information comprises equipment identification information;
Described communication connection module also for:
According to the equipment identification information that described equipment returns, search the storage directory of preservation;
If can find the storage directory with described equipment identification information name, judgement is not first connection with described equipment;
If can not find the storage directory with described equipment identification information name, judgement is first connection with described equipment.
9. device as claimed in claim 8, is characterized in that, described self identification information also comprises file integrality information;
Described communication connection module also for:
Search the file integrality information with description document in the storage directory of described equipment identification information name, itself and the file integrality information received are compared;
If two file integrality information are consistent, judge that the description document of described equipment is not upgraded;
If two file integrality information are inconsistent, judge that the description document of described equipment has renewal.
10. device as claimed in claim 8, is characterized in that, also comprises:
The list creating module, be catalogue for take the equipment identification information of historical InterWorking Equipment, creates the data store list, and the description document of same equipment is stored under the storage directory that the equipment identification information of described equipment is corresponding.
11. device as described as claim 7 to 9 any one is characterized in that described equipment identification information comprises MAC Address.
12. device as claimed in claim 9, is characterized in that, described file integrality information comprises the MD5 value.
CN2013102940604A 2013-07-12 2013-07-12 Connection method and connection device of digital living network alliance (DLNA) equipment Pending CN103414689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102940604A CN103414689A (en) 2013-07-12 2013-07-12 Connection method and connection device of digital living network alliance (DLNA) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102940604A CN103414689A (en) 2013-07-12 2013-07-12 Connection method and connection device of digital living network alliance (DLNA) equipment

Publications (1)

Publication Number Publication Date
CN103414689A true CN103414689A (en) 2013-11-27

Family

ID=49607675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102940604A Pending CN103414689A (en) 2013-07-12 2013-07-12 Connection method and connection device of digital living network alliance (DLNA) equipment

Country Status (1)

Country Link
CN (1) CN103414689A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973669A (en) * 2014-04-02 2014-08-06 小米科技有限责任公司 File executing method and device
CN107465514A (en) * 2017-09-14 2017-12-12 北京信安世纪科技有限公司 The method and system of information safety devices application are quickly opened on a mobile platform
CN108170478A (en) * 2017-11-27 2018-06-15 拉卡拉支付股份有限公司 Data clearing method, device, wearable device and computer readable storage medium
CN111726667A (en) * 2020-05-25 2020-09-29 福建新大陆通信科技股份有限公司 Method and system for interconnecting intelligent sound box and set top box

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1720706A (en) * 2002-12-04 2006-01-11 皇家飞利浦电子股份有限公司 Using configuration identifiers for transmitting configuration descriptions
CN101441470A (en) * 2008-12-26 2009-05-27 美的集团有限公司 Method for realizing equipment mutual control through equipment self description
US20110029544A1 (en) * 2009-08-03 2011-02-03 Hon Hai Precision Industry Co., Ltd. Media list server and method for generating favorite media list
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN102073723A (en) * 2011-01-11 2011-05-25 青岛海信移动通信技术股份有限公司 Method and device for managing mobile terminal mails
CN103152234A (en) * 2013-02-20 2013-06-12 广州市佳思信息科技有限公司 Method for implementing interconnection of digital home network devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1720706A (en) * 2002-12-04 2006-01-11 皇家飞利浦电子股份有限公司 Using configuration identifiers for transmitting configuration descriptions
CN101441470A (en) * 2008-12-26 2009-05-27 美的集团有限公司 Method for realizing equipment mutual control through equipment self description
US20110029544A1 (en) * 2009-08-03 2011-02-03 Hon Hai Precision Industry Co., Ltd. Media list server and method for generating favorite media list
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN102073723A (en) * 2011-01-11 2011-05-25 青岛海信移动通信技术股份有限公司 Method and device for managing mobile terminal mails
CN103152234A (en) * 2013-02-20 2013-06-12 广州市佳思信息科技有限公司 Method for implementing interconnection of digital home network devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973669A (en) * 2014-04-02 2014-08-06 小米科技有限责任公司 File executing method and device
CN107465514A (en) * 2017-09-14 2017-12-12 北京信安世纪科技有限公司 The method and system of information safety devices application are quickly opened on a mobile platform
CN108170478A (en) * 2017-11-27 2018-06-15 拉卡拉支付股份有限公司 Data clearing method, device, wearable device and computer readable storage medium
CN111726667A (en) * 2020-05-25 2020-09-29 福建新大陆通信科技股份有限公司 Method and system for interconnecting intelligent sound box and set top box

Similar Documents

Publication Publication Date Title
CN107592367B (en) Resource sharing method and device for household appliances and computer readable storage medium
US11218877B2 (en) Auto-provisioning device
KR101417194B1 (en) Identifier management server, application service platform, method and system for recognizing device using identifier of senser node
CN104883267A (en) Network configuration accessing method and device thereof
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
US8190725B2 (en) Standardized mechanism of remote management of embedded radio modules
CN102984586A (en) Management method and device for intelligent television applications
US20130159491A1 (en) Communication system, network storage, and server device
CN101183946B (en) Method and system of obtaining resource listing of download file
CN103414689A (en) Connection method and connection device of digital living network alliance (DLNA) equipment
CN104683994A (en) Wireless network configuration method and wireless network devices
CN107800597B (en) Data transmission method and device for household appliance and computer readable storage medium
CN104426626A (en) Terminal device and management frame sending method and receiving method
CN111585801A (en) ZigBee device upgrading method and related device
KR20160077162A (en) Method and apparatus for sharing environment context
CN105530268A (en) Heterogeneous protocol interconnection method and controller
CN104954462A (en) High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
US20130097228A1 (en) Network storage system, data manipulation method in network storage system, storage device and computer program product for controlling client device
CN104754642A (en) Service query method, device and system and site
CN113596795B (en) Device binding method, device and computer readable storage medium
CN102685220A (en) Method and system for data interaction based on WEB page
CN102385514B (en) Method, equipment and system for conducting management operation on software in centralized way
CN103118046B (en) Transducer is to the method and system of code
CN101977371A (en) Method, platform and system for querying subscriber home network information
CN105263127A (en) Short message communication method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131127

RJ01 Rejection of invention patent application after publication