CN101212454A - Protocol bridging method and device - Google Patents

Protocol bridging method and device Download PDF

Info

Publication number
CN101212454A
CN101212454A CNA2006101577223A CN200610157722A CN101212454A CN 101212454 A CN101212454 A CN 101212454A CN A2006101577223 A CNA2006101577223 A CN A2006101577223A CN 200610157722 A CN200610157722 A CN 200610157722A CN 101212454 A CN101212454 A CN 101212454A
Authority
CN
China
Prior art keywords
protocol
agreement
network packet
data packet
packet
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
CNA2006101577223A
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 Industrial Research Institute Co Ltd
Original Assignee
Shenzhen TCL Industrial Research Institute 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 Industrial Research Institute Co Ltd filed Critical Shenzhen TCL Industrial Research Institute Co Ltd
Priority to CNA2006101577223A priority Critical patent/CN101212454A/en
Publication of CN101212454A publication Critical patent/CN101212454A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a bridging method and a bridging device for a protocol and the invention is applicable to a digital household network. The method comprises the following steps: a received original network data packet is analyzed and data in a interconnection and intercommunication layer is taken out to generate a new network data packet; according to the transformation rules between the corresponding protocol of the original network data packet and the target protocol, a new network data packet is transformed into an abstract interlayer data packet which is irrelevant to the protocol; the data packet of the abstract interlayer is transformed into a target data packet corresponding to the target protocol. The device comprises a protocol transformation rule memory, a protocol metadata model memory, a protocol data packet analyzer, a protocol data packet converter and a protocol data packet matcher. In the invention, a source network data packet is transformed into an abstract interlayer data packet and the abstract interlayer data packet is then transformed into a target network data packet, thus realizing an interconnection and intercommunication as well as resource sharing among networks or among devices with different protocols.

Description

A kind of bridging method of agreement and equipment
Technical field
The invention belongs to the digital home network field, relate in particular to a kind of bridging method and equipment of agreement.
Background technology
In recent years, along with the fast development of computer and network technologies and individual to family life informationization, digitized demand expansion, the notion of digital home network has been proposed.So-called digital home network all is connected into housed device in the same home network exactly, adopts the interconnection agreement of standard, internally realizes resource-sharing, and external enwergy is realized information exchange by gateway and extranets interconnection.Thereby for the user provides intellectuality, digitlization, informationalized life.
Present digital home network agreement both domestic and external mainly contains: external DLNA (DLNA, Digital Living Network Alliance) agreement and domestic information equipment intelligence interconnection and Resource Sharing Protocol, abbreviate IGRS protocol (IGRS, Intelligent Grouping and ResourceSharing) as.
The DLNA agreement is based on the middle interlayer on the legacy network framework, mainly is can intercom mutually between the various calculating of will make supporting the DLNA agreement, communication, consumer electronics (3C) product.
IGRS protocol is to allow discovery automatically between the 3C Product of supporting IGRS protocol, dynamic group net, resource-sharing and cooperation with service; realize the brand-new network architecture of " content+network operation+equipment+new application pattern "; copyrighted digital content protection, network and device authentication are organically linked together; for internet content provider, Virtual network operator and the terminal equipment provider in future creates profit model clearly, for the user provides high-quality information consumption and amusement.
When making up digital home network, will become the difficult problem that the consumer has to face based on the 3C Product of DLNA agreement with based on the letter of the interconnection and interflow between the 3C Product of IGRS protocol.Solve this difficult problem two kinds of schemes are arranged: a kind of scheme is to make a product increase support to DLNA agreement and IGRS protocol simultaneously, this scheme will the be multiplied complexity and the cost of system design.Another kind of scheme is that design is a kind of can bridge joint DLNA agreement and the equipment of IGRS protocol, can realize based between two kinds of networks of different agreement or the letter of the interconnection and interflow between the product by bridging device conversion.
Summary of the invention
The object of the present invention is to provide a kind of bridging method of agreement, be intended to solve between the network of the various different agreements of support that exist in the prior art or can not intercom mutually between the equipment and the problem of shared resource;
Another object of the present invention is to provide a kind of bridging device.
The present invention is achieved in that a kind of bridging method of agreement, and described method comprises the steps:
The primitive network packet that analysis receives takes out the interconnection and interflow layer data in the primitive network packet, generates new network packet;
According to the transformation rule between primitive network packet corresponding protocols and the target protocol, new network packet is converted to abstract intermediate layer packet with protocol-independent;
To be converted to the corresponding objective network packet of target protocol with the abstract intermediate layer packet of protocol-independent.
Described agreement is DLNA DLNA agreement or IGRS protocol.
A kind of bridging device, described equipment comprises:
The protocol conversion rule memory is used for the transformation rule between the storage protocol, includes the mapping ruler of message format between the agreement in the described transformation rule;
Agreement metadata schema memory is used to store the metadata schema of agreement to be converted;
Protocol data bag analyzer is used to analyze the primitive network packet that receives, and takes out the interconnection and interflow layer data in the primitive network packet, generates new network packet;
Protocol data bag transducer, be used for metadata schema according to primitive network packet corresponding protocols, metadata to described new network packet is analyzed, according to the transformation rule between primitive network packet corresponding protocols and the target protocol, described new network packet is converted to abstract intermediate layer packet with protocol-independent; And
Protocol data bag adaptation is used for and will be converted to the corresponding objective network packet of target protocol with the abstract intermediate layer packet of protocol-independent.
Described agreement is DLNA DLNA agreement or IGRS protocol.
Described bridging device is arranged in the router of digital home network.
Described bridging device is arranged in the network bridge of digital home network.
In the present invention, protocol data bag analyzer, protocol data bag transducer, protocol data bag adaptation that the equipment of source network packet by the various different agreements of bridge joint of the present invention provides, be converted to target network circuit-switched data bag, thereby realize based on interconnection and interflow letter and resource-sharing between the network of different agreement or between the equipment.
Description of drawings
Fig. 1 is the realization flow figure of the bridging method of agreement of the present invention;
Fig. 2 is the structural representation of bridging device of the present invention;
Fig. 3 is the connection diagram between bridging device of the present invention and the network of supporting DLNA agreement and IGRS protocol.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In the present invention, a kind of method and bridging device of bridged protocol are provided, this equipment is by being converted to the source network packet the abstract intermediate layer packet with protocol-independent, should convert the objective network packet to by abstract intermediate layer packet again, thereby realize support between the network of different agreement or the letter of the interconnection and interflow between the equipment.
Fig. 1 shows the realization flow of the bridging method of agreement of the present invention, and details are as follows:
In step S101, analyze the primitive network packet that receives, peel off protocol overheads such as IP, TCP/UDP, HTTP, take out the interconnection and interflow layer data in the primitive network packet, generate new network packet.
In step S102, metadata schema according to primitive network packet corresponding protocols, metadata to described new network packet is analyzed, according to the transformation rule between primitive network packet corresponding protocols and the target protocol, described new network packet is converted to abstract intermediate layer packet with protocol-independent.
In step S103, will be converted to the corresponding objective network packet of target protocol with the abstract intermediate layer packet of protocol-independent.
Agreement with bridge joint is that DLAN agreement and IGRS protocol are example, during bridge joint, at first analyze the primitive network packet that receives, peel off protocol overheads such as its IP, TCP/UDP, HTTP, after taking out the interconnection and interflow layer data in the primitive network packet, generate the DLNA/IGRS network packet.
Then, analyze DLNA metadata and IGRS's metadata,, convert the DLNA/IGRS network packet to protocol-independent abstract intermediate layer packet according to the protocol conversion rule between DLNA agreement and the IGRS protocol.
Wherein protocol conversion rule is the discernible machine rule of computer, by carrying out this rule, can easily the contents extraction of the information field in a kind of message format be come out, and converts the content of corresponding field in the another kind of message format to; Under complicated situation more, this rule is gone back the combination mapping relations of the definable information content.This protocol conversion rule includes the mapping ruler of message format between DLAN agreement and the IGRS protocol.
For example: when a control point joins in the network, should adopt the M-SEARCH method of following form to send the multicast request:
M-SEARCH*HTTP/1.1;
HOST:239.255.255.250:1900;
MAN:″ssdp:discover″;
MX:seconds?to?delay?response;
ST:search?target
The multicast search request form of corresponding IGRS protocol is:
M-SEARCH*HTTP/1.1;
HOST:239.255.255.250:1900;
MAN:″ssdp:discover″;
MX: the maximum time of operating lag
ST:um:schemas-IGRS-org:device:IGRS-device:1;
MAN:″http://www.igrs.org/spec?1.0″;
ns=01;
01-IGRSVersion:IGRS/1.0;
01-IGRSMessageType:SearchDeviceRequest;
01-SourceDeviceId: the device identifier of initiating search request;
01-SequenceId: message SN is searched in request;
01-ClientId: source voip identifiers;
The 01-SearchAll:TRUE Optional Field;
01-SearchByDeviceName: implementor name to be found
From top relatively finding out, IGRS is enriching manyly than the upnp of the core of DLNA agreement aspect the content of message format, and at this class message, the transformation rule of establishment is exactly like this:
(1) when when IGRS transfers upnp to, removes from the full content below the MAN field
(2) when upnp transfers IGRS to, increase whole disappearance fields, for information such as device identifiers, directly slave unit is described in the document and is read, for message SN, then by bridging device automatically the unique mode of the overall situation generate and get final product.
So only need set up the message maps knowledge base of two communications protocol, the transformation rule that reads during conversion in the storehouse gets final product.
At last, will be converted to the corresponding objective network packet of target protocol with the abstract intermediate layer packet of protocol-independent, as: when objective network is the DLNA agreement, convert abstract intermediate layer packet to the objective network packet according to the DLNA protocol rule; When objective network is IGRS protocol, convert abstract intermediate layer packet to the objective network packet according to the IGRS protocol rule.Thereby can interconnect letter between the family digital network of realizing supporting the family digital network of DLNA and supporting IGRS.
Fig. 2 shows the structure of general bridging device, for convenience of description, only shows part related to the present invention.
Protocol conversion rule memory 11 stores the transformation rule between the agreement, includes the mapping ruler of message format between the agreement in this protocol conversion rule.This protocol conversion rule does not repeat them here as mentioned above.
Agreement metadata schema memory 12 stores the metadata schema of agreement to be converted.The primitive network packet that 13 pairs of protocol data bag analyzers receive is analyzed, peel off the IP of primitive network packet, protocol overhead such as TCP/UDP, HTTP, take out the interconnection and interflow layer data between source network and this bridging device, the protocol overhead that comprises this layer forms new network packet.Protocol data bag transducer 14 is according to new network packet corresponding protocols, analyze the metadata of the corresponding agreement in the protocol data model memory 12, according to the protocol conversion rule of storage in the translation-protocol memory 11, the new network packet that receives is converted to abstract intermediate layer packet with protocol-independent.The protocol rule of the agreement that data packet matched device 15 is supported according to objective network, will with the abstract intermediate layer packet of protocol-independent, be converted to the objective network packet.
Agreement with bridge joint is that DLAN agreement and IGRS protocol are example, stores the protocol conversion rule that DLNA agreement and IGRS protocol are changed mutually in the protocol conversion rule memory 11.Its concrete mapping does not repeat them here as mentioned above.Store DLNA metadata schema and IGRS's metadata schema in the agreement metadata schema memory 12.
The primitive network packet that 13 pairs of protocol data bag analyzers receive is analyzed, peel off the IP of primitive network packet, protocol overhead such as TCP/UDP, HTTP, take out the interconnection and interflow layer data between source network and this bridging device, the protocol overhead that comprises this layer forms the DLNA/IGRS network packet.IGRS's metadata that the DLNA metadata that provided by the DLNA metadata schema and IGRS's metadata schema provide is provided for protocol data bag transducer 14, according to the transformation rule between DLNA agreement and the IGRS protocol, be converted to a kind of the DLNA/IGRS network packet and intermediate layer packet protocol-independent.The protocol rule of the agreement that data packet matched device 15 is supported according to objective network, will with the abstract intermediate layer packet of protocol-independent, be converted to the objective network packet.As: when the agreement of objective network/target device support is the DLNA agreement, protocol data bag adaptation 14 will will convert the DLNA network packet to the abstract intermediate layer packet of protocol-independent according to the DLNA protocol rule, when the agreement of objective network/target device support is IGRS, protocol data bag adaptation 14 will will convert the IGRS network packet to the abstract intermediate layer packet of protocol-independent according to the IGRS protocol rule, thereby finish two networks or the letter of the interconnection and interflow between the equipment of supporting DLNA agreement and IGRS protocol respectively.
In sum, the protocol data bag analyzer 13 that the source network packet provides by bridging device of the present invention, protocol data bag transducer 14, protocol data bag adaptation 15, be converted to target network circuit-switched data bag, thereby realize based between the network of different home digital network agreement or the letter of the interconnection and interflow between the equipment.
Be appreciated that, be converted to abstract intermediate layer packet with protocol-independent because bridging device of the present invention is the network packet that will support different home digital network agreement respectively according to the corresponding protocol transformation rule, more abstract intermediate layer packet be converted to the objective network packet.Therefore when network or the letter of the interconnection and interflow between the equipment that will realize supporting the different home procotol, bridging device of the present invention only need increase the metadata schema of New Deal and the transformation rule that defines between two agreements gets final product, analyze by the metadata that 14 pairs of New Deal metadata schema of protocol data bag transducer provided by the invention provide, mate the transformation rule between two agreements, convert the source network packet to protocol-independent abstract intermediate layer packet, by protocol data bag adaptation 15 provided by the invention, the protocol rule of coupling New Deal will be converted to the objective network packet of the agreement of objective network support with the abstract intermediate layer packet of protocol-independent again.
Fig. 3 shows bridging device of the present invention and supports annexation between the network of DLNA agreement and IGRS protocol respectively.
The bridging device of this bridge joint DLNA agreement and IGRS protocol and DLNA agreement and IGRS protocol work in the consolidated network level, play the effect of the layer router that interconnect.From equipment or the network of supporting the DLNA agreement or support the equipment of IGRS protocol or network packet that network sends is carried out the analysis and the conversion of message format through the bridging device of bridge joint DLNA agreement of the present invention and IGRS protocol, is and the independently intermediate form of protocol-independent that the protocol rule according to objective network will be the object format that objective network is supported with the independently intermediate format conversion of protocol-independent again with packet from a kind of format conversion.Thereby realize supporting respectively between two networks of DLNA agreement and IGRS protocol or the letter of the interconnection and interflow between the equipment.
The specific product form of this bridging device can for:
The bridging device of hardware form, (Access Point AP) waits in the equipment promptly bridging device of the present invention can be arranged at the router, network bridge of digital home network.
The protocol gateway of software forms promptly can be integrated in bridge joint gateway of the present invention in the 3C Product as a middleware module, and the product of integrated this middleware can be discerned different message formats and service call automatically.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the bridging method of an agreement is characterized in that, described method comprises the steps:
The primitive network packet that analysis receives takes out the interconnection and interflow layer data in the primitive network packet, generates new network packet;
According to the transformation rule between primitive network packet corresponding protocols and the target protocol, new network packet is converted to abstract intermediate layer packet with protocol-independent;
To be converted to the corresponding objective network packet of target protocol with the abstract intermediate layer packet of protocol-independent.
2. the bridging method of agreement as claimed in claim 1 is characterized in that, described agreement is DLNA DLNA agreement or IGRS protocol.
3. a bridging device is characterized in that, described equipment comprises:
The protocol conversion rule memory is used for the transformation rule between the storage protocol, includes the mapping ruler of message format between the agreement in the described transformation rule;
Agreement metadata schema memory is used to store the metadata schema of agreement to be converted;
Protocol data bag analyzer is used to analyze the primitive network packet that receives, and takes out the interconnection and interflow layer data in the primitive network packet, generates new network packet;
Protocol data bag transducer, be used for metadata schema according to primitive network packet corresponding protocols, metadata to described new network packet is analyzed, according to the transformation rule between primitive network packet corresponding protocols and the target protocol, described new network packet is converted to abstract intermediate layer packet with protocol-independent; And
Protocol data bag adaptation is used for and will be converted to the corresponding objective network packet of target protocol with the abstract intermediate layer packet of protocol-independent.
4. bridging device as claimed in claim 3 is characterized in that, described agreement is DLNA DLNA agreement or IGRS protocol.
5. as claim 3 or 4 described bridging devices, it is characterized in that described bridging device is arranged in the router of digital home network.
6. as claim 3 or 4 described bridging devices, it is characterized in that described bridging device is arranged in the network bridge of digital home network.
CNA2006101577223A 2006-12-25 2006-12-25 Protocol bridging method and device Pending CN101212454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101577223A CN101212454A (en) 2006-12-25 2006-12-25 Protocol bridging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101577223A CN101212454A (en) 2006-12-25 2006-12-25 Protocol bridging method and device

Publications (1)

Publication Number Publication Date
CN101212454A true CN101212454A (en) 2008-07-02

Family

ID=39612128

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101577223A Pending CN101212454A (en) 2006-12-25 2006-12-25 Protocol bridging method and device

Country Status (1)

Country Link
CN (1) CN101212454A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325134A (en) * 2011-08-29 2012-01-18 浙江中烟工业有限责任公司 The interconnected component subsystems of three system safety of the interconnected platform of multilevel security
CN101640602B (en) * 2008-07-31 2012-07-25 Tcl集团股份有限公司 Management method for network television
WO2014139373A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
CN104486114A (en) * 2014-12-12 2015-04-01 广西科技大学 Bridging method for wireless router and wireless data transmission module
CN106598885A (en) * 2016-11-30 2017-04-26 华中科技大学 Configurable multiport general data bridging system and working method thereof
CN108400910A (en) * 2018-02-24 2018-08-14 上海康斐信息技术有限公司 A kind of router realizes the method and system of network protocol analysis
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN112417515A (en) * 2020-11-12 2021-02-26 珠海格力电器股份有限公司 Configuration software protocol processing method and system
CN113890899A (en) * 2021-09-13 2022-01-04 北京交通大学 Protocol conversion method based on knowledge graph

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640602B (en) * 2008-07-31 2012-07-25 Tcl集团股份有限公司 Management method for network television
CN102325134B (en) * 2011-08-29 2014-04-02 浙江中烟工业有限责任公司 Three-system safety interconnected part sub-system of multi-stage safety interconnected platform
CN102325134A (en) * 2011-08-29 2012-01-18 浙江中烟工业有限责任公司 The interconnected component subsystems of three system safety of the interconnected platform of multilevel security
US9973420B2 (en) 2013-03-15 2018-05-15 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
WO2014139373A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
US9197551B2 (en) 2013-03-15 2015-11-24 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
CN104486114A (en) * 2014-12-12 2015-04-01 广西科技大学 Bridging method for wireless router and wireless data transmission module
CN106598885A (en) * 2016-11-30 2017-04-26 华中科技大学 Configurable multiport general data bridging system and working method thereof
CN106598885B (en) * 2016-11-30 2019-07-09 华中科技大学 A kind of working method of configurable multiport general data bridge system
CN108400910A (en) * 2018-02-24 2018-08-14 上海康斐信息技术有限公司 A kind of router realizes the method and system of network protocol analysis
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN108833394B (en) * 2018-06-07 2020-10-09 中国人民解放军63889部队 Protocol conversion algorithm of data acquisition system
CN112417515A (en) * 2020-11-12 2021-02-26 珠海格力电器股份有限公司 Configuration software protocol processing method and system
CN113890899A (en) * 2021-09-13 2022-01-04 北京交通大学 Protocol conversion method based on knowledge graph

Similar Documents

Publication Publication Date Title
CN101212454A (en) Protocol bridging method and device
CN101466022B (en) Method for audio/video on demand by digital household network equipment
CN101212384B (en) Method, system, and equipment for implement home network interconnection
JP4403112B2 (en) Home network universal middleware bridge (UMB) system
US7831696B2 (en) Apparatus for providing device information via network and a method thereof
US20080235358A1 (en) Proxy Device, Network System, and Communication Method
CN1825823B (en) Service framework for home network
CN101184063B (en) Method, device and system for controlling non-universal plug-and-play UPnP equipment
JP2003134142A (en) Gateway enabling message communication between devices using different middleware in home network, home network system and message relay method
JP2004288187A (en) Management device of equipment information via network and its method
KR100512959B1 (en) Multi home service system
KR20050066066A (en) Apparatus for homenetwork middleware interoperability service using home gateway and osgi platform and method thereof
CN103312715A (en) Web service oriented home network system architecture
JP2001285371A (en) Internet protocol interface apparatus and method for allowing internet protocol root network equipment to control non-internet protocol root network equipment
CN101867508B (en) Method, system and device for realizing home network interconnection
WO2015043550A1 (en) Multimedia sharing method, registration method, server and proxy server
US20090287794A1 (en) Assisting media servers in determining media profiles
WO2009154249A1 (en) Remote access system, device, method and program
Kim et al. IEEE 1394/UPnP software bridge
Lin et al. Osgi-based smart home architecture for heterogeneous network
KR101202640B1 (en) Method for building system providing interoperability devices over heterogenous home networks
Park et al. Interoperability model for devices over heterogeneous home networks
Sung et al. Integration of IEEE1451 sensor networks and UPnP
Bromberg et al. Interoperability of service discovery protocols: Transparent versus explicit approaches
KR101350320B1 (en) Compatibility test system of remote dlna device using packet inspection

Legal Events

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

Application publication date: 20080702